@wildix/stream-client 4.1.8 → 4.1.10
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/enums.js +14 -8
- package/dist-cjs/schemas/schemas_0.js +30 -30
- package/dist-es/models/enums.js +13 -7
- package/dist-es/schemas/schemas_0.js +30 -30
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +7 -8
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +8 -4
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -2
- package/dist-types/commands/GetChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetInboxCommand.d.ts +4 -4
- package/dist-types/commands/GetMessageCommand.d.ts +2 -2
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -4
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -4
- package/dist-types/commands/JoinChannelCommand.d.ts +4 -4
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -4
- package/dist-types/commands/ListMentionsCommand.d.ts +2 -2
- package/dist-types/commands/ListMessagesCommand.d.ts +2 -2
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +8 -9
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -2
- package/dist-types/commands/PinMessageCommand.d.ts +2 -2
- package/dist-types/commands/QueryChannelsCommand.d.ts +4 -4
- package/dist-types/commands/SearchChannelsCommand.d.ts +4 -4
- package/dist-types/commands/SearchMessagesCommand.d.ts +2 -2
- package/dist-types/commands/SendGiphyCommand.d.ts +2 -2
- package/dist-types/commands/SendMessageCommand.d.ts +4 -2
- package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -2
- package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -2
- package/dist-types/commands/UnpinMessageCommand.d.ts +2 -2
- package/dist-types/commands/UpdateChannelCommand.d.ts +7 -8
- package/dist-types/commands/UpdateMessageCommand.d.ts +4 -2
- package/dist-types/models/enums.d.ts +30 -16
- package/dist-types/models/models_0.d.ts +98 -59
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole,
|
|
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
|
*/
|
|
@@ -492,6 +492,11 @@ export interface Channel {
|
|
|
492
492
|
service?: string | undefined;
|
|
493
493
|
serviceRecipient?: string | undefined;
|
|
494
494
|
telephony?: boolean | undefined;
|
|
495
|
+
/**
|
|
496
|
+
* The customer messaging channel this conversation runs over. Set when the channel is created and never changed. Absent on every other channel.
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
messagingChannel?: MessagingChannel | undefined;
|
|
495
500
|
external?: boolean | undefined;
|
|
496
501
|
/**
|
|
497
502
|
* Message ids currently pinned at channel scope, newest pin first. Empty when nothing is pinned.
|
|
@@ -581,25 +586,20 @@ export interface Channel {
|
|
|
581
586
|
*/
|
|
582
587
|
wizyGuestViewOnly?: boolean | undefined;
|
|
583
588
|
/**
|
|
584
|
-
*
|
|
589
|
+
* The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
585
590
|
* @public
|
|
586
591
|
*/
|
|
587
|
-
|
|
592
|
+
messagingStatus?: ChannelMessagingStatus | undefined;
|
|
588
593
|
/**
|
|
589
|
-
* The Messenger
|
|
594
|
+
* 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.
|
|
590
595
|
* @public
|
|
591
596
|
*/
|
|
592
|
-
|
|
597
|
+
messagingSenderId?: string | undefined;
|
|
593
598
|
/**
|
|
594
|
-
*
|
|
599
|
+
* 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.
|
|
595
600
|
* @public
|
|
596
601
|
*/
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* 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.
|
|
600
|
-
* @public
|
|
601
|
-
*/
|
|
602
|
-
messengerReplyUntil?: number | undefined;
|
|
602
|
+
messagingReplyUntil?: number | undefined;
|
|
603
603
|
}
|
|
604
604
|
/**
|
|
605
605
|
* Read pointer for one channel member.
|
|
@@ -717,25 +717,20 @@ export interface CreateGroupChannelInput {
|
|
|
717
717
|
*/
|
|
718
718
|
wizyGuestViewOnly?: boolean | undefined;
|
|
719
719
|
/**
|
|
720
|
-
*
|
|
721
|
-
* @public
|
|
722
|
-
*/
|
|
723
|
-
messenger?: boolean | undefined;
|
|
724
|
-
/**
|
|
725
|
-
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
720
|
+
* The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
726
721
|
* @public
|
|
727
722
|
*/
|
|
728
|
-
|
|
723
|
+
messagingStatus?: ChannelMessagingStatus | undefined;
|
|
729
724
|
/**
|
|
730
|
-
* The Facebook Page ID the
|
|
725
|
+
* 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.
|
|
731
726
|
* @public
|
|
732
727
|
*/
|
|
733
|
-
|
|
728
|
+
messagingSenderId?: string | undefined;
|
|
734
729
|
/**
|
|
735
|
-
* Epoch seconds until which a reply still reaches the person
|
|
730
|
+
* 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.
|
|
736
731
|
* @public
|
|
737
732
|
*/
|
|
738
|
-
|
|
733
|
+
messagingReplyUntil?: number | undefined;
|
|
739
734
|
/**
|
|
740
735
|
* Optional client-supplied channel id.
|
|
741
736
|
* @public
|
|
@@ -932,6 +927,16 @@ export interface InitialMessage {
|
|
|
932
927
|
*/
|
|
933
928
|
sms?: boolean | undefined;
|
|
934
929
|
smsStatus?: MessageSmsStatus | undefined;
|
|
930
|
+
/**
|
|
931
|
+
* 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.
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
934
|
+
messagingChannel?: MessagingChannel | undefined;
|
|
935
|
+
/**
|
|
936
|
+
* 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.
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
939
|
+
messagingStatus?: MessageMessagingStatus | undefined;
|
|
935
940
|
/**
|
|
936
941
|
* Optional client-supplied message id. Auto-generated when omitted.
|
|
937
942
|
* @public
|
|
@@ -995,6 +1000,16 @@ export interface WelcomeMessage {
|
|
|
995
1000
|
*/
|
|
996
1001
|
sms?: boolean | undefined;
|
|
997
1002
|
smsStatus?: MessageSmsStatus | undefined;
|
|
1003
|
+
/**
|
|
1004
|
+
* 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.
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
1007
|
+
messagingChannel?: MessagingChannel | undefined;
|
|
1008
|
+
/**
|
|
1009
|
+
* 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.
|
|
1010
|
+
* @public
|
|
1011
|
+
*/
|
|
1012
|
+
messagingStatus?: MessageMessagingStatus | undefined;
|
|
998
1013
|
/**
|
|
999
1014
|
* Optional client-supplied message id. Auto-generated when omitted.
|
|
1000
1015
|
* @public
|
|
@@ -1512,12 +1527,16 @@ export interface Message {
|
|
|
1512
1527
|
* @public
|
|
1513
1528
|
*/
|
|
1514
1529
|
pollId?: string | undefined;
|
|
1515
|
-
messenger?: boolean | undefined;
|
|
1516
1530
|
/**
|
|
1517
|
-
*
|
|
1531
|
+
* 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.
|
|
1518
1532
|
* @public
|
|
1519
1533
|
*/
|
|
1520
|
-
|
|
1534
|
+
messagingChannel?: MessagingChannel | undefined;
|
|
1535
|
+
/**
|
|
1536
|
+
* 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.
|
|
1537
|
+
* @public
|
|
1538
|
+
*/
|
|
1539
|
+
messagingStatus?: MessageMessagingStatus | undefined;
|
|
1521
1540
|
}
|
|
1522
1541
|
/**
|
|
1523
1542
|
* @public
|
|
@@ -1888,6 +1907,11 @@ export interface InboxChannel {
|
|
|
1888
1907
|
service?: string | undefined;
|
|
1889
1908
|
serviceRecipient?: string | undefined;
|
|
1890
1909
|
telephony?: boolean | undefined;
|
|
1910
|
+
/**
|
|
1911
|
+
* The customer messaging channel this conversation runs over. Set when the channel is created and never changed. Absent on every other channel.
|
|
1912
|
+
* @public
|
|
1913
|
+
*/
|
|
1914
|
+
messagingChannel?: MessagingChannel | undefined;
|
|
1891
1915
|
external?: boolean | undefined;
|
|
1892
1916
|
/**
|
|
1893
1917
|
* Message ids currently pinned at channel scope, newest pin first. Empty when nothing is pinned.
|
|
@@ -1977,25 +2001,20 @@ export interface InboxChannel {
|
|
|
1977
2001
|
*/
|
|
1978
2002
|
wizyGuestViewOnly?: boolean | undefined;
|
|
1979
2003
|
/**
|
|
1980
|
-
*
|
|
2004
|
+
* The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
1981
2005
|
* @public
|
|
1982
2006
|
*/
|
|
1983
|
-
|
|
2007
|
+
messagingStatus?: ChannelMessagingStatus | undefined;
|
|
1984
2008
|
/**
|
|
1985
|
-
* The Messenger
|
|
2009
|
+
* 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.
|
|
1986
2010
|
* @public
|
|
1987
2011
|
*/
|
|
1988
|
-
|
|
2012
|
+
messagingSenderId?: string | undefined;
|
|
1989
2013
|
/**
|
|
1990
|
-
*
|
|
2014
|
+
* 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.
|
|
1991
2015
|
* @public
|
|
1992
2016
|
*/
|
|
1993
|
-
|
|
1994
|
-
/**
|
|
1995
|
-
* 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.
|
|
1996
|
-
* @public
|
|
1997
|
-
*/
|
|
1998
|
-
messengerReplyUntil?: number | undefined;
|
|
2017
|
+
messagingReplyUntil?: number | undefined;
|
|
1999
2018
|
/**
|
|
2000
2019
|
* Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
|
|
2001
2020
|
* @public
|
|
@@ -3275,25 +3294,20 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
3275
3294
|
*/
|
|
3276
3295
|
wizyGuestViewOnly?: boolean | undefined;
|
|
3277
3296
|
/**
|
|
3278
|
-
*
|
|
3297
|
+
* The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
3279
3298
|
* @public
|
|
3280
3299
|
*/
|
|
3281
|
-
|
|
3300
|
+
messagingStatus?: ChannelMessagingStatus | undefined;
|
|
3282
3301
|
/**
|
|
3283
|
-
* The Messenger
|
|
3302
|
+
* 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.
|
|
3284
3303
|
* @public
|
|
3285
3304
|
*/
|
|
3286
|
-
|
|
3305
|
+
messagingSenderId?: string | undefined;
|
|
3287
3306
|
/**
|
|
3288
|
-
*
|
|
3307
|
+
* 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.
|
|
3289
3308
|
* @public
|
|
3290
3309
|
*/
|
|
3291
|
-
|
|
3292
|
-
/**
|
|
3293
|
-
* 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.
|
|
3294
|
-
* @public
|
|
3295
|
-
*/
|
|
3296
|
-
messengerReplyUntil?: number | undefined;
|
|
3310
|
+
messagingReplyUntil?: number | undefined;
|
|
3297
3311
|
}
|
|
3298
3312
|
/**
|
|
3299
3313
|
* @public
|
|
@@ -3385,6 +3399,16 @@ export interface PartialUpdateMessageSetInput {
|
|
|
3385
3399
|
*/
|
|
3386
3400
|
sms?: boolean | undefined;
|
|
3387
3401
|
smsStatus?: MessageSmsStatus | undefined;
|
|
3402
|
+
/**
|
|
3403
|
+
* 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.
|
|
3404
|
+
* @public
|
|
3405
|
+
*/
|
|
3406
|
+
messagingChannel?: MessagingChannel | undefined;
|
|
3407
|
+
/**
|
|
3408
|
+
* 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.
|
|
3409
|
+
* @public
|
|
3410
|
+
*/
|
|
3411
|
+
messagingStatus?: MessageMessagingStatus | undefined;
|
|
3388
3412
|
}
|
|
3389
3413
|
/**
|
|
3390
3414
|
* @public
|
|
@@ -3958,6 +3982,16 @@ export interface SendMessageInput {
|
|
|
3958
3982
|
*/
|
|
3959
3983
|
sms?: boolean | undefined;
|
|
3960
3984
|
smsStatus?: MessageSmsStatus | undefined;
|
|
3985
|
+
/**
|
|
3986
|
+
* 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.
|
|
3987
|
+
* @public
|
|
3988
|
+
*/
|
|
3989
|
+
messagingChannel?: MessagingChannel | undefined;
|
|
3990
|
+
/**
|
|
3991
|
+
* 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.
|
|
3992
|
+
* @public
|
|
3993
|
+
*/
|
|
3994
|
+
messagingStatus?: MessageMessagingStatus | undefined;
|
|
3961
3995
|
/**
|
|
3962
3996
|
* Optional client-supplied message id. Auto-generated when omitted.
|
|
3963
3997
|
* @public
|
|
@@ -4464,25 +4498,20 @@ export interface UpdateChannelInput {
|
|
|
4464
4498
|
*/
|
|
4465
4499
|
wizyGuestViewOnly?: boolean | undefined;
|
|
4466
4500
|
/**
|
|
4467
|
-
*
|
|
4468
|
-
* @public
|
|
4469
|
-
*/
|
|
4470
|
-
messenger?: boolean | undefined;
|
|
4471
|
-
/**
|
|
4472
|
-
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
4501
|
+
* The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
4473
4502
|
* @public
|
|
4474
4503
|
*/
|
|
4475
|
-
|
|
4504
|
+
messagingStatus?: ChannelMessagingStatus | undefined;
|
|
4476
4505
|
/**
|
|
4477
|
-
* The Facebook Page ID the
|
|
4506
|
+
* 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.
|
|
4478
4507
|
* @public
|
|
4479
4508
|
*/
|
|
4480
|
-
|
|
4509
|
+
messagingSenderId?: string | undefined;
|
|
4481
4510
|
/**
|
|
4482
|
-
* Epoch seconds until which a reply still reaches the person
|
|
4511
|
+
* 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.
|
|
4483
4512
|
* @public
|
|
4484
4513
|
*/
|
|
4485
|
-
|
|
4514
|
+
messagingReplyUntil?: number | undefined;
|
|
4486
4515
|
/**
|
|
4487
4516
|
* 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.
|
|
4488
4517
|
* @public
|
|
@@ -4567,6 +4596,16 @@ export interface UpdateMessageInput {
|
|
|
4567
4596
|
*/
|
|
4568
4597
|
sms?: boolean | undefined;
|
|
4569
4598
|
smsStatus?: MessageSmsStatus | undefined;
|
|
4599
|
+
/**
|
|
4600
|
+
* 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.
|
|
4601
|
+
* @public
|
|
4602
|
+
*/
|
|
4603
|
+
messagingChannel?: MessagingChannel | undefined;
|
|
4604
|
+
/**
|
|
4605
|
+
* 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.
|
|
4606
|
+
* @public
|
|
4607
|
+
*/
|
|
4608
|
+
messagingStatus?: MessageMessagingStatus | undefined;
|
|
4570
4609
|
/**
|
|
4571
4610
|
* 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.
|
|
4572
4611
|
* @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.
|
|
4
|
+
"version": "4.1.10",
|
|
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",
|