@aws-sdk/client-connectparticipant 3.687.0 → 3.691.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.
|
@@ -29,7 +29,7 @@ export interface CompleteAttachmentUploadRequest {
|
|
|
29
29
|
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
|
-
ClientToken?: string;
|
|
32
|
+
ClientToken?: string | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* <p>The authentication token associated with the participant's connection.</p>
|
|
35
35
|
* @public
|
|
@@ -129,7 +129,7 @@ export interface CreateParticipantConnectionRequest {
|
|
|
129
129
|
* pass <code>CONNECTION_CREDENTIALS</code> in <code>Type</code>.</p>
|
|
130
130
|
* @public
|
|
131
131
|
*/
|
|
132
|
-
Type?: ConnectionType[];
|
|
132
|
+
Type?: ConnectionType[] | undefined;
|
|
133
133
|
/**
|
|
134
134
|
* <p>This is a header parameter.</p>
|
|
135
135
|
* <p>The ParticipantToken as obtained from <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html">StartChatContact</a>
|
|
@@ -143,7 +143,7 @@ export interface CreateParticipantConnectionRequest {
|
|
|
143
143
|
* non-streaming chats.</p>
|
|
144
144
|
* @public
|
|
145
145
|
*/
|
|
146
|
-
ConnectParticipant?: boolean;
|
|
146
|
+
ConnectParticipant?: boolean | undefined;
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* <p>Connection credentials. </p>
|
|
@@ -154,14 +154,14 @@ export interface ConnectionCredentials {
|
|
|
154
154
|
* <p>The connection token.</p>
|
|
155
155
|
* @public
|
|
156
156
|
*/
|
|
157
|
-
ConnectionToken?: string;
|
|
157
|
+
ConnectionToken?: string | undefined;
|
|
158
158
|
/**
|
|
159
159
|
* <p>The expiration of the token.</p>
|
|
160
160
|
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
161
161
|
* 2019-11-08T02:41:28.172Z.</p>
|
|
162
162
|
* @public
|
|
163
163
|
*/
|
|
164
|
-
Expiry?: string;
|
|
164
|
+
Expiry?: string | undefined;
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
167
|
* <p>The websocket for the participant's connection.</p>
|
|
@@ -172,14 +172,14 @@ export interface Websocket {
|
|
|
172
172
|
* <p>The URL of the websocket.</p>
|
|
173
173
|
* @public
|
|
174
174
|
*/
|
|
175
|
-
Url?: string;
|
|
175
|
+
Url?: string | undefined;
|
|
176
176
|
/**
|
|
177
177
|
* <p>The URL expiration timestamp in ISO date format.</p>
|
|
178
178
|
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
179
179
|
* 2019-11-08T02:41:28.172Z.</p>
|
|
180
180
|
* @public
|
|
181
181
|
*/
|
|
182
|
-
ConnectionExpiry?: string;
|
|
182
|
+
ConnectionExpiry?: string | undefined;
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
185
|
* @public
|
|
@@ -189,13 +189,13 @@ export interface CreateParticipantConnectionResponse {
|
|
|
189
189
|
* <p>Creates the participant's websocket connection.</p>
|
|
190
190
|
* @public
|
|
191
191
|
*/
|
|
192
|
-
Websocket?: Websocket;
|
|
192
|
+
Websocket?: Websocket | undefined;
|
|
193
193
|
/**
|
|
194
194
|
* <p>Creates the participant's connection credentials. The authentication token associated
|
|
195
195
|
* with the participant's connection.</p>
|
|
196
196
|
* @public
|
|
197
197
|
*/
|
|
198
|
-
ConnectionCredentials?: ConnectionCredentials;
|
|
198
|
+
ConnectionCredentials?: ConnectionCredentials | undefined;
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
201
201
|
* @public
|
|
@@ -224,17 +224,17 @@ export interface ViewContent {
|
|
|
224
224
|
* render.</p>
|
|
225
225
|
* @public
|
|
226
226
|
*/
|
|
227
|
-
InputSchema?: string;
|
|
227
|
+
InputSchema?: string | undefined;
|
|
228
228
|
/**
|
|
229
229
|
* <p>The view template representing the structure of the view.</p>
|
|
230
230
|
* @public
|
|
231
231
|
*/
|
|
232
|
-
Template?: string;
|
|
232
|
+
Template?: string | undefined;
|
|
233
233
|
/**
|
|
234
234
|
* <p>A list of actions possible from the view</p>
|
|
235
235
|
* @public
|
|
236
236
|
*/
|
|
237
|
-
Actions?: string[];
|
|
237
|
+
Actions?: string[] | undefined;
|
|
238
238
|
}
|
|
239
239
|
/**
|
|
240
240
|
* <p>A view resource object. Contains metadata and content necessary to render the
|
|
@@ -246,28 +246,28 @@ export interface View {
|
|
|
246
246
|
* <p>The identifier of the view.</p>
|
|
247
247
|
* @public
|
|
248
248
|
*/
|
|
249
|
-
Id?: string;
|
|
249
|
+
Id?: string | undefined;
|
|
250
250
|
/**
|
|
251
251
|
* <p>The Amazon Resource Name (ARN) of the view.</p>
|
|
252
252
|
* @public
|
|
253
253
|
*/
|
|
254
|
-
Arn?: string;
|
|
254
|
+
Arn?: string | undefined;
|
|
255
255
|
/**
|
|
256
256
|
* <p>The name of the view.</p>
|
|
257
257
|
* @public
|
|
258
258
|
*/
|
|
259
|
-
Name?: string;
|
|
259
|
+
Name?: string | undefined;
|
|
260
260
|
/**
|
|
261
261
|
* <p>The current version of the view.</p>
|
|
262
262
|
* @public
|
|
263
263
|
*/
|
|
264
|
-
Version?: number;
|
|
264
|
+
Version?: number | undefined;
|
|
265
265
|
/**
|
|
266
266
|
* <p>View content containing all content necessary to render a view except for runtime
|
|
267
267
|
* input data.</p>
|
|
268
268
|
* @public
|
|
269
269
|
*/
|
|
270
|
-
Content?: ViewContent;
|
|
270
|
+
Content?: ViewContent | undefined;
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
273
273
|
* @public
|
|
@@ -278,7 +278,7 @@ export interface DescribeViewResponse {
|
|
|
278
278
|
* view.</p>
|
|
279
279
|
* @public
|
|
280
280
|
*/
|
|
281
|
-
View?: View;
|
|
281
|
+
View?: View | undefined;
|
|
282
282
|
}
|
|
283
283
|
/**
|
|
284
284
|
* @public
|
|
@@ -305,17 +305,17 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
305
305
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
306
306
|
readonly name: "ResourceNotFoundException";
|
|
307
307
|
readonly $fault: "client";
|
|
308
|
-
Message?: string;
|
|
308
|
+
Message?: string | undefined;
|
|
309
309
|
/**
|
|
310
310
|
* <p>The identifier of the resource.</p>
|
|
311
311
|
* @public
|
|
312
312
|
*/
|
|
313
|
-
ResourceId?: string;
|
|
313
|
+
ResourceId?: string | undefined;
|
|
314
314
|
/**
|
|
315
315
|
* <p>The type of Amazon Connect resource.</p>
|
|
316
316
|
* @public
|
|
317
317
|
*/
|
|
318
|
-
ResourceType?: ResourceType;
|
|
318
|
+
ResourceType?: ResourceType | undefined;
|
|
319
319
|
/**
|
|
320
320
|
* @internal
|
|
321
321
|
*/
|
|
@@ -332,7 +332,7 @@ export interface DisconnectParticipantRequest {
|
|
|
332
332
|
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
333
333
|
* @public
|
|
334
334
|
*/
|
|
335
|
-
ClientToken?: string;
|
|
335
|
+
ClientToken?: string | undefined;
|
|
336
336
|
/**
|
|
337
337
|
* <p>The authentication token associated with the participant's connection.</p>
|
|
338
338
|
* @public
|
|
@@ -368,12 +368,12 @@ export interface GetAttachmentResponse {
|
|
|
368
368
|
* to <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html">StartAttachmentUpload</a>.</p>
|
|
369
369
|
* @public
|
|
370
370
|
*/
|
|
371
|
-
Url?: string;
|
|
371
|
+
Url?: string | undefined;
|
|
372
372
|
/**
|
|
373
373
|
* <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>
|
|
374
374
|
* @public
|
|
375
375
|
*/
|
|
376
|
-
UrlExpiry?: string;
|
|
376
|
+
UrlExpiry?: string | undefined;
|
|
377
377
|
}
|
|
378
378
|
/**
|
|
379
379
|
* @public
|
|
@@ -409,19 +409,19 @@ export interface StartPosition {
|
|
|
409
409
|
* <p>The ID of the message or event where to start. </p>
|
|
410
410
|
* @public
|
|
411
411
|
*/
|
|
412
|
-
Id?: string;
|
|
412
|
+
Id?: string | undefined;
|
|
413
413
|
/**
|
|
414
414
|
* <p>The time in ISO format where to start.</p>
|
|
415
415
|
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
416
416
|
* 2019-11-08T02:41:28.172Z.</p>
|
|
417
417
|
* @public
|
|
418
418
|
*/
|
|
419
|
-
AbsoluteTime?: string;
|
|
419
|
+
AbsoluteTime?: string | undefined;
|
|
420
420
|
/**
|
|
421
421
|
* <p>The start position of the most recent message where you want to start. </p>
|
|
422
422
|
* @public
|
|
423
423
|
*/
|
|
424
|
-
MostRecent?: number;
|
|
424
|
+
MostRecent?: number | undefined;
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
427
|
* @public
|
|
@@ -431,34 +431,34 @@ export interface GetTranscriptRequest {
|
|
|
431
431
|
* <p>The contactId from the current contact chain for which transcript is needed.</p>
|
|
432
432
|
* @public
|
|
433
433
|
*/
|
|
434
|
-
ContactId?: string;
|
|
434
|
+
ContactId?: string | undefined;
|
|
435
435
|
/**
|
|
436
436
|
* <p>The maximum number of results to return in the page. Default: 10. </p>
|
|
437
437
|
* @public
|
|
438
438
|
*/
|
|
439
|
-
MaxResults?: number;
|
|
439
|
+
MaxResults?: number | undefined;
|
|
440
440
|
/**
|
|
441
441
|
* <p>The pagination token. Use the value returned previously in the next subsequent request
|
|
442
442
|
* to retrieve the next set of results.</p>
|
|
443
443
|
* @public
|
|
444
444
|
*/
|
|
445
|
-
NextToken?: string;
|
|
445
|
+
NextToken?: string | undefined;
|
|
446
446
|
/**
|
|
447
447
|
* <p>The direction from StartPosition from which to retrieve message. Default: BACKWARD
|
|
448
448
|
* when no StartPosition is provided, FORWARD with StartPosition. </p>
|
|
449
449
|
* @public
|
|
450
450
|
*/
|
|
451
|
-
ScanDirection?: ScanDirection;
|
|
451
|
+
ScanDirection?: ScanDirection | undefined;
|
|
452
452
|
/**
|
|
453
453
|
* <p>The sort order for the records. Default: DESCENDING.</p>
|
|
454
454
|
* @public
|
|
455
455
|
*/
|
|
456
|
-
SortOrder?: SortKey;
|
|
456
|
+
SortOrder?: SortKey | undefined;
|
|
457
457
|
/**
|
|
458
458
|
* <p>A filtering option for where to start.</p>
|
|
459
459
|
* @public
|
|
460
460
|
*/
|
|
461
|
-
StartPosition?: StartPosition;
|
|
461
|
+
StartPosition?: StartPosition | undefined;
|
|
462
462
|
/**
|
|
463
463
|
* <p>The authentication token associated with the participant's connection.</p>
|
|
464
464
|
* @public
|
|
@@ -488,22 +488,22 @@ export interface AttachmentItem {
|
|
|
488
488
|
* <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/feature-limits.html">Feature specifications</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
489
489
|
* @public
|
|
490
490
|
*/
|
|
491
|
-
ContentType?: string;
|
|
491
|
+
ContentType?: string | undefined;
|
|
492
492
|
/**
|
|
493
493
|
* <p>A unique identifier for the attachment.</p>
|
|
494
494
|
* @public
|
|
495
495
|
*/
|
|
496
|
-
AttachmentId?: string;
|
|
496
|
+
AttachmentId?: string | undefined;
|
|
497
497
|
/**
|
|
498
498
|
* <p>A case-sensitive name of the attachment being uploaded.</p>
|
|
499
499
|
* @public
|
|
500
500
|
*/
|
|
501
|
-
AttachmentName?: string;
|
|
501
|
+
AttachmentName?: string | undefined;
|
|
502
502
|
/**
|
|
503
503
|
* <p>Status of the attachment.</p>
|
|
504
504
|
* @public
|
|
505
505
|
*/
|
|
506
|
-
Status?: ArtifactStatus;
|
|
506
|
+
Status?: ArtifactStatus | undefined;
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* <p>The receipt for the message delivered to the recipient.</p>
|
|
@@ -514,17 +514,17 @@ export interface Receipt {
|
|
|
514
514
|
* <p>The time when the message was delivered to the recipient.</p>
|
|
515
515
|
* @public
|
|
516
516
|
*/
|
|
517
|
-
DeliveredTimestamp?: string;
|
|
517
|
+
DeliveredTimestamp?: string | undefined;
|
|
518
518
|
/**
|
|
519
519
|
* <p>The time when the message was read by the recipient.</p>
|
|
520
520
|
* @public
|
|
521
521
|
*/
|
|
522
|
-
ReadTimestamp?: string;
|
|
522
|
+
ReadTimestamp?: string | undefined;
|
|
523
523
|
/**
|
|
524
524
|
* <p>The identifier of the recipient of the message. </p>
|
|
525
525
|
* @public
|
|
526
526
|
*/
|
|
527
|
-
RecipientParticipantId?: string;
|
|
527
|
+
RecipientParticipantId?: string | undefined;
|
|
528
528
|
}
|
|
529
529
|
/**
|
|
530
530
|
* <p>Contains metadata related to a message.</p>
|
|
@@ -535,12 +535,12 @@ export interface MessageMetadata {
|
|
|
535
535
|
* <p>The identifier of the message that contains the metadata information. </p>
|
|
536
536
|
* @public
|
|
537
537
|
*/
|
|
538
|
-
MessageId?: string;
|
|
538
|
+
MessageId?: string | undefined;
|
|
539
539
|
/**
|
|
540
540
|
* <p>The list of receipt information for a message for different recipients.</p>
|
|
541
541
|
* @public
|
|
542
542
|
*/
|
|
543
|
-
Receipts?: Receipt[];
|
|
543
|
+
Receipts?: Receipt[] | undefined;
|
|
544
544
|
}
|
|
545
545
|
/**
|
|
546
546
|
* @public
|
|
@@ -590,53 +590,53 @@ export interface Item {
|
|
|
590
590
|
* 2019-11-08T02:41:28.172Z.</p>
|
|
591
591
|
* @public
|
|
592
592
|
*/
|
|
593
|
-
AbsoluteTime?: string;
|
|
593
|
+
AbsoluteTime?: string | undefined;
|
|
594
594
|
/**
|
|
595
595
|
* <p>The content of the message or event.</p>
|
|
596
596
|
* @public
|
|
597
597
|
*/
|
|
598
|
-
Content?: string;
|
|
598
|
+
Content?: string | undefined;
|
|
599
599
|
/**
|
|
600
600
|
* <p>The type of content of the item.</p>
|
|
601
601
|
* @public
|
|
602
602
|
*/
|
|
603
|
-
ContentType?: string;
|
|
603
|
+
ContentType?: string | undefined;
|
|
604
604
|
/**
|
|
605
605
|
* <p>The ID of the item.</p>
|
|
606
606
|
* @public
|
|
607
607
|
*/
|
|
608
|
-
Id?: string;
|
|
608
|
+
Id?: string | undefined;
|
|
609
609
|
/**
|
|
610
610
|
* <p>Type of the item: message or event. </p>
|
|
611
611
|
* @public
|
|
612
612
|
*/
|
|
613
|
-
Type?: ChatItemType;
|
|
613
|
+
Type?: ChatItemType | undefined;
|
|
614
614
|
/**
|
|
615
615
|
* <p>The ID of the sender in the session.</p>
|
|
616
616
|
* @public
|
|
617
617
|
*/
|
|
618
|
-
ParticipantId?: string;
|
|
618
|
+
ParticipantId?: string | undefined;
|
|
619
619
|
/**
|
|
620
620
|
* <p>The chat display name of the sender.</p>
|
|
621
621
|
* @public
|
|
622
622
|
*/
|
|
623
|
-
DisplayName?: string;
|
|
623
|
+
DisplayName?: string | undefined;
|
|
624
624
|
/**
|
|
625
625
|
* <p>The role of the sender. For example, is it a customer, agent, or system.</p>
|
|
626
626
|
* @public
|
|
627
627
|
*/
|
|
628
|
-
ParticipantRole?: ParticipantRole;
|
|
628
|
+
ParticipantRole?: ParticipantRole | undefined;
|
|
629
629
|
/**
|
|
630
630
|
* <p>Provides information about the attachments.</p>
|
|
631
631
|
* @public
|
|
632
632
|
*/
|
|
633
|
-
Attachments?: AttachmentItem[];
|
|
633
|
+
Attachments?: AttachmentItem[] | undefined;
|
|
634
634
|
/**
|
|
635
635
|
* <p>The metadata related to the message. Currently this supports only information related
|
|
636
636
|
* to message receipts.</p>
|
|
637
637
|
* @public
|
|
638
638
|
*/
|
|
639
|
-
MessageMetadata?: MessageMetadata;
|
|
639
|
+
MessageMetadata?: MessageMetadata | undefined;
|
|
640
640
|
/**
|
|
641
641
|
* <p>The contactId on which the transcript item was originally sent. This field is only
|
|
642
642
|
* populated for persistent chats when the transcript item is from the past chat session.
|
|
@@ -644,13 +644,13 @@ export interface Item {
|
|
|
644
644
|
* chat</a>.</p>
|
|
645
645
|
* @public
|
|
646
646
|
*/
|
|
647
|
-
RelatedContactId?: string;
|
|
647
|
+
RelatedContactId?: string | undefined;
|
|
648
648
|
/**
|
|
649
649
|
* <p>The contactId on which the transcript item was originally sent. This field is
|
|
650
650
|
* populated only when the transcript item is from the current chat session.</p>
|
|
651
651
|
* @public
|
|
652
652
|
*/
|
|
653
|
-
ContactId?: string;
|
|
653
|
+
ContactId?: string | undefined;
|
|
654
654
|
}
|
|
655
655
|
/**
|
|
656
656
|
* @public
|
|
@@ -660,18 +660,18 @@ export interface GetTranscriptResponse {
|
|
|
660
660
|
* <p>The initial contact ID for the contact. </p>
|
|
661
661
|
* @public
|
|
662
662
|
*/
|
|
663
|
-
InitialContactId?: string;
|
|
663
|
+
InitialContactId?: string | undefined;
|
|
664
664
|
/**
|
|
665
665
|
* <p>The list of messages in the session.</p>
|
|
666
666
|
* @public
|
|
667
667
|
*/
|
|
668
|
-
Transcript?: Item[];
|
|
668
|
+
Transcript?: Item[] | undefined;
|
|
669
669
|
/**
|
|
670
670
|
* <p>The pagination token. Use the value returned previously in the next subsequent request
|
|
671
671
|
* to retrieve the next set of results.</p>
|
|
672
672
|
* @public
|
|
673
673
|
*/
|
|
674
|
-
NextToken?: string;
|
|
674
|
+
NextToken?: string | undefined;
|
|
675
675
|
}
|
|
676
676
|
/**
|
|
677
677
|
* @public
|
|
@@ -703,7 +703,7 @@ export interface SendEventRequest {
|
|
|
703
703
|
* <p>Sample Content: "\{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"\}"</p>
|
|
704
704
|
* @public
|
|
705
705
|
*/
|
|
706
|
-
Content?: string;
|
|
706
|
+
Content?: string | undefined;
|
|
707
707
|
/**
|
|
708
708
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
709
709
|
* request. If not provided, the Amazon Web Services
|
|
@@ -711,7 +711,7 @@ export interface SendEventRequest {
|
|
|
711
711
|
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
712
712
|
* @public
|
|
713
713
|
*/
|
|
714
|
-
ClientToken?: string;
|
|
714
|
+
ClientToken?: string | undefined;
|
|
715
715
|
/**
|
|
716
716
|
* <p>The authentication token associated with the participant's connection.</p>
|
|
717
717
|
* @public
|
|
@@ -726,14 +726,14 @@ export interface SendEventResponse {
|
|
|
726
726
|
* <p>The ID of the response.</p>
|
|
727
727
|
* @public
|
|
728
728
|
*/
|
|
729
|
-
Id?: string;
|
|
729
|
+
Id?: string | undefined;
|
|
730
730
|
/**
|
|
731
731
|
* <p>The time when the event was sent.</p>
|
|
732
732
|
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
733
733
|
* 2019-11-08T02:41:28.172Z.</p>
|
|
734
734
|
* @public
|
|
735
735
|
*/
|
|
736
|
-
AbsoluteTime?: string;
|
|
736
|
+
AbsoluteTime?: string | undefined;
|
|
737
737
|
}
|
|
738
738
|
/**
|
|
739
739
|
* @public
|
|
@@ -773,7 +773,7 @@ export interface SendMessageRequest {
|
|
|
773
773
|
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
774
774
|
* @public
|
|
775
775
|
*/
|
|
776
|
-
ClientToken?: string;
|
|
776
|
+
ClientToken?: string | undefined;
|
|
777
777
|
/**
|
|
778
778
|
* <p>The authentication token associated with the connection.</p>
|
|
779
779
|
* @public
|
|
@@ -788,14 +788,14 @@ export interface SendMessageResponse {
|
|
|
788
788
|
* <p>The ID of the message.</p>
|
|
789
789
|
* @public
|
|
790
790
|
*/
|
|
791
|
-
Id?: string;
|
|
791
|
+
Id?: string | undefined;
|
|
792
792
|
/**
|
|
793
793
|
* <p>The time when the message was sent.</p>
|
|
794
794
|
* <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
|
795
795
|
* 2019-11-08T02:41:28.172Z.</p>
|
|
796
796
|
* @public
|
|
797
797
|
*/
|
|
798
|
-
AbsoluteTime?: string;
|
|
798
|
+
AbsoluteTime?: string | undefined;
|
|
799
799
|
}
|
|
800
800
|
/**
|
|
801
801
|
* @public
|
|
@@ -823,7 +823,7 @@ export interface StartAttachmentUploadRequest {
|
|
|
823
823
|
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
824
824
|
* @public
|
|
825
825
|
*/
|
|
826
|
-
ClientToken?: string;
|
|
826
|
+
ClientToken?: string | undefined;
|
|
827
827
|
/**
|
|
828
828
|
* <p>The authentication token associated with the participant's connection.</p>
|
|
829
829
|
* @public
|
|
@@ -840,17 +840,17 @@ export interface UploadMetadata {
|
|
|
840
840
|
* to <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html">StartAttachmentUpload</a>.</p>
|
|
841
841
|
* @public
|
|
842
842
|
*/
|
|
843
|
-
Url?: string;
|
|
843
|
+
Url?: string | undefined;
|
|
844
844
|
/**
|
|
845
845
|
* <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>
|
|
846
846
|
* @public
|
|
847
847
|
*/
|
|
848
|
-
UrlExpiry?: string;
|
|
848
|
+
UrlExpiry?: string | undefined;
|
|
849
849
|
/**
|
|
850
850
|
* <p>The headers to be provided while uploading the file to the URL.</p>
|
|
851
851
|
* @public
|
|
852
852
|
*/
|
|
853
|
-
HeadersToInclude?: Record<string, string
|
|
853
|
+
HeadersToInclude?: Record<string, string> | undefined;
|
|
854
854
|
}
|
|
855
855
|
/**
|
|
856
856
|
* @public
|
|
@@ -860,12 +860,12 @@ export interface StartAttachmentUploadResponse {
|
|
|
860
860
|
* <p>A unique identifier for the attachment.</p>
|
|
861
861
|
* @public
|
|
862
862
|
*/
|
|
863
|
-
AttachmentId?: string;
|
|
863
|
+
AttachmentId?: string | undefined;
|
|
864
864
|
/**
|
|
865
865
|
* <p>Fields to be used while uploading the attachment.</p>
|
|
866
866
|
* @public
|
|
867
867
|
*/
|
|
868
|
-
UploadMetadata?: UploadMetadata;
|
|
868
|
+
UploadMetadata?: UploadMetadata | undefined;
|
|
869
869
|
}
|
|
870
870
|
/**
|
|
871
871
|
* @internal
|
|
@@ -10,7 +10,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
10
10
|
}
|
|
11
11
|
export interface CompleteAttachmentUploadRequest {
|
|
12
12
|
AttachmentIds: string[] | undefined;
|
|
13
|
-
ClientToken?: string;
|
|
13
|
+
ClientToken?: string | undefined;
|
|
14
14
|
ConnectionToken: string | undefined;
|
|
15
15
|
}
|
|
16
16
|
export interface CompleteAttachmentUploadResponse {}
|
|
@@ -59,40 +59,40 @@ export declare const ConnectionType: {
|
|
|
59
59
|
export type ConnectionType =
|
|
60
60
|
(typeof ConnectionType)[keyof typeof ConnectionType];
|
|
61
61
|
export interface CreateParticipantConnectionRequest {
|
|
62
|
-
Type?: ConnectionType[];
|
|
62
|
+
Type?: ConnectionType[] | undefined;
|
|
63
63
|
ParticipantToken: string | undefined;
|
|
64
|
-
ConnectParticipant?: boolean;
|
|
64
|
+
ConnectParticipant?: boolean | undefined;
|
|
65
65
|
}
|
|
66
66
|
export interface ConnectionCredentials {
|
|
67
|
-
ConnectionToken?: string;
|
|
68
|
-
Expiry?: string;
|
|
67
|
+
ConnectionToken?: string | undefined;
|
|
68
|
+
Expiry?: string | undefined;
|
|
69
69
|
}
|
|
70
70
|
export interface Websocket {
|
|
71
|
-
Url?: string;
|
|
72
|
-
ConnectionExpiry?: string;
|
|
71
|
+
Url?: string | undefined;
|
|
72
|
+
ConnectionExpiry?: string | undefined;
|
|
73
73
|
}
|
|
74
74
|
export interface CreateParticipantConnectionResponse {
|
|
75
|
-
Websocket?: Websocket;
|
|
76
|
-
ConnectionCredentials?: ConnectionCredentials;
|
|
75
|
+
Websocket?: Websocket | undefined;
|
|
76
|
+
ConnectionCredentials?: ConnectionCredentials | undefined;
|
|
77
77
|
}
|
|
78
78
|
export interface DescribeViewRequest {
|
|
79
79
|
ViewToken: string | undefined;
|
|
80
80
|
ConnectionToken: string | undefined;
|
|
81
81
|
}
|
|
82
82
|
export interface ViewContent {
|
|
83
|
-
InputSchema?: string;
|
|
84
|
-
Template?: string;
|
|
85
|
-
Actions?: string[];
|
|
83
|
+
InputSchema?: string | undefined;
|
|
84
|
+
Template?: string | undefined;
|
|
85
|
+
Actions?: string[] | undefined;
|
|
86
86
|
}
|
|
87
87
|
export interface View {
|
|
88
|
-
Id?: string;
|
|
89
|
-
Arn?: string;
|
|
90
|
-
Name?: string;
|
|
91
|
-
Version?: number;
|
|
92
|
-
Content?: ViewContent;
|
|
88
|
+
Id?: string | undefined;
|
|
89
|
+
Arn?: string | undefined;
|
|
90
|
+
Name?: string | undefined;
|
|
91
|
+
Version?: number | undefined;
|
|
92
|
+
Content?: ViewContent | undefined;
|
|
93
93
|
}
|
|
94
94
|
export interface DescribeViewResponse {
|
|
95
|
-
View?: View;
|
|
95
|
+
View?: View | undefined;
|
|
96
96
|
}
|
|
97
97
|
export declare const ResourceType: {
|
|
98
98
|
readonly CONTACT: "CONTACT";
|
|
@@ -108,15 +108,15 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
108
108
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
109
109
|
readonly name: "ResourceNotFoundException";
|
|
110
110
|
readonly $fault: "client";
|
|
111
|
-
Message?: string;
|
|
112
|
-
ResourceId?: string;
|
|
113
|
-
ResourceType?: ResourceType;
|
|
111
|
+
Message?: string | undefined;
|
|
112
|
+
ResourceId?: string | undefined;
|
|
113
|
+
ResourceType?: ResourceType | undefined;
|
|
114
114
|
constructor(
|
|
115
115
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
116
116
|
);
|
|
117
117
|
}
|
|
118
118
|
export interface DisconnectParticipantRequest {
|
|
119
|
-
ClientToken?: string;
|
|
119
|
+
ClientToken?: string | undefined;
|
|
120
120
|
ConnectionToken: string | undefined;
|
|
121
121
|
}
|
|
122
122
|
export interface DisconnectParticipantResponse {}
|
|
@@ -125,8 +125,8 @@ export interface GetAttachmentRequest {
|
|
|
125
125
|
ConnectionToken: string | undefined;
|
|
126
126
|
}
|
|
127
127
|
export interface GetAttachmentResponse {
|
|
128
|
-
Url?: string;
|
|
129
|
-
UrlExpiry?: string;
|
|
128
|
+
Url?: string | undefined;
|
|
129
|
+
UrlExpiry?: string | undefined;
|
|
130
130
|
}
|
|
131
131
|
export declare const ScanDirection: {
|
|
132
132
|
readonly BACKWARD: "BACKWARD";
|
|
@@ -139,17 +139,17 @@ export declare const SortKey: {
|
|
|
139
139
|
};
|
|
140
140
|
export type SortKey = (typeof SortKey)[keyof typeof SortKey];
|
|
141
141
|
export interface StartPosition {
|
|
142
|
-
Id?: string;
|
|
143
|
-
AbsoluteTime?: string;
|
|
144
|
-
MostRecent?: number;
|
|
142
|
+
Id?: string | undefined;
|
|
143
|
+
AbsoluteTime?: string | undefined;
|
|
144
|
+
MostRecent?: number | undefined;
|
|
145
145
|
}
|
|
146
146
|
export interface GetTranscriptRequest {
|
|
147
|
-
ContactId?: string;
|
|
148
|
-
MaxResults?: number;
|
|
149
|
-
NextToken?: string;
|
|
150
|
-
ScanDirection?: ScanDirection;
|
|
151
|
-
SortOrder?: SortKey;
|
|
152
|
-
StartPosition?: StartPosition;
|
|
147
|
+
ContactId?: string | undefined;
|
|
148
|
+
MaxResults?: number | undefined;
|
|
149
|
+
NextToken?: string | undefined;
|
|
150
|
+
ScanDirection?: ScanDirection | undefined;
|
|
151
|
+
SortOrder?: SortKey | undefined;
|
|
152
|
+
StartPosition?: StartPosition | undefined;
|
|
153
153
|
ConnectionToken: string | undefined;
|
|
154
154
|
}
|
|
155
155
|
export declare const ArtifactStatus: {
|
|
@@ -160,19 +160,19 @@ export declare const ArtifactStatus: {
|
|
|
160
160
|
export type ArtifactStatus =
|
|
161
161
|
(typeof ArtifactStatus)[keyof typeof ArtifactStatus];
|
|
162
162
|
export interface AttachmentItem {
|
|
163
|
-
ContentType?: string;
|
|
164
|
-
AttachmentId?: string;
|
|
165
|
-
AttachmentName?: string;
|
|
166
|
-
Status?: ArtifactStatus;
|
|
163
|
+
ContentType?: string | undefined;
|
|
164
|
+
AttachmentId?: string | undefined;
|
|
165
|
+
AttachmentName?: string | undefined;
|
|
166
|
+
Status?: ArtifactStatus | undefined;
|
|
167
167
|
}
|
|
168
168
|
export interface Receipt {
|
|
169
|
-
DeliveredTimestamp?: string;
|
|
170
|
-
ReadTimestamp?: string;
|
|
171
|
-
RecipientParticipantId?: string;
|
|
169
|
+
DeliveredTimestamp?: string | undefined;
|
|
170
|
+
ReadTimestamp?: string | undefined;
|
|
171
|
+
RecipientParticipantId?: string | undefined;
|
|
172
172
|
}
|
|
173
173
|
export interface MessageMetadata {
|
|
174
|
-
MessageId?: string;
|
|
175
|
-
Receipts?: Receipt[];
|
|
174
|
+
MessageId?: string | undefined;
|
|
175
|
+
Receipts?: Receipt[] | undefined;
|
|
176
176
|
}
|
|
177
177
|
export declare const ParticipantRole: {
|
|
178
178
|
readonly AGENT: "AGENT";
|
|
@@ -199,59 +199,59 @@ export declare const ChatItemType: {
|
|
|
199
199
|
};
|
|
200
200
|
export type ChatItemType = (typeof ChatItemType)[keyof typeof ChatItemType];
|
|
201
201
|
export interface Item {
|
|
202
|
-
AbsoluteTime?: string;
|
|
203
|
-
Content?: string;
|
|
204
|
-
ContentType?: string;
|
|
205
|
-
Id?: string;
|
|
206
|
-
Type?: ChatItemType;
|
|
207
|
-
ParticipantId?: string;
|
|
208
|
-
DisplayName?: string;
|
|
209
|
-
ParticipantRole?: ParticipantRole;
|
|
210
|
-
Attachments?: AttachmentItem[];
|
|
211
|
-
MessageMetadata?: MessageMetadata;
|
|
212
|
-
RelatedContactId?: string;
|
|
213
|
-
ContactId?: string;
|
|
202
|
+
AbsoluteTime?: string | undefined;
|
|
203
|
+
Content?: string | undefined;
|
|
204
|
+
ContentType?: string | undefined;
|
|
205
|
+
Id?: string | undefined;
|
|
206
|
+
Type?: ChatItemType | undefined;
|
|
207
|
+
ParticipantId?: string | undefined;
|
|
208
|
+
DisplayName?: string | undefined;
|
|
209
|
+
ParticipantRole?: ParticipantRole | undefined;
|
|
210
|
+
Attachments?: AttachmentItem[] | undefined;
|
|
211
|
+
MessageMetadata?: MessageMetadata | undefined;
|
|
212
|
+
RelatedContactId?: string | undefined;
|
|
213
|
+
ContactId?: string | undefined;
|
|
214
214
|
}
|
|
215
215
|
export interface GetTranscriptResponse {
|
|
216
|
-
InitialContactId?: string;
|
|
217
|
-
Transcript?: Item[];
|
|
218
|
-
NextToken?: string;
|
|
216
|
+
InitialContactId?: string | undefined;
|
|
217
|
+
Transcript?: Item[] | undefined;
|
|
218
|
+
NextToken?: string | undefined;
|
|
219
219
|
}
|
|
220
220
|
export interface SendEventRequest {
|
|
221
221
|
ContentType: string | undefined;
|
|
222
|
-
Content?: string;
|
|
223
|
-
ClientToken?: string;
|
|
222
|
+
Content?: string | undefined;
|
|
223
|
+
ClientToken?: string | undefined;
|
|
224
224
|
ConnectionToken: string | undefined;
|
|
225
225
|
}
|
|
226
226
|
export interface SendEventResponse {
|
|
227
|
-
Id?: string;
|
|
228
|
-
AbsoluteTime?: string;
|
|
227
|
+
Id?: string | undefined;
|
|
228
|
+
AbsoluteTime?: string | undefined;
|
|
229
229
|
}
|
|
230
230
|
export interface SendMessageRequest {
|
|
231
231
|
ContentType: string | undefined;
|
|
232
232
|
Content: string | undefined;
|
|
233
|
-
ClientToken?: string;
|
|
233
|
+
ClientToken?: string | undefined;
|
|
234
234
|
ConnectionToken: string | undefined;
|
|
235
235
|
}
|
|
236
236
|
export interface SendMessageResponse {
|
|
237
|
-
Id?: string;
|
|
238
|
-
AbsoluteTime?: string;
|
|
237
|
+
Id?: string | undefined;
|
|
238
|
+
AbsoluteTime?: string | undefined;
|
|
239
239
|
}
|
|
240
240
|
export interface StartAttachmentUploadRequest {
|
|
241
241
|
ContentType: string | undefined;
|
|
242
242
|
AttachmentSizeInBytes: number | undefined;
|
|
243
243
|
AttachmentName: string | undefined;
|
|
244
|
-
ClientToken?: string;
|
|
244
|
+
ClientToken?: string | undefined;
|
|
245
245
|
ConnectionToken: string | undefined;
|
|
246
246
|
}
|
|
247
247
|
export interface UploadMetadata {
|
|
248
|
-
Url?: string;
|
|
249
|
-
UrlExpiry?: string;
|
|
250
|
-
HeadersToInclude?: Record<string, string
|
|
248
|
+
Url?: string | undefined;
|
|
249
|
+
UrlExpiry?: string | undefined;
|
|
250
|
+
HeadersToInclude?: Record<string, string> | undefined;
|
|
251
251
|
}
|
|
252
252
|
export interface StartAttachmentUploadResponse {
|
|
253
|
-
AttachmentId?: string;
|
|
254
|
-
UploadMetadata?: UploadMetadata;
|
|
253
|
+
AttachmentId?: string | undefined;
|
|
254
|
+
UploadMetadata?: UploadMetadata | undefined;
|
|
255
255
|
}
|
|
256
256
|
export declare const ViewContentFilterSensitiveLog: (obj: ViewContent) => any;
|
|
257
257
|
export declare const ViewFilterSensitiveLog: (obj: View) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectparticipant",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectparticipant Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.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-connectparticipant",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|