@wildix/stream-client 4.0.10 → 4.1.2

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.
@@ -326,6 +326,7 @@ const _hA = "hasAttachments";
326
326
  const _hE = "httpError";
327
327
  const _hH = "httpHeader";
328
328
  const _hHi = "hideHistory";
329
+ const _hL = "hasLinks";
329
330
  const _hQ = "httpQuery";
330
331
  const _he = "height";
331
332
  const _hi = "hidden";
@@ -411,6 +412,7 @@ const _ro = "role";
411
412
  const _s = "smithy.ts.sdk.synthetic.wildix.stream";
412
413
  const _sI = "sectionId";
413
414
  const _sIe = "sectionIds";
415
+ const _sIen = "senderIds";
414
416
  const _sR = "serviceRecipient";
415
417
  const _sS = "smsStatus";
416
418
  const _sT = "serviceTitle";
@@ -921,8 +923,8 @@ exports.InboxChannel$ = [3, n1, _IC,
921
923
  ];
922
924
  exports.InboxState$ = [3, n1, _IS,
923
925
  0,
924
- [_sIe, _uC, _mUC, _hi, _mu, _pin, _lRVS, _lRTS, _lRA, _mU, _uMA],
925
- [64 | 0, 1, 1, 2, 2, 2, 1, 1, 0, 0, 1], 6
926
+ [_sIe, _uC, _mUC, _hi, _mu, _pin, _lRVS, _lRTS, _lRA, _mU, _pA, _uMA],
927
+ [64 | 0, 1, 1, 2, 2, 2, 1, 1, 0, 0, 0, 1], 6
926
928
  ];
927
929
  exports.InitialMessage$ = [3, n1, _IM,
928
930
  0,
@@ -1211,8 +1213,8 @@ exports.SearchMessageHit$ = [3, n1, _SMH,
1211
1213
  ];
1212
1214
  exports.SearchMessagesInput$ = [3, n1, _SMI,
1213
1215
  0,
1214
- [_cIo, _uI, _q_, _cI, _hA, _aT, _mTi, _siz, _cu, _sor],
1215
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _q_ }], [0, { [_hQ]: _cI }], [2, { [_hQ]: _hA }], [64 | 0, { [_hQ]: _aT }], [64 | 0, { [_hQ]: _mTi }], [1, { [_hQ]: _siz }], [0, { [_hQ]: _cu }], [0, { [_hQ]: _sor }]]
1216
+ [_cIo, _uI, _q_, _cI, _hA, _aT, _mTi, _hL, _sIen, _siz, _cu, _sor],
1217
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _q_ }], [0, { [_hQ]: _cI }], [2, { [_hQ]: _hA }], [64 | 0, { [_hQ]: _aT }], [64 | 0, { [_hQ]: _mTi }], [2, { [_hQ]: _hL }], [64 | 0, { [_hQ]: _sIen }], [1, { [_hQ]: _siz }], [0, { [_hQ]: _cu }], [0, { [_hQ]: _sor }]]
1216
1218
  ];
