@wildix/xbees-conversations-client 1.0.56 → 1.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist-cjs/Conversations.js +22 -2
  2. package/dist-cjs/commands/{CreateKiteChannelCommand.js → CreateInboxTagCommand.js} +7 -7
  3. package/dist-cjs/commands/DeleteInboxTagCommand.js +21 -0
  4. package/dist-cjs/commands/GetInboxStateCommand.js +21 -0
  5. package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +21 -0
  6. package/dist-cjs/commands/ListInboxTagsCommand.js +21 -0
  7. package/dist-cjs/commands/MarkUnreadCommand.js +21 -0
  8. package/dist-cjs/commands/PinChannelCommand.js +21 -0
  9. package/dist-cjs/commands/TagChannelCommand.js +21 -0
  10. package/dist-cjs/commands/UnpinChannelCommand.js +21 -0
  11. package/dist-cjs/commands/UntagChannelCommand.js +21 -0
  12. package/dist-cjs/commands/UpdateInboxTagCommand.js +21 -0
  13. package/dist-cjs/commands/index.js +11 -1
  14. package/dist-cjs/models/models_0.js +74 -39
  15. package/dist-cjs/protocols/Aws_restJson1.js +373 -26
  16. package/dist-es/Conversations.js +22 -2
  17. package/dist-es/commands/CreateInboxTagCommand.js +17 -0
  18. package/dist-es/commands/DeleteInboxTagCommand.js +17 -0
  19. package/dist-es/commands/GetInboxStateCommand.js +17 -0
  20. package/dist-es/commands/ListInboxTaggedChannelsCommand.js +17 -0
  21. package/dist-es/commands/ListInboxTagsCommand.js +17 -0
  22. package/dist-es/commands/MarkUnreadCommand.js +17 -0
  23. package/dist-es/commands/PinChannelCommand.js +17 -0
  24. package/dist-es/commands/TagChannelCommand.js +17 -0
  25. package/dist-es/commands/UnpinChannelCommand.js +17 -0
  26. package/dist-es/commands/UntagChannelCommand.js +17 -0
  27. package/dist-es/commands/UpdateInboxTagCommand.js +17 -0
  28. package/dist-es/commands/index.js +11 -1
  29. package/dist-es/models/models_0.js +68 -36
  30. package/dist-es/protocols/Aws_restJson1.js +350 -23
  31. package/dist-types/Conversations.d.ts +77 -5
  32. package/dist-types/ConversationsClient.d.ts +13 -3
  33. package/dist-types/commands/CreateInboxTagCommand.d.ts +73 -0
  34. package/dist-types/commands/DeleteInboxTagCommand.d.ts +65 -0
  35. package/dist-types/commands/DescribeEventCommand.d.ts +0 -30
  36. package/dist-types/commands/GetInboxStateCommand.d.ts +92 -0
  37. package/dist-types/commands/GetMessageCommand.d.ts +0 -6
  38. package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +74 -0
  39. package/dist-types/commands/ListInboxTagsCommand.d.ts +71 -0
  40. package/dist-types/commands/ListMessagesCommand.d.ts +0 -6
  41. package/dist-types/commands/MarkUnreadCommand.d.ts +76 -0
  42. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +0 -12
  43. package/dist-types/commands/PinChannelCommand.d.ts +75 -0
  44. package/dist-types/commands/SendGiphyCommand.d.ts +0 -6
  45. package/dist-types/commands/SendMessageCommand.d.ts +0 -12
  46. package/dist-types/commands/TagChannelCommand.d.ts +76 -0
  47. package/dist-types/commands/UnpinChannelCommand.d.ts +67 -0
  48. package/dist-types/commands/UntagChannelCommand.d.ts +68 -0
  49. package/dist-types/commands/UpdateInboxTagCommand.d.ts +73 -0
  50. package/dist-types/commands/UpdateMessageCommand.d.ts +0 -12
  51. package/dist-types/commands/index.d.ts +11 -1
  52. package/dist-types/models/models_0.d.ts +412 -217
  53. package/dist-types/protocols/Aws_restJson1.d.ts +95 -5
  54. package/package.json +4 -3
  55. package/dist-es/commands/CreateKiteChannelCommand.js +0 -17
  56. package/dist-types/commands/CreateKiteChannelCommand.d.ts +0 -300
