@wildix/stream-client 4.1.4 → 4.1.5
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-types/models/models_0.d.ts +216 -0
- package/package.json +1 -1
|
@@ -158,6 +158,10 @@ export interface AddChannelMemberInput {
|
|
|
158
158
|
* @public
|
|
159
159
|
*/
|
|
160
160
|
userId?: string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* 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.
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
161
165
|
channelId: string;
|
|
162
166
|
silent?: boolean | undefined;
|
|
163
167
|
memberId?: string | undefined;
|
|
@@ -205,6 +209,10 @@ export interface AddChannelMembersInput {
|
|
|
205
209
|
* @public
|
|
206
210
|
*/
|
|
207
211
|
userId?: string | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* 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.
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
208
216
|
channelId: string;
|
|
209
217
|
silent?: boolean | undefined;
|
|
210
218
|
members?: string[] | undefined;
|
|
@@ -304,6 +312,10 @@ export interface AssignChannelInput {
|
|
|
304
312
|
* @public
|
|
305
313
|
*/
|
|
306
314
|
userId?: string | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* 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.
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
307
319
|
channelId: string;
|
|
308
320
|
silent?: boolean | undefined;
|
|
309
321
|
service?: AssignChannelServiceRequest | undefined;
|
|
@@ -396,6 +408,10 @@ export interface LastMessagePreview {
|
|
|
396
408
|
* @public
|
|
397
409
|
*/
|
|
398
410
|
export interface Channel {
|
|
411
|
+
/**
|
|
412
|
+
* 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.
|
|
413
|
+
* @public
|
|
414
|
+
*/
|
|
399
415
|
channelId: string;
|
|
400
416
|
/**
|
|
401
417
|
* Type of channel.
|
|
@@ -805,6 +821,10 @@ export declare namespace Element {
|
|
|
805
821
|
* @public
|
|
806
822
|
*/
|
|
807
823
|
export interface MessageForwardRef {
|
|
824
|
+
/**
|
|
825
|
+
* 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.
|
|
826
|
+
* @public
|
|
827
|
+
*/
|
|
808
828
|
channelId: string;
|
|
809
829
|
messageId: string;
|
|
810
830
|
}
|
|
@@ -813,6 +833,10 @@ export interface MessageForwardRef {
|
|
|
813
833
|
* @public
|
|
814
834
|
*/
|
|
815
835
|
export interface MessageQuoteRef {
|
|
836
|
+
/**
|
|
837
|
+
* 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.
|
|
838
|
+
* @public
|
|
839
|
+
*/
|
|
816
840
|
channelId: string;
|
|
817
841
|
messageId: string;
|
|
818
842
|
}
|
|
@@ -957,6 +981,10 @@ export interface CreateKiteChannelInput {
|
|
|
957
981
|
* @public
|
|
958
982
|
*/
|
|
959
983
|
userId?: string | undefined;
|
|
984
|
+
/**
|
|
985
|
+
* 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.
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
960
988
|
channelId?: string | undefined;
|
|
961
989
|
/**
|
|
962
990
|
* Kite widget id or agent email.
|
|
@@ -1068,6 +1096,10 @@ export interface DeleteChannelInput {
|
|
|
1068
1096
|
* @public
|
|
1069
1097
|
*/
|
|
1070
1098
|
userId?: string | undefined;
|
|
1099
|
+
/**
|
|
1100
|
+
* 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.
|
|
1101
|
+
* @public
|
|
1102
|
+
*/
|
|
1071
1103
|
channelId: string;
|
|
1072
1104
|
}
|
|
1073
1105
|
/**
|
|
@@ -1084,6 +1116,10 @@ export interface DeleteChannelMemberInput {
|
|
|
1084
1116
|
* @public
|
|
1085
1117
|
*/
|
|
1086
1118
|
userId?: string | undefined;
|
|
1119
|
+
/**
|
|
1120
|
+
* 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.
|
|
1121
|
+
* @public
|
|
1122
|
+
*/
|
|
1087
1123
|
channelId: string;
|
|
1088
1124
|
memberId: string;
|
|
1089
1125
|
silent?: boolean | undefined;
|
|
@@ -1107,6 +1143,10 @@ export interface DeleteMessageInput {
|
|
|
1107
1143
|
* @public
|
|
1108
1144
|
*/
|
|
1109
1145
|
userId?: string | undefined;
|
|
1146
|
+
/**
|
|
1147
|
+
* 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.
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1110
1150
|
channelId: string;
|
|
1111
1151
|
messageId: string;
|
|
1112
1152
|
}
|
|
@@ -1129,6 +1169,10 @@ export interface DeleteMessageReactionInput {
|
|
|
1129
1169
|
* @public
|
|
1130
1170
|
*/
|
|
1131
1171
|
userId?: string | undefined;
|
|
1172
|
+
/**
|
|
1173
|
+
* 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.
|
|
1174
|
+
* @public
|
|
1175
|
+
*/
|
|
1132
1176
|
channelId: string;
|
|
1133
1177
|
messageId: string;
|
|
1134
1178
|
/**
|
|
@@ -1242,6 +1286,10 @@ export interface Reaction {
|
|
|
1242
1286
|
* @public
|
|
1243
1287
|
*/
|
|
1244
1288
|
export interface MessageQuote {
|
|
1289
|
+
/**
|
|
1290
|
+
* 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.
|
|
1291
|
+
* @public
|
|
1292
|
+
*/
|
|
1245
1293
|
channelId: string;
|
|
1246
1294
|
messageId: string;
|
|
1247
1295
|
/**
|
|
@@ -1440,6 +1488,10 @@ export interface GetChannelInput {
|
|
|
1440
1488
|
* @public
|
|
1441
1489
|
*/
|
|
1442
1490
|
userId?: string | undefined;
|
|
1491
|
+
/**
|
|
1492
|
+
* 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.
|
|
1493
|
+
* @public
|
|
1494
|
+
*/
|
|
1443
1495
|
channelId: string;
|
|
1444
1496
|
}
|
|
1445
1497
|
/**
|
|
@@ -1462,6 +1514,10 @@ export interface GetChannelMemberInput {
|
|
|
1462
1514
|
* @public
|
|
1463
1515
|
*/
|
|
1464
1516
|
userId?: string | undefined;
|
|
1517
|
+
/**
|
|
1518
|
+
* 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.
|
|
1519
|
+
* @public
|
|
1520
|
+
*/
|
|
1465
1521
|
channelId: string;
|
|
1466
1522
|
memberId: string;
|
|
1467
1523
|
}
|
|
@@ -1500,6 +1556,10 @@ export interface GetDirectChannelIdInput {
|
|
|
1500
1556
|
* @public
|
|
1501
1557
|
*/
|
|
1502
1558
|
export interface GetDirectChannelIdOutput {
|
|
1559
|
+
/**
|
|
1560
|
+
* 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.
|
|
1561
|
+
* @public
|
|
1562
|
+
*/
|
|
1503
1563
|
channelId: string;
|
|
1504
1564
|
}
|
|
1505
1565
|
/**
|
|
@@ -1516,6 +1576,10 @@ export interface GetFilePresignedDownloadUrlInput {
|
|
|
1516
1576
|
* @public
|
|
1517
1577
|
*/
|
|
1518
1578
|
userId?: string | undefined;
|
|
1579
|
+
/**
|
|
1580
|
+
* 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.
|
|
1581
|
+
* @public
|
|
1582
|
+
*/
|
|
1519
1583
|
channelId: string;
|
|
1520
1584
|
messageId: string;
|
|
1521
1585
|
/**
|
|
@@ -1630,6 +1694,10 @@ export interface InboxState {
|
|
|
1630
1694
|
* @public
|
|
1631
1695
|
*/
|
|
1632
1696
|
export interface InboxChannel {
|
|
1697
|
+
/**
|
|
1698
|
+
* 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.
|
|
1699
|
+
* @public
|
|
1700
|
+
*/
|
|
1633
1701
|
channelId: string;
|
|
1634
1702
|
/**
|
|
1635
1703
|
* Type of channel.
|
|
@@ -1823,6 +1891,10 @@ export interface GetMessageInput {
|
|
|
1823
1891
|
* @public
|
|
1824
1892
|
*/
|
|
1825
1893
|
userId?: string | undefined;
|
|
1894
|
+
/**
|
|
1895
|
+
* 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.
|
|
1896
|
+
* @public
|
|
1897
|
+
*/
|
|
1826
1898
|
channelId: string;
|
|
1827
1899
|
messageId: string;
|
|
1828
1900
|
}
|
|
@@ -2007,6 +2079,10 @@ export interface GetSmsChannelIdInput {
|
|
|
2007
2079
|
* @public
|
|
2008
2080
|
*/
|
|
2009
2081
|
export interface GetSmsChannelIdOutput {
|
|
2082
|
+
/**
|
|
2083
|
+
* 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.
|
|
2084
|
+
* @public
|
|
2085
|
+
*/
|
|
2010
2086
|
channelId: string;
|
|
2011
2087
|
}
|
|
2012
2088
|
/**
|
|
@@ -2043,6 +2119,10 @@ export interface GetTelephonyChannelIdInput {
|
|
|
2043
2119
|
* @public
|
|
2044
2120
|
*/
|
|
2045
2121
|
export interface GetTelephonyChannelIdOutput {
|
|
2122
|
+
/**
|
|
2123
|
+
* 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.
|
|
2124
|
+
* @public
|
|
2125
|
+
*/
|
|
2046
2126
|
channelId: string;
|
|
2047
2127
|
}
|
|
2048
2128
|
/**
|
|
@@ -2094,6 +2174,10 @@ export interface GetUploadedFileInfoInput {
|
|
|
2094
2174
|
* @public
|
|
2095
2175
|
*/
|
|
2096
2176
|
userId?: string | undefined;
|
|
2177
|
+
/**
|
|
2178
|
+
* 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.
|
|
2179
|
+
* @public
|
|
2180
|
+
*/
|
|
2097
2181
|
channelId: string;
|
|
2098
2182
|
/**
|
|
2099
2183
|
* File service identifier returned by `UploadFile`.
|
|
@@ -2191,6 +2275,10 @@ export interface GetWhatsAppChannelIdInput {
|
|
|
2191
2275
|
* @public
|
|
2192
2276
|
*/
|
|
2193
2277
|
export interface GetWhatsAppChannelIdOutput {
|
|
2278
|
+
/**
|
|
2279
|
+
* 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.
|
|
2280
|
+
* @public
|
|
2281
|
+
*/
|
|
2194
2282
|
channelId: string;
|
|
2195
2283
|
}
|
|
2196
2284
|
/**
|
|
@@ -2207,6 +2295,10 @@ export interface HardDeleteChannelInput {
|
|
|
2207
2295
|
* @public
|
|
2208
2296
|
*/
|
|
2209
2297
|
userId?: string | undefined;
|
|
2298
|
+
/**
|
|
2299
|
+
* 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.
|
|
2300
|
+
* @public
|
|
2301
|
+
*/
|
|
2210
2302
|
channelId: string;
|
|
2211
2303
|
}
|
|
2212
2304
|
/**
|
|
@@ -2223,6 +2315,10 @@ export interface HideChannelInput {
|
|
|
2223
2315
|
* @public
|
|
2224
2316
|
*/
|
|
2225
2317
|
userId?: string | undefined;
|
|
2318
|
+
/**
|
|
2319
|
+
* 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.
|
|
2320
|
+
* @public
|
|
2321
|
+
*/
|
|
2226
2322
|
channelId: string;
|
|
2227
2323
|
}
|
|
2228
2324
|
/**
|
|
@@ -2244,6 +2340,10 @@ export interface JoinChannelInput {
|
|
|
2244
2340
|
* @public
|
|
2245
2341
|
*/
|
|
2246
2342
|
userId?: string | undefined;
|
|
2343
|
+
/**
|
|
2344
|
+
* 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.
|
|
2345
|
+
* @public
|
|
2346
|
+
*/
|
|
2247
2347
|
channelId: string;
|
|
2248
2348
|
silent?: boolean | undefined;
|
|
2249
2349
|
}
|
|
@@ -2267,6 +2367,10 @@ export interface LeaveChannelInput {
|
|
|
2267
2367
|
* @public
|
|
2268
2368
|
*/
|
|
2269
2369
|
userId?: string | undefined;
|
|
2370
|
+
/**
|
|
2371
|
+
* 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.
|
|
2372
|
+
* @public
|
|
2373
|
+
*/
|
|
2270
2374
|
channelId: string;
|
|
2271
2375
|
silent?: boolean | undefined;
|
|
2272
2376
|
}
|
|
@@ -2289,6 +2393,10 @@ export interface ListChannelMembersInput {
|
|
|
2289
2393
|
* @public
|
|
2290
2394
|
*/
|
|
2291
2395
|
userId?: string | undefined;
|
|
2396
|
+
/**
|
|
2397
|
+
* 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.
|
|
2398
|
+
* @public
|
|
2399
|
+
*/
|
|
2292
2400
|
channelId: string;
|
|
2293
2401
|
limit?: number | undefined;
|
|
2294
2402
|
offset?: number | undefined;
|
|
@@ -2313,6 +2421,10 @@ export interface ListChannelMembersReadStatusInput {
|
|
|
2313
2421
|
* @public
|
|
2314
2422
|
*/
|
|
2315
2423
|
userId?: string | undefined;
|
|
2424
|
+
/**
|
|
2425
|
+
* 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.
|
|
2426
|
+
* @public
|
|
2427
|
+
*/
|
|
2316
2428
|
channelId: string;
|
|
2317
2429
|
}
|
|
2318
2430
|
/**
|
|
@@ -2396,6 +2508,10 @@ export interface ListMentionsInput {
|
|
|
2396
2508
|
* @public
|
|
2397
2509
|
*/
|
|
2398
2510
|
export interface MentionChannelPreview {
|
|
2511
|
+
/**
|
|
2512
|
+
* 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.
|
|
2513
|
+
* @public
|
|
2514
|
+
*/
|
|
2399
2515
|
channelId: string;
|
|
2400
2516
|
/**
|
|
2401
2517
|
* Type of channel.
|
|
@@ -2438,6 +2554,10 @@ export interface MentionChannelPreview {
|
|
|
2438
2554
|
* @public
|
|
2439
2555
|
*/
|
|
2440
2556
|
export interface MentionEntry {
|
|
2557
|
+
/**
|
|
2558
|
+
* 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.
|
|
2559
|
+
* @public
|
|
2560
|
+
*/
|
|
2441
2561
|
channelId: string;
|
|
2442
2562
|
messageId: string;
|
|
2443
2563
|
/**
|
|
@@ -2505,6 +2625,10 @@ export interface ListMessagesInput {
|
|
|
2505
2625
|
* @public
|
|
2506
2626
|
*/
|
|
2507
2627
|
userId?: string | undefined;
|
|
2628
|
+
/**
|
|
2629
|
+
* 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.
|
|
2630
|
+
* @public
|
|
2631
|
+
*/
|
|
2508
2632
|
channelId: string;
|
|
2509
2633
|
/**
|
|
2510
2634
|
* Optional inclusive lower bound on `timelineSeq`. Combine with `to` for a bounded window, or use alone to scroll forward from a known anchor.
|
|
@@ -2551,6 +2675,10 @@ export interface MarkReadInput {
|
|
|
2551
2675
|
* @public
|
|
2552
2676
|
*/
|
|
2553
2677
|
userId?: string | undefined;
|
|
2678
|
+
/**
|
|
2679
|
+
* 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.
|
|
2680
|
+
* @public
|
|
2681
|
+
*/
|
|
2554
2682
|
channelId: string;
|
|
2555
2683
|
/**
|
|
2556
2684
|
* Optional explicit read pointer. Defaults to the latest visible message.
|
|
@@ -2587,6 +2715,10 @@ export interface MarkUnreadInput {
|
|
|
2587
2715
|
* @public
|
|
2588
2716
|
*/
|
|
2589
2717
|
userId?: string | undefined;
|
|
2718
|
+
/**
|
|
2719
|
+
* 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.
|
|
2720
|
+
* @public
|
|
2721
|
+
*/
|
|
2590
2722
|
channelId: string;
|
|
2591
2723
|
/**
|
|
2592
2724
|
* Message id used to resolve the unread mark position.
|
|
@@ -2628,6 +2760,10 @@ export interface MoveChannelToSectionInput {
|
|
|
2628
2760
|
* @public
|
|
2629
2761
|
*/
|
|
2630
2762
|
userId?: string | undefined;
|
|
2763
|
+
/**
|
|
2764
|
+
* 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.
|
|
2765
|
+
* @public
|
|
2766
|
+
*/
|
|
2631
2767
|
channelId: string;
|
|
2632
2768
|
/**
|
|
2633
2769
|
* Identifier of an inbox section. System ids: `all`, `direct`, `group`, `external`, `mentions`. Custom ids are user-defined.
|
|
@@ -2666,6 +2802,10 @@ export interface MuteChannelInput {
|
|
|
2666
2802
|
* @public
|
|
2667
2803
|
*/
|
|
2668
2804
|
userId?: string | undefined;
|
|
2805
|
+
/**
|
|
2806
|
+
* 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.
|
|
2807
|
+
* @public
|
|
2808
|
+
*/
|
|
2669
2809
|
channelId: string;
|
|
2670
2810
|
/**
|
|
2671
2811
|
* Temporary mute expiry. Omit for indefinite mute.
|
|
@@ -2799,6 +2939,10 @@ export interface PartialUpdateChannelInput {
|
|
|
2799
2939
|
* @public
|
|
2800
2940
|
*/
|
|
2801
2941
|
userId?: string | undefined;
|
|
2942
|
+
/**
|
|
2943
|
+
* 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.
|
|
2944
|
+
* @public
|
|
2945
|
+
*/
|
|
2802
2946
|
channelId: string;
|
|
2803
2947
|
silent?: boolean | undefined;
|
|
2804
2948
|
set?: PartialUpdateChannelSetOptions | undefined;
|
|
@@ -2876,6 +3020,10 @@ export interface PartialUpdateMessageInput {
|
|
|
2876
3020
|
* @public
|
|
2877
3021
|
*/
|
|
2878
3022
|
userId?: string | undefined;
|
|
3023
|
+
/**
|
|
3024
|
+
* 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.
|
|
3025
|
+
* @public
|
|
3026
|
+
*/
|
|
2879
3027
|
channelId: string;
|
|
2880
3028
|
messageId: string;
|
|
2881
3029
|
/**
|
|
@@ -2918,6 +3066,10 @@ export interface PinChannelInput {
|
|
|
2918
3066
|
* @public
|
|
2919
3067
|
*/
|
|
2920
3068
|
userId?: string | undefined;
|
|
3069
|
+
/**
|
|
3070
|
+
* 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.
|
|
3071
|
+
* @public
|
|
3072
|
+
*/
|
|
2921
3073
|
channelId: string;
|
|
2922
3074
|
}
|
|
2923
3075
|
/**
|
|
@@ -2939,6 +3091,10 @@ export interface PinMessageInput {
|
|
|
2939
3091
|
* @public
|
|
2940
3092
|
*/
|
|
2941
3093
|
userId?: string | undefined;
|
|
3094
|
+
/**
|
|
3095
|
+
* 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.
|
|
3096
|
+
* @public
|
|
3097
|
+
*/
|
|
2942
3098
|
channelId: string;
|
|
2943
3099
|
messageId: string;
|
|
2944
3100
|
}
|
|
@@ -2992,6 +3148,10 @@ export interface RemoveChannelFromSectionInput {
|
|
|
2992
3148
|
* @public
|
|
2993
3149
|
*/
|
|
2994
3150
|
userId?: string | undefined;
|
|
3151
|
+
/**
|
|
3152
|
+
* 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.
|
|
3153
|
+
* @public
|
|
3154
|
+
*/
|
|
2995
3155
|
channelId: string;
|
|
2996
3156
|
/**
|
|
2997
3157
|
* Identifier of an inbox section. System ids: `all`, `direct`, `group`, `external`, `mentions`. Custom ids are user-defined.
|
|
@@ -3115,6 +3275,10 @@ export interface SearchChannelsOutput {
|
|
|
3115
3275
|
* @public
|
|
3116
3276
|
*/
|
|
3117
3277
|
export interface SearchMessageHit {
|
|
3278
|
+
/**
|
|
3279
|
+
* 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.
|
|
3280
|
+
* @public
|
|
3281
|
+
*/
|
|
3118
3282
|
channelId: string;
|
|
3119
3283
|
/**
|
|
3120
3284
|
* Message row returned by listing and lookup endpoints. Deleted messages keep their position with `deletedAt` set and empty body.
|
|
@@ -3226,6 +3390,10 @@ export interface SendGiphyInput {
|
|
|
3226
3390
|
* @public
|
|
3227
3391
|
*/
|
|
3228
3392
|
userId?: string | undefined;
|
|
3393
|
+
/**
|
|
3394
|
+
* 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.
|
|
3395
|
+
* @public
|
|
3396
|
+
*/
|
|
3229
3397
|
channelId: string;
|
|
3230
3398
|
/**
|
|
3231
3399
|
* Optional client-supplied message id. Auto-generated when omitted.
|
|
@@ -3330,6 +3498,10 @@ export interface SendMessageInput {
|
|
|
3330
3498
|
* @public
|
|
3331
3499
|
*/
|
|
3332
3500
|
mentions?: string[] | undefined;
|
|
3501
|
+
/**
|
|
3502
|
+
* 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.
|
|
3503
|
+
* @public
|
|
3504
|
+
*/
|
|
3333
3505
|
channelId: string;
|
|
3334
3506
|
/**
|
|
3335
3507
|
* Rendering hint for the message.
|
|
@@ -3361,6 +3533,10 @@ export interface SendMessageReactionInput {
|
|
|
3361
3533
|
* @public
|
|
3362
3534
|
*/
|
|
3363
3535
|
userId?: string | undefined;
|
|
3536
|
+
/**
|
|
3537
|
+
* 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.
|
|
3538
|
+
* @public
|
|
3539
|
+
*/
|
|
3364
3540
|
channelId: string;
|
|
3365
3541
|
messageId: string;
|
|
3366
3542
|
/**
|
|
@@ -3444,6 +3620,10 @@ export interface SendSystemMessageInput {
|
|
|
3444
3620
|
* @public
|
|
3445
3621
|
*/
|
|
3446
3622
|
userId?: string | undefined;
|
|
3623
|
+
/**
|
|
3624
|
+
* 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.
|
|
3625
|
+
* @public
|
|
3626
|
+
*/
|
|
3447
3627
|
channelId: string;
|
|
3448
3628
|
/**
|
|
3449
3629
|
* Typed system message payload. Each variant maps to a server-generated message template.
|
|
@@ -3485,6 +3665,10 @@ export interface SendTypingStartInput {
|
|
|
3485
3665
|
* @public
|
|
3486
3666
|
*/
|
|
3487
3667
|
userId?: string | undefined;
|
|
3668
|
+
/**
|
|
3669
|
+
* 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.
|
|
3670
|
+
* @public
|
|
3671
|
+
*/
|
|
3488
3672
|
channelId: string;
|
|
3489
3673
|
}
|
|
3490
3674
|
/**
|
|
@@ -3506,6 +3690,10 @@ export interface SendTypingStopInput {
|
|
|
3506
3690
|
* @public
|
|
3507
3691
|
*/
|
|
3508
3692
|
userId?: string | undefined;
|
|
3693
|
+
/**
|
|
3694
|
+
* 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.
|
|
3695
|
+
* @public
|
|
3696
|
+
*/
|
|
3509
3697
|
channelId: string;
|
|
3510
3698
|
}
|
|
3511
3699
|
/**
|
|
@@ -3527,6 +3715,10 @@ export interface ShowChannelInput {
|
|
|
3527
3715
|
* @public
|
|
3528
3716
|
*/
|
|
3529
3717
|
userId?: string | undefined;
|
|
3718
|
+
/**
|
|
3719
|
+
* 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.
|
|
3720
|
+
* @public
|
|
3721
|
+
*/
|
|
3530
3722
|
channelId: string;
|
|
3531
3723
|
}
|
|
3532
3724
|
/**
|
|
@@ -3548,6 +3740,10 @@ export interface UnmuteChannelInput {
|
|
|
3548
3740
|
* @public
|
|
3549
3741
|
*/
|
|
3550
3742
|
userId?: string | undefined;
|
|
3743
|
+
/**
|
|
3744
|
+
* 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.
|
|
3745
|
+
* @public
|
|
3746
|
+
*/
|
|
3551
3747
|
channelId: string;
|
|
3552
3748
|
}
|
|
3553
3749
|
/**
|
|
@@ -3574,6 +3770,10 @@ export interface UnpinChannelInput {
|
|
|
3574
3770
|
* @public
|
|
3575
3771
|
*/
|
|
3576
3772
|
userId?: string | undefined;
|
|
3773
|
+
/**
|
|
3774
|
+
* 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.
|
|
3775
|
+
* @public
|
|
3776
|
+
*/
|
|
3577
3777
|
channelId: string;
|
|
3578
3778
|
}
|
|
3579
3779
|
/**
|
|
@@ -3595,6 +3795,10 @@ export interface UnpinMessageInput {
|
|
|
3595
3795
|
* @public
|
|
3596
3796
|
*/
|
|
3597
3797
|
userId?: string | undefined;
|
|
3798
|
+
/**
|
|
3799
|
+
* 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.
|
|
3800
|
+
* @public
|
|
3801
|
+
*/
|
|
3598
3802
|
channelId: string;
|
|
3599
3803
|
messageId: string;
|
|
3600
3804
|
}
|
|
@@ -3719,6 +3923,10 @@ export interface UpdateChannelInput {
|
|
|
3719
3923
|
* @public
|
|
3720
3924
|
*/
|
|
3721
3925
|
messengerReplyUntil?: number | undefined;
|
|
3926
|
+
/**
|
|
3927
|
+
* 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.
|
|
3928
|
+
* @public
|
|
3929
|
+
*/
|
|
3722
3930
|
channelId: string;
|
|
3723
3931
|
silent?: boolean | undefined;
|
|
3724
3932
|
}
|
|
@@ -3789,6 +3997,10 @@ export interface UpdateMessageInput {
|
|
|
3789
3997
|
*/
|
|
3790
3998
|
sms?: boolean | undefined;
|
|
3791
3999
|
smsStatus?: MessageSmsStatus | undefined;
|
|
4000
|
+
/**
|
|
4001
|
+
* 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.
|
|
4002
|
+
* @public
|
|
4003
|
+
*/
|
|
3792
4004
|
channelId: string;
|
|
3793
4005
|
messageId: string;
|
|
3794
4006
|
/**
|
|
@@ -3837,6 +4049,10 @@ export interface UploadFileInput {
|
|
|
3837
4049
|
* @public
|
|
3838
4050
|
*/
|
|
3839
4051
|
userId?: string | undefined;
|
|
4052
|
+
/**
|
|
4053
|
+
* 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.
|
|
4054
|
+
* @public
|
|
4055
|
+
*/
|
|
3840
4056
|
channelId: string;
|
|
3841
4057
|
/**
|
|
3842
4058
|
* Original file name. Unreadable characters are replaced with underscores.
|
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.5",
|
|
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",
|