1217
1219
  exports.SearchMessagesOutput$ = [3, n1, _SMO,
1218
1220
  0,
@@ -1435,6 +1437,7 @@ var SectionIdList = 64 | 0;
1435
1437
  var SectionList = [1, n1, _SL,
1436
1438
  0, () => exports.Section$
1437
1439
  ];
1440
+ var SenderIdList = 64 | 0;
1438
1441
  var UserIdList = 64 | 0;
1439
1442
  var UserToInviteList = [1, n1, _UTIL,
1440
1443
  0, () => exports.UserToInvite$
@@ -319,6 +319,7 @@ const _hA = "hasAttachments";
319
319
  const _hE = "httpError";
320
320
  const _hH = "httpHeader";
321
321
  const _hHi = "hideHistory";
322
+ const _hL = "hasLinks";
322
323
  const _hQ = "httpQuery";
323
324
  const _he = "height";
324
325
  const _hi = "hidden";
@@ -404,6 +405,7 @@ const _ro = "role";
404
405
  const _s = "smithy.ts.sdk.synthetic.wildix.stream";
405
406
  const _sI = "sectionId";
406
407
  const _sIe = "sectionIds";
408
+ const _sIen = "senderIds";
407
409
  const _sR = "serviceRecipient";
408
410
  const _sS = "smsStatus";
409
411
  const _sT = "serviceTitle";
@@ -914,8 +916,8 @@ export var InboxChannel$ = [3, n1, _IC,
914
916
  ];
915
917
  export var InboxState$ = [3, n1, _IS,
916
918
  0,
917
- [_sIe, _uC, _mUC, _hi, _mu, _pin, _lRVS, _lRTS, _lRA, _mU, _uMA],
918
- [64 | 0, 1, 1, 2, 2, 2, 1, 1, 0, 0, 1], 6
919
+ [_sIe, _uC, _mUC, _hi, _mu, _pin, _lRVS, _lRTS, _lRA, _mU, _pA, _uMA],
920
+ [64 | 0, 1, 1, 2, 2, 2, 1, 1, 0, 0, 0, 1], 6
919
921
  ];
920
922
  export var InitialMessage$ = [3, n1, _IM,
921
923
  0,
@@ -1204,8 +1206,8 @@ export var SearchMessageHit$ = [3, n1, _SMH,
1204
1206
  ];
1205
1207
  export var SearchMessagesInput$ = [3, n1, _SMI,
1206
1208
  0,
1207
- [_cIo, _uI, _q_, _cI, _hA, _aT, _mTi, _siz, _cu, _sor],
1208
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _q_ }], [0, { [_hQ]: _cI }], [2, { [_hQ]: _hA }], [64 | 0, { [_hQ]: _aT }], [64 | 0, { [_hQ]: _mTi }], [1, { [_hQ]: _siz }], [0, { [_hQ]: _cu }], [0, { [_hQ]: _sor }]]
1209
+ [_cIo, _uI, _q_, _cI, _hA, _aT, _mTi, _hL, _sIen, _siz, _cu, _sor],
1210
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _uI }], [0, { [_hQ]: _q_ }], [0, { [_hQ]: _cI }], [2, { [_hQ]: _hA }], [64 | 0, { [_hQ]: _aT }], [64 | 0, { [_hQ]: _mTi }], [2, { [_hQ]: _hL }], [64 | 0, { [_hQ]: _sIen }], [1, { [_hQ]: _siz }], [0, { [_hQ]: _cu }], [0, { [_hQ]: _sor }]]
1209
1211
  ];