@@ -432,160 +432,7 @@ export interface CreateGroupChannelOutput {
432
432
  /**
433
433
  * @public
434
434
  */
435
- export interface MessageAttachment {
436
- id: string;
437
- /**
438
- * This *is* documentation about the field. Describe here what fsId and how to get it.
439
- * @public
440
- */
441
- fsId: string;
442
- mime?: string;
443
- name: string;
444
- size: number;
445
- width?: number;
446
- height?: number;
447
- thumbnail?: string;
448
- }
449
- /**
450
- * @public
451
- */
452
- export interface MessageForward {
453
- forwardCompany?: string;
454
- forwardDate: string;
455
- forwardEmail?: string;
456
- forwardName?: string;
457
- }
458
- /**
459
- * @public
460
- */
461
- export interface MessageGiphy {
462
- id: string;
463
- size: string;
464
- url: string;
465
- height: string;
466
- width: string;
467
- }
468
- /**
469
- * @public
470
- */
471
- export interface MessagePredefinedReply {
472
- /**
473
- * Text that will be sent to the user; clicking the text will trigger sending this message.
474
- * @public
475
- */
476
- text: string;
477
- /**
478
- * Label that will appear on the reply button; if no label is provided, the text will be used.
479
- * @public
480
- */
481
- label?: string;
482
- }
483
- /**
484
- * @public
485
- */
486
- export interface MessageQuote {
487
- messageId: string;
488
- channelId: string;
489
- user: User;
490
- text?: string;
491
- attachments?: (MessageAttachment)[];
492
- forward?: MessageForward;
493
- mentions?: (User)[];
494
- giphy?: MessageGiphy;
495
- createdAt: string;
496
- updatedAt?: string;
497
- }
498
- /**
499
- * @public
500
- * @enum
501
- */
502
- export declare const MessageSmsStatus: {
503
- readonly DELIVERED: "delivered";
504
- readonly ERROR: "error";
505
- readonly SENT: "sent";
506
- readonly TRYING: "trying";
507
- };
508
- /**
509
- * @public
510
- */
511
- export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsStatus];
512
- /**
513
- * @public
514
- * @enum
515
- */
516
- export declare const MessageType: {
517
- readonly REGULAR: "regular";
518
- readonly SYSTEM: "system";
519
- };
520
- /**
521
- * @public
522
- */
523
- export type MessageType = typeof MessageType[keyof typeof MessageType];
524
- /**
525
- * @public
526
- * @enum
527
- */
528
- export declare const MessageWhatsAppStatus: {
529
- readonly DELIVERED: "delivered";
530
- readonly ERROR: "error";
531
- readonly SENT: "sent";
532
- readonly TRYING: "trying";
533
- };
534
- /**
535
- * @public
536
- */
537
- export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
538
- /**
539
- * @public
540
- */
541
- export interface InitialMessage {
542
- text?: string;
543
- attachments?: (MessageAttachment)[];
544
- quote?: MessageQuote;
545
- forward?: MessageForward;
546
- /**
547
- * A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
548
- * @public
549
- */
550
- predefinedReplies?: (MessagePredefinedReply)[];
551
- type: MessageType;
552
- giphy?: MessageGiphy;
553
- silent?: boolean;
554
- event?: string;
555
- sms?: boolean;
556
- smsStatus?: MessageSmsStatus;
557
- whatsapp?: boolean;
558
- whatsappStatus?: MessageWhatsAppStatus;
559
- messageId: string;
560
- }
561
- /**
562
- * @public
563
- */
564
- export interface WelcomeMessage {
565
- text?: string;
566
- attachments?: (MessageAttachment)[];
567
- quote?: MessageQuote;
568
- forward?: MessageForward;
569
- /**
570
- * A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
571
- * @public
572
- */
573
- predefinedReplies?: (MessagePredefinedReply)[];
574
- type: MessageType;
575
- giphy?: MessageGiphy;
576
- silent?: boolean;
577
- event?: string;
578
- sms?: boolean;
579
- smsStatus?: MessageSmsStatus;
580
- whatsapp?: boolean;
581
- whatsappStatus?: MessageWhatsAppStatus;
582
- messageId: string;
583
- user: User;
584
- }
585
- /**
586
- * @public
587
- */
588
- export interface CreateKiteChannelInput {
435
+ export interface CreateInboxTagInput {
589
436
  /**
590
437
  * The unique identifier of the user when a service token is used.
591
438
  * @public
@@ -595,67 +442,36 @@ export interface CreateKiteChannelInput {
595
442
  * The unique identifier for the new group channel. If not provided, the system will generate one.
596
443
  * @public
597
444
  */
598
- channelId?: string;
599
- /**
600
- * The unique identifier of the Kite widget or email of the agent (example: 36cv69ao or vadim.ruban@wildix.com).
601
- * @public
602
- */
603
- targetId: string;
604
- /**
605
- * The unique identifier of the route for time-based configuration.
606
- * @public
607
- */
608
- targetRouteId?: string;
609
- /**
610
- * A list of welcome messages is created during channel creation to preserve the same state as the client has on the interface. If welcomeMessages or initialMessage are not specified, the system will generate a 'conversation was created' system message.
611
- * @public
612
- */
613
- welcomeMessages?: (WelcomeMessage)[];
445
+ tagId?: string;
614
446
  /**
615
- * A message to be added to the conversation for the user. If welcomeMessages or initialMessage are not specified, the system will generate a 'conversation was created' system message.
447
+ * The name of the tag.
616
448
  * @public
617
449
  */
618
- initialMessage?: InitialMessage;
450
+ name: string;
619
451
  }
620
452
  /**
621
453
  * @public
622
454
  */
623
- export interface CreateKiteChannelOutput {
624
- channel: Channel;
455
+ export interface InboxTag {
456
+ id: string;
457
+ name: string;
625
458
  }
626
- /**
627
- * @public
628
- * @enum
629
- */
630
- export declare const TargetNotEligibleReason: {
631
- readonly NO_LICENSE: "no_license";
632
- };
633
- /**
634
- * @public
635
- */
636
- export type TargetNotEligibleReason = typeof TargetNotEligibleReason[keyof typeof TargetNotEligibleReason];
637
459
  /**
638
460
  * @public
639
461
  */
640
- export declare class TargetNotEligibleException extends __BaseException {
641
- readonly name: "TargetNotEligibleException";
642
- readonly $fault: "client";
643
- reason?: TargetNotEligibleReason;
644
- /**
645
- * @internal
646
- */
647
- constructor(opts: __ExceptionOptionType<TargetNotEligibleException, __BaseException>);
462
+ export interface CreateInboxTagOutput {
463
+ tag: InboxTag;
648
464
  }
649
465
  /**
650
466
  * @public
651
467
  */
652
- export declare class TargetNotFoundException extends __BaseException {
653
- readonly name: "TargetNotFoundException";
468
+ export declare class TagsLimitReachedException extends __BaseException {
469
+ readonly name: "TagsLimitReachedException";
654
470
  readonly $fault: "client";
655
471
  /**
656
472
  * @internal
657
473
  */
658
- constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
474
+ constructor(opts: __ExceptionOptionType<TagsLimitReachedException, __BaseException>);
659
475
  }
660
476
  /**
661
477
  * @public
@@ -713,6 +529,26 @@ export declare class MemberNotFoundException extends __BaseException {
713
529
  */
714
530
  constructor(opts: __ExceptionOptionType<MemberNotFoundException, __BaseException>);
715
531
  }
532
+ /**
533
+ * @public
534
+ */
535
+ export interface DeleteInboxTagInput {
536
+ /**
537
+ * The unique identifier of the tag.
538
+ * @public
539
+ */
540
+ tagId: string;
541
+ /**
542
+ * The unique identifier of the user when a service token is used.
543
+ * @public
544
+ */
545
+ userId?: string;
546
+ }
547
+ /**
548
+ * @public
549
+ */
550
+ export interface DeleteInboxTagOutput {
551
+ }
716
552
  /**
717
553
  * @public
718
554
  */
@@ -886,6 +722,42 @@ export interface WebhookChatMemberRemovedEvent {
886
722
  botId?: string;
887
723
  data: WebhookChatMemberAddedOrRemovedEventData;
888
724
  }
725
+ /**
726
+ * @public
727
+ */
728
+ export interface MessageAttachment {
729
+ id: string;
730
+ /**
731
+ * This *is* documentation about the field. Describe here what fsId and how to get it.
732
+ * @public
733
+ */
734
+ fsId: string;
735
+ mime?: string;
736
+ name: string;
737
+ size: number;
738
+ width?: number;
739
+ height?: number;
740
+ thumbnail?: string;
741
+ }
742
+ /**
743
+ * @public
744
+ */
745
+ export interface MessageForward {
746
+ forwardCompany?: string;
747
+ forwardDate: string;
748
+ forwardEmail?: string;
749
+ forwardName?: string;
750
+ }
751
+ /**
752
+ * @public
753
+ */
754
+ export interface MessageGiphy {
755
+ id: string;
756
+ size: string;
757
+ url: string;
758
+ height: string;
759
+ width: string;
760
+ }
889
761
  /**
890
762
  * @public
891
763
  */
@@ -895,6 +767,61 @@ export interface Reaction {
895
767
  messageId?: string;
896
768
  user?: User;
897
769
  }
770
+ /**
771
+ * @public
772
+ */
773
+ export interface MessageQuote {
774
+ messageId: string;
775
+ channelId: string;
776
+ user: User;
777
+ text?: string;
778
+ attachments?: (MessageAttachment)[];
779
+ forward?: MessageForward;
780
+ mentions?: (User)[];
781
+ giphy?: MessageGiphy;
782
+ createdAt: string;
783
+ updatedAt?: string;
784
+ }
785
+ /**
786
+ * @public
787
+ * @enum
788
+ */
789
+ export declare const MessageSmsStatus: {
790
+ readonly DELIVERED: "delivered";
791
+ readonly ERROR: "error";
792
+ readonly SENT: "sent";
793
+ readonly TRYING: "trying";
794
+ };
795
+ /**
796
+ * @public
797
+ */
798
+ export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsStatus];
799
+ /**
800
+ * @public
801
+ * @enum
802
+ */
803
+ export declare const MessageType: {
804
+ readonly REGULAR: "regular";
805
+ readonly SYSTEM: "system";
806
+ };
807
+ /**
808
+ * @public
809
+ */
810
+ export type MessageType = typeof MessageType[keyof typeof MessageType];
811
+ /**
812
+ * @public
813
+ * @enum
814
+ */
815
+ export declare const MessageWhatsAppStatus: {
816
+ readonly DELIVERED: "delivered";
817
+ readonly ERROR: "error";
818
+ readonly SENT: "sent";
819
+ readonly TRYING: "trying";
820
+ };
821
+ /**
822
+ * @public
823
+ */
824
+ export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
898
825
  /**
899
826
  * @public
900
827
  */
@@ -903,11 +830,6 @@ export interface Message {
903
830
  attachments?: (MessageAttachment)[];
904
831
  quote?: MessageQuote;
905
832
  forward?: MessageForward;
906
- /**
907
- * A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
908
- * @public
909
- */
910
- predefinedReplies?: (MessagePredefinedReply)[];
911
833
  type: MessageType;
912
834
  giphy?: MessageGiphy;
913
835
  silent?: boolean;
@@ -1142,6 +1064,57 @@ export interface GetFilePresignedDownloadUrlOutput {
1142
1064
  */
1143
1065
  presignedDownloadUrl: string;
1144
1066
  }
1067
+ /**
1068
+ * @public
1069
+ */
1070
+ export interface GetInboxStateInput {
1071
+ /**
1072
+ * The unique identifier of the user when a service token is used.
1073
+ * @public
1074
+ */
1075
+ userId?: string;
1076
+ }
1077
+ /**
1078
+ * @public
1079
+ */
1080
+ export interface InboxPinnedChannel {
1081
+ channelId: string;
1082
+ pinnedAt: string;
1083
+ }
1084
+ /**
1085
+ * @public
1086
+ */
1087
+ export interface InboxTaggedChannel {
1088
+ channelId: string;
1089
+ tagId: string;
1090
+ }
1091
+ /**
1092
+ * @public
1093
+ */
1094
+ export interface InboxUnreadChannel {
1095
+ channelId: string;
1096
+ /**
1097
+ * A date when unread indicator was set by the user.
1098
+ * @public
1099
+ */
1100
+ unreadAt: string;
1101
+ messageId?: string;
1102
+ }
1103
+ /**
1104
+ * @public
1105
+ */
1106
+ export interface InboxChannelsState {
1107
+ unread: (InboxUnreadChannel)[];
1108
+ pinned: (InboxPinnedChannel)[];
1109
+ tagged: (InboxTaggedChannel)[];
1110
+ }
1111
+ /**
1112
+ * @public
1113
+ */
1114
+ export interface GetInboxStateOutput {
1115
+ channels: InboxChannelsState;
1116
+ tags: (InboxTag)[];
1117
+ }
1145
1118
  /**
1146
1119
  * @public
1147
1120
  */
@@ -1351,7 +1324,7 @@ export interface ListChannelsInput {
1351
1324
  */
1352
1325
  userId?: string;
1353
1326
  /**
1354
- * The maximum number of channels to return. The value must be between 1 and 30.
1327
+ * The maximum number of channels to return. The value must be between 1 and 50.
1355
1328
  * @public
1356
1329
  */
1357
1330
  limit?: number;
@@ -1371,6 +1344,54 @@ export interface ListChannelsOutput {
1371
1344
  */
1372
1345
  channels: (Channel)[];
1373
1346
  }
1347
+ /**
1348
+ * @public
1349
+ */
1350
+ export interface ListInboxTaggedChannelsInput {
1351
+ /**
1352
+ * The unique identifier of the user when a service token is used.
1353
+ * @public
1354
+ */
1355
+ userId?: string;
1356
+ /**
1357
+ * The unique identifier of the channel whose members are to be listed.
1358
+ * @public
1359
+ */
1360
+ tagId: string;
1361
+ }
1362
+ /**
1363
+ * @public
1364
+ */
1365
+ export interface ListInboxTaggedChannelsOutput {
1366
+ channels: (InboxTaggedChannel)[];
1367
+ }
1368
+ /**
1369
+ * @public
1370
+ */
1371
+ export declare class TagNotFoundException extends __BaseException {
1372
+ readonly name: "TagNotFoundException";
1373
+ readonly $fault: "client";
1374
+ /**
1375
+ * @internal
1376
+ */
1377
+ constructor(opts: __ExceptionOptionType<TagNotFoundException, __BaseException>);
1378
+ }
1379
+ /**
1380
+ * @public
1381
+ */
1382
+ export interface ListInboxTagsInput {
1383
+ /**
1384
+ * The unique identifier of the user when a service token is used.
1385
+ * @public
1386
+ */
1387
+ userId?: string;
1388
+ }
1389
+ /**
1390
+ * @public
1391
+ */
1392
+ export interface ListInboxTagsOutput {
1393
+ tags: (InboxTag)[];
1394
+ }
1374
1395
  /**
1375
1396
  * @public
1376
1397
  */
@@ -1456,6 +1477,47 @@ export interface MarkReadInput {
1456
1477
  */
1457
1478
  export interface MarkReadOutput {
1458
1479
  }
1480
+ /**
1481
+ * @public
1482
+ */
1483
+ export declare class MarkUnreadChannelsLimitReachedException extends __BaseException {
1484
+ readonly name: "MarkUnreadChannelsLimitReachedException";
1485
+ readonly $fault: "client";
1486
+ /**
1487
+ * @internal
1488
+ */
1489
+ constructor(opts: __ExceptionOptionType<MarkUnreadChannelsLimitReachedException, __BaseException>);
1490
+ }
1491
+ /**
1492
+ * @public
1493
+ */
1494
+ export interface MarkUnreadInput {
1495
+ /**
1496
+ * The unique identifier of the channel whose messages are to be marked as unread.
1497
+ * @public
1498
+ */
1499
+ channelId: string;
1500
+ /**
1501
+ * The unique identifier of the user when a service token is used.
1502
+ * @public
1503
+ */
1504
+ userId?: string;
1505
+ /**
1506
+ * A Message ID in the channel from which to calculate the amount of unread messages.
1507
+ * @public
1508
+ */
1509
+ messageId?: string;
1510
+ /**
1511
+ * A flag that indicates whether the system should replace the oldest marked unread channel with a new one if the limit of unread marked channels is reached. If the force option is specified as false and the user already has the maximum limit of unread marked channels, then the system will respond with an error.
1512
+ * @public
1513
+ */
1514
+ force?: boolean;
1515
+ }
1516
+ /**
1517
+ * @public
1518
+ */
1519
+ export interface MarkUnreadOutput {
1520
+ }
1459
1521
  /**
1460
1522
  * @public
1461
1523
  */
@@ -1551,11 +1613,6 @@ export interface PartialUpdateMessageSetInput {
1551
1613
  attachments?: (MessageAttachment)[];
1552
1614
  quote?: MessageQuote;
1553
1615
  forward?: MessageForward;
1554
- /**
1555
- * A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
1556
- * @public
1557
- */
1558
- predefinedReplies?: (MessagePredefinedReply)[];
1559
1616
  }
1560
1617
  /**
1561
1618
  * @public
@@ -1607,6 +1664,42 @@ export interface PartialUpdateMessageInput {
1607
1664
  export interface PartialUpdateMessageOutput {
1608
1665
  message: Message;
1609
1666
  }
1667
+ /**
1668
+ * @public
1669
+ */
1670
+ export interface PinChannelInput {
1671
+ /**
1672
+ * The unique identifier of the channel which should be pinned.
1673
+ * @public
1674
+ */
1675
+ channelId: string;
1676
+ /**
1677
+ * The unique identifier of the user when a service token is used.
1678
+ * @public
1679
+ */
1680
+ userId?: string;
1681
+ /**
1682
+ * A flag that indicates whether the system should replace the oldest pinned channel with a new one if the limit of pinned channels is reached. If the force option is specified as false and the user already has the maximum limit of pinned channels, then the system will respond with an error.
1683
+ * @public
1684
+ */
1685
+ force?: boolean;
1686
+ }
1687
+ /**
1688
+ * @public
1689
+ */
1690
+ export interface PinChannelOutput {
1691
+ }
1692
+ /**
1693
+ * @public
1694
+ */
1695
+ export declare class PinnedChannelsLimitReachedException extends __BaseException {
1696
+ readonly name: "PinnedChannelsLimitReachedException";
1697
+ readonly $fault: "client";
1698
+ /**
1699
+ * @internal
1700
+ */
1701
+ constructor(opts: __ExceptionOptionType<PinnedChannelsLimitReachedException, __BaseException>);
1702
+ }
1610
1703
  /**
1611
1704
  * @public
1612
1705
  */
@@ -1672,11 +1765,6 @@ export interface SendMessageInput {
1672
1765
  attachments?: (MessageAttachment)[];
1673
1766
  quote?: MessageQuote;
1674
1767
  forward?: MessageForward;
1675
- /**
1676
- * A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
1677
- * @public
1678
- */
1679
- predefinedReplies?: (MessagePredefinedReply)[];
1680
1768
  /**
1681
1769
  * The unique identifier of the channel to which the message is sent.
1682
1770
  * @public
@@ -1794,6 +1882,92 @@ export interface ShowChannelInput {
1794
1882
  */
1795
1883
  export interface ShowChannelOutput {
1796
1884
  }
1885
+ /**
1886
+ * @public
1887
+ */
1888
+ export interface TagChannelInput {
1889
+ /**
1890
+ * The unique identifier of the channel whose messages are to be marked as unread.
1891
+ * @public
1892
+ */
1893
+ channelId: string;
1894
+ /**
1895
+ * The unique identifier of the user when a service token is used.
1896
+ * @public
1897
+ */
1898
+ userId?: string;
1899
+ /**
1900
+ * The unique identifier of the tag to add to the channel.
1901
+ * @public
1902
+ */
1903
+ tagId: string;
1904
+ /**
1905
+ * A flag that indicates whether the system should replace the oldest tagged channel with a new one if the limit of tagged channels is reached. If the force option is specified as false and the user already has the maximum limit of tagged channels for the tag, then the system will respond with an error.
1906
+ * @public
1907
+ */
1908
+ force?: boolean;
1909
+ }
1910
+ /**
1911
+ * @public
1912
+ */
1913
+ export interface TagChannelOutput {
1914
+ }
1915
+ /**
1916
+ * @public
1917
+ */
1918
+ export declare class TaggedChannelsLimitReachedException extends __BaseException {
1919
+ readonly name: "TaggedChannelsLimitReachedException";
1920
+ readonly $fault: "client";
1921
+ /**
1922
+ * @internal
1923
+ */
1924
+ constructor(opts: __ExceptionOptionType<TaggedChannelsLimitReachedException, __BaseException>);
1925
+ }
1926
+ /**
1927
+ * @public
1928
+ */
1929
+ export interface UnpinChannelInput {
1930
+ /**
1931
+ * The unique identifier of the channel which should be unpinned.
1932
+ * @public
1933
+ */
1934
+ channelId: string;
1935
+ /**
1936
+ * The unique identifier of the user when a service token is used.
1937
+ * @public
1938
+ */
1939
+ userId?: string;
1940
+ }
1941
+ /**
1942
+ * @public
1943
+ */
1944
+ export interface UnpinChannelOutput {
1945
+ }
1946
+ /**
1947
+ * @public
1948
+ */
1949
+ export interface UntagChannelInput {
1950
+ /**
1951
+ * The unique identifier of the channel whose messages are to be marked as unread.
1952
+ * @public
1953
+ */
1954
+ channelId: string;
1955
+ /**
1956
+ * The unique identifier of the user when a service token is used.
1957
+ * @public
1958
+ */
1959
+ userId?: string;
1960
+ /**
1961
+ * The unique identifier of the tag to remove from the channel.
1962
+ * @public
1963
+ */
1964
+ tagId: string;
1965
+ }
1966
+ /**
1967
+ * @public
1968
+ */
1969
+ export interface UntagChannelOutput {
1970
+ }
1797
1971
  /**
1798
1972
  * @public
1799
1973
  */
@@ -1850,6 +2024,32 @@ export interface UpdateChannelInput {
1850
2024
  export interface UpdateChannelOutput {
1851
2025
  channel: Channel;
1852
2026
  }
2027
+ /**
2028
+ * @public
2029
+ */
2030
+ export interface UpdateInboxTagInput {
2031
+ /**
2032
+ * The unique identifier of the channel containing the message.
2033
+ * @public
2034
+ */
2035
+ tagId: string;
2036
+ /**
2037
+ * The unique identifier of the user when a service token is used.
2038
+ * @public
2039
+ */
2040
+ userId?: string;
2041
+ /**
2042
+ * The name of the tag.
2043
+ * @public
2044
+ */
2045
+ name: string;
2046
+ }
2047
+ /**
2048
+ * @public
2049
+ */
2050
+ export interface UpdateInboxTagOutput {
2051
+ tag: InboxTag;
2052
+ }
1853
2053
  /**
1854
2054
  * @public
1855
2055
  */
@@ -1858,11 +2058,6 @@ export interface UpdateMessageInput {
1858
2058
  attachments?: (MessageAttachment)[];
1859
2059
  quote?: MessageQuote;
1860
2060
  forward?: MessageForward;
1861
- /**
1862
- * A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
1863
- * @public
1864
- */
1865
- predefinedReplies?: (MessagePredefinedReply)[];
1866
2061
  /**
1867
2062
  * The unique identifier of the channel containing the message.
1868
2063
  * @public