@aws-sdk/client-connectparticipant 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/ConnectParticipant.js +0 -9
- package/dist-cjs/ConnectParticipantClient.js +0 -14
- package/dist-cjs/commands/CompleteAttachmentUploadCommand.js +0 -26
- package/dist-cjs/commands/CreateParticipantConnectionCommand.js +0 -47
- package/dist-cjs/commands/DisconnectParticipantCommand.js +0 -28
- package/dist-cjs/commands/GetAttachmentCommand.js +0 -26
- package/dist-cjs/commands/GetTranscriptCommand.js +0 -28
- package/dist-cjs/commands/SendEventCommand.js +0 -28
- package/dist-cjs/commands/SendMessageCommand.js +0 -30
- package/dist-cjs/commands/StartAttachmentUploadCommand.js +0 -26
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -13
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -85
- package/dist-cjs/pagination/GetTranscriptPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/ConnectParticipant.js +0 -1
- package/dist-es/ConnectParticipantClient.js +0 -1
- package/dist-es/commands/CompleteAttachmentUploadCommand.js +0 -1
- package/dist-es/commands/CreateParticipantConnectionCommand.js +0 -1
- package/dist-es/commands/DisconnectParticipantCommand.js +0 -1
- package/dist-es/commands/GetAttachmentCommand.js +0 -1
- package/dist-es/commands/GetTranscriptCommand.js +0 -1
- package/dist-es/commands/SendEventCommand.js +0 -1
- package/dist-es/commands/SendMessageCommand.js +0 -1
- package/dist-es/commands/StartAttachmentUploadCommand.js +0 -1
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -13
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetTranscriptPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/index.d.ts +4 -12
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/ConnectParticipant.d.ts +9 -71
- package/dist-types/ts3.4/ConnectParticipantClient.d.ts +24 -94
- package/dist-types/ts3.4/commands/CompleteAttachmentUploadCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateParticipantConnectionCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/DisconnectParticipantCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetAttachmentCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetTranscriptCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/SendEventCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/StartAttachmentUploadCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/index.d.ts +4 -12
- package/dist-types/ts3.4/models/models_0.d.ts +105 -349
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/ConnectParticipant.js.map +0 -1
- package/dist-cjs/ConnectParticipantClient.js.map +0 -1
- package/dist-cjs/commands/CompleteAttachmentUploadCommand.js.map +0 -1
- package/dist-cjs/commands/CreateParticipantConnectionCommand.js.map +0 -1
- package/dist-cjs/commands/DisconnectParticipantCommand.js.map +0 -1
- package/dist-cjs/commands/GetAttachmentCommand.js.map +0 -1
- package/dist-cjs/commands/GetTranscriptCommand.js.map +0 -1
- package/dist-cjs/commands/SendEventCommand.js.map +0 -1
- package/dist-cjs/commands/SendMessageCommand.js.map +0 -1
- package/dist-cjs/commands/StartAttachmentUploadCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetTranscriptPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/ConnectParticipant.js.map +0 -1
- package/dist-es/ConnectParticipantClient.js.map +0 -1
- package/dist-es/commands/CompleteAttachmentUploadCommand.js.map +0 -1
- package/dist-es/commands/CreateParticipantConnectionCommand.js.map +0 -1
- package/dist-es/commands/DisconnectParticipantCommand.js.map +0 -1
- package/dist-es/commands/GetAttachmentCommand.js.map +0 -1
- package/dist-es/commands/GetTranscriptCommand.js.map +0 -1
- package/dist-es/commands/SendEventCommand.js.map +0 -1
- package/dist-es/commands/SendMessageCommand.js.map +0 -1
- package/dist-es/commands/StartAttachmentUploadCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetTranscriptPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ConnectParticipant.ts +0 -328
- package/src/ConnectParticipantClient.ts +0 -284
- package/src/commands/CompleteAttachmentUploadCommand.ts +0 -100
- package/src/commands/CreateParticipantConnectionCommand.ts +0 -126
- package/src/commands/DisconnectParticipantCommand.ts +0 -102
- package/src/commands/GetAttachmentCommand.ts +0 -100
- package/src/commands/GetTranscriptCommand.ts +0 -102
- package/src/commands/SendEventCommand.ts +0 -102
- package/src/commands/SendMessageCommand.ts +0 -104
- package/src/commands/StartAttachmentUploadCommand.ts +0 -100
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -13
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -768
- package/src/pagination/GetTranscriptPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_restJson1.ts +0 -1241
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,115 +1,80 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
6
4
|
name: "AccessDeniedException";
|
|
7
5
|
$fault: "client";
|
|
8
6
|
Message: string | undefined;
|
|
9
7
|
}
|
|
10
8
|
export declare namespace AccessDeniedException {
|
|
11
|
-
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
9
|
+
|
|
14
10
|
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
11
|
}
|
|
16
12
|
export interface CompleteAttachmentUploadRequest {
|
|
17
|
-
|
|
18
|
-
* <p>A list of unique identifiers for the attachments.</p>
|
|
19
|
-
*/
|
|
13
|
+
|
|
20
14
|
AttachmentIds: string[] | undefined;
|
|
21
|
-
|
|
22
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
23
|
-
* request.</p>
|
|
24
|
-
*/
|
|
15
|
+
|
|
25
16
|
ClientToken?: string;
|
|
26
|
-
|
|
27
|
-
* <p>The authentication token associated with the participant's connection.</p>
|
|
28
|
-
*/
|
|
17
|
+
|
|
29
18
|
ConnectionToken: string | undefined;
|
|
30
19
|
}
|
|
31
20
|
export declare namespace CompleteAttachmentUploadRequest {
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
21
|
+
|
|
35
22
|
const filterSensitiveLog: (obj: CompleteAttachmentUploadRequest) => any;
|
|
36
23
|
}
|
|
37
24
|
export interface CompleteAttachmentUploadResponse {
|
|
38
25
|
}
|
|
39
26
|
export declare namespace CompleteAttachmentUploadResponse {
|
|
40
|
-
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
27
|
+
|
|
43
28
|
const filterSensitiveLog: (obj: CompleteAttachmentUploadResponse) => any;
|
|
44
29
|
}
|
|
45
|
-
|
|
46
|
-
* <p>An attachment with that identifier is already being uploaded.</p>
|
|
47
|
-
*/
|
|
30
|
+
|
|
48
31
|
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
49
32
|
name: "ConflictException";
|
|
50
33
|
$fault: "client";
|
|
51
34
|
Message: string | undefined;
|
|
52
35
|
}
|
|
53
36
|
export declare namespace ConflictException {
|
|
54
|
-
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
37
|
+
|
|
57
38
|
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
58
39
|
}
|
|
59
|
-
|
|
60
|
-
* <p>This exception occurs when there is an internal failure in the Amazon Connect service.</p>
|
|
61
|
-
*/
|
|
40
|
+
|
|
62
41
|
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
63
42
|
name: "InternalServerException";
|
|
64
43
|
$fault: "server";
|
|
65
44
|
Message: string | undefined;
|
|
66
45
|
}
|
|
67
46
|
export declare namespace InternalServerException {
|
|
68
|
-
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
47
|
+
|
|
71
48
|
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
72
49
|
}
|
|
73
|
-
|
|
74
|
-
* <p>The number of attachments per contact exceeds the quota.</p>
|
|
75
|
-
*/
|
|
50
|
+
|
|
76
51
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
77
52
|
name: "ServiceQuotaExceededException";
|
|
78
53
|
$fault: "client";
|
|
79
54
|
Message: string | undefined;
|
|
80
55
|
}
|
|
81
56
|
export declare namespace ServiceQuotaExceededException {
|
|
82
|
-
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
57
|
+
|
|
85
58
|
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
86
59
|
}
|
|
87
|
-
|
|
88
|
-
* <p>The request was denied due to request throttling.</p>
|
|
89
|
-
*/
|
|
60
|
+
|
|
90
61
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
91
62
|
name: "ThrottlingException";
|
|
92
63
|
$fault: "client";
|
|
93
64
|
Message: string | undefined;
|
|
94
65
|
}
|
|
95
66
|
export declare namespace ThrottlingException {
|
|
96
|
-
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
67
|
+
|
|
99
68
|
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
100
69
|
}
|
|
101
|
-
|
|
102
|
-
* <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
|
|
103
|
-
*/
|
|
70
|
+
|
|
104
71
|
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
105
72
|
name: "ValidationException";
|
|
106
73
|
$fault: "client";
|
|
107
74
|
Message: string | undefined;
|
|
108
75
|
}
|
|
109
76
|
export declare namespace ValidationException {
|
|
110
|
-
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
77
|
+
|
|
113
78
|
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
114
79
|
}
|
|
115
80
|
export declare enum ConnectionType {
|
|
@@ -117,137 +82,81 @@ export declare enum ConnectionType {
|
|
|
117
82
|
WEBSOCKET = "WEBSOCKET"
|
|
118
83
|
}
|
|
119
84
|
export interface CreateParticipantConnectionRequest {
|
|
120
|
-
|
|
121
|
-
* <p>Type of connection information required.</p>
|
|
122
|
-
*/
|
|
85
|
+
|
|
123
86
|
Type: (ConnectionType | string)[] | undefined;
|
|
124
|
-
|
|
125
|
-
* <p>This is a header parameter.</p>
|
|
126
|
-
* <p>The Participant Token as obtained from <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html">StartChatContact</a>
|
|
127
|
-
* API response.</p>
|
|
128
|
-
*/
|
|
87
|
+
|
|
129
88
|
ParticipantToken: string | undefined;
|
|
130
89
|
}
|
|
131
90
|
export declare namespace CreateParticipantConnectionRequest {
|
|
132
|
-
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
91
|
+
|
|
135
92
|
const filterSensitiveLog: (obj: CreateParticipantConnectionRequest) => any;
|
|
136
93
|
}
|
|
137
|
-
|
|
138
|
-
* <p>Connection credentials. </p>
|
|
139
|
-
*/
|
|
94
|
+
|
|
140
95
|
export interface ConnectionCredentials {
|
|
141
|
-
|
|
142
|
-
* <p>The connection token.</p>
|
|
143
|
-
*/
|
|
96
|
+
|
|
144
97
|
ConnectionToken?: string;
|
|
145
|
-
|
|
146
|
-
* <p>The expiration of the token.</p>
|
|
147
|
-
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
148
|
-
* 2019-11-08T02:41:28.172Z.</p>
|
|
149
|
-
*/
|
|
98
|
+
|
|
150
99
|
Expiry?: string;
|
|
151
100
|
}
|
|
152
101
|
export declare namespace ConnectionCredentials {
|
|
153
|
-
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
102
|
+
|
|
156
103
|
const filterSensitiveLog: (obj: ConnectionCredentials) => any;
|
|
157
104
|
}
|
|
158
|
-
|
|
159
|
-
* <p>The websocket for the participant's connection.</p>
|
|
160
|
-
*/
|
|
105
|
+
|
|
161
106
|
export interface Websocket {
|
|
162
|
-
|
|
163
|
-
* <p>The URL of the websocket.</p>
|
|
164
|
-
*/
|
|
107
|
+
|
|
165
108
|
Url?: string;
|
|
166
|
-
|
|
167
|
-
* <p>The URL expiration timestamp in ISO date format.</p>
|
|
168
|
-
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
169
|
-
* 2019-11-08T02:41:28.172Z.</p>
|
|
170
|
-
*/
|
|
109
|
+
|
|
171
110
|
ConnectionExpiry?: string;
|
|
172
111
|
}
|
|
173
112
|
export declare namespace Websocket {
|
|
174
|
-
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
113
|
+
|
|
177
114
|
const filterSensitiveLog: (obj: Websocket) => any;
|
|
178
115
|
}
|
|
179
116
|
export interface CreateParticipantConnectionResponse {
|
|
180
|
-
|
|
181
|
-
* <p>Creates the participant's websocket connection.</p>
|
|
182
|
-
*/
|
|
117
|
+
|
|
183
118
|
Websocket?: Websocket;
|
|
184
|
-
|
|
185
|
-
* <p>Creates the participant's connection credentials. The authentication token associated
|
|
186
|
-
* with the participant's connection.</p>
|
|
187
|
-
*/
|
|
119
|
+
|
|
188
120
|
ConnectionCredentials?: ConnectionCredentials;
|
|
189
121
|
}
|
|
190
122
|
export declare namespace CreateParticipantConnectionResponse {
|
|
191
|
-
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
123
|
+
|
|
194
124
|
const filterSensitiveLog: (obj: CreateParticipantConnectionResponse) => any;
|
|
195
125
|
}
|
|
196
126
|
export interface DisconnectParticipantRequest {
|
|
197
|
-
|
|
198
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
199
|
-
* request.</p>
|
|
200
|
-
*/
|
|
127
|
+
|
|
201
128
|
ClientToken?: string;
|
|
202
|
-
|
|
203
|
-
* <p>The authentication token associated with the participant's connection.</p>
|
|
204
|
-
*/
|
|
129
|
+
|
|
205
130
|
ConnectionToken: string | undefined;
|
|
206
131
|
}
|
|
207
132
|
export declare namespace DisconnectParticipantRequest {
|
|
208
|
-
|
|
209
|
-
* @internal
|
|
210
|
-
*/
|
|
133
|
+
|
|
211
134
|
const filterSensitiveLog: (obj: DisconnectParticipantRequest) => any;
|
|
212
135
|
}
|
|
213
136
|
export interface DisconnectParticipantResponse {
|
|
214
137
|
}
|
|
215
138
|
export declare namespace DisconnectParticipantResponse {
|
|
216
|
-
|
|
217
|
-
* @internal
|
|
218
|
-
*/
|
|
139
|
+
|
|
219
140
|
const filterSensitiveLog: (obj: DisconnectParticipantResponse) => any;
|
|
220
141
|
}
|
|
221
142
|
export interface GetAttachmentRequest {
|
|
222
|
-
|
|
223
|
-
* <p>A unique identifier for the attachment.</p>
|
|
224
|
-
*/
|
|
143
|
+
|
|
225
144
|
AttachmentId: string | undefined;
|
|
226
|
-
|
|
227
|
-
* <p>The authentication token associated with the participant's connection.</p>
|
|
228
|
-
*/
|
|
145
|
+
|
|
229
146
|
ConnectionToken: string | undefined;
|
|
230
147
|
}
|
|
231
148
|
export declare namespace GetAttachmentRequest {
|
|
232
|
-
|
|
233
|
-
* @internal
|
|
234
|
-
*/
|
|
149
|
+
|
|
235
150
|
const filterSensitiveLog: (obj: GetAttachmentRequest) => any;
|
|
236
151
|
}
|
|
237
152
|
export interface GetAttachmentResponse {
|
|
238
|
-
|
|
239
|
-
* <p>The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.</p>
|
|
240
|
-
*/
|
|
153
|
+
|
|
241
154
|
Url?: string;
|
|
242
|
-
|
|
243
|
-
* <p>The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>
|
|
244
|
-
*/
|
|
155
|
+
|
|
245
156
|
UrlExpiry?: string;
|
|
246
157
|
}
|
|
247
158
|
export declare namespace GetAttachmentResponse {
|
|
248
|
-
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
159
|
+
|
|
251
160
|
const filterSensitiveLog: (obj: GetAttachmentResponse) => any;
|
|
252
161
|
}
|
|
253
162
|
export declare enum ScanDirection {
|
|
@@ -258,68 +167,37 @@ export declare enum SortKey {
|
|
|
258
167
|
ASCENDING = "ASCENDING",
|
|
259
168
|
DESCENDING = "DESCENDING"
|
|
260
169
|
}
|
|
261
|
-
|
|
262
|
-
* <p>A filtering option for where to start. For example, if you sent 100 messages, start
|
|
263
|
-
* with message 50. </p>
|
|
264
|
-
*/
|
|
170
|
+
|
|
265
171
|
export interface StartPosition {
|
|
266
|
-
|
|
267
|
-
* <p>The ID of the message or event where to start. </p>
|
|
268
|
-
*/
|
|
172
|
+
|
|
269
173
|
Id?: string;
|
|
270
|
-
|
|
271
|
-
* <p>The time in ISO format where to start.</p>
|
|
272
|
-
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
273
|
-
* 2019-11-08T02:41:28.172Z.</p>
|
|
274
|
-
*/
|
|
174
|
+
|
|
275
175
|
AbsoluteTime?: string;
|
|
276
|
-
|
|
277
|
-
* <p>The start position of the most recent message where you want to start. </p>
|
|
278
|
-
*/
|
|
176
|
+
|
|
279
177
|
MostRecent?: number;
|
|
280
178
|
}
|
|
281
179
|
export declare namespace StartPosition {
|
|
282
|
-
|
|
283
|
-
* @internal
|
|
284
|
-
*/
|
|
180
|
+
|
|
285
181
|
const filterSensitiveLog: (obj: StartPosition) => any;
|
|
286
182
|
}
|
|
287
183
|
export interface GetTranscriptRequest {
|
|
288
|
-
|
|
289
|
-
* <p>The contactId from the current contact chain for which transcript is needed.</p>
|
|
290
|
-
*/
|
|
184
|
+
|
|
291
185
|
ContactId?: string;
|
|
292
|
-
|
|
293
|
-
* <p>The maximum number of results to return in the page. Default: 10. </p>
|
|
294
|
-
*/
|
|
186
|
+
|
|
295
187
|
MaxResults?: number;
|
|
296
|
-
|
|
297
|
-
* <p>The pagination token. Use the value returned previously in the next subsequent request
|
|
298
|
-
* to retrieve the next set of results.</p>
|
|
299
|
-
*/
|
|
188
|
+
|
|
300
189
|
NextToken?: string;
|
|
301
|
-
|
|
302
|
-
* <p>The direction from StartPosition from which to retrieve message. Default: BACKWARD
|
|
303
|
-
* when no StartPosition is provided, FORWARD with StartPosition. </p>
|
|
304
|
-
*/
|
|
190
|
+
|
|
305
191
|
ScanDirection?: ScanDirection | string;
|
|
306
|
-
|
|
307
|
-
* <p>The sort order for the records. Default: DESCENDING.</p>
|
|
308
|
-
*/
|
|
192
|
+
|
|
309
193
|
SortOrder?: SortKey | string;
|
|
310
|
-
|
|
311
|
-
* <p>A filtering option for where to start.</p>
|
|
312
|
-
*/
|
|
194
|
+
|
|
313
195
|
StartPosition?: StartPosition;
|
|
314
|
-
|
|
315
|
-
* <p>The authentication token associated with the participant's connection.</p>
|
|
316
|
-
*/
|
|
196
|
+
|
|
317
197
|
ConnectionToken: string | undefined;
|
|
318
198
|
}
|
|
319
199
|
export declare namespace GetTranscriptRequest {
|
|
320
|
-
|
|
321
|
-
* @internal
|
|
322
|
-
*/
|
|
200
|
+
|
|
323
201
|
const filterSensitiveLog: (obj: GetTranscriptRequest) => any;
|
|
324
202
|
}
|
|
325
203
|
export declare enum ArtifactStatus {
|
|
@@ -327,32 +205,19 @@ export declare enum ArtifactStatus {
|
|
|
327
205
|
IN_PROGRESS = "IN_PROGRESS",
|
|
328
206
|
REJECTED = "REJECTED"
|
|
329
207
|
}
|
|
330
|
-
|
|
331
|
-
* <p>The case-insensitive input to indicate standard MIME type that describes the format of the file
|
|
332
|
-
* that will be uploaded.</p>
|
|
333
|
-
*/
|
|
208
|
+
|
|
334
209
|
export interface AttachmentItem {
|
|
335
|
-
|
|
336
|
-
* <p>Describes the MIME file type of the attachment. For a list of supported file types, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits">Feature specifications</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
337
|
-
*/
|
|
210
|
+
|
|
338
211
|
ContentType?: string;
|
|
339
|
-
|
|
340
|
-
* <p>A unique identifier for the attachment.</p>
|
|
341
|
-
*/
|
|
212
|
+
|
|
342
213
|
AttachmentId?: string;
|
|
343
|
-
|
|
344
|
-
* <p>A case-sensitive name of the attachment being uploaded.</p>
|
|
345
|
-
*/
|
|
214
|
+
|
|
346
215
|
AttachmentName?: string;
|
|
347
|
-
|
|
348
|
-
* <p>Status of the attachment.</p>
|
|
349
|
-
*/
|
|
216
|
+
|
|
350
217
|
Status?: ArtifactStatus | string;
|
|
351
218
|
}
|
|
352
219
|
export declare namespace AttachmentItem {
|
|
353
|
-
|
|
354
|
-
* @internal
|
|
355
|
-
*/
|
|
220
|
+
|
|
356
221
|
const filterSensitiveLog: (obj: AttachmentItem) => any;
|
|
357
222
|
}
|
|
358
223
|
export declare enum ParticipantRole {
|
|
@@ -372,238 +237,129 @@ export declare enum ChatItemType {
|
|
|
372
237
|
TRANSFER_SUCCEEDED = "TRANSFER_SUCCEEDED",
|
|
373
238
|
TYPING = "TYPING"
|
|
374
239
|
}
|
|
375
|
-
|
|
376
|
-
* <p>An item - message or event - that has been sent. </p>
|
|
377
|
-
*/
|
|
240
|
+
|
|
378
241
|
export interface Item {
|
|
379
|
-
|
|
380
|
-
* <p>The time when the message or event was sent.</p>
|
|
381
|
-
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
382
|
-
* 2019-11-08T02:41:28.172Z.</p>
|
|
383
|
-
*/
|
|
242
|
+
|
|
384
243
|
AbsoluteTime?: string;
|
|
385
|
-
|
|
386
|
-
* <p>The content of the message or event.</p>
|
|
387
|
-
*/
|
|
244
|
+
|
|
388
245
|
Content?: string;
|
|
389
|
-
|
|
390
|
-
* <p>The type of content of the item.</p>
|
|
391
|
-
*/
|
|
246
|
+
|
|
392
247
|
ContentType?: string;
|
|
393
|
-
|
|
394
|
-
* <p>The ID of the item.</p>
|
|
395
|
-
*/
|
|
248
|
+
|
|
396
249
|
Id?: string;
|
|
397
|
-
|
|
398
|
-
* <p>Type of the item: message or event. </p>
|
|
399
|
-
*/
|
|
250
|
+
|
|
400
251
|
Type?: ChatItemType | string;
|
|
401
|
-
|
|
402
|
-
* <p>The ID of the sender in the session.</p>
|
|
403
|
-
*/
|
|
252
|
+
|
|
404
253
|
ParticipantId?: string;
|
|
405
|
-
|
|
406
|
-
* <p>The chat display name of the sender.</p>
|
|
407
|
-
*/
|
|
254
|
+
|
|
408
255
|
DisplayName?: string;
|
|
409
|
-
|
|
410
|
-
* <p>The role of the sender. For example, is it a customer, agent, or system.</p>
|
|
411
|
-
*/
|
|
256
|
+
|
|
412
257
|
ParticipantRole?: ParticipantRole | string;
|
|
413
|
-
|
|
414
|
-
* <p>Provides information about the attachments.</p>
|
|
415
|
-
*/
|
|
258
|
+
|
|
416
259
|
Attachments?: AttachmentItem[];
|
|
417
260
|
}
|
|
418
261
|
export declare namespace Item {
|
|
419
|
-
|
|
420
|
-
* @internal
|
|
421
|
-
*/
|
|
262
|
+
|
|
422
263
|
const filterSensitiveLog: (obj: Item) => any;
|
|
423
264
|
}
|
|
424
265
|
export interface GetTranscriptResponse {
|
|
425
|
-
|
|
426
|
-
* <p>The initial contact ID for the contact. </p>
|
|
427
|
-
*/
|
|
266
|
+
|
|
428
267
|
InitialContactId?: string;
|
|
429
|
-
|
|
430
|
-
* <p>The list of messages in the session.</p>
|
|
431
|
-
*/
|
|
268
|
+
|
|
432
269
|
Transcript?: Item[];
|
|
433
|
-
|
|
434
|
-
* <p>The pagination token. Use the value returned previously in the next subsequent request
|
|
435
|
-
* to retrieve the next set of results.</p>
|
|
436
|
-
*/
|
|
270
|
+
|
|
437
271
|
NextToken?: string;
|
|
438
272
|
}
|
|
439
273
|
export declare namespace GetTranscriptResponse {
|
|
440
|
-
|
|
441
|
-
* @internal
|
|
442
|
-
*/
|
|
274
|
+
|
|
443
275
|
const filterSensitiveLog: (obj: GetTranscriptResponse) => any;
|
|
444
276
|
}
|
|
445
277
|
export interface SendEventRequest {
|
|
446
|
-
|
|
447
|
-
* <p>The content type of the request. Supported types are:</p>
|
|
448
|
-
*
|
|
449
|
-
* <ul>
|
|
450
|
-
* <li>
|
|
451
|
-
* <p>application/vnd.amazonaws.connect.event.typing</p>
|
|
452
|
-
* </li>
|
|
453
|
-
* <li>
|
|
454
|
-
* <p>application/vnd.amazonaws.connect.event.connection.acknowledged</p>
|
|
455
|
-
* </li>
|
|
456
|
-
* </ul>
|
|
457
|
-
*/
|
|
278
|
+
|
|
458
279
|
ContentType: string | undefined;
|
|
459
|
-
|
|
460
|
-
* <p>The content of the event to be sent (for example, message text). This is not yet
|
|
461
|
-
* supported.</p>
|
|
462
|
-
*/
|
|
280
|
+
|
|
463
281
|
Content?: string;
|
|
464
|
-
|
|
465
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
466
|
-
* request.</p>
|
|
467
|
-
*/
|
|
282
|
+
|
|
468
283
|
ClientToken?: string;
|
|
469
|
-
|
|
470
|
-
* <p>The authentication token associated with the participant's connection.</p>
|
|
471
|
-
*/
|
|
284
|
+
|
|
472
285
|
ConnectionToken: string | undefined;
|
|
473
286
|
}
|
|
474
287
|
export declare namespace SendEventRequest {
|
|
475
|
-
|
|
476
|
-
* @internal
|
|
477
|
-
*/
|
|
288
|
+
|
|
478
289
|
const filterSensitiveLog: (obj: SendEventRequest) => any;
|
|
479
290
|
}
|
|
480
291
|
export interface SendEventResponse {
|
|
481
|
-
|
|
482
|
-
* <p>The ID of the response.</p>
|
|
483
|
-
*/
|
|
292
|
+
|
|
484
293
|
Id?: string;
|
|
485
|
-
|
|
486
|
-
* <p>The time when the event was sent.</p>
|
|
487
|
-
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
488
|
-
* 2019-11-08T02:41:28.172Z.</p>
|
|
489
|
-
*/
|
|
294
|
+
|
|
490
295
|
AbsoluteTime?: string;
|
|
491
296
|
}
|
|
492
297
|
export declare namespace SendEventResponse {
|
|
493
|
-
|
|
494
|
-
* @internal
|
|
495
|
-
*/
|
|
298
|
+
|
|
496
299
|
const filterSensitiveLog: (obj: SendEventResponse) => any;
|
|
497
300
|
}
|
|
498
301
|
export interface SendMessageRequest {
|
|
499
|
-
|
|
500
|
-
* <p>The type of the content. Supported types are text/plain.</p>
|
|
501
|
-
*/
|
|
302
|
+
|
|
502
303
|
ContentType: string | undefined;
|
|
503
|
-
|
|
504
|
-
* <p>The content of the message.</p>
|
|
505
|
-
*/
|
|
304
|
+
|
|
506
305
|
Content: string | undefined;
|
|
507
|
-
|
|
508
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
509
|
-
* request.</p>
|
|
510
|
-
*/
|
|
306
|
+
|
|
511
307
|
ClientToken?: string;
|
|
512
|
-
|
|
513
|
-
* <p>The authentication token associated with the connection.</p>
|
|
514
|
-
*/
|
|
308
|
+
|
|
515
309
|
ConnectionToken: string | undefined;
|
|
516
310
|
}
|
|
517
311
|
export declare namespace SendMessageRequest {
|
|
518
|
-
|
|
519
|
-
* @internal
|
|
520
|
-
*/
|
|
312
|
+
|
|
521
313
|
const filterSensitiveLog: (obj: SendMessageRequest) => any;
|
|
522
314
|
}
|
|
523
315
|
export interface SendMessageResponse {
|
|
524
|
-
|
|
525
|
-
* <p>The ID of the message.</p>
|
|
526
|
-
*/
|
|
316
|
+
|
|
527
317
|
Id?: string;
|
|
528
|
-
|
|
529
|
-
* <p>The time when the message was sent.</p>
|
|
530
|
-
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
531
|
-
* 2019-11-08T02:41:28.172Z.</p>
|
|
532
|
-
*/
|
|
318
|
+
|
|
533
319
|
AbsoluteTime?: string;
|
|
534
320
|
}
|
|
535
321
|
export declare namespace SendMessageResponse {
|
|
536
|
-
|
|
537
|
-
* @internal
|
|
538
|
-
*/
|
|
322
|
+
|
|
539
323
|
const filterSensitiveLog: (obj: SendMessageResponse) => any;
|
|
540
324
|
}
|
|
541
325
|
export interface StartAttachmentUploadRequest {
|
|
542
|
-
|
|
543
|
-
* <p>Describes the MIME file type of the attachment. For a list of supported file types, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits">Feature specifications</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
544
|
-
*/
|
|
326
|
+
|
|
545
327
|
ContentType: string | undefined;
|
|
546
|
-
|
|
547
|
-
* <p>The size of the attachment in bytes.</p>
|
|
548
|
-
*/
|
|
328
|
+
|
|
549
329
|
AttachmentSizeInBytes: number | undefined;
|
|
550
|
-
|
|
551
|
-
* <p>A case-sensitive name of the attachment being uploaded.</p>
|
|
552
|
-
*/
|
|
330
|
+
|
|
553
331
|
AttachmentName: string | undefined;
|
|
554
|
-
|
|
555
|
-
* <p>A unique case sensitive identifier to support idempotency of request.</p>
|
|
556
|
-
*/
|
|
332
|
+
|
|
557
333
|
ClientToken?: string;
|
|
558
|
-
|
|
559
|
-
* <p>The authentication token associated with the participant's connection.</p>
|
|
560
|
-
*/
|
|
334
|
+
|
|
561
335
|
ConnectionToken: string | undefined;
|
|
562
336
|
}
|
|
563
337
|
export declare namespace StartAttachmentUploadRequest {
|
|
564
|
-
|
|
565
|
-
* @internal
|
|
566
|
-
*/
|
|
338
|
+
|
|
567
339
|
const filterSensitiveLog: (obj: StartAttachmentUploadRequest) => any;
|
|
568
340
|
}
|
|
569
|
-
|
|
570
|
-
* <p>Fields to be used while uploading the attachment.</p>
|
|
571
|
-
*/
|
|
341
|
+
|
|
572
342
|
export interface UploadMetadata {
|
|
573
|
-
|
|
574
|
-
* <p>The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.</p>
|
|
575
|
-
*/
|
|
343
|
+
|
|
576
344
|
Url?: string;
|
|
577
|
-
|
|
578
|
-
* <p>The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>
|
|
579
|
-
*/
|
|
345
|
+
|
|
580
346
|
UrlExpiry?: string;
|
|
581
|
-
|
|
582
|
-
* <p>The headers to be provided while uploading the file to the URL.</p>
|
|
583
|
-
*/
|
|
347
|
+
|
|
584
348
|
HeadersToInclude?: {
|
|
585
349
|
[key: string]: string;
|
|
586
350
|
};
|
|
587
351
|
}
|
|
588
352
|
export declare namespace UploadMetadata {
|
|
589
|
-
|
|
590
|
-
* @internal
|
|
591
|
-
*/
|
|
353
|
+
|
|
592
354
|
const filterSensitiveLog: (obj: UploadMetadata) => any;
|
|
593
355
|
}
|
|
594
356
|
export interface StartAttachmentUploadResponse {
|
|
595
|
-
|
|
596
|
-
* <p>A unique identifier for the attachment.</p>
|
|
597
|
-
*/
|
|
357
|
+
|
|
598
358
|
AttachmentId?: string;
|
|
599
|
-
|
|
600
|
-
* <p>Fields to be used while uploading the attachment.</p>
|
|
601
|
-
*/
|
|
359
|
+
|
|
602
360
|
UploadMetadata?: UploadMetadata;
|
|
603
361
|
}
|
|
604
362
|
export declare namespace StartAttachmentUploadResponse {
|
|
605
|
-
|
|
606
|
-
* @internal
|
|
607
|
-
*/
|
|
363
|
+
|
|
608
364
|
const filterSensitiveLog: (obj: StartAttachmentUploadResponse) => any;
|
|
609
365
|
}
|