1210
1212
  export var SearchMessagesOutput$ = [3, n1, _SMO,
1211
1213
  0,
@@ -1428,6 +1430,7 @@ var SectionIdList = 64 | 0;
1428
1430
  var SectionList = [1, n1, _SL,
1429
1431
  0, () => Section$
1430
1432
  ];
1433
+ var SenderIdList = 64 | 0;
1431
1434
  var UserIdList = 64 | 0;
1432
1435
  var UserToInviteList = [1, n1, _UTIL,
1433
1436
  0, () => UserToInvite$
@@ -126,6 +126,7 @@ declare const GetInboxCommand_base: {
126
126
  * // muted: true || false, // required
127
127
  * // mutedUntil: "STRING_VALUE",
128
128
  * // pinned: true || false, // required
129
+ * // pinnedAt: "STRING_VALUE",
129
130
  * // unreadMarkAt: Number("long"),
130
131
  * // },
131
132
  * // },
@@ -129,6 +129,7 @@ declare const ListChannelsCommand_base: {
129
129
  * // muted: true || false, // required
130
130
  * // mutedUntil: "STRING_VALUE",
131
131
  * // pinned: true || false, // required
132
+ * // pinnedAt: "STRING_VALUE",
132
133
  * // unreadMarkAt: Number("long"),
133
134
  * // },
134
135
  * // },
@@ -59,6 +59,7 @@ declare const MarkReadCommand_base: {
59
59
  * // muted: true || false, // required
60
60
  * // mutedUntil: "STRING_VALUE",
61
61
  * // pinned: true || false, // required
62
+ * // pinnedAt: "STRING_VALUE",
62
63
  * // unreadMarkAt: Number("long"),
63
64
  * // },
64
65
  * // };
@@ -60,6 +60,7 @@ declare const MarkUnreadCommand_base: {
60
60
  * // muted: true || false, // required
61
61
  * // mutedUntil: "STRING_VALUE",
62
62
  * // pinned: true || false, // required
63
+ * // pinnedAt: "STRING_VALUE",
63
64
  * // unreadMarkAt: Number("long"),
64
65
  * // },
65
66
  * // };
@@ -58,6 +58,7 @@ declare const MoveChannelToSectionCommand_base: {
58
58
  * // muted: true || false, // required
59
59
  * // mutedUntil: "STRING_VALUE",
60
60
  * // pinned: true || false, // required
61
+ * // pinnedAt: "STRING_VALUE",
61
62
  * // unreadMarkAt: Number("long"),
62
63
  * // },
63
64
  * // };
@@ -58,6 +58,7 @@ declare const MuteChannelCommand_base: {
58
58
  * // muted: true || false, // required
59
59
  * // mutedUntil: "STRING_VALUE",
60
60
  * // pinned: true || false, // required
61
+ * // pinnedAt: "STRING_VALUE",
61
62
  * // unreadMarkAt: Number("long"),
62
63
  * // },
63
64
  * // };
@@ -131,6 +131,7 @@ declare const QueryChannelsCommand_base: {
131
131
  * // muted: true || false, // required
132
132
  * // mutedUntil: "STRING_VALUE",
133
133
  * // pinned: true || false, // required
134
+ * // pinnedAt: "STRING_VALUE",
134
135
  * // unreadMarkAt: Number("long"),
135
136
  * // },
136
137
  * // },
@@ -58,6 +58,7 @@ declare const RemoveChannelFromSectionCommand_base: {
58
58
  * // muted: true || false, // required
59
59
  * // mutedUntil: "STRING_VALUE",
60
60
  * // pinned: true || false, // required
61
+ * // pinnedAt: "STRING_VALUE",
61
62
  * // unreadMarkAt: Number("long"),
62
63
  * // },
63
64
  * // };
@@ -48,6 +48,10 @@ declare const SearchMessagesCommand_base: {
48
48
  * mimeTypes: [ // MimeTypeList
49
49
  * "STRING_VALUE",
50
50
  * ],
51
+ * hasLinks: true || false,
52
+ * senderIds: [ // SenderIdList
53
+ * "STRING_VALUE",
54
+ * ],
51
55
  * size: Number("int"),
52
56
  * cursor: "STRING_VALUE",
53
57
  * sort: "relevance" || "recency" || "recency_asc",
@@ -57,6 +57,7 @@ declare const UnmuteChannelCommand_base: {
57
57
  * // muted: true || false, // required
58
58
  * // mutedUntil: "STRING_VALUE",
59
59
  * // pinned: true || false, // required
60
+ * // pinnedAt: "STRING_VALUE",
60
61
  * // unreadMarkAt: Number("long"),
61
62
  * // },
62
63
  * // };
@@ -1558,6 +1558,11 @@ export interface InboxState {
1558
1558
  * @public
1559
1559
  */
1560
1560
  pinned: boolean;
1561
+ /**
1562
+ * When the user pinned this channel, stamped once at pin time and unchanged by later activity. Absent whenever `pinned` is false, and on the rare pinned row whose pin instant predates pin-time sort ordering.
1563
+ * @public
1564
+ */
1565
+ pinnedAt?: string | undefined;
1561
1566
  /**
1562
1567
  * `visibleSeq` from which the user manually marked the channel as unread.
1563
1568
  * @public
@@ -3031,7 +3036,7 @@ export interface SearchMessagesInput {
3031
3036
  */
3032
3037
  userId?: string | undefined;
3033
3038
  /**
3034
- * Search text. Optional when an attachment filter (`hasAttachments`/`attachmentTypes`/`mimeTypes`) is provided.
3039
+ * Search text. Optional when a narrowing filter (`hasAttachments`/`attachmentTypes`/`mimeTypes`/`hasLinks`/`senderIds`) is provided.
3035
3040
  * @public
3036
3041
  */
3037
3042
  q?: string | undefined;
@@ -3055,6 +3060,16 @@ export interface SearchMessagesInput {
3055
3060
  * @public
3056
3061
  */
3057
3062
  mimeTypes?: string[] | undefined;
3063
+ /**
3064
+ * When true, matches only messages whose text contains at least one URL. Only messages indexed after link detection shipped carry the flag — older messages need a search reindex to become matchable.
3065
+ * @public
3066
+ */
3067
+ hasLinks?: boolean | undefined;
3068
+ /**
3069
+ * Restrict to messages authored by any of these users.
3070
+ * @public
3071
+ */
3072
+ senderIds?: string[] | undefined;
3058
3073
  /**
3059
3074
  * Page size. Default 20, max 50.
3060
3075
  * @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.10",
4
+ "version": "4.1.2",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -56,4 +56,4 @@
56
56
  "browser": {
57
57
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
58
58
  }
59
- }
59
+ }