@wildix/stream-client 4.1.2 → 4.1.4
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 +10 -1
- package/dist-cjs/schemas/schemas_0.js +24 -19
- package/dist-es/models/enums.js +9 -0
- package/dist-es/schemas/schemas_0.js +24 -19
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +10 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +6 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -0
- package/dist-types/commands/GetChannelCommand.d.ts +6 -0
- package/dist-types/commands/GetInboxCommand.d.ts +6 -0
- package/dist-types/commands/GetMessageCommand.d.ts +2 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +6 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +6 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +6 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +6 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +6 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +6 -0
- package/dist-types/commands/ListMentionsCommand.d.ts +3 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +2 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +10 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +2 -0
- package/dist-types/commands/PinMessageCommand.d.ts +2 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +6 -0
- package/dist-types/commands/SearchChannelsCommand.d.ts +6 -0
- package/dist-types/commands/SearchMessagesCommand.d.ts +2 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +2 -0
- package/dist-types/commands/SendMessageCommand.d.ts +2 -0
- package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +2 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +10 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +2 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +127 -1
- package/package.json +1 -1
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SearchSort = exports.MessageUnsetFields = exports.MessageAnchor = exports.MentionsFilter = exports.GroupChannelUnsetOptions = exports.FileCategory = exports.DownloadStrategy = exports.SectionType = exports.TargetNotEligibleReason = exports.MessageWhatsAppStatus = exports.MessageSmsStatus = exports.GroupChannelCreationEventType = exports.ChannelsFilter = exports.ChannelWhatsAppStatus = exports.MessageType = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.AttachmentType = exports.AssignChannelVariant = exports.ChannelMemberRole = exports.ButtonVariant = void 0;
|
|
3
|
+
exports.SearchSort = exports.MessageUnsetFields = exports.MessageAnchor = exports.MentionsFilter = exports.GroupChannelUnsetOptions = exports.FileCategory = exports.DownloadStrategy = exports.MessageMessengerStatus = exports.SectionType = exports.TargetNotEligibleReason = exports.MessageWhatsAppStatus = exports.MessageSmsStatus = exports.GroupChannelCreationEventType = exports.ChannelsFilter = exports.ChannelWhatsAppStatus = exports.ChannelMessengerStatus = exports.MessageType = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.AttachmentType = exports.AssignChannelVariant = exports.ChannelMemberRole = exports.ButtonVariant = void 0;
|
|
4
4
|
exports.ButtonVariant = {
|
|
5
5
|
CONTAINED: "contained",
|
|
6
6
|
OUTLINED: "outlined",
|
|
@@ -43,6 +43,9 @@ exports.MessageType = {
|
|
|
43
43
|
REGULAR: "regular",
|
|
44
44
|
SYSTEM: "system",
|
|
45
45
|
};
|
|
46
|
+
exports.ChannelMessengerStatus = {
|
|
47
|
+
WINDOW_CLOSED: "window_closed",
|
|
48
|
+
};
|
|
46
49
|
exports.ChannelWhatsAppStatus = {
|
|
47
50
|
CHANNEL_CLOSED: "24h_channel_closed",
|
|
48
51
|
};
|
|
@@ -73,6 +76,12 @@ exports.SectionType = {
|
|
|
73
76
|
CUSTOM: "custom",
|
|
74
77
|
SYSTEM: "system",
|
|
75
78
|
};
|
|
79
|
+
exports.MessageMessengerStatus = {
|
|
80
|
+
DELIVERED: "delivered",
|
|
81
|
+
ERROR: "error",
|
|
82
|
+
SENT: "sent",
|
|
83
|
+
TRYING: "trying",
|
|
84
|
+
};
|
|
76
85
|
var DownloadStrategy;
|
|
77
86
|
(function (DownloadStrategy) {
|
|
78
87
|
DownloadStrategy[DownloadStrategy["DEFAULT"] = 0] = "DEFAULT";
|
|
@@ -358,6 +358,9 @@ const _mCe = "memberCount";
|
|
|
358
358
|
const _mI = "memberId";
|
|
359
359
|
const _mIe = "messageId";
|
|
360
360
|
const _mMJ = "multipleMembersJoined";
|
|
361
|
+
const _mPI = "messengerPageId";
|
|
362
|
+
const _mRU = "messengerReplyUntil";
|
|
363
|
+
const _mS = "messengerStatus";
|
|
361
364
|
const _mT = "messageType";
|
|
362
365
|
const _mTI = "memberToInvite";
|
|
363
366
|
const _mTIe = "membersToInvite";
|
|
@@ -370,7 +373,8 @@ const _ma = "markdown";
|
|
|
370
373
|
const _me = "member";
|
|
371
374
|
const _mem = "members";
|
|
372
375
|
const _men = "mentions";
|
|
373
|
-
const _mes = "
|
|
376
|
+
const _mes = "messenger";
|
|
377
|
+
const _mess = "messages";
|
|
374
378
|
const _mi = "mime";
|
|
375
379
|
const _mm = "mms";
|
|
376
380
|
const _mu = "muted";
|
|
@@ -385,7 +389,8 @@ const _pA = "pinnedAt";
|
|
|
385
389
|
const _pB = "pinnedBy";
|
|
386
390
|
const _pC = "pictureColor";
|
|
387
391
|
const _pDU = "presignedDownloadUrl";
|
|
388
|
-
const _pI = "
|
|
392
|
+
const _pI = "peerId";
|
|
393
|
+
const _pIo = "pollId";
|
|
389
394
|
const _pMI = "pinnedMessageIds";
|
|
390
395
|
const _pUU = "presignedUploadUrl";
|
|
391
396
|
const _ph = "phone";
|
|
@@ -638,8 +643,8 @@ exports.ButtonReplyHandler$ = [3, n1, _BRH,
|
|
|
638
643
|
];
|
|
639
644
|
exports.Channel$ = [3, n1, _C,
|
|
640
645
|
0,
|
|
641
|
-
[_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _ex, _pMI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO],
|
|
642
|
-
[0, 0, 1, 0, 0, 1, 0, 0, () => exports.LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 2, 64 | 0, 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2], 7
|
|
646
|
+
[_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _ex, _pMI, _pI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU],
|
|
647
|
+
[0, 0, 1, 0, 0, 1, 0, 0, () => exports.LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 2, 64 | 0, 0, 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1], 7
|
|
643
648
|
];
|
|
644
649
|
exports.ChannelContext$ = [3, n1, _CC,
|
|
645
650
|
0,
|
|
@@ -678,8 +683,8 @@ exports.ChannelsQuery$ = [3, n1, _CQ,
|
|
|
678
683
|
];
|
|
679
684
|
exports.CreateGroupChannelInput$ = [3, n1, _CGCI,
|
|
680
685
|
0,
|
|
681
|
-
[_cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _cI, _mem, _mTIe, _cET],
|
|
682
|
-
[[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 0, 64 | 0, () => UserToInviteList, 0]
|
|
686
|
+
[_cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU, _cI, _mem, _mTIe, _cET],
|
|
687
|
+
[[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1, 0, 64 | 0, () => UserToInviteList, 0]
|
|
683
688
|
];
|
|
684
689
|
exports.CreateGroupChannelOutput$ = [3, n1, _CGCO,
|
|
685
690
|
0,
|
|
@@ -918,8 +923,8 @@ exports.HideChannelOutput$ = [3, n1, _HCO,
|
|
|
918
923
|
];
|
|
919
924
|
exports.InboxChannel$ = [3, n1, _IC,
|
|
920
925
|
0,
|
|
921
|
-
[_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _in, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _ex, _pMI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO],
|
|
922
|
-
[0, 0, 1, 0, 0, 1, 0, () => exports.InboxState$, 0, () => exports.LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 2, 64 | 0, 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2], 8
|
|
926
|
+
[_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _in, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _ex, _pMI, _pI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU],
|
|
927
|
+
[0, 0, 1, 0, 0, 1, 0, () => exports.InboxState$, 0, () => exports.LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 2, 64 | 0, 0, 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1], 8
|
|
923
928
|
];
|
|
924
929
|
exports.InboxState$ = [3, n1, _IS,
|
|
925
930
|
0,
|
|
@@ -943,8 +948,8 @@ exports.JoinChannelOutput$ = [3, n1, _JCO,
|
|
|
943
948
|
];
|
|
944
949
|
exports.LastMessagePreview$ = [3, n1, _LMP,
|
|
945
950
|
0,
|
|
946
|
-
[_mIe, _uI, _mT, _cA, _t, _eve],
|
|
947
|
-
[0, 0, 0, 0, 0, 0], 4
|
|
951
|
+
[_mIe, _uI, _mT, _cA, _t, _pIo, _eve],
|
|
952
|
+
[0, 0, 0, 0, 0, 0, 0], 4
|
|
948
953
|
];
|
|
949
954
|
exports.LeaveChannelInput$ = [3, n1, _LCI,
|
|
950
955
|
0,
|
|
@@ -1003,7 +1008,7 @@ exports.ListMessagesInput$ = [3, n1, _LMIi,
|
|
|
1003
1008
|
];
|
|
1004
1009
|
exports.ListMessagesOutput$ = [3, n1, _LMOi,
|
|
1005
1010
|
0,
|
|
1006
|
-
[
|
|
1011
|
+
[_mess, _fUVS],
|
|
1007
1012
|
[() => MessageList, 1], 1
|
|
1008
1013
|
];
|
|
1009
1014
|
exports.MarkReadInput$ = [3, n1, _MRI,
|
|
@@ -1028,8 +1033,8 @@ exports.MarkUnreadOutput$ = [3, n1, _MUO,
|
|
|
1028
1033
|
];
|
|
1029
1034
|
exports.MentionChannelPreview$ = [3, n1, _MCP,
|
|
1030
1035
|
0,
|
|
1031
|
-
[_cI, _cT, _mCe, _cV, _lAA, _su, _pi],
|
|
1032
|
-
[0, 0, 1, 1, 0, 0, 0], 5
|
|
1036
|
+
[_cI, _cT, _mCe, _cV, _lAA, _su, _pi, _pI],
|
|
1037
|
+
[0, 0, 1, 1, 0, 0, 0, 0], 5
|
|
1033
1038
|
];
|
|
1034
1039
|
exports.MentionEntry$ = [3, n1, _ME,
|
|
1035
1040
|
0,
|
|
@@ -1038,8 +1043,8 @@ exports.MentionEntry$ = [3, n1, _ME,
|
|
|
1038
1043
|
];
|
|
1039
1044
|
exports.Message$ = [3, n1, _M,
|
|
1040
1045
|
0,
|
|
1041
|
-
[_mIe, _uI, _mT, _att, _men, _rC, _pin, _sy, _tS, _vS, _cV, _mV, _cA, _t, _q, _fo, _lR, _pA, _pB, _eA, _dA, _el, _w, _wS, _sm, _sS, _ma, _g, _si, _eve,
|
|
1042
|
-
[0, 0, 0, () => MessageAttachmentList, 64 | 0, 128 | 1, 2, 2, 1, 1, 1, 1, 0, 0, () => exports.MessageQuote$, () => exports.MessageForward$, () => ReactionList, 0, 0, 0, 0, () => ElementsList, 2, 0, 2, 0, 2, () => exports.MessageGiphy$, 2, 0, 0], 13
|
|
1046
|
+
[_mIe, _uI, _mT, _att, _men, _rC, _pin, _sy, _tS, _vS, _cV, _mV, _cA, _t, _q, _fo, _lR, _pA, _pB, _eA, _dA, _el, _w, _wS, _sm, _sS, _ma, _g, _si, _eve, _pIo, _mes, _mS],
|
|
1047
|
+
[0, 0, 0, () => MessageAttachmentList, 64 | 0, 128 | 1, 2, 2, 1, 1, 1, 1, 0, 0, () => exports.MessageQuote$, () => exports.MessageForward$, () => ReactionList, 0, 0, 0, 0, () => ElementsList, 2, 0, 2, 0, 2, () => exports.MessageGiphy$, 2, 0, 0, 2, 0], 13
|
|
1043
1048
|
];
|
|
1044
1049
|
exports.MessageAttachment$ = [3, n1, _MA,
|
|
1045
1050
|
0,
|
|
@@ -1118,8 +1123,8 @@ exports.PartialUpdateChannelOutput$ = [3, n1, _PUCO,
|
|
|
1118
1123
|
];
|
|
1119
1124
|
exports.PartialUpdateChannelSetOptions$ = [3, n1, _PUCSO,
|
|
1120
1125
|
0,
|
|
1121
|
-
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO],
|
|
1122
|
-
[0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2]
|
|
1126
|
+
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU],
|
|
1127
|
+
[0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1]
|
|
1123
1128
|
];
|
|
1124
1129
|
exports.PartialUpdateMessageInput$ = [3, n1, _PUMI,
|
|
1125
1130
|
0,
|
|
@@ -1328,8 +1333,8 @@ exports.UnpinMessageOutput$ = [3, n1, _UMO,
|
|
|
1328
1333
|
];
|
|
1329
1334
|
exports.UpdateChannelInput$ = [3, n1, _UCIp,
|
|
1330
1335
|
0,
|
|
1331
|
-
[_cI, _cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _si],
|
|
1332
|
-
[[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2], 1
|
|
1336
|
+
[_cI, _cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU, _si],
|
|
1337
|
+
[[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1, 2], 1
|
|
1333
1338
|
];
|
|
1334
1339
|
exports.UpdateChannelOutput$ = [3, n1, _UCOp,
|
|
1335
1340
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -40,6 +40,9 @@ export const MessageType = {
|
|
|
40
40
|
REGULAR: "regular",
|
|
41
41
|
SYSTEM: "system",
|
|
42
42
|
};
|
|
43
|
+
export const ChannelMessengerStatus = {
|
|
44
|
+
WINDOW_CLOSED: "window_closed",
|
|
45
|
+
};
|
|
43
46
|
export const ChannelWhatsAppStatus = {
|
|
44
47
|
CHANNEL_CLOSED: "24h_channel_closed",
|
|
45
48
|
};
|
|
@@ -70,6 +73,12 @@ export const SectionType = {
|
|
|
70
73
|
CUSTOM: "custom",
|
|
71
74
|
SYSTEM: "system",
|
|
72
75
|
};
|
|
76
|
+
export const MessageMessengerStatus = {
|
|
77
|
+
DELIVERED: "delivered",
|
|
78
|
+
ERROR: "error",
|
|
79
|
+
SENT: "sent",
|
|
80
|
+
TRYING: "trying",
|
|
81
|
+
};
|
|
73
82
|
export var DownloadStrategy;
|
|
74
83
|
(function (DownloadStrategy) {
|
|
75
84
|
DownloadStrategy[DownloadStrategy["DEFAULT"] = 0] = "DEFAULT";
|
|
@@ -351,6 +351,9 @@ const _mCe = "memberCount";
|
|
|
351
351
|
const _mI = "memberId";
|
|
352
352
|
const _mIe = "messageId";
|
|
353
353
|
const _mMJ = "multipleMembersJoined";
|
|
354
|
+
const _mPI = "messengerPageId";
|
|
355
|
+
const _mRU = "messengerReplyUntil";
|
|
356
|
+
const _mS = "messengerStatus";
|
|
354
357
|
const _mT = "messageType";
|
|
355
358
|
const _mTI = "memberToInvite";
|
|
356
359
|
const _mTIe = "membersToInvite";
|
|
@@ -363,7 +366,8 @@ const _ma = "markdown";
|
|
|
363
366
|
const _me = "member";
|
|
364
367
|
const _mem = "members";
|
|
365
368
|
const _men = "mentions";
|
|
366
|
-
const _mes = "
|
|
369
|
+
const _mes = "messenger";
|
|
370
|
+
const _mess = "messages";
|
|
367
371
|
const _mi = "mime";
|
|
368
372
|
const _mm = "mms";
|
|
369
373
|
const _mu = "muted";
|
|
@@ -378,7 +382,8 @@ const _pA = "pinnedAt";
|
|
|
378
382
|
const _pB = "pinnedBy";
|
|
379
383
|
const _pC = "pictureColor";
|
|
380
384
|
const _pDU = "presignedDownloadUrl";
|
|
381
|
-
const _pI = "
|
|
385
|
+
const _pI = "peerId";
|
|
386
|
+
const _pIo = "pollId";
|
|
382
387
|
const _pMI = "pinnedMessageIds";
|
|
383
388
|
const _pUU = "presignedUploadUrl";
|
|
384
389
|
const _ph = "phone";
|
|
@@ -631,8 +636,8 @@ export var ButtonReplyHandler$ = [3, n1, _BRH,
|
|
|
631
636
|
];
|
|
632
637
|
export var Channel$ = [3, n1, _C,
|
|
633
638
|
0,
|
|
634
|
-
[_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _ex, _pMI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO],
|
|
635
|
-
[0, 0, 1, 0, 0, 1, 0, 0, () => LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 2, 64 | 0, 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2], 7
|
|
639
|
+
[_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _ex, _pMI, _pI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU],
|
|
640
|
+
[0, 0, 1, 0, 0, 1, 0, 0, () => LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 2, 64 | 0, 0, 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1], 7
|
|
636
641
|
];
|
|
637
642
|
export var ChannelContext$ = [3, n1, _CC,
|
|
638
643
|
0,
|
|
@@ -671,8 +676,8 @@ export var ChannelsQuery$ = [3, n1, _CQ,
|
|
|
671
676
|
];
|
|
672
677
|
export var CreateGroupChannelInput$ = [3, n1, _CGCI,
|
|
673
678
|
0,
|
|
674
|
-
[_cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _cI, _mem, _mTIe, _cET],
|
|
675
|
-
[[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 0, 64 | 0, () => UserToInviteList, 0]
|
|
679
|
+
[_cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU, _cI, _mem, _mTIe, _cET],
|
|
680
|
+
[[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1, 0, 64 | 0, () => UserToInviteList, 0]
|
|
676
681
|
];
|
|
677
682
|
export var CreateGroupChannelOutput$ = [3, n1, _CGCO,
|
|
678
683
|
0,
|
|
@@ -911,8 +916,8 @@ export var HideChannelOutput$ = [3, n1, _HCO,
|
|
|
911
916
|
];
|
|
912
917
|
export var InboxChannel$ = [3, n1, _IC,
|
|
913
918
|
0,
|
|
914
|
-
[_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _in, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _ex, _pMI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO],
|
|
915
|
-
[0, 0, 1, 0, 0, 1, 0, () => InboxState$, 0, () => LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 2, 64 | 0, 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2], 8
|
|
919
|
+
[_cI, _cT, _mC, _cA, _cB, _cV, _lAA, _in, _uA, _lM, _co, _k, _kT, _kV, _kSN, _kDS, _ser, _sR, _te, _ex, _pMI, _pI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU],
|
|
920
|
+
[0, 0, 1, 0, 0, 1, 0, () => InboxState$, 0, () => LastMessagePreview$, 0, 2, 0, 0, 0, 0, 0, 0, 2, 2, 64 | 0, 0, 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1], 8
|
|
916
921
|
];
|
|
917
922
|
export var InboxState$ = [3, n1, _IS,
|
|
918
923
|
0,
|
|
@@ -936,8 +941,8 @@ export var JoinChannelOutput$ = [3, n1, _JCO,
|
|
|
936
941
|
];
|
|
937
942
|
export var LastMessagePreview$ = [3, n1, _LMP,
|
|
938
943
|
0,
|
|
939
|
-
[_mIe, _uI, _mT, _cA, _t, _eve],
|
|
940
|
-
[0, 0, 0, 0, 0, 0], 4
|
|
944
|
+
[_mIe, _uI, _mT, _cA, _t, _pIo, _eve],
|
|
945
|
+
[0, 0, 0, 0, 0, 0, 0], 4
|
|
941
946
|
];
|
|
942
947
|
export var LeaveChannelInput$ = [3, n1, _LCI,
|
|
943
948
|
0,
|
|
@@ -996,7 +1001,7 @@ export var ListMessagesInput$ = [3, n1, _LMIi,
|
|
|
996
1001
|
];
|
|
997
1002
|
export var ListMessagesOutput$ = [3, n1, _LMOi,
|
|
998
1003
|
0,
|
|
999
|
-
[
|
|
1004
|
+
[_mess, _fUVS],
|
|
1000
1005
|
[() => MessageList, 1], 1
|
|
1001
1006
|
];
|
|
1002
1007
|
export var MarkReadInput$ = [3, n1, _MRI,
|
|
@@ -1021,8 +1026,8 @@ export var MarkUnreadOutput$ = [3, n1, _MUO,
|
|
|
1021
1026
|
];
|
|
1022
1027
|
export var MentionChannelPreview$ = [3, n1, _MCP,
|
|
1023
1028
|
0,
|
|
1024
|
-
[_cI, _cT, _mCe, _cV, _lAA, _su, _pi],
|
|
1025
|
-
[0, 0, 1, 1, 0, 0, 0], 5
|
|
1029
|
+
[_cI, _cT, _mCe, _cV, _lAA, _su, _pi, _pI],
|
|
1030
|
+
[0, 0, 1, 1, 0, 0, 0, 0], 5
|
|
1026
1031
|
];
|
|
1027
1032
|
export var MentionEntry$ = [3, n1, _ME,
|
|
1028
1033
|
0,
|
|
@@ -1031,8 +1036,8 @@ export var MentionEntry$ = [3, n1, _ME,
|
|
|
1031
1036
|
];
|
|
1032
1037
|
export var Message$ = [3, n1, _M,
|
|
1033
1038
|
0,
|
|
1034
|
-
[_mIe, _uI, _mT, _att, _men, _rC, _pin, _sy, _tS, _vS, _cV, _mV, _cA, _t, _q, _fo, _lR, _pA, _pB, _eA, _dA, _el, _w, _wS, _sm, _sS, _ma, _g, _si, _eve,
|
|
1035
|
-
[0, 0, 0, () => MessageAttachmentList, 64 | 0, 128 | 1, 2, 2, 1, 1, 1, 1, 0, 0, () => MessageQuote$, () => MessageForward$, () => ReactionList, 0, 0, 0, 0, () => ElementsList, 2, 0, 2, 0, 2, () => MessageGiphy$, 2, 0, 0], 13
|
|
1039
|
+
[_mIe, _uI, _mT, _att, _men, _rC, _pin, _sy, _tS, _vS, _cV, _mV, _cA, _t, _q, _fo, _lR, _pA, _pB, _eA, _dA, _el, _w, _wS, _sm, _sS, _ma, _g, _si, _eve, _pIo, _mes, _mS],
|
|
1040
|
+
[0, 0, 0, () => MessageAttachmentList, 64 | 0, 128 | 1, 2, 2, 1, 1, 1, 1, 0, 0, () => MessageQuote$, () => MessageForward$, () => ReactionList, 0, 0, 0, 0, () => ElementsList, 2, 0, 2, 0, 2, () => MessageGiphy$, 2, 0, 0, 2, 0], 13
|
|
1036
1041
|
];
|
|
1037
1042
|
export var MessageAttachment$ = [3, n1, _MA,
|
|
1038
1043
|
0,
|
|
@@ -1111,8 +1116,8 @@ export var PartialUpdateChannelOutput$ = [3, n1, _PUCO,
|
|
|
1111
1116
|
];
|
|
1112
1117
|
export var PartialUpdateChannelSetOptions$ = [3, n1, _PUCSO,
|
|
1113
1118
|
0,
|
|
1114
|
-
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO],
|
|
1115
|
-
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2]
|
|
1119
|
+
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU],
|
|
1120
|
+
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1]
|
|
1116
1121
|
];
|
|
1117
1122
|
export var PartialUpdateMessageInput$ = [3, n1, _PUMI,
|
|
1118
1123
|
0,
|
|
@@ -1321,8 +1326,8 @@ export var UnpinMessageOutput$ = [3, n1, _UMO,
|
|
|
1321
1326
|
];
|
|
1322
1327
|
export var UpdateChannelInput$ = [3, n1, _UCIp,
|
|
1323
1328
|
0,
|
|
1324
|
-
[_cI, _cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _si],
|
|
1325
|
-
[[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2], 1
|
|
1329
|
+
[_cI, _cIo, _uI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _aI, _aR, _tL, _wGVO, _mes, _mS, _mPI, _mRU, _si],
|
|
1330
|
+
[[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 0, 2, 0, 2, 2, 0, 0, 1, 2], 1
|
|
1326
1331
|
];
|
|
1327
1332
|
export var UpdateChannelOutput$ = [3, n1, _UCOp,
|
|
1328
1333
|
0,
|
|
@@ -78,6 +78,10 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
78
78
|
* autoRecord: true || false,
|
|
79
79
|
* transcriptionLanguage: "STRING_VALUE",
|
|
80
80
|
* wizyGuestViewOnly: true || false,
|
|
81
|
+
* messenger: true || false,
|
|
82
|
+
* messengerStatus: "window_closed",
|
|
83
|
+
* messengerPageId: "STRING_VALUE",
|
|
84
|
+
* messengerReplyUntil: Number("long"),
|
|
81
85
|
* channelId: "STRING_VALUE",
|
|
82
86
|
* members: [ // UserIdList
|
|
83
87
|
* "STRING_VALUE",
|
|
@@ -109,6 +113,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
109
113
|
* // userId: "STRING_VALUE", // required
|
|
110
114
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
111
115
|
* // text: "STRING_VALUE",
|
|
116
|
+
* // pollId: "STRING_VALUE",
|
|
112
117
|
* // event: "STRING_VALUE",
|
|
113
118
|
* // createdAt: "STRING_VALUE", // required
|
|
114
119
|
* // },
|
|
@@ -125,6 +130,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
125
130
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
126
131
|
* // "STRING_VALUE",
|
|
127
132
|
* // ],
|
|
133
|
+
* // peerId: "STRING_VALUE",
|
|
128
134
|
* // subject: "STRING_VALUE",
|
|
129
135
|
* // description: "STRING_VALUE",
|
|
130
136
|
* // picture: "STRING_VALUE",
|
|
@@ -164,6 +170,10 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
164
170
|
* // autoRecord: true || false,
|
|
165
171
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
166
172
|
* // wizyGuestViewOnly: true || false,
|
|
173
|
+
* // messenger: true || false,
|
|
174
|
+
* // messengerStatus: "window_closed",
|
|
175
|
+
* // messengerPageId: "STRING_VALUE",
|
|
176
|
+
* // messengerReplyUntil: Number("long"),
|
|
167
177
|
* // },
|
|
168
178
|
* // };
|
|
169
179
|
*
|
|
@@ -197,6 +197,7 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
197
197
|
* // userId: "STRING_VALUE", // required
|
|
198
198
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
199
199
|
* // text: "STRING_VALUE",
|
|
200
|
+
* // pollId: "STRING_VALUE",
|
|
200
201
|
* // event: "STRING_VALUE",
|
|
201
202
|
* // createdAt: "STRING_VALUE", // required
|
|
202
203
|
* // },
|
|
@@ -213,6 +214,7 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
213
214
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
214
215
|
* // "STRING_VALUE",
|
|
215
216
|
* // ],
|
|
217
|
+
* // peerId: "STRING_VALUE",
|
|
216
218
|
* // subject: "STRING_VALUE",
|
|
217
219
|
* // description: "STRING_VALUE",
|
|
218
220
|
* // picture: "STRING_VALUE",
|
|
@@ -252,6 +254,10 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
252
254
|
* // autoRecord: true || false,
|
|
253
255
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
254
256
|
* // wizyGuestViewOnly: true || false,
|
|
257
|
+
* // messenger: true || false,
|
|
258
|
+
* // messengerStatus: "window_closed",
|
|
259
|
+
* // messengerPageId: "STRING_VALUE",
|
|
260
|
+
* // messengerReplyUntil: Number("long"),
|
|
255
261
|
* // },
|
|
256
262
|
* // };
|
|
257
263
|
*
|
|
@@ -151,6 +151,8 @@ declare const DeleteMessageReactionCommand_base: {
|
|
|
151
151
|
* // silent: true || false,
|
|
152
152
|
* // event: "STRING_VALUE",
|
|
153
153
|
* // pollId: "STRING_VALUE",
|
|
154
|
+
* // messenger: true || false,
|
|
155
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
154
156
|
* // },
|
|
155
157
|
* // };
|
|
156
158
|
*
|
|
@@ -58,6 +58,7 @@ declare const GetChannelCommand_base: {
|
|
|
58
58
|
* // userId: "STRING_VALUE", // required
|
|
59
59
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
60
60
|
* // text: "STRING_VALUE",
|
|
61
|
+
* // pollId: "STRING_VALUE",
|
|
61
62
|
* // event: "STRING_VALUE",
|
|
62
63
|
* // createdAt: "STRING_VALUE", // required
|
|
63
64
|
* // },
|
|
@@ -74,6 +75,7 @@ declare const GetChannelCommand_base: {
|
|
|
74
75
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
75
76
|
* // "STRING_VALUE",
|
|
76
77
|
* // ],
|
|
78
|
+
* // peerId: "STRING_VALUE",
|
|
77
79
|
* // subject: "STRING_VALUE",
|
|
78
80
|
* // description: "STRING_VALUE",
|
|
79
81
|
* // picture: "STRING_VALUE",
|
|
@@ -113,6 +115,10 @@ declare const GetChannelCommand_base: {
|
|
|
113
115
|
* // autoRecord: true || false,
|
|
114
116
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
115
117
|
* // wizyGuestViewOnly: true || false,
|
|
118
|
+
* // messenger: true || false,
|
|
119
|
+
* // messengerStatus: "window_closed",
|
|
120
|
+
* // messengerPageId: "STRING_VALUE",
|
|
121
|
+
* // messengerReplyUntil: Number("long"),
|
|
116
122
|
* // },
|
|
117
123
|
* // };
|
|
118
124
|
*
|
|
@@ -58,6 +58,7 @@ declare const GetInboxCommand_base: {
|
|
|
58
58
|
* // userId: "STRING_VALUE", // required
|
|
59
59
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
60
60
|
* // text: "STRING_VALUE",
|
|
61
|
+
* // pollId: "STRING_VALUE",
|
|
61
62
|
* // event: "STRING_VALUE",
|
|
62
63
|
* // createdAt: "STRING_VALUE", // required
|
|
63
64
|
* // },
|
|
@@ -74,6 +75,7 @@ declare const GetInboxCommand_base: {
|
|
|
74
75
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
75
76
|
* // "STRING_VALUE",
|
|
76
77
|
* // ],
|
|
78
|
+
* // peerId: "STRING_VALUE",
|
|
77
79
|
* // subject: "STRING_VALUE",
|
|
78
80
|
* // description: "STRING_VALUE",
|
|
79
81
|
* // picture: "STRING_VALUE",
|
|
@@ -113,6 +115,10 @@ declare const GetInboxCommand_base: {
|
|
|
113
115
|
* // autoRecord: true || false,
|
|
114
116
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
115
117
|
* // wizyGuestViewOnly: true || false,
|
|
118
|
+
* // messenger: true || false,
|
|
119
|
+
* // messengerStatus: "window_closed",
|
|
120
|
+
* // messengerPageId: "STRING_VALUE",
|
|
121
|
+
* // messengerReplyUntil: Number("long"),
|
|
116
122
|
* // inbox: { // InboxState
|
|
117
123
|
* // sectionIds: [ // SectionIdList // required
|
|
118
124
|
* // "STRING_VALUE",
|
|
@@ -150,6 +150,8 @@ declare const GetMessageCommand_base: {
|
|
|
150
150
|
* // silent: true || false,
|
|
151
151
|
* // event: "STRING_VALUE",
|
|
152
152
|
* // pollId: "STRING_VALUE",
|
|
153
|
+
* // messenger: true || false,
|
|
154
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
153
155
|
* // },
|
|
154
156
|
* // };
|
|
155
157
|
*
|
|
@@ -64,6 +64,7 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
64
64
|
* // userId: "STRING_VALUE", // required
|
|
65
65
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
66
66
|
* // text: "STRING_VALUE",
|
|
67
|
+
* // pollId: "STRING_VALUE",
|
|
67
68
|
* // event: "STRING_VALUE",
|
|
68
69
|
* // createdAt: "STRING_VALUE", // required
|
|
69
70
|
* // },
|
|
@@ -80,6 +81,7 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
80
81
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
81
82
|
* // "STRING_VALUE",
|
|
82
83
|
* // ],
|
|
84
|
+
* // peerId: "STRING_VALUE",
|
|
83
85
|
* // subject: "STRING_VALUE",
|
|
84
86
|
* // description: "STRING_VALUE",
|
|
85
87
|
* // picture: "STRING_VALUE",
|
|
@@ -119,6 +121,10 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
119
121
|
* // autoRecord: true || false,
|
|
120
122
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
121
123
|
* // wizyGuestViewOnly: true || false,
|
|
124
|
+
* // messenger: true || false,
|
|
125
|
+
* // messengerStatus: "window_closed",
|
|
126
|
+
* // messengerPageId: "STRING_VALUE",
|
|
127
|
+
* // messengerReplyUntil: Number("long"),
|
|
122
128
|
* // },
|
|
123
129
|
* // };
|
|
124
130
|
*
|
|
@@ -61,6 +61,7 @@ declare const GetOrCreateSmsChannelCommand_base: {
|
|
|
61
61
|
* // userId: "STRING_VALUE", // required
|
|
62
62
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
63
63
|
* // text: "STRING_VALUE",
|
|
64
|
+
* // pollId: "STRING_VALUE",
|
|
64
65
|
* // event: "STRING_VALUE",
|
|
65
66
|
* // createdAt: "STRING_VALUE", // required
|
|
66
67
|
* // },
|
|
@@ -77,6 +78,7 @@ declare const GetOrCreateSmsChannelCommand_base: {
|
|
|
77
78
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
78
79
|
* // "STRING_VALUE",
|
|
79
80
|
* // ],
|
|
81
|
+
* // peerId: "STRING_VALUE",
|
|
80
82
|
* // subject: "STRING_VALUE",
|
|
81
83
|
* // description: "STRING_VALUE",
|
|
82
84
|
* // picture: "STRING_VALUE",
|
|
@@ -116,6 +118,10 @@ declare const GetOrCreateSmsChannelCommand_base: {
|
|
|
116
118
|
* // autoRecord: true || false,
|
|
117
119
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
118
120
|
* // wizyGuestViewOnly: true || false,
|
|
121
|
+
* // messenger: true || false,
|
|
122
|
+
* // messengerStatus: "window_closed",
|
|
123
|
+
* // messengerPageId: "STRING_VALUE",
|
|
124
|
+
* // messengerReplyUntil: Number("long"),
|
|
119
125
|
* // },
|
|
120
126
|
* // };
|
|
121
127
|
*
|
|
@@ -60,6 +60,7 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
|
|
|
60
60
|
* // userId: "STRING_VALUE", // required
|
|
61
61
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
62
62
|
* // text: "STRING_VALUE",
|
|
63
|
+
* // pollId: "STRING_VALUE",
|
|
63
64
|
* // event: "STRING_VALUE",
|
|
64
65
|
* // createdAt: "STRING_VALUE", // required
|
|
65
66
|
* // },
|
|
@@ -76,6 +77,7 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
|
|
|
76
77
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
77
78
|
* // "STRING_VALUE",
|
|
78
79
|
* // ],
|
|
80
|
+
* // peerId: "STRING_VALUE",
|
|
79
81
|
* // subject: "STRING_VALUE",
|
|
80
82
|
* // description: "STRING_VALUE",
|
|
81
83
|
* // picture: "STRING_VALUE",
|
|
@@ -115,6 +117,10 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
|
|
|
115
117
|
* // autoRecord: true || false,
|
|
116
118
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
117
119
|
* // wizyGuestViewOnly: true || false,
|
|
120
|
+
* // messenger: true || false,
|
|
121
|
+
* // messengerStatus: "window_closed",
|
|
122
|
+
* // messengerPageId: "STRING_VALUE",
|
|
123
|
+
* // messengerReplyUntil: Number("long"),
|
|
118
124
|
* // },
|
|
119
125
|
* // };
|
|
120
126
|
*
|
|
@@ -61,6 +61,7 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
|
61
61
|
* // userId: "STRING_VALUE", // required
|
|
62
62
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
63
63
|
* // text: "STRING_VALUE",
|
|
64
|
+
* // pollId: "STRING_VALUE",
|
|
64
65
|
* // event: "STRING_VALUE",
|
|
65
66
|
* // createdAt: "STRING_VALUE", // required
|
|
66
67
|
* // },
|
|
@@ -77,6 +78,7 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
|
77
78
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
78
79
|
* // "STRING_VALUE",
|
|
79
80
|
* // ],
|
|
81
|
+
* // peerId: "STRING_VALUE",
|
|
80
82
|
* // subject: "STRING_VALUE",
|
|
81
83
|
* // description: "STRING_VALUE",
|
|
82
84
|
* // picture: "STRING_VALUE",
|
|
@@ -116,6 +118,10 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
|
116
118
|
* // autoRecord: true || false,
|
|
117
119
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
118
120
|
* // wizyGuestViewOnly: true || false,
|
|
121
|
+
* // messenger: true || false,
|
|
122
|
+
* // messengerStatus: "window_closed",
|
|
123
|
+
* // messengerPageId: "STRING_VALUE",
|
|
124
|
+
* // messengerReplyUntil: Number("long"),
|
|
119
125
|
* // },
|
|
120
126
|
* // };
|
|
121
127
|
*
|
|
@@ -59,6 +59,7 @@ declare const JoinChannelCommand_base: {
|
|
|
59
59
|
* // userId: "STRING_VALUE", // required
|
|
60
60
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
61
61
|
* // text: "STRING_VALUE",
|
|
62
|
+
* // pollId: "STRING_VALUE",
|
|
62
63
|
* // event: "STRING_VALUE",
|
|
63
64
|
* // createdAt: "STRING_VALUE", // required
|
|
64
65
|
* // },
|
|
@@ -75,6 +76,7 @@ declare const JoinChannelCommand_base: {
|
|
|
75
76
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
76
77
|
* // "STRING_VALUE",
|
|
77
78
|
* // ],
|
|
79
|
+
* // peerId: "STRING_VALUE",
|
|
78
80
|
* // subject: "STRING_VALUE",
|
|
79
81
|
* // description: "STRING_VALUE",
|
|
80
82
|
* // picture: "STRING_VALUE",
|
|
@@ -114,6 +116,10 @@ declare const JoinChannelCommand_base: {
|
|
|
114
116
|
* // autoRecord: true || false,
|
|
115
117
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
116
118
|
* // wizyGuestViewOnly: true || false,
|
|
119
|
+
* // messenger: true || false,
|
|
120
|
+
* // messengerStatus: "window_closed",
|
|
121
|
+
* // messengerPageId: "STRING_VALUE",
|
|
122
|
+
* // messengerReplyUntil: Number("long"),
|
|
117
123
|
* // },
|
|
118
124
|
* // };
|
|
119
125
|
*
|
|
@@ -61,6 +61,7 @@ declare const ListChannelsCommand_base: {
|
|
|
61
61
|
* // userId: "STRING_VALUE", // required
|
|
62
62
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
63
63
|
* // text: "STRING_VALUE",
|
|
64
|
+
* // pollId: "STRING_VALUE",
|
|
64
65
|
* // event: "STRING_VALUE",
|
|
65
66
|
* // createdAt: "STRING_VALUE", // required
|
|
66
67
|
* // },
|
|
@@ -77,6 +78,7 @@ declare const ListChannelsCommand_base: {
|
|
|
77
78
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
78
79
|
* // "STRING_VALUE",
|
|
79
80
|
* // ],
|
|
81
|
+
* // peerId: "STRING_VALUE",
|
|
80
82
|
* // subject: "STRING_VALUE",
|
|
81
83
|
* // description: "STRING_VALUE",
|
|
82
84
|
* // picture: "STRING_VALUE",
|
|
@@ -116,6 +118,10 @@ declare const ListChannelsCommand_base: {
|
|
|
116
118
|
* // autoRecord: true || false,
|
|
117
119
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
118
120
|
* // wizyGuestViewOnly: true || false,
|
|
121
|
+
* // messenger: true || false,
|
|
122
|
+
* // messengerStatus: "window_closed",
|
|
123
|
+
* // messengerPageId: "STRING_VALUE",
|
|
124
|
+
* // messengerReplyUntil: Number("long"),
|
|
119
125
|
* // inbox: { // InboxState
|
|
120
126
|
* // sectionIds: [ // SectionIdList // required
|
|
121
127
|
* // "STRING_VALUE",
|
|
@@ -159,6 +159,8 @@ declare const ListMentionsCommand_base: {
|
|
|
159
159
|
* // silent: true || false,
|
|
160
160
|
* // event: "STRING_VALUE",
|
|
161
161
|
* // pollId: "STRING_VALUE",
|
|
162
|
+
* // messenger: true || false,
|
|
163
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
162
164
|
* // },
|
|
163
165
|
* // channel: { // MentionChannelPreview
|
|
164
166
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -168,6 +170,7 @@ declare const ListMentionsCommand_base: {
|
|
|
168
170
|
* // memberCount: Number("int"), // required
|
|
169
171
|
* // channelVersion: Number("long"), // required
|
|
170
172
|
* // lastActivityAt: "STRING_VALUE", // required
|
|
173
|
+
* // peerId: "STRING_VALUE",
|
|
171
174
|
* // },
|
|
172
175
|
* // },
|
|
173
176
|
* // ],
|
|
@@ -153,6 +153,8 @@ declare const ListMessagesCommand_base: {
|
|
|
153
153
|
* // silent: true || false,
|
|
154
154
|
* // event: "STRING_VALUE",
|
|
155
155
|
* // pollId: "STRING_VALUE",
|
|
156
|
+
* // messenger: true || false,
|
|
157
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
156
158
|
* // },
|
|
157
159
|
* // ],
|
|
158
160
|
* // firstUnreadVisibleSeq: Number("long"),
|
|
@@ -81,6 +81,10 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
81
81
|
* autoRecord: true || false,
|
|
82
82
|
* transcriptionLanguage: "STRING_VALUE",
|
|
83
83
|
* wizyGuestViewOnly: true || false,
|
|
84
|
+
* messenger: true || false,
|
|
85
|
+
* messengerStatus: "window_closed",
|
|
86
|
+
* messengerPageId: "STRING_VALUE",
|
|
87
|
+
* messengerReplyUntil: Number("long"),
|
|
84
88
|
* },
|
|
85
89
|
* unset: [ // GroupChannelUnsetOptionsList
|
|
86
90
|
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee" || "sms" || "mms" || "whatsapp",
|
|
@@ -103,6 +107,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
103
107
|
* // userId: "STRING_VALUE", // required
|
|
104
108
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
105
109
|
* // text: "STRING_VALUE",
|
|
110
|
+
* // pollId: "STRING_VALUE",
|
|
106
111
|
* // event: "STRING_VALUE",
|
|
107
112
|
* // createdAt: "STRING_VALUE", // required
|
|
108
113
|
* // },
|
|
@@ -119,6 +124,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
119
124
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
120
125
|
* // "STRING_VALUE",
|
|
121
126
|
* // ],
|
|
127
|
+
* // peerId: "STRING_VALUE",
|
|
122
128
|
* // subject: "STRING_VALUE",
|
|
123
129
|
* // description: "STRING_VALUE",
|
|
124
130
|
* // picture: "STRING_VALUE",
|
|
@@ -158,6 +164,10 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
158
164
|
* // autoRecord: true || false,
|
|
159
165
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
160
166
|
* // wizyGuestViewOnly: true || false,
|
|
167
|
+
* // messenger: true || false,
|
|
168
|
+
* // messengerStatus: "window_closed",
|
|
169
|
+
* // messengerPageId: "STRING_VALUE",
|
|
170
|
+
* // messengerReplyUntil: Number("long"),
|
|
161
171
|
* // },
|
|
162
172
|
* // };
|
|
163
173
|
*
|
|
@@ -219,6 +219,8 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
219
219
|
* // silent: true || false,
|
|
220
220
|
* // event: "STRING_VALUE",
|
|
221
221
|
* // pollId: "STRING_VALUE",
|
|
222
|
+
* // messenger: true || false,
|
|
223
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
222
224
|
* // },
|
|
223
225
|
* // };
|
|
224
226
|
*
|
|
@@ -150,6 +150,8 @@ declare const PinMessageCommand_base: {
|
|
|
150
150
|
* // silent: true || false,
|
|
151
151
|
* // event: "STRING_VALUE",
|
|
152
152
|
* // pollId: "STRING_VALUE",
|
|
153
|
+
* // messenger: true || false,
|
|
154
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
153
155
|
* // },
|
|
154
156
|
* // };
|
|
155
157
|
*
|
|
@@ -63,6 +63,7 @@ declare const QueryChannelsCommand_base: {
|
|
|
63
63
|
* // userId: "STRING_VALUE", // required
|
|
64
64
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
65
65
|
* // text: "STRING_VALUE",
|
|
66
|
+
* // pollId: "STRING_VALUE",
|
|
66
67
|
* // event: "STRING_VALUE",
|
|
67
68
|
* // createdAt: "STRING_VALUE", // required
|
|
68
69
|
* // },
|
|
@@ -79,6 +80,7 @@ declare const QueryChannelsCommand_base: {
|
|
|
79
80
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
80
81
|
* // "STRING_VALUE",
|
|
81
82
|
* // ],
|
|
83
|
+
* // peerId: "STRING_VALUE",
|
|
82
84
|
* // subject: "STRING_VALUE",
|
|
83
85
|
* // description: "STRING_VALUE",
|
|
84
86
|
* // picture: "STRING_VALUE",
|
|
@@ -118,6 +120,10 @@ declare const QueryChannelsCommand_base: {
|
|
|
118
120
|
* // autoRecord: true || false,
|
|
119
121
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
120
122
|
* // wizyGuestViewOnly: true || false,
|
|
123
|
+
* // messenger: true || false,
|
|
124
|
+
* // messengerStatus: "window_closed",
|
|
125
|
+
* // messengerPageId: "STRING_VALUE",
|
|
126
|
+
* // messengerReplyUntil: Number("long"),
|
|
121
127
|
* // inbox: { // InboxState
|
|
122
128
|
* // sectionIds: [ // SectionIdList // required
|
|
123
129
|
* // "STRING_VALUE",
|
|
@@ -65,6 +65,7 @@ declare const SearchChannelsCommand_base: {
|
|
|
65
65
|
* // userId: "STRING_VALUE", // required
|
|
66
66
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
67
67
|
* // text: "STRING_VALUE",
|
|
68
|
+
* // pollId: "STRING_VALUE",
|
|
68
69
|
* // event: "STRING_VALUE",
|
|
69
70
|
* // createdAt: "STRING_VALUE", // required
|
|
70
71
|
* // },
|
|
@@ -81,6 +82,7 @@ declare const SearchChannelsCommand_base: {
|
|
|
81
82
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
82
83
|
* // "STRING_VALUE",
|
|
83
84
|
* // ],
|
|
85
|
+
* // peerId: "STRING_VALUE",
|
|
84
86
|
* // subject: "STRING_VALUE",
|
|
85
87
|
* // description: "STRING_VALUE",
|
|
86
88
|
* // picture: "STRING_VALUE",
|
|
@@ -120,6 +122,10 @@ declare const SearchChannelsCommand_base: {
|
|
|
120
122
|
* // autoRecord: true || false,
|
|
121
123
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
122
124
|
* // wizyGuestViewOnly: true || false,
|
|
125
|
+
* // messenger: true || false,
|
|
126
|
+
* // messengerStatus: "window_closed",
|
|
127
|
+
* // messengerPageId: "STRING_VALUE",
|
|
128
|
+
* // messengerReplyUntil: Number("long"),
|
|
123
129
|
* // },
|
|
124
130
|
* // highlights: [ // StringList
|
|
125
131
|
* // "STRING_VALUE",
|
|
@@ -167,6 +167,8 @@ declare const SearchMessagesCommand_base: {
|
|
|
167
167
|
* // silent: true || false,
|
|
168
168
|
* // event: "STRING_VALUE",
|
|
169
169
|
* // pollId: "STRING_VALUE",
|
|
170
|
+
* // messenger: true || false,
|
|
171
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
170
172
|
* // },
|
|
171
173
|
* // highlights: [ // StringList
|
|
172
174
|
* // "STRING_VALUE",
|
|
@@ -165,6 +165,8 @@ declare const SendGiphyCommand_base: {
|
|
|
165
165
|
* // silent: true || false,
|
|
166
166
|
* // event: "STRING_VALUE",
|
|
167
167
|
* // pollId: "STRING_VALUE",
|
|
168
|
+
* // messenger: true || false,
|
|
169
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
168
170
|
* // },
|
|
169
171
|
* // };
|
|
170
172
|
*
|
|
@@ -215,6 +215,8 @@ declare const SendMessageCommand_base: {
|
|
|
215
215
|
* // silent: true || false,
|
|
216
216
|
* // event: "STRING_VALUE",
|
|
217
217
|
* // pollId: "STRING_VALUE",
|
|
218
|
+
* // messenger: true || false,
|
|
219
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
218
220
|
* // },
|
|
219
221
|
* // };
|
|
220
222
|
*
|
|
@@ -151,6 +151,8 @@ declare const SendMessageReactionCommand_base: {
|
|
|
151
151
|
* // silent: true || false,
|
|
152
152
|
* // event: "STRING_VALUE",
|
|
153
153
|
* // pollId: "STRING_VALUE",
|
|
154
|
+
* // messenger: true || false,
|
|
155
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
154
156
|
* // },
|
|
155
157
|
* // };
|
|
156
158
|
*
|
|
@@ -159,6 +159,8 @@ declare const SendSystemMessageCommand_base: {
|
|
|
159
159
|
* // silent: true || false,
|
|
160
160
|
* // event: "STRING_VALUE",
|
|
161
161
|
* // pollId: "STRING_VALUE",
|
|
162
|
+
* // messenger: true || false,
|
|
163
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
162
164
|
* // },
|
|
163
165
|
* // };
|
|
164
166
|
*
|
|
@@ -150,6 +150,8 @@ declare const UnpinMessageCommand_base: {
|
|
|
150
150
|
* // silent: true || false,
|
|
151
151
|
* // event: "STRING_VALUE",
|
|
152
152
|
* // pollId: "STRING_VALUE",
|
|
153
|
+
* // messenger: true || false,
|
|
154
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
153
155
|
* // },
|
|
154
156
|
* // };
|
|
155
157
|
*
|
|
@@ -78,6 +78,10 @@ declare const UpdateChannelCommand_base: {
|
|
|
78
78
|
* autoRecord: true || false,
|
|
79
79
|
* transcriptionLanguage: "STRING_VALUE",
|
|
80
80
|
* wizyGuestViewOnly: true || false,
|
|
81
|
+
* messenger: true || false,
|
|
82
|
+
* messengerStatus: "window_closed",
|
|
83
|
+
* messengerPageId: "STRING_VALUE",
|
|
84
|
+
* messengerReplyUntil: Number("long"),
|
|
81
85
|
* channelId: "STRING_VALUE", // required
|
|
82
86
|
* silent: true || false,
|
|
83
87
|
* };
|
|
@@ -98,6 +102,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
98
102
|
* // userId: "STRING_VALUE", // required
|
|
99
103
|
* // messageType: "regular" || "system" || "deleted", // required
|
|
100
104
|
* // text: "STRING_VALUE",
|
|
105
|
+
* // pollId: "STRING_VALUE",
|
|
101
106
|
* // event: "STRING_VALUE",
|
|
102
107
|
* // createdAt: "STRING_VALUE", // required
|
|
103
108
|
* // },
|
|
@@ -114,6 +119,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
114
119
|
* // pinnedMessageIds: [ // PinnedMessageIdList
|
|
115
120
|
* // "STRING_VALUE",
|
|
116
121
|
* // ],
|
|
122
|
+
* // peerId: "STRING_VALUE",
|
|
117
123
|
* // subject: "STRING_VALUE",
|
|
118
124
|
* // description: "STRING_VALUE",
|
|
119
125
|
* // picture: "STRING_VALUE",
|
|
@@ -153,6 +159,10 @@ declare const UpdateChannelCommand_base: {
|
|
|
153
159
|
* // autoRecord: true || false,
|
|
154
160
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
155
161
|
* // wizyGuestViewOnly: true || false,
|
|
162
|
+
* // messenger: true || false,
|
|
163
|
+
* // messengerStatus: "window_closed",
|
|
164
|
+
* // messengerPageId: "STRING_VALUE",
|
|
165
|
+
* // messengerReplyUntil: Number("long"),
|
|
156
166
|
* // },
|
|
157
167
|
* // };
|
|
158
168
|
*
|
|
@@ -214,6 +214,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
214
214
|
* // silent: true || false,
|
|
215
215
|
* // event: "STRING_VALUE",
|
|
216
216
|
* // pollId: "STRING_VALUE",
|
|
217
|
+
* // messenger: true || false,
|
|
218
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
217
219
|
* // },
|
|
218
220
|
* // };
|
|
219
221
|
*
|
|
@@ -112,6 +112,17 @@ export declare const MessageType: {
|
|
|
112
112
|
* @public
|
|
113
113
|
*/
|
|
114
114
|
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
* @enum
|
|
118
|
+
*/
|
|
119
|
+
export declare const ChannelMessengerStatus: {
|
|
120
|
+
readonly WINDOW_CLOSED: "window_closed";
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export type ChannelMessengerStatus = (typeof ChannelMessengerStatus)[keyof typeof ChannelMessengerStatus];
|
|
115
126
|
/**
|
|
116
127
|
* @public
|
|
117
128
|
* @enum
|
|
@@ -210,6 +221,20 @@ export declare const SectionType: {
|
|
|
210
221
|
* @public
|
|
211
222
|
*/
|
|
212
223
|
export type SectionType = (typeof SectionType)[keyof typeof SectionType];
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
* @enum
|
|
227
|
+
*/
|
|
228
|
+
export declare const MessageMessengerStatus: {
|
|
229
|
+
readonly DELIVERED: "delivered";
|
|
230
|
+
readonly ERROR: "error";
|
|
231
|
+
readonly SENT: "sent";
|
|
232
|
+
readonly TRYING: "trying";
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
export type MessageMessengerStatus = (typeof MessageMessengerStatus)[keyof typeof MessageMessengerStatus];
|
|
213
238
|
export declare enum DownloadStrategy {
|
|
214
239
|
DEFAULT = 0,
|
|
215
240
|
DOWNLOAD = 1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageAnchor, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, SearchSort, SectionType } from "./enums";
|
|
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";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -376,6 +376,11 @@ export interface LastMessagePreview {
|
|
|
376
376
|
* @public
|
|
377
377
|
*/
|
|
378
378
|
text?: string | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* Poll identifier when the message is a poll, so a preview can be rendered as one. Absent for a deleted message; the poll body is not stored.
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
pollId?: string | undefined;
|
|
379
384
|
/**
|
|
380
385
|
* System event identifier for client rendering.
|
|
381
386
|
* @public
|
|
@@ -447,6 +452,11 @@ export interface Channel {
|
|
|
447
452
|
* @public
|
|
448
453
|
*/
|
|
449
454
|
pinnedMessageIds?: string[] | undefined;
|
|
455
|
+
/**
|
|
456
|
+
* Direct channels only: the other member's user id, relative to the caller. Absent for group channels and for direct channels that do not have exactly two members.
|
|
457
|
+
* @public
|
|
458
|
+
*/
|
|
459
|
+
peerId?: string | undefined;
|
|
450
460
|
/**
|
|
451
461
|
* The subject of the channel.
|
|
452
462
|
* @public
|
|
@@ -524,6 +534,26 @@ export interface Channel {
|
|
|
524
534
|
* @public
|
|
525
535
|
*/
|
|
526
536
|
wizyGuestViewOnly?: boolean | undefined;
|
|
537
|
+
/**
|
|
538
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
539
|
+
* @public
|
|
540
|
+
*/
|
|
541
|
+
messenger?: boolean | undefined;
|
|
542
|
+
/**
|
|
543
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
546
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* 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.
|
|
549
|
+
* @public
|
|
550
|
+
*/
|
|
551
|
+
messengerPageId?: string | undefined;
|
|
552
|
+
/**
|
|
553
|
+
* 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.
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
messengerReplyUntil?: number | undefined;
|
|
527
557
|
}
|
|
528
558
|
/**
|
|
529
559
|
* Read pointer for one channel member.
|
|
@@ -640,6 +670,26 @@ export interface CreateGroupChannelInput {
|
|
|
640
670
|
* @public
|
|
641
671
|
*/
|
|
642
672
|
wizyGuestViewOnly?: boolean | undefined;
|
|
673
|
+
/**
|
|
674
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
677
|
+
messenger?: boolean | undefined;
|
|
678
|
+
/**
|
|
679
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
680
|
+
* @public
|
|
681
|
+
*/
|
|
682
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
683
|
+
/**
|
|
684
|
+
* 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.
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
messengerPageId?: string | undefined;
|
|
688
|
+
/**
|
|
689
|
+
* 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.
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
692
|
+
messengerReplyUntil?: number | undefined;
|
|
643
693
|
/**
|
|
644
694
|
* Optional client-supplied channel id.
|
|
645
695
|
* @public
|
|
@@ -1334,6 +1384,12 @@ export interface Message {
|
|
|
1334
1384
|
* @public
|
|
1335
1385
|
*/
|
|
1336
1386
|
pollId?: string | undefined;
|
|
1387
|
+
messenger?: boolean | undefined;
|
|
1388
|
+
/**
|
|
1389
|
+
* 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.
|
|
1390
|
+
* @public
|
|
1391
|
+
*/
|
|
1392
|
+
messengerStatus?: MessageMessengerStatus | undefined;
|
|
1337
1393
|
}
|
|
1338
1394
|
/**
|
|
1339
1395
|
* @public
|
|
@@ -1630,6 +1686,11 @@ export interface InboxChannel {
|
|
|
1630
1686
|
* @public
|
|
1631
1687
|
*/
|
|
1632
1688
|
pinnedMessageIds?: string[] | undefined;
|
|
1689
|
+
/**
|
|
1690
|
+
* Direct channels only: the other member's user id, relative to the caller. Absent for group channels and for direct channels that do not have exactly two members.
|
|
1691
|
+
* @public
|
|
1692
|
+
*/
|
|
1693
|
+
peerId?: string | undefined;
|
|
1633
1694
|
/**
|
|
1634
1695
|
* The subject of the channel.
|
|
1635
1696
|
* @public
|
|
@@ -1707,6 +1768,26 @@ export interface InboxChannel {
|
|
|
1707
1768
|
* @public
|
|
1708
1769
|
*/
|
|
1709
1770
|
wizyGuestViewOnly?: boolean | undefined;
|
|
1771
|
+
/**
|
|
1772
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
1773
|
+
* @public
|
|
1774
|
+
*/
|
|
1775
|
+
messenger?: boolean | undefined;
|
|
1776
|
+
/**
|
|
1777
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
1778
|
+
* @public
|
|
1779
|
+
*/
|
|
1780
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
1781
|
+
/**
|
|
1782
|
+
* 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.
|
|
1783
|
+
* @public
|
|
1784
|
+
*/
|
|
1785
|
+
messengerPageId?: string | undefined;
|
|
1786
|
+
/**
|
|
1787
|
+
* 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.
|
|
1788
|
+
* @public
|
|
1789
|
+
*/
|
|
1790
|
+
messengerReplyUntil?: number | undefined;
|
|
1710
1791
|
/**
|
|
1711
1792
|
* Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
|
|
1712
1793
|
* @public
|
|
@@ -2346,6 +2427,11 @@ export interface MentionChannelPreview {
|
|
|
2346
2427
|
* @public
|
|
2347
2428
|
*/
|
|
2348
2429
|
lastActivityAt: string;
|
|
2430
|
+
/**
|
|
2431
|
+
* Direct channels only: the other member's user id, relative to the caller. Absent for group channels and for direct channels that do not have exactly two members.
|
|
2432
|
+
* @public
|
|
2433
|
+
*/
|
|
2434
|
+
peerId?: string | undefined;
|
|
2349
2435
|
}
|
|
2350
2436
|
/**
|
|
2351
2437
|
* Mention entry. Identifies a message that mentioned the current user, with the user's read state and an embedded copy of the message and its channel.
|
|
@@ -2678,6 +2764,26 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2678
2764
|
* @public
|
|
2679
2765
|
*/
|
|
2680
2766
|
wizyGuestViewOnly?: boolean | undefined;
|
|
2767
|
+
/**
|
|
2768
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
2769
|
+
* @public
|
|
2770
|
+
*/
|
|
2771
|
+
messenger?: boolean | undefined;
|
|
2772
|
+
/**
|
|
2773
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
2774
|
+
* @public
|
|
2775
|
+
*/
|
|
2776
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
2777
|
+
/**
|
|
2778
|
+
* 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.
|
|
2779
|
+
* @public
|
|
2780
|
+
*/
|
|
2781
|
+
messengerPageId?: string | undefined;
|
|
2782
|
+
/**
|
|
2783
|
+
* 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.
|
|
2784
|
+
* @public
|
|
2785
|
+
*/
|
|
2786
|
+
messengerReplyUntil?: number | undefined;
|
|
2681
2787
|
}
|
|
2682
2788
|
/**
|
|
2683
2789
|
* @public
|
|
@@ -3593,6 +3699,26 @@ export interface UpdateChannelInput {
|
|
|
3593
3699
|
* @public
|
|
3594
3700
|
*/
|
|
3595
3701
|
wizyGuestViewOnly?: boolean | undefined;
|
|
3702
|
+
/**
|
|
3703
|
+
* Indicates if the channel supports Facebook Messenger. Default is false.
|
|
3704
|
+
* @public
|
|
3705
|
+
*/
|
|
3706
|
+
messenger?: boolean | undefined;
|
|
3707
|
+
/**
|
|
3708
|
+
* The Messenger reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
3709
|
+
* @public
|
|
3710
|
+
*/
|
|
3711
|
+
messengerStatus?: ChannelMessengerStatus | undefined;
|
|
3712
|
+
/**
|
|
3713
|
+
* 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.
|
|
3714
|
+
* @public
|
|
3715
|
+
*/
|
|
3716
|
+
messengerPageId?: string | undefined;
|
|
3717
|
+
/**
|
|
3718
|
+
* 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.
|
|
3719
|
+
* @public
|
|
3720
|
+
*/
|
|
3721
|
+
messengerReplyUntil?: number | undefined;
|
|
3596
3722
|
channelId: string;
|
|
3597
3723
|
silent?: boolean | undefined;
|
|
3598
3724
|
}
|
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.4",
|
|
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",
|