@wildix/wda-stream-client 1.1.0 → 1.1.3
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/dist-cjs/models/models_0.js +91 -37
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/models/models_0.js +89 -35
- package/dist-es/protocols/Aws_restJson1.js +2 -2
- package/dist-types/commands/ConsumeEventCommand.d.ts +205 -104
- package/dist-types/commands/DescribeEventCommand.d.ts +502 -193
- package/dist-types/commands/QueryConversationsCommand.d.ts +103 -57
- package/dist-types/models/models_0.d.ts +605 -302
- package/package.json +1 -1
|
@@ -455,40 +455,137 @@ declare const ConsumeEventCommand_base: {
|
|
|
455
455
|
* },
|
|
456
456
|
* ],
|
|
457
457
|
* },
|
|
458
|
-
*
|
|
459
|
-
* type: "CHAT.
|
|
458
|
+
* chatMessage: { // ChatMessageConsumeEvent
|
|
459
|
+
* type: "CHAT.MESSAGE", // required
|
|
460
460
|
* company: "STRING_VALUE", // required
|
|
461
461
|
* time: Number("long"), // required
|
|
462
|
-
* data: { //
|
|
463
|
-
*
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
*
|
|
470
|
-
*
|
|
462
|
+
* data: { // ChatMessageConsumeEventData
|
|
463
|
+
* channel: { // Channel
|
|
464
|
+
* subject: "STRING_VALUE",
|
|
465
|
+
* description: "STRING_VALUE",
|
|
466
|
+
* picture: "STRING_VALUE",
|
|
467
|
+
* pictureColor: "STRING_VALUE",
|
|
468
|
+
* access: "private" || "public",
|
|
469
|
+
* company: "STRING_VALUE",
|
|
470
|
+
* context: { // ChannelContext
|
|
471
|
+
* source: "kite",
|
|
472
|
+
* target: "STRING_VALUE",
|
|
473
|
+
* events: [ // ChannelContextEventList
|
|
474
|
+
* { // ChannelContextEvent
|
|
475
|
+
* id: "STRING_VALUE",
|
|
476
|
+
* owner: "STRING_VALUE",
|
|
477
|
+
* start: "STRING_VALUE",
|
|
478
|
+
* end: "STRING_VALUE",
|
|
479
|
+
* summary: "STRING_VALUE",
|
|
480
|
+
* attendees: [ // ChannelContextEventAttendeeList
|
|
481
|
+
* { // ChannelContextEventAttendee
|
|
482
|
+
* email: "STRING_VALUE", // required
|
|
483
|
+
* name: "STRING_VALUE",
|
|
484
|
+
* status: "accepted" || "tentative" || "declined" || "none", // required
|
|
485
|
+
* },
|
|
486
|
+
* ],
|
|
487
|
+
* },
|
|
488
|
+
* ],
|
|
489
|
+
* ptt: { // ChannelContextPushToTalk
|
|
490
|
+
* broadcastId: "STRING_VALUE",
|
|
491
|
+
* },
|
|
492
|
+
* },
|
|
493
|
+
* kite: true || false,
|
|
494
|
+
* kiteTarget: "STRING_VALUE",
|
|
495
|
+
* kiteVariant: "STRING_VALUE",
|
|
496
|
+
* kiteAssign: "STRING_VALUE",
|
|
497
|
+
* kiteServiceName: "STRING_VALUE",
|
|
498
|
+
* kiteDefaultSubject: "STRING_VALUE",
|
|
499
|
+
* service: "STRING_VALUE",
|
|
500
|
+
* serviceTitle: "STRING_VALUE",
|
|
501
|
+
* serviceRecipient: "STRING_VALUE",
|
|
502
|
+
* assignee: { // User
|
|
503
|
+
* id: "STRING_VALUE", // required
|
|
504
|
+
* name: "STRING_VALUE",
|
|
505
|
+
* email: "STRING_VALUE",
|
|
506
|
+
* phone: "STRING_VALUE",
|
|
507
|
+
* picture: "STRING_VALUE",
|
|
508
|
+
* locale: "STRING_VALUE",
|
|
509
|
+
* timeZone: "STRING_VALUE",
|
|
510
|
+
* company: "STRING_VALUE",
|
|
511
|
+
* bot: true || false,
|
|
512
|
+
* pbxDomain: "STRING_VALUE",
|
|
513
|
+
* pbxPort: "STRING_VALUE",
|
|
514
|
+
* pbxExtension: "STRING_VALUE",
|
|
515
|
+
* pbxSerial: "STRING_VALUE",
|
|
516
|
+
* pbxUserId: "STRING_VALUE",
|
|
517
|
+
* createdAt: "STRING_VALUE",
|
|
518
|
+
* updatedAt: "STRING_VALUE",
|
|
519
|
+
* },
|
|
520
|
+
* telephony: true || false,
|
|
521
|
+
* sms: true || false,
|
|
522
|
+
* mms: true || false,
|
|
523
|
+
* whatsapp: true || false,
|
|
524
|
+
* whatsappStatus: "24h_channel_closed",
|
|
525
|
+
* broadcast: true || false,
|
|
526
|
+
* external: true || false,
|
|
527
|
+
* autoRecord: true || false,
|
|
528
|
+
* transcriptionLanguage: "STRING_VALUE",
|
|
529
|
+
* channelId: "STRING_VALUE", // required
|
|
530
|
+
* channelType: "direct" || "group", // required
|
|
531
|
+
* memberCount: Number("int"), // required
|
|
532
|
+
* createdAt: "STRING_VALUE", // required
|
|
533
|
+
* createdBy: "STRING_VALUE", // required
|
|
534
|
+
* updatedAt: "STRING_VALUE",
|
|
535
|
+
* },
|
|
536
|
+
* message: { // Message
|
|
537
|
+
* text: "STRING_VALUE",
|
|
538
|
+
* elements: [ // ElementsList
|
|
539
|
+
* { // Element Union: only one key present
|
|
540
|
+
* template: { // MessageTemplateConfig
|
|
541
|
+
* whatsapp: { // TemplateWithParameters
|
|
542
|
+
* name: "STRING_VALUE", // required
|
|
543
|
+
* parameters: [ // ListTemplateParameter // required
|
|
544
|
+
* { // TemplateParameter
|
|
545
|
+
* name: "STRING_VALUE", // required
|
|
546
|
+
* value: "STRING_VALUE", // required
|
|
547
|
+
* },
|
|
548
|
+
* ],
|
|
549
|
+
* },
|
|
550
|
+
* },
|
|
551
|
+
* actions: [ // ActionsElementsList
|
|
552
|
+
* { // ActionElement Union: only one key present
|
|
553
|
+
* button: { // ButtonElement
|
|
554
|
+
* text: "STRING_VALUE", // required
|
|
555
|
+
* handler: { // ButtonHandler Union: only one key present
|
|
556
|
+
* link: { // ButtonLinkHandler
|
|
557
|
+
* url: "STRING_VALUE", // required
|
|
558
|
+
* },
|
|
559
|
+
* reply: { // ButtonReplyHandler
|
|
560
|
+
* text: "STRING_VALUE",
|
|
561
|
+
* },
|
|
562
|
+
* action: { // ButtonActionHandler
|
|
563
|
+
* id: "STRING_VALUE", // required
|
|
564
|
+
* },
|
|
565
|
+
* },
|
|
566
|
+
* variant: "contained" || "outlined",
|
|
567
|
+
* disabled: true || false,
|
|
568
|
+
* },
|
|
569
|
+
* },
|
|
570
|
+
* ],
|
|
571
|
+
* },
|
|
572
|
+
* ],
|
|
573
|
+
* attachments: [ // MessageAttachmentList
|
|
574
|
+
* { // MessageAttachment
|
|
471
575
|
* id: "STRING_VALUE", // required
|
|
472
|
-
*
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
*
|
|
479
|
-
* bot: true || false,
|
|
480
|
-
* pbxDomain: "STRING_VALUE",
|
|
481
|
-
* pbxPort: "STRING_VALUE",
|
|
482
|
-
* pbxExtension: "STRING_VALUE",
|
|
483
|
-
* pbxSerial: "STRING_VALUE",
|
|
484
|
-
* pbxUserId: "STRING_VALUE",
|
|
485
|
-
* createdAt: "STRING_VALUE",
|
|
486
|
-
* updatedAt: "STRING_VALUE",
|
|
576
|
+
* fsId: "STRING_VALUE", // required
|
|
577
|
+
* mime: "STRING_VALUE",
|
|
578
|
+
* name: "STRING_VALUE", // required
|
|
579
|
+
* size: Number("int"), // required
|
|
580
|
+
* width: Number("int"),
|
|
581
|
+
* height: Number("int"),
|
|
582
|
+
* thumbnail: "STRING_VALUE",
|
|
487
583
|
* },
|
|
488
584
|
* ],
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
585
|
+
* quote: { // MessageQuote
|
|
586
|
+
* messageId: "STRING_VALUE", // required
|
|
587
|
+
* channelId: "STRING_VALUE", // required
|
|
588
|
+
* user: {
|
|
492
589
|
* id: "STRING_VALUE", // required
|
|
493
590
|
* name: "STRING_VALUE",
|
|
494
591
|
* email: "STRING_VALUE",
|
|
@@ -506,89 +603,93 @@ declare const ConsumeEventCommand_base: {
|
|
|
506
603
|
* createdAt: "STRING_VALUE",
|
|
507
604
|
* updatedAt: "STRING_VALUE",
|
|
508
605
|
* },
|
|
606
|
+
* text: "STRING_VALUE",
|
|
607
|
+
* attachments: [
|
|
608
|
+
* {
|
|
609
|
+
* id: "STRING_VALUE", // required
|
|
610
|
+
* fsId: "STRING_VALUE", // required
|
|
611
|
+
* mime: "STRING_VALUE",
|
|
612
|
+
* name: "STRING_VALUE", // required
|
|
613
|
+
* size: Number("int"), // required
|
|
614
|
+
* width: Number("int"),
|
|
615
|
+
* height: Number("int"),
|
|
616
|
+
* thumbnail: "STRING_VALUE",
|
|
617
|
+
* },
|
|
618
|
+
* ],
|
|
619
|
+
* forward: { // MessageForward
|
|
620
|
+
* forwardCompany: "STRING_VALUE",
|
|
621
|
+
* forwardDate: "STRING_VALUE", // required
|
|
622
|
+
* forwardEmail: "STRING_VALUE",
|
|
623
|
+
* forwardName: "STRING_VALUE",
|
|
624
|
+
* messageId: "STRING_VALUE", // required
|
|
625
|
+
* channelId: "STRING_VALUE", // required
|
|
626
|
+
* },
|
|
627
|
+
* mentions: [ // UsersList
|
|
628
|
+
* "<User>",
|
|
629
|
+
* ],
|
|
630
|
+
* giphy: { // MessageGiphy
|
|
631
|
+
* id: "STRING_VALUE", // required
|
|
632
|
+
* size: "STRING_VALUE", // required
|
|
633
|
+
* url: "STRING_VALUE", // required
|
|
634
|
+
* height: "STRING_VALUE", // required
|
|
635
|
+
* width: "STRING_VALUE", // required
|
|
636
|
+
* },
|
|
637
|
+
* createdAt: "STRING_VALUE", // required
|
|
638
|
+
* updatedAt: "STRING_VALUE",
|
|
639
|
+
* },
|
|
640
|
+
* forward: {
|
|
641
|
+
* forwardCompany: "STRING_VALUE",
|
|
642
|
+
* forwardDate: "STRING_VALUE", // required
|
|
643
|
+
* forwardEmail: "STRING_VALUE",
|
|
644
|
+
* forwardName: "STRING_VALUE",
|
|
645
|
+
* messageId: "STRING_VALUE", // required
|
|
646
|
+
* channelId: "STRING_VALUE", // required
|
|
647
|
+
* },
|
|
648
|
+
* whatsapp: true || false,
|
|
649
|
+
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
650
|
+
* sms: true || false,
|
|
651
|
+
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
652
|
+
* type: "regular" || "system", // required
|
|
653
|
+
* giphy: {
|
|
654
|
+
* id: "STRING_VALUE", // required
|
|
655
|
+
* size: "STRING_VALUE", // required
|
|
656
|
+
* url: "STRING_VALUE", // required
|
|
657
|
+
* height: "STRING_VALUE", // required
|
|
658
|
+
* width: "STRING_VALUE", // required
|
|
659
|
+
* },
|
|
660
|
+
* silent: true || false,
|
|
661
|
+
* event: "STRING_VALUE",
|
|
662
|
+
* messageId: "STRING_VALUE", // required
|
|
663
|
+
* channelId: "STRING_VALUE", // required
|
|
664
|
+
* user: "<User>", // required
|
|
665
|
+
* edit: true || false,
|
|
666
|
+
* mentions: [
|
|
667
|
+
* "<User>",
|
|
509
668
|
* ],
|
|
510
|
-
*
|
|
511
|
-
*
|
|
512
|
-
*
|
|
513
|
-
*
|
|
514
|
-
*
|
|
515
|
-
*
|
|
516
|
-
*
|
|
517
|
-
*
|
|
518
|
-
*
|
|
519
|
-
*
|
|
520
|
-
*
|
|
521
|
-
*
|
|
522
|
-
* timeZone: "STRING_VALUE",
|
|
523
|
-
* company: "STRING_VALUE",
|
|
524
|
-
* bot: true || false,
|
|
525
|
-
* pbxDomain: "STRING_VALUE",
|
|
526
|
-
* pbxPort: "STRING_VALUE",
|
|
527
|
-
* pbxExtension: "STRING_VALUE",
|
|
528
|
-
* pbxSerial: "STRING_VALUE",
|
|
529
|
-
* pbxUserId: "STRING_VALUE",
|
|
530
|
-
* createdAt: "STRING_VALUE",
|
|
669
|
+
* latestReactions: [ // ReactionList
|
|
670
|
+
* { // Reaction
|
|
671
|
+
* type: "STRING_VALUE",
|
|
672
|
+
* userId: "STRING_VALUE",
|
|
673
|
+
* messageId: "STRING_VALUE",
|
|
674
|
+
* user: "<User>",
|
|
675
|
+
* },
|
|
676
|
+
* ],
|
|
677
|
+
* reactionCounts: { // ReactionCounts
|
|
678
|
+
* "<keys>": Number("int"),
|
|
679
|
+
* },
|
|
680
|
+
* createdAt: "STRING_VALUE", // required
|
|
531
681
|
* updatedAt: "STRING_VALUE",
|
|
532
682
|
* },
|
|
533
|
-
*
|
|
534
|
-
*
|
|
535
|
-
*
|
|
536
|
-
* type: "CHAT.NEW" || "CHAT.UPDATE", // required
|
|
537
|
-
* company: "STRING_VALUE", // required
|
|
538
|
-
* time: Number("long"), // required
|
|
539
|
-
* data: { // ChatUpdateConsumeEventData
|
|
540
|
-
* channelId: "STRING_VALUE", // required
|
|
541
|
-
* channelType: "direct" || "group", // required
|
|
542
|
-
* subject: "STRING_VALUE", // required
|
|
543
|
-
* service: "STRING_VALUE",
|
|
544
|
-
* serviceTitle: "STRING_VALUE",
|
|
545
|
-
* participants: {
|
|
546
|
-
* agents: [ // required
|
|
547
|
-
* {
|
|
548
|
-
* id: "STRING_VALUE", // required
|
|
549
|
-
* name: "STRING_VALUE",
|
|
550
|
-
* email: "STRING_VALUE",
|
|
551
|
-
* phone: "STRING_VALUE",
|
|
552
|
-
* picture: "STRING_VALUE",
|
|
553
|
-
* locale: "STRING_VALUE",
|
|
554
|
-
* timeZone: "STRING_VALUE",
|
|
555
|
-
* company: "STRING_VALUE",
|
|
556
|
-
* bot: true || false,
|
|
557
|
-
* pbxDomain: "STRING_VALUE",
|
|
558
|
-
* pbxPort: "STRING_VALUE",
|
|
559
|
-
* pbxExtension: "STRING_VALUE",
|
|
560
|
-
* pbxSerial: "STRING_VALUE",
|
|
561
|
-
* pbxUserId: "STRING_VALUE",
|
|
562
|
-
* createdAt: "STRING_VALUE",
|
|
563
|
-
* updatedAt: "STRING_VALUE",
|
|
564
|
-
* },
|
|
683
|
+
* participants: { // ChatParticipants
|
|
684
|
+
* agents: [
|
|
685
|
+
* "<User>",
|
|
565
686
|
* ],
|
|
566
687
|
* agentsCount: Number("int"), // required
|
|
567
|
-
* customers: [
|
|
568
|
-
*
|
|
569
|
-
* id: "STRING_VALUE", // required
|
|
570
|
-
* name: "STRING_VALUE",
|
|
571
|
-
* email: "STRING_VALUE",
|
|
572
|
-
* phone: "STRING_VALUE",
|
|
573
|
-
* picture: "STRING_VALUE",
|
|
574
|
-
* locale: "STRING_VALUE",
|
|
575
|
-
* timeZone: "STRING_VALUE",
|
|
576
|
-
* company: "STRING_VALUE",
|
|
577
|
-
* bot: true || false,
|
|
578
|
-
* pbxDomain: "STRING_VALUE",
|
|
579
|
-
* pbxPort: "STRING_VALUE",
|
|
580
|
-
* pbxExtension: "STRING_VALUE",
|
|
581
|
-
* pbxSerial: "STRING_VALUE",
|
|
582
|
-
* pbxUserId: "STRING_VALUE",
|
|
583
|
-
* createdAt: "STRING_VALUE",
|
|
584
|
-
* updatedAt: "STRING_VALUE",
|
|
585
|
-
* },
|
|
688
|
+
* customers: [
|
|
689
|
+
* "<User>",
|
|
586
690
|
* ],
|
|
587
691
|
* customersCount: Number("int"), // required
|
|
588
692
|
* },
|
|
589
|
-
* tags: [
|
|
590
|
-
* "sms" || "telephony" || "whatsapp",
|
|
591
|
-
* ],
|
|
592
693
|
* },
|
|
593
694
|
* },
|
|
594
695
|
* smsInbound: { // SmsInboundConsumeEvent
|