@wildix/stream-client 4.0.10 → 4.0.11

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";
@@ -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";
@@ -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$
@@ -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",
@@ -3031,7 +3031,7 @@ export interface SearchMessagesInput {
3031
3031
  */
3032
3032
  userId?: string | undefined;
3033
3033
  /**
3034
- * Search text. Optional when an attachment filter (`hasAttachments`/`attachmentTypes`/`mimeTypes`) is provided.
3034
+ * Search text. Optional when a narrowing filter (`hasAttachments`/`attachmentTypes`/`mimeTypes`/`hasLinks`/`senderIds`) is provided.
3035
3035
  * @public
3036
3036
  */
3037
3037
  q?: string | undefined;
@@ -3055,6 +3055,16 @@ export interface SearchMessagesInput {
3055
3055
  * @public
3056
3056
  */
3057
3057
  mimeTypes?: string[] | undefined;
3058
+ /**
3059
+ * 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.
3060
+ * @public
3061
+ */
3062
+ hasLinks?: boolean | undefined;
3063
+ /**
3064
+ * Restrict to messages authored by any of these users.
3065
+ * @public
3066
+ */
3067
+ senderIds?: string[] | undefined;
3058
3068
  /**
3059
3069
  * Page size. Default 20, max 50.
3060
3070
  * @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.0.11",
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
+ }