@wildix/stream-client 4.1.5 → 4.1.7

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 (34) hide show
  1. package/dist-cjs/models/enums.js +14 -8
  2. package/dist-cjs/schemas/schemas_0.js +30 -30
  3. package/dist-es/models/enums.js +13 -7
  4. package/dist-es/schemas/schemas_0.js +30 -30
  5. package/dist-types/commands/CreateGroupChannelCommand.d.ts +7 -8
  6. package/dist-types/commands/CreateKiteChannelCommand.d.ts +8 -4
  7. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -2
  8. package/dist-types/commands/GetChannelCommand.d.ts +4 -4
  9. package/dist-types/commands/GetInboxCommand.d.ts +4 -4
  10. package/dist-types/commands/GetMessageCommand.d.ts +2 -2
  11. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -4
  12. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -4
  13. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -4
  14. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -4
  15. package/dist-types/commands/JoinChannelCommand.d.ts +4 -4
  16. package/dist-types/commands/ListChannelsCommand.d.ts +4 -4
  17. package/dist-types/commands/ListMentionsCommand.d.ts +2 -2
  18. package/dist-types/commands/ListMessagesCommand.d.ts +2 -2
  19. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +8 -9
  20. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -2
  21. package/dist-types/commands/PinMessageCommand.d.ts +2 -2
  22. package/dist-types/commands/QueryChannelsCommand.d.ts +4 -4
  23. package/dist-types/commands/SearchChannelsCommand.d.ts +4 -4
  24. package/dist-types/commands/SearchMessagesCommand.d.ts +2 -2
  25. package/dist-types/commands/SendGiphyCommand.d.ts +2 -2
  26. package/dist-types/commands/SendMessageCommand.d.ts +4 -2
  27. package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -2
  28. package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -2
  29. package/dist-types/commands/UnpinMessageCommand.d.ts +2 -2
  30. package/dist-types/commands/UpdateChannelCommand.d.ts +7 -8
  31. package/dist-types/commands/UpdateMessageCommand.d.ts +4 -2
  32. package/dist-types/models/enums.d.ts +30 -16
  33. package/dist-types/models/models_0.d.ts +98 -59
  34. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelMessengerStatus, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageAnchor, MessageMessengerStatus, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, SearchSort, SectionType } from "./enums";
1
+ import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelMessagingStatus, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageAnchor, MessageMessagingStatus, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, MessagingChannel, SearchSort, SectionType } from "./enums";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -462,6 +462,11 @@ export interface Channel {
462
462
  service?: string | undefined;
463
463
  serviceRecipient?: string | undefined;
464
464
  telephony?: boolean | undefined;
465
+ /**
466
+ * The customer messaging channel this conversation runs over. Set when the channel is created and never changed. Absent on every other channel.
467
+ * @public
468
+ */
469
+ messagingChannel?: MessagingChannel | undefined;
465
470
  external?: boolean | undefined;
466
471
  /**
467
472
  * Message ids currently pinned at channel scope, newest pin first. Empty when nothing is pinned.
@@ -551,25 +556,20 @@ export interface Channel {
551
556
  */
552
557
  wizyGuestViewOnly?: boolean | undefined;
553
558
  /**
554
- * Indicates if the channel supports Facebook Messenger. Default is false.
559
+ * The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
555
560
  * @public
556
561
  */
557
- messenger?: boolean | undefined;
562
+ messagingStatus?: ChannelMessagingStatus | undefined;
558
563
  /**
559
- * The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
564
+ * The business side of the conversation: the Facebook Page ID on Messenger, the Instagram account ID on Instagram. Written by kite from the inbound event, because the channel id hashes the sender's linked service and not the sender, and a reply has to name the sender it is sent from.
560
565
  * @public
561
566
  */
562
- messengerStatus?: ChannelMessengerStatus | undefined;
567
+ messagingSenderId?: string | undefined;
563
568
  /**
564
- * The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
569
+ * Epoch seconds until which a reply still reaches the person. On Messenger and Instagram this is Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message; classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messagingReplyUntil > 0 && now > messagingReplyUntil` and shows nothing at 0. Absent on a channel with no reply window.
565
570
  * @public
566
571
  */
567
- messengerPageId?: string | undefined;
568
- /**
569
- * Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
570
- * @public
571
- */
572
- messengerReplyUntil?: number | undefined;
572
+ messagingReplyUntil?: number | undefined;
573
573
  }
574
574
  /**
575
575
  * Read pointer for one channel member.
@@ -687,25 +687,20 @@ export interface CreateGroupChannelInput {
687
687
  */
688
688
  wizyGuestViewOnly?: boolean | undefined;
689
689
  /**
690
- * Indicates if the channel supports Facebook Messenger. Default is false.
691
- * @public
692
- */
693
- messenger?: boolean | undefined;
694
- /**
695
- * The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
690
+ * The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
696
691
  * @public
697
692
  */
698
- messengerStatus?: ChannelMessengerStatus | undefined;
693
+ messagingStatus?: ChannelMessagingStatus | undefined;
699
694
  /**
700
- * The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
695
+ * The business side of the conversation: the Facebook Page ID on Messenger, the Instagram account ID on Instagram. Written by kite from the inbound event, because the channel id hashes the sender's linked service and not the sender, and a reply has to name the sender it is sent from.
701
696
  * @public
702
697
  */
703
- messengerPageId?: string | undefined;
698
+ messagingSenderId?: string | undefined;
704
699
  /**
705
- * Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
700
+ * Epoch seconds until which a reply still reaches the person. On Messenger and Instagram this is Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message; classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messagingReplyUntil > 0 && now > messagingReplyUntil` and shows nothing at 0. Absent on a channel with no reply window.
706
701
  * @public
707
702
  */
708
- messengerReplyUntil?: number | undefined;
703
+ messagingReplyUntil?: number | undefined;
709
704
  /**
710
705
  * Optional client-supplied channel id.
711
706
  * @public
@@ -892,6 +887,16 @@ export interface InitialMessage {
892
887
  */
893
888
  sms?: boolean | undefined;
894
889
  smsStatus?: MessageSmsStatus | undefined;
890
+ /**
891
+ * A customer messaging channel that reaches x-bees through classound and is not SMS or WhatsApp. One discriminator instead of a boolean per channel, so a new channel adds a member here and not a set of channel fields. RCS is listed but not accepted yet: whether an RCS conversation is a telephony channel is still open, so conversations refuses it until its ticket decides.
892
+ * @public
893
+ */
894
+ messagingChannel?: MessagingChannel | undefined;
895
+ /**
896
+ * The delivery state of a message an agent sent over a customer messaging channel (see MessagingChannel), the same four states as WhatsApp. TRYING, SENT and ERROR are written by kite around the send; DELIVERED and a late ERROR arrive through the channel's status stream event (MESSENGER.STATUS today). A READ report is recorded as DELIVERED, as the WhatsApp producer does one hop earlier.
897
+ * @public
898
+ */
899
+ messagingStatus?: MessageMessagingStatus | undefined;
895
900
  /**
896
901
  * Optional client-supplied message id. Auto-generated when omitted.
897
902
  * @public
@@ -955,6 +960,16 @@ export interface WelcomeMessage {
955
960
  */
956
961
  sms?: boolean | undefined;
957
962
  smsStatus?: MessageSmsStatus | undefined;
963
+ /**
964
+ * A customer messaging channel that reaches x-bees through classound and is not SMS or WhatsApp. One discriminator instead of a boolean per channel, so a new channel adds a member here and not a set of channel fields. RCS is listed but not accepted yet: whether an RCS conversation is a telephony channel is still open, so conversations refuses it until its ticket decides.
965
+ * @public
966
+ */
967
+ messagingChannel?: MessagingChannel | undefined;
968
+ /**
969
+ * The delivery state of a message an agent sent over a customer messaging channel (see MessagingChannel), the same four states as WhatsApp. TRYING, SENT and ERROR are written by kite around the send; DELIVERED and a late ERROR arrive through the channel's status stream event (MESSENGER.STATUS today). A READ report is recorded as DELIVERED, as the WhatsApp producer does one hop earlier.
970
+ * @public
971
+ */
972
+ messagingStatus?: MessageMessagingStatus | undefined;
958
973
  /**
959
974
  * Optional client-supplied message id. Auto-generated when omitted.
960
975
  * @public
@@ -1432,12 +1447,16 @@ export interface Message {
1432
1447
  * @public
1433
1448
  */
1434
1449
  pollId?: string | undefined;
1435
- messenger?: boolean | undefined;
1436
1450
  /**
1437
- * The delivery state of a Facebook Messenger message an agent sent, the same four states as WhatsApp. TRYING, SENT and ERROR are written by kite around the send; DELIVERED and a late ERROR arrive through the MESSENGER.STATUS stream event. A READ report is recorded as DELIVERED, as the WhatsApp producer does one hop earlier.
1451
+ * A customer messaging channel that reaches x-bees through classound and is not SMS or WhatsApp. One discriminator instead of a boolean per channel, so a new channel adds a member here and not a set of channel fields. RCS is listed but not accepted yet: whether an RCS conversation is a telephony channel is still open, so conversations refuses it until its ticket decides.
1438
1452
  * @public
1439
1453
  */
1440
- messengerStatus?: MessageMessengerStatus | undefined;
1454
+ messagingChannel?: MessagingChannel | undefined;
1455
+ /**
1456
+ * The delivery state of a message an agent sent over a customer messaging channel (see MessagingChannel), the same four states as WhatsApp. TRYING, SENT and ERROR are written by kite around the send; DELIVERED and a late ERROR arrive through the channel's status stream event (MESSENGER.STATUS today). A READ report is recorded as DELIVERED, as the WhatsApp producer does one hop earlier.
1457
+ * @public
1458
+ */
1459
+ messagingStatus?: MessageMessagingStatus | undefined;
1441
1460
  }
1442
1461
  /**
1443
1462
  * @public
@@ -1748,6 +1767,11 @@ export interface InboxChannel {
1748
1767
  service?: string | undefined;
1749
1768
  serviceRecipient?: string | undefined;
1750
1769
  telephony?: boolean | undefined;
1770
+ /**
1771
+ * The customer messaging channel this conversation runs over. Set when the channel is created and never changed. Absent on every other channel.
1772
+ * @public
1773
+ */
1774
+ messagingChannel?: MessagingChannel | undefined;
1751
1775
  external?: boolean | undefined;
1752
1776
  /**
1753
1777
  * Message ids currently pinned at channel scope, newest pin first. Empty when nothing is pinned.
@@ -1837,25 +1861,20 @@ export interface InboxChannel {
1837
1861
  */
1838
1862
  wizyGuestViewOnly?: boolean | undefined;
1839
1863
  /**
1840
- * Indicates if the channel supports Facebook Messenger. Default is false.
1864
+ * The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
1841
1865
  * @public
1842
1866
  */
1843
- messenger?: boolean | undefined;
1867
+ messagingStatus?: ChannelMessagingStatus | undefined;
1844
1868
  /**
1845
- * The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
1869
+ * The business side of the conversation: the Facebook Page ID on Messenger, the Instagram account ID on Instagram. Written by kite from the inbound event, because the channel id hashes the sender's linked service and not the sender, and a reply has to name the sender it is sent from.
1846
1870
  * @public
1847
1871
  */
1848
- messengerStatus?: ChannelMessengerStatus | undefined;
1872
+ messagingSenderId?: string | undefined;
1849
1873
  /**
1850
- * The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
1874
+ * Epoch seconds until which a reply still reaches the person. On Messenger and Instagram this is Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message; classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messagingReplyUntil > 0 && now > messagingReplyUntil` and shows nothing at 0. Absent on a channel with no reply window.
1851
1875
  * @public
1852
1876
  */
1853
- messengerPageId?: string | undefined;
1854
- /**
1855
- * Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
1856
- * @public
1857
- */
1858
- messengerReplyUntil?: number | undefined;
1877
+ messagingReplyUntil?: number | undefined;
1859
1878
  /**
1860
1879
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
1861
1880
  * @public
@@ -2905,25 +2924,20 @@ export interface PartialUpdateChannelSetOptions {
2905
2924
  */
2906
2925
  wizyGuestViewOnly?: boolean | undefined;
2907
2926
  /**
2908
- * Indicates if the channel supports Facebook Messenger. Default is false.
2927
+ * The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
2909
2928
  * @public
2910
2929
  */
2911
- messenger?: boolean | undefined;
2930
+ messagingStatus?: ChannelMessagingStatus | undefined;
2912
2931
  /**
2913
- * The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
2932
+ * The business side of the conversation: the Facebook Page ID on Messenger, the Instagram account ID on Instagram. Written by kite from the inbound event, because the channel id hashes the sender's linked service and not the sender, and a reply has to name the sender it is sent from.
2914
2933
  * @public
2915
2934
  */
2916
- messengerStatus?: ChannelMessengerStatus | undefined;
2935
+ messagingSenderId?: string | undefined;
2917
2936
  /**
2918
- * The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
2937
+ * Epoch seconds until which a reply still reaches the person. On Messenger and Instagram this is Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message; classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messagingReplyUntil > 0 && now > messagingReplyUntil` and shows nothing at 0. Absent on a channel with no reply window.
2919
2938
  * @public
2920
2939
  */
2921
- messengerPageId?: string | undefined;
2922
- /**
2923
- * Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
2924
- * @public
2925
- */
2926
- messengerReplyUntil?: number | undefined;
2940
+ messagingReplyUntil?: number | undefined;
2927
2941
  }
2928
2942
  /**
2929
2943
  * @public
@@ -3005,6 +3019,16 @@ export interface PartialUpdateMessageSetInput {
3005
3019
  */
3006
3020
  sms?: boolean | undefined;
3007
3021
  smsStatus?: MessageSmsStatus | undefined;
3022
+ /**
3023
+ * A customer messaging channel that reaches x-bees through classound and is not SMS or WhatsApp. One discriminator instead of a boolean per channel, so a new channel adds a member here and not a set of channel fields. RCS is listed but not accepted yet: whether an RCS conversation is a telephony channel is still open, so conversations refuses it until its ticket decides.
3024
+ * @public
3025
+ */
3026
+ messagingChannel?: MessagingChannel | undefined;
3027
+ /**
3028
+ * The delivery state of a message an agent sent over a customer messaging channel (see MessagingChannel), the same four states as WhatsApp. TRYING, SENT and ERROR are written by kite around the send; DELIVERED and a late ERROR arrive through the channel's status stream event (MESSENGER.STATUS today). A READ report is recorded as DELIVERED, as the WhatsApp producer does one hop earlier.
3029
+ * @public
3030
+ */
3031
+ messagingStatus?: MessageMessagingStatus | undefined;
3008
3032
  }
3009
3033
  /**
3010
3034
  * @public
@@ -3488,6 +3512,16 @@ export interface SendMessageInput {
3488
3512
  */
3489
3513
  sms?: boolean | undefined;
3490
3514
  smsStatus?: MessageSmsStatus | undefined;
3515
+ /**
3516
+ * A customer messaging channel that reaches x-bees through classound and is not SMS or WhatsApp. One discriminator instead of a boolean per channel, so a new channel adds a member here and not a set of channel fields. RCS is listed but not accepted yet: whether an RCS conversation is a telephony channel is still open, so conversations refuses it until its ticket decides.
3517
+ * @public
3518
+ */
3519
+ messagingChannel?: MessagingChannel | undefined;
3520
+ /**
3521
+ * The delivery state of a message an agent sent over a customer messaging channel (see MessagingChannel), the same four states as WhatsApp. TRYING, SENT and ERROR are written by kite around the send; DELIVERED and a late ERROR arrive through the channel's status stream event (MESSENGER.STATUS today). A READ report is recorded as DELIVERED, as the WhatsApp producer does one hop earlier.
3522
+ * @public
3523
+ */
3524
+ messagingStatus?: MessageMessagingStatus | undefined;
3491
3525
  /**
3492
3526
  * Optional client-supplied message id. Auto-generated when omitted.
3493
3527
  * @public
@@ -3904,25 +3938,20 @@ export interface UpdateChannelInput {
3904
3938
  */
3905
3939
  wizyGuestViewOnly?: boolean | undefined;
3906
3940
  /**
3907
- * Indicates if the channel supports Facebook Messenger. Default is false.
3908
- * @public
3909
- */
3910
- messenger?: boolean | undefined;
3911
- /**
3912
- * The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
3941
+ * The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
3913
3942
  * @public
3914
3943
  */
3915
- messengerStatus?: ChannelMessengerStatus | undefined;
3944
+ messagingStatus?: ChannelMessagingStatus | undefined;
3916
3945
  /**
3917
- * The Facebook Page ID the conversation runs through. Written by kite from the inbound event, because the channel id hashes the page's linked service and not the page, and a reply has to name the page it is sent from.
3946
+ * The business side of the conversation: the Facebook Page ID on Messenger, the Instagram account ID on Instagram. Written by kite from the inbound event, because the channel id hashes the sender's linked service and not the sender, and a reply has to name the sender it is sent from.
3918
3947
  * @public
3919
3948
  */
3920
- messengerPageId?: string | undefined;
3949
+ messagingSenderId?: string | undefined;
3921
3950
  /**
3922
- * Epoch seconds until which a reply still reaches the person: Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message. classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messengerReplyUntil > 0 && now > messengerReplyUntil` and shows nothing at 0.
3951
+ * Epoch seconds until which a reply still reaches the person. On Messenger and Instagram this is Meta's 7 day HUMAN_AGENT deadline, restarted by each inbound message; classound applies the tag itself, so this is the one deadline a client has to show. 0 means the deadline is not known, which is what the inbound event carries when the session row was gone before it could be read back; it does not mean the window has closed, so a client reads the window as closed on `messagingReplyUntil > 0 && now > messagingReplyUntil` and shows nothing at 0. Absent on a channel with no reply window.
3923
3952
  * @public
3924
3953
  */
3925
- messengerReplyUntil?: number | undefined;
3954
+ messagingReplyUntil?: number | undefined;
3926
3955
  /**
3927
3956
  * Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
3928
3957
  * @public
@@ -3997,6 +4026,16 @@ export interface UpdateMessageInput {
3997
4026
  */
3998
4027
  sms?: boolean | undefined;
3999
4028
  smsStatus?: MessageSmsStatus | undefined;
4029
+ /**
4030
+ * A customer messaging channel that reaches x-bees through classound and is not SMS or WhatsApp. One discriminator instead of a boolean per channel, so a new channel adds a member here and not a set of channel fields. RCS is listed but not accepted yet: whether an RCS conversation is a telephony channel is still open, so conversations refuses it until its ticket decides.
4031
+ * @public
4032
+ */
4033
+ messagingChannel?: MessagingChannel | undefined;
4034
+ /**
4035
+ * The delivery state of a message an agent sent over a customer messaging channel (see MessagingChannel), the same four states as WhatsApp. TRYING, SENT and ERROR are written by kite around the send; DELIVERED and a late ERROR arrive through the channel's status stream event (MESSENGER.STATUS today). A READ report is recorded as DELIVERED, as the WhatsApp producer does one hop earlier.
4036
+ * @public
4037
+ */
4038
+ messagingStatus?: MessageMessagingStatus | undefined;
4000
4039
  /**
4001
4040
  * Direct-channel ids are the 8-4-4-4-8 slices of the two member ids. An `a_` member id puts `_` in a slice, so the pattern allows it.
4002
4041
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/stream-client",
3
3
  "description": "@wildix/stream-client client",
4
- "version": "4.1.5",
4
+ "version": "4.1.7",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -56,4 +56,4 @@
56
56
  "browser": {
57
57
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
58
58
  }
59
- }
59
+ }