@wildix/stream-client 4.0.5 → 4.0.6
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/schemas/schemas_0.js +5 -4
- package/dist-es/schemas/schemas_0.js +5 -4
- package/dist-types/commands/GetInboxCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -0
- package/dist-types/commands/MarkReadCommand.d.ts +2 -0
- package/dist-types/commands/MarkUnreadCommand.d.ts +1 -0
- package/dist-types/commands/MoveChannelToSectionCommand.d.ts +1 -0
- package/dist-types/commands/MuteChannelCommand.d.ts +1 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +1 -0
- package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +1 -0
- package/dist-types/commands/UnmuteChannelCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +10 -0
- package/package.json +1 -1
|
@@ -346,6 +346,7 @@ const _lAA = "lastActivityAt";
|
|
|
346
346
|
const _lM = "lastMessage";
|
|
347
347
|
const _lR = "latestReactions";
|
|
348
348
|
const _lRA = "lastReadAt";
|
|
349
|
+
const _lRTS = "lastReadTimelineSeq";
|
|
349
350
|
const _lRVS = "lastReadVisibleSeq";
|
|
350
351
|
const _li = "link";
|
|
351
352
|
const _m = "message";
|
|
@@ -917,8 +918,8 @@ exports.InboxChannel$ = [3, n1, _IC,
|
|
|
917
918
|
];
|
|
918
919
|
exports.InboxState$ = [3, n1, _IS,
|
|
919
920
|
0,
|
|
920
|
-
[_sIe, _uC, _mUC, _hi, _mu, _pin, _lRVS, _lRA, _mU, _uMA],
|
|
921
|
-
[64 | 0, 1, 1, 2, 2, 2, 1, 0, 0, 1], 6
|
|
921
|
+
[_sIe, _uC, _mUC, _hi, _mu, _pin, _lRVS, _lRTS, _lRA, _mU, _uMA],
|
|
922
|
+
[64 | 0, 1, 1, 2, 2, 2, 1, 1, 0, 0, 1], 6
|
|
922
923
|
];
|
|
923
924
|
exports.InitialMessage$ = [3, n1, _IM,
|
|
924
925
|
0,
|
|
@@ -1002,8 +1003,8 @@ exports.ListMessagesOutput$ = [3, n1, _LMOi,
|
|
|
1002
1003
|
];
|
|
1003
1004
|
exports.MarkReadInput$ = [3, n1, _MRI,
|
|
1004
1005
|
0,
|
|
1005
|
-
[_cI, _cIo, _uI, _lRVS],
|
|
1006
|
-
[[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 1], 1
|
|
1006
|
+
[_cI, _cIo, _uI, _lRVS, _mIe],
|
|
1007
|
+
[[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 1, 0], 1
|
|
1007
1008
|
];
|
|
1008
1009
|
exports.MarkReadOutput$ = [3, n1, _MRO,
|
|
1009
1010
|
0,
|
|
@@ -339,6 +339,7 @@ const _lAA = "lastActivityAt";
|
|
|
339
339
|
const _lM = "lastMessage";
|
|
340
340
|
const _lR = "latestReactions";
|
|
341
341
|
const _lRA = "lastReadAt";
|
|
342
|
+
const _lRTS = "lastReadTimelineSeq";
|
|
342
343
|
const _lRVS = "lastReadVisibleSeq";
|
|
343
344
|
const _li = "link";
|
|
344
345
|
const _m = "message";
|
|
@@ -910,8 +911,8 @@ export var InboxChannel$ = [3, n1, _IC,
|
|
|
910
911
|
];
|
|
911
912
|
export var InboxState$ = [3, n1, _IS,
|
|
912
913
|
0,
|
|
913
|
-
[_sIe, _uC, _mUC, _hi, _mu, _pin, _lRVS, _lRA, _mU, _uMA],
|
|
914
|
-
[64 | 0, 1, 1, 2, 2, 2, 1, 0, 0, 1], 6
|
|
914
|
+
[_sIe, _uC, _mUC, _hi, _mu, _pin, _lRVS, _lRTS, _lRA, _mU, _uMA],
|
|
915
|
+
[64 | 0, 1, 1, 2, 2, 2, 1, 1, 0, 0, 1], 6
|
|
915
916
|
];
|
|
916
917
|
export var InitialMessage$ = [3, n1, _IM,
|
|
917
918
|
0,
|
|
@@ -995,8 +996,8 @@ export var ListMessagesOutput$ = [3, n1, _LMOi,
|
|
|
995
996
|
];
|
|
996
997
|
export var MarkReadInput$ = [3, n1, _MRI,
|
|
997
998
|
0,
|
|
998
|
-
[_cI, _cIo, _uI, _lRVS],
|
|
999
|
-
[[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 1], 1
|
|
999
|
+
[_cI, _cIo, _uI, _lRVS, _mIe],
|
|
1000
|
+
[[0, 1], [0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], 1, 0], 1
|
|
1000
1001
|
];
|
|
1001
1002
|
export var MarkReadOutput$ = [3, n1, _MRO,
|
|
1002
1003
|
0,
|
|
@@ -120,6 +120,7 @@ declare const GetInboxCommand_base: {
|
|
|
120
120
|
* // unreadCount: Number("int"), // required
|
|
121
121
|
* // mentionUnreadCount: Number("int"), // required
|
|
122
122
|
* // lastReadVisibleSeq: Number("long"),
|
|
123
|
+
* // lastReadTimelineSeq: Number("long"),
|
|
123
124
|
* // lastReadAt: "STRING_VALUE",
|
|
124
125
|
* // hidden: true || false, // required
|
|
125
126
|
* // muted: true || false, // required
|
|
@@ -123,6 +123,7 @@ declare const ListChannelsCommand_base: {
|
|
|
123
123
|
* // unreadCount: Number("int"), // required
|
|
124
124
|
* // mentionUnreadCount: Number("int"), // required
|
|
125
125
|
* // lastReadVisibleSeq: Number("long"),
|
|
126
|
+
* // lastReadTimelineSeq: Number("long"),
|
|
126
127
|
* // lastReadAt: "STRING_VALUE",
|
|
127
128
|
* // hidden: true || false, // required
|
|
128
129
|
* // muted: true || false, // required
|
|
@@ -41,6 +41,7 @@ declare const MarkReadCommand_base: {
|
|
|
41
41
|
* userId: "STRING_VALUE",
|
|
42
42
|
* channelId: "STRING_VALUE", // required
|
|
43
43
|
* lastReadVisibleSeq: Number("long"),
|
|
44
|
+
* messageId: "STRING_VALUE",
|
|
44
45
|
* };
|
|
45
46
|
* const command = new MarkReadCommand(input);
|
|
46
47
|
* const response = await client.send(command);
|
|
@@ -52,6 +53,7 @@ declare const MarkReadCommand_base: {
|
|
|
52
53
|
* // unreadCount: Number("int"), // required
|
|
53
54
|
* // mentionUnreadCount: Number("int"), // required
|
|
54
55
|
* // lastReadVisibleSeq: Number("long"),
|
|
56
|
+
* // lastReadTimelineSeq: Number("long"),
|
|
55
57
|
* // lastReadAt: "STRING_VALUE",
|
|
56
58
|
* // hidden: true || false, // required
|
|
57
59
|
* // muted: true || false, // required
|
|
@@ -54,6 +54,7 @@ declare const MarkUnreadCommand_base: {
|
|
|
54
54
|
* // unreadCount: Number("int"), // required
|
|
55
55
|
* // mentionUnreadCount: Number("int"), // required
|
|
56
56
|
* // lastReadVisibleSeq: Number("long"),
|
|
57
|
+
* // lastReadTimelineSeq: Number("long"),
|
|
57
58
|
* // lastReadAt: "STRING_VALUE",
|
|
58
59
|
* // hidden: true || false, // required
|
|
59
60
|
* // muted: true || false, // required
|
|
@@ -52,6 +52,7 @@ declare const MoveChannelToSectionCommand_base: {
|
|
|
52
52
|
* // unreadCount: Number("int"), // required
|
|
53
53
|
* // mentionUnreadCount: Number("int"), // required
|
|
54
54
|
* // lastReadVisibleSeq: Number("long"),
|
|
55
|
+
* // lastReadTimelineSeq: Number("long"),
|
|
55
56
|
* // lastReadAt: "STRING_VALUE",
|
|
56
57
|
* // hidden: true || false, // required
|
|
57
58
|
* // muted: true || false, // required
|
|
@@ -52,6 +52,7 @@ declare const MuteChannelCommand_base: {
|
|
|
52
52
|
* // unreadCount: Number("int"), // required
|
|
53
53
|
* // mentionUnreadCount: Number("int"), // required
|
|
54
54
|
* // lastReadVisibleSeq: Number("long"),
|
|
55
|
+
* // lastReadTimelineSeq: Number("long"),
|
|
55
56
|
* // lastReadAt: "STRING_VALUE",
|
|
56
57
|
* // hidden: true || false, // required
|
|
57
58
|
* // muted: true || false, // required
|
|
@@ -125,6 +125,7 @@ declare const QueryChannelsCommand_base: {
|
|
|
125
125
|
* // unreadCount: Number("int"), // required
|
|
126
126
|
* // mentionUnreadCount: Number("int"), // required
|
|
127
127
|
* // lastReadVisibleSeq: Number("long"),
|
|
128
|
+
* // lastReadTimelineSeq: Number("long"),
|
|
128
129
|
* // lastReadAt: "STRING_VALUE",
|
|
129
130
|
* // hidden: true || false, // required
|
|
130
131
|
* // muted: true || false, // required
|
|
@@ -52,6 +52,7 @@ declare const RemoveChannelFromSectionCommand_base: {
|
|
|
52
52
|
* // unreadCount: Number("int"), // required
|
|
53
53
|
* // mentionUnreadCount: Number("int"), // required
|
|
54
54
|
* // lastReadVisibleSeq: Number("long"),
|
|
55
|
+
* // lastReadTimelineSeq: Number("long"),
|
|
55
56
|
* // lastReadAt: "STRING_VALUE",
|
|
56
57
|
* // hidden: true || false, // required
|
|
57
58
|
* // muted: true || false, // required
|
|
@@ -51,6 +51,7 @@ declare const UnmuteChannelCommand_base: {
|
|
|
51
51
|
* // unreadCount: Number("int"), // required
|
|
52
52
|
* // mentionUnreadCount: Number("int"), // required
|
|
53
53
|
* // lastReadVisibleSeq: Number("long"),
|
|
54
|
+
* // lastReadTimelineSeq: Number("long"),
|
|
54
55
|
* // lastReadAt: "STRING_VALUE",
|
|
55
56
|
* // hidden: true || false, // required
|
|
56
57
|
* // muted: true || false, // required
|
|
@@ -1528,6 +1528,11 @@ export interface InboxState {
|
|
|
1528
1528
|
* @public
|
|
1529
1529
|
*/
|
|
1530
1530
|
lastReadVisibleSeq?: number | undefined;
|
|
1531
|
+
/**
|
|
1532
|
+
* Timeline anchor paired with lastReadVisibleSeq: the timelineSeq boundary of the read cursor. Every read message has timelineSeq <= this; the first unread visible message has timelineSeq > this. Absent until the cursor is next written. Use as ListMessages(from:) to jump to the first unread message.
|
|
1533
|
+
* @public
|
|
1534
|
+
*/
|
|
1535
|
+
lastReadTimelineSeq?: number | undefined;
|
|
1531
1536
|
/**
|
|
1532
1537
|
* Timestamp of the most recent read event.
|
|
1533
1538
|
* @public
|
|
@@ -2445,6 +2450,11 @@ export interface MarkReadInput {
|
|
|
2445
2450
|
* @public
|
|
2446
2451
|
*/
|
|
2447
2452
|
lastReadVisibleSeq?: number | undefined;
|
|
2453
|
+
/**
|
|
2454
|
+
* Message the user read up to. Authoritative when present: resolves both the read pointer (its visibleSeq) and the timeline anchor (its timelineSeq).
|
|
2455
|
+
* @public
|
|
2456
|
+
*/
|
|
2457
|
+
messageId?: string | undefined;
|
|
2448
2458
|
}
|
|
2449
2459
|
/**
|
|
2450
2460
|
* @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.0.
|
|
4
|
+
"version": "4.0.6",
|
|
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",
|