@wildix/stream-client 4.1.9 → 4.1.10

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.
Files changed (63) hide show
  1. package/dist-cjs/schemas/schemas_0.js +131 -127
  2. package/dist-es/schemas/schemas_0.js +131 -127
  3. package/dist-types/commands/AddChannelMemberCommand.d.ts +2 -0
  4. package/dist-types/commands/AddChannelMembersCommand.d.ts +2 -0
  5. package/dist-types/commands/AssignChannelCommand.d.ts +2 -0
  6. package/dist-types/commands/CreateGroupChannelCommand.d.ts +2 -0
  7. package/dist-types/commands/CreateKiteChannelCommand.d.ts +2 -0
  8. package/dist-types/commands/CreateSectionCommand.d.ts +2 -0
  9. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +5 -2
  10. package/dist-types/commands/DeleteMessageCommand.d.ts +5 -2
  11. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -0
  12. package/dist-types/commands/DeleteSectionCommand.d.ts +5 -2
  13. package/dist-types/commands/GetChannelCommand.d.ts +2 -0
  14. package/dist-types/commands/GetChannelMemberCommand.d.ts +2 -0
  15. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +2 -0
  16. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +2 -0
  17. package/dist-types/commands/GetInboxCommand.d.ts +2 -0
  18. package/dist-types/commands/GetMessageCommand.d.ts +2 -0
  19. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +2 -0
  20. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +2 -0
  21. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +2 -0
  22. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +2 -0
  23. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +2 -0
  24. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +2 -0
  25. package/dist-types/commands/GetTokenCommand.d.ts +2 -0
  26. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +2 -0
  27. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +2 -0
  28. package/dist-types/commands/HideChannelCommand.d.ts +5 -2
  29. package/dist-types/commands/JoinChannelCommand.d.ts +2 -0
  30. package/dist-types/commands/LeaveChannelCommand.d.ts +5 -2
  31. package/dist-types/commands/ListChannelMembersCommand.d.ts +2 -0
  32. package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +2 -0
  33. package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
  34. package/dist-types/commands/ListMentionsCommand.d.ts +2 -0
  35. package/dist-types/commands/ListMessagesCommand.d.ts +2 -0
  36. package/dist-types/commands/MarkReadCommand.d.ts +2 -0
  37. package/dist-types/commands/MarkUnreadCommand.d.ts +2 -0
  38. package/dist-types/commands/MoveChannelToSectionCommand.d.ts +2 -0
  39. package/dist-types/commands/MuteChannelCommand.d.ts +2 -0
  40. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +2 -0
  41. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +2 -0
  42. package/dist-types/commands/PinChannelCommand.d.ts +5 -2
  43. package/dist-types/commands/PinMessageCommand.d.ts +2 -0
  44. package/dist-types/commands/QueryChannelsCommand.d.ts +2 -0
  45. package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +2 -0
  46. package/dist-types/commands/RenameSectionCommand.d.ts +2 -0
  47. package/dist-types/commands/SearchChannelsCommand.d.ts +2 -0
  48. package/dist-types/commands/SearchMessagesCommand.d.ts +2 -0
  49. package/dist-types/commands/SendGiphyCommand.d.ts +2 -0
  50. package/dist-types/commands/SendMessageCommand.d.ts +2 -0
  51. package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -0
  52. package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -0
  53. package/dist-types/commands/SendTypingStartCommand.d.ts +5 -2
  54. package/dist-types/commands/SendTypingStopCommand.d.ts +5 -2
  55. package/dist-types/commands/ShowChannelCommand.d.ts +5 -2
  56. package/dist-types/commands/UnmuteChannelCommand.d.ts +2 -0
  57. package/dist-types/commands/UnpinChannelCommand.d.ts +5 -2
  58. package/dist-types/commands/UnpinMessageCommand.d.ts +2 -0
  59. package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
  60. package/dist-types/commands/UpdateMessageCommand.d.ts +2 -0
  61. package/dist-types/commands/UploadFileCommand.d.ts +2 -0
  62. package/dist-types/models/models_0.d.ts +590 -0
  63. package/package.json +1 -1
@@ -189,6 +189,16 @@ export interface ChannelMember {
189
189
  * @public
190
190
  */
191
191
  export interface AddChannelMemberOutput {
192
+ /**
193
+ * The request ID of the request.
194
+ * @public
195
+ */
196
+ requestId?: string | undefined;
197
+ /**
198
+ * The duration of the request in milliseconds.
199
+ * @public
200
+ */
201
+ requestDuration?: number | undefined;
192
202
  /**
193
203
  * Channel membership row.
194
204
  * @public
@@ -228,6 +238,16 @@ export interface AddChannelMembersInput {
228
238
  * @public
229
239
  */
230
240
  export interface AddChannelMembersOutput {
241
+ /**
242
+ * The request ID of the request.
243
+ * @public
244
+ */
245
+ requestId?: string | undefined;
246
+ /**
247
+ * The duration of the request in milliseconds.
248
+ * @public
249
+ */
250
+ requestDuration?: number | undefined;
231
251
  members: ChannelMember[];
232
252
  }
233
253
  /**
@@ -326,6 +346,16 @@ export interface AssignChannelInput {
326
346
  * @public
327
347
  */
328
348
  export interface AssignChannelOutput {
349
+ /**
350
+ * The request ID of the request.
351
+ * @public
352
+ */
353
+ requestId?: string | undefined;
354
+ /**
355
+ * The duration of the request in milliseconds.
356
+ * @public
357
+ */
358
+ requestDuration?: number | undefined;
329
359
  assigneeId?: string | undefined;
330
360
  serviceUri?: string | undefined;
331
361
  }
@@ -726,6 +756,16 @@ export interface CreateGroupChannelInput {
726
756
  * @public
727
757
  */
728
758
  export interface CreateGroupChannelOutput {
759
+ /**
760
+ * The request ID of the request.
761
+ * @public
762
+ */
763
+ requestId?: string | undefined;
764
+ /**
765
+ * The duration of the request in milliseconds.
766
+ * @public
767
+ */
768
+ requestDuration?: number | undefined;
729
769
  channel: Channel;
730
770
  }
731
771
  /**
@@ -1018,6 +1058,16 @@ export interface CreateKiteChannelInput {
1018
1058
  * @public
1019
1059
  */
1020
1060
  export interface CreateKiteChannelOutput {
1061
+ /**
1062
+ * The request ID of the request.
1063
+ * @public
1064
+ */
1065
+ requestId?: string | undefined;
1066
+ /**
1067
+ * The duration of the request in milliseconds.
1068
+ * @public
1069
+ */
1070
+ requestDuration?: number | undefined;
1021
1071
  channel: Channel;
1022
1072
  }
1023
1073
  /**
@@ -1091,6 +1141,16 @@ export interface Section {
1091
1141
  * @public
1092
1142
  */
1093
1143
  export interface CreateSectionOutput {
1144
+ /**
1145
+ * The request ID of the request.
1146
+ * @public
1147
+ */
1148
+ requestId?: string | undefined;
1149
+ /**
1150
+ * The duration of the request in milliseconds.
1151
+ * @public
1152
+ */
1153
+ requestDuration?: number | undefined;
1094
1154
  /**
1095
1155
  * Inbox section with metadata, channel count, and unread counters.
1096
1156
  * @public
@@ -1143,6 +1203,16 @@ export interface DeleteChannelMemberInput {
1143
1203
  * @public
1144
1204
  */
1145
1205
  export interface DeleteChannelMemberOutput {
1206
+ /**
1207
+ * The request ID of the request.
1208
+ * @public
1209
+ */
1210
+ requestId?: string | undefined;
1211
+ /**
1212
+ * The duration of the request in milliseconds.
1213
+ * @public
1214
+ */
1215
+ requestDuration?: number | undefined;
1146
1216
  }
1147
1217
  /**
1148
1218
  * @public
@@ -1169,6 +1239,16 @@ export interface DeleteMessageInput {
1169
1239
  * @public
1170
1240
  */
1171
1241
  export interface DeleteMessageOutput {
1242
+ /**
1243
+ * The request ID of the request.
1244
+ * @public
1245
+ */
1246
+ requestId?: string | undefined;
1247
+ /**
1248
+ * The duration of the request in milliseconds.
1249
+ * @public
1250
+ */
1251
+ requestDuration?: number | undefined;
1172
1252
  }
1173
1253
  /**
1174
1254
  * @public
@@ -1467,6 +1547,16 @@ export interface DeleteMessageReactionOutput {
1467
1547
  * @public
1468
1548
  */
1469
1549
  message: Message;
1550
+ /**
1551
+ * The request ID of the request.
1552
+ * @public
1553
+ */
1554
+ requestId?: string | undefined;
1555
+ /**
1556
+ * The duration of the request in milliseconds.
1557
+ * @public
1558
+ */
1559
+ requestDuration?: number | undefined;
1470
1560
  }
1471
1561
  /**
1472
1562
  * @public
@@ -1492,6 +1582,16 @@ export interface DeleteSectionInput {
1492
1582
  * @public
1493
1583
  */
1494
1584
  export interface DeleteSectionOutput {
1585
+ /**
1586
+ * The request ID of the request.
1587
+ * @public
1588
+ */
1589
+ requestId?: string | undefined;
1590
+ /**
1591
+ * The duration of the request in milliseconds.
1592
+ * @public
1593
+ */
1594
+ requestDuration?: number | undefined;
1495
1595
  }
1496
1596
  /**
1497
1597
  * @public
@@ -1517,6 +1617,16 @@ export interface GetChannelInput {
1517
1617
  * @public
1518
1618
  */
1519
1619
  export interface GetChannelOutput {
1620
+ /**
1621
+ * The request ID of the request.
1622
+ * @public
1623
+ */
1624
+ requestId?: string | undefined;
1625
+ /**
1626
+ * The duration of the request in milliseconds.
1627
+ * @public
1628
+ */
1629
+ requestDuration?: number | undefined;
1520
1630
  channel: Channel;
1521
1631
  }
1522
1632
  /**
@@ -1544,6 +1654,16 @@ export interface GetChannelMemberInput {
1544
1654
  * @public
1545
1655
  */
1546
1656
  export interface GetChannelMemberOutput {
1657
+ /**
1658
+ * The request ID of the request.
1659
+ * @public
1660
+ */
1661
+ requestId?: string | undefined;
1662
+ /**
1663
+ * The duration of the request in milliseconds.
1664
+ * @public
1665
+ */
1666
+ requestDuration?: number | undefined;
1547
1667
  /**
1548
1668
  * Channel membership row.
1549
1669
  * @public
@@ -1575,6 +1695,16 @@ export interface GetDirectChannelIdInput {
1575
1695
  * @public
1576
1696
  */
1577
1697
  export interface GetDirectChannelIdOutput {
1698
+ /**
1699
+ * The request ID of the request.
1700
+ * @public
1701
+ */
1702
+ requestId?: string | undefined;
1703
+ /**
1704
+ * The duration of the request in milliseconds.
1705
+ * @public
1706
+ */
1707
+ requestDuration?: number | undefined;
1578
1708
  /**
1579
1709
  * 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.
1580
1710
  * @public
@@ -1621,6 +1751,16 @@ export interface GetFilePresignedDownloadUrlInput {
1621
1751
  * @public
1622
1752
  */
1623
1753
  export interface GetFilePresignedDownloadUrlOutput {
1754
+ /**
1755
+ * The request ID of the request.
1756
+ * @public
1757
+ */
1758
+ requestId?: string | undefined;
1759
+ /**
1760
+ * The duration of the request in milliseconds.
1761
+ * @public
1762
+ */
1763
+ requestDuration?: number | undefined;
1624
1764
  /**
1625
1765
  * Presigned URL for downloading the file.
1626
1766
  * @public
@@ -1885,6 +2025,16 @@ export interface InboxChannel {
1885
2025
  * @public
1886
2026
  */
1887
2027
  export interface GetInboxOutput {
2028
+ /**
2029
+ * The request ID of the request.
2030
+ * @public
2031
+ */
2032
+ requestId?: string | undefined;
2033
+ /**
2034
+ * The duration of the request in milliseconds.
2035
+ * @public
2036
+ */
2037
+ requestDuration?: number | undefined;
1888
2038
  /**
1889
2039
  * Recent channels with per-user state and last-message preview.
1890
2040
  * @public
@@ -1921,6 +2071,16 @@ export interface GetMessageInput {
1921
2071
  * @public
1922
2072
  */
1923
2073
  export interface GetMessageOutput {
2074
+ /**
2075
+ * The request ID of the request.
2076
+ * @public
2077
+ */
2078
+ requestId?: string | undefined;
2079
+ /**
2080
+ * The duration of the request in milliseconds.
2081
+ * @public
2082
+ */
2083
+ requestDuration?: number | undefined;
1924
2084
  /**
1925
2085
  * Message row returned by listing and lookup endpoints. Deleted messages keep their position with `deletedAt` set and empty body.
1926
2086
  * @public
@@ -1952,6 +2112,16 @@ export interface GetOrCreateDirectChannelInput {
1952
2112
  * @public
1953
2113
  */
1954
2114
  export interface GetOrCreateDirectChannelOutput {
2115
+ /**
2116
+ * The request ID of the request.
2117
+ * @public
2118
+ */
2119
+ requestId?: string | undefined;
2120
+ /**
2121
+ * The duration of the request in milliseconds.
2122
+ * @public
2123
+ */
2124
+ requestDuration?: number | undefined;
1955
2125
  channel: Channel;
1956
2126
  }
1957
2127
  /**
@@ -1989,6 +2159,16 @@ export interface GetOrCreateSmsChannelInput {
1989
2159
  * @public
1990
2160
  */
1991
2161
  export interface GetOrCreateSmsChannelOutput {
2162
+ /**
2163
+ * The request ID of the request.
2164
+ * @public
2165
+ */
2166
+ requestId?: string | undefined;
2167
+ /**
2168
+ * The duration of the request in milliseconds.
2169
+ * @public
2170
+ */
2171
+ requestDuration?: number | undefined;
1992
2172
  channel: Channel;
1993
2173
  }
1994
2174
  /**
@@ -2025,6 +2205,16 @@ export interface GetOrCreateTelephonyChannelInput {
2025
2205
  * @public
2026
2206
  */
2027
2207
  export interface GetOrCreateTelephonyChannelOutput {
2208
+ /**
2209
+ * The request ID of the request.
2210
+ * @public
2211
+ */
2212
+ requestId?: string | undefined;
2213
+ /**
2214
+ * The duration of the request in milliseconds.
2215
+ * @public
2216
+ */
2217
+ requestDuration?: number | undefined;
2028
2218
  channel: Channel;
2029
2219
  }
2030
2220
  /**
@@ -2062,6 +2252,16 @@ export interface GetOrCreateWhatsAppChannelInput {
2062
2252
  * @public
2063
2253
  */
2064
2254
  export interface GetOrCreateWhatsAppChannelOutput {
2255
+ /**
2256
+ * The request ID of the request.
2257
+ * @public
2258
+ */
2259
+ requestId?: string | undefined;
2260
+ /**
2261
+ * The duration of the request in milliseconds.
2262
+ * @public
2263
+ */
2264
+ requestDuration?: number | undefined;
2065
2265
  channel: Channel;
2066
2266
  }
2067
2267
  /**
@@ -2098,6 +2298,16 @@ export interface GetSmsChannelIdInput {
2098
2298
  * @public
2099
2299
  */
2100
2300
  export interface GetSmsChannelIdOutput {
2301
+ /**
2302
+ * The request ID of the request.
2303
+ * @public
2304
+ */
2305
+ requestId?: string | undefined;
2306
+ /**
2307
+ * The duration of the request in milliseconds.
2308
+ * @public
2309
+ */
2310
+ requestDuration?: number | undefined;
2101
2311
  /**
2102
2312
  * 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.
2103
2313
  * @public
@@ -2138,6 +2348,16 @@ export interface GetTelephonyChannelIdInput {
2138
2348
  * @public
2139
2349
  */
2140
2350
  export interface GetTelephonyChannelIdOutput {
2351
+ /**
2352
+ * The request ID of the request.
2353
+ * @public
2354
+ */
2355
+ requestId?: string | undefined;
2356
+ /**
2357
+ * The duration of the request in milliseconds.
2358
+ * @public
2359
+ */
2360
+ requestDuration?: number | undefined;
2141
2361
  /**
2142
2362
  * 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.
2143
2363
  * @public
@@ -2168,6 +2388,16 @@ export interface GetTokenInput {
2168
2388
  * @public
2169
2389
  */
2170
2390
  export interface GetTokenOutput {
2391
+ /**
2392
+ * The request ID of the request.
2393
+ * @public
2394
+ */
2395
+ requestId?: string | undefined;
2396
+ /**
2397
+ * The duration of the request in milliseconds.
2398
+ * @public
2399
+ */
2400
+ requestDuration?: number | undefined;
2171
2401
  /**
2172
2402
  * Authorization token.
2173
2403
  * @public
@@ -2254,6 +2484,16 @@ export interface UploadedFileInfo {
2254
2484
  * @public
2255
2485
  */
2256
2486
  export interface GetUploadedFileInfoOutput {
2487
+ /**
2488
+ * The request ID of the request.
2489
+ * @public
2490
+ */
2491
+ requestId?: string | undefined;
2492
+ /**
2493
+ * The duration of the request in milliseconds.
2494
+ * @public
2495
+ */
2496
+ requestDuration?: number | undefined;
2257
2497
  /**
2258
2498
  * Metadata for a file uploaded to the channel file store but not yet attached to a message.
2259
2499
  * @public
@@ -2294,6 +2534,16 @@ export interface GetWhatsAppChannelIdInput {
2294
2534
  * @public
2295
2535
  */
2296
2536
  export interface GetWhatsAppChannelIdOutput {
2537
+ /**
2538
+ * The request ID of the request.
2539
+ * @public
2540
+ */
2541
+ requestId?: string | undefined;
2542
+ /**
2543
+ * The duration of the request in milliseconds.
2544
+ * @public
2545
+ */
2546
+ requestDuration?: number | undefined;
2297
2547
  /**
2298
2548
  * 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.
2299
2549
  * @public
@@ -2344,6 +2594,16 @@ export interface HideChannelInput {
2344
2594
  * @public
2345
2595
  */
2346
2596
  export interface HideChannelOutput {
2597
+ /**
2598
+ * The request ID of the request.
2599
+ * @public
2600
+ */
2601
+ requestId?: string | undefined;
2602
+ /**
2603
+ * The duration of the request in milliseconds.
2604
+ * @public
2605
+ */
2606
+ requestDuration?: number | undefined;
2347
2607
  }
2348
2608
  /**
2349
2609
  * @public
@@ -2370,6 +2630,16 @@ export interface JoinChannelInput {
2370
2630
  * @public
2371
2631
  */
2372
2632
  export interface JoinChannelOutput {
2633
+ /**
2634
+ * The request ID of the request.
2635
+ * @public
2636
+ */
2637
+ requestId?: string | undefined;
2638
+ /**
2639
+ * The duration of the request in milliseconds.
2640
+ * @public
2641
+ */
2642
+ requestDuration?: number | undefined;
2373
2643
  channel: Channel;
2374
2644
  }
2375
2645
  /**
@@ -2397,6 +2667,16 @@ export interface LeaveChannelInput {
2397
2667
  * @public
2398
2668
  */
2399
2669
  export interface LeaveChannelOutput {
2670
+ /**
2671
+ * The request ID of the request.
2672
+ * @public
2673
+ */
2674
+ requestId?: string | undefined;
2675
+ /**
2676
+ * The duration of the request in milliseconds.
2677
+ * @public
2678
+ */
2679
+ requestDuration?: number | undefined;
2400
2680
  }
2401
2681
  /**
2402
2682
  * @public
@@ -2424,6 +2704,16 @@ export interface ListChannelMembersInput {
2424
2704
  * @public
2425
2705
  */
2426
2706
  export interface ListChannelMembersOutput {
2707
+ /**
2708
+ * The request ID of the request.
2709
+ * @public
2710
+ */
2711
+ requestId?: string | undefined;
2712
+ /**
2713
+ * The duration of the request in milliseconds.
2714
+ * @public
2715
+ */
2716
+ requestDuration?: number | undefined;
2427
2717
  members: ChannelMember[];
2428
2718
  }
2429
2719
  /**
@@ -2450,6 +2740,16 @@ export interface ListChannelMembersReadStatusInput {
2450
2740
  * @public
2451
2741
  */
2452
2742
  export interface ListChannelMembersReadStatusOutput {
2743
+ /**
2744
+ * The request ID of the request.
2745
+ * @public
2746
+ */
2747
+ requestId?: string | undefined;
2748
+ /**
2749
+ * The duration of the request in milliseconds.
2750
+ * @public
2751
+ */
2752
+ requestDuration?: number | undefined;
2453
2753
  members: ChannelMemberReadStatus[];
2454
2754
  }
2455
2755
  /**
@@ -2486,6 +2786,16 @@ export interface ListChannelsInput {
2486
2786
  * @public
2487
2787
  */
2488
2788
  export interface ListChannelsOutput {
2789
+ /**
2790
+ * The request ID of the request.
2791
+ * @public
2792
+ */
2793
+ requestId?: string | undefined;
2794
+ /**
2795
+ * The duration of the request in milliseconds.
2796
+ * @public
2797
+ */
2798
+ requestDuration?: number | undefined;
2489
2799
  /**
2490
2800
  * Ordered page of channels for the requested section.
2491
2801
  * @public
@@ -2619,6 +2929,16 @@ export interface MentionEntry {
2619
2929
  * @public
2620
2930
  */
2621
2931
  export interface ListMentionsOutput {
2932
+ /**
2933
+ * The request ID of the request.
2934
+ * @public
2935
+ */
2936
+ requestId?: string | undefined;
2937
+ /**
2938
+ * The duration of the request in milliseconds.
2939
+ * @public
2940
+ */
2941
+ requestDuration?: number | undefined;
2622
2942
  /**
2623
2943
  * Mentions ordered by most recent `mentionAddedAt` first.
2624
2944
  * @public
@@ -2669,6 +2989,16 @@ export interface ListMessagesInput {
2669
2989
  * @public
2670
2990
  */
2671
2991
  export interface ListMessagesOutput {
2992
+ /**
2993
+ * The request ID of the request.
2994
+ * @public
2995
+ */
2996
+ requestId?: string | undefined;
2997
+ /**
2998
+ * The duration of the request in milliseconds.
2999
+ * @public
3000
+ */
3001
+ requestDuration?: number | undefined;
2672
3002
  /**
2673
3003
  * Messages ordered newest-first by `timelineSeq`.
2674
3004
  * @public
@@ -2714,6 +3044,16 @@ export interface MarkReadInput {
2714
3044
  * @public
2715
3045
  */
2716
3046
  export interface MarkReadOutput {
3047
+ /**
3048
+ * The request ID of the request.
3049
+ * @public
3050
+ */
3051
+ requestId?: string | undefined;
3052
+ /**
3053
+ * The duration of the request in milliseconds.
3054
+ * @public
3055
+ */
3056
+ requestDuration?: number | undefined;
2717
3057
  /**
2718
3058
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2719
3059
  * @public
@@ -2759,6 +3099,16 @@ export interface MarkUnreadInput {
2759
3099
  * @public
2760
3100
  */
2761
3101
  export interface MarkUnreadOutput {
3102
+ /**
3103
+ * The request ID of the request.
3104
+ * @public
3105
+ */
3106
+ requestId?: string | undefined;
3107
+ /**
3108
+ * The duration of the request in milliseconds.
3109
+ * @public
3110
+ */
3111
+ requestDuration?: number | undefined;
2762
3112
  /**
2763
3113
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2764
3114
  * @public
@@ -2794,6 +3144,16 @@ export interface MoveChannelToSectionInput {
2794
3144
  * @public
2795
3145
  */
2796
3146
  export interface MoveChannelToSectionOutput {
3147
+ /**
3148
+ * The request ID of the request.
3149
+ * @public
3150
+ */
3151
+ requestId?: string | undefined;
3152
+ /**
3153
+ * The duration of the request in milliseconds.
3154
+ * @public
3155
+ */
3156
+ requestDuration?: number | undefined;
2797
3157
  /**
2798
3158
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2799
3159
  * @public
@@ -2836,6 +3196,16 @@ export interface MuteChannelInput {
2836
3196
  * @public
2837
3197
  */
2838
3198
  export interface MuteChannelOutput {
3199
+ /**
3200
+ * The request ID of the request.
3201
+ * @public
3202
+ */
3203
+ requestId?: string | undefined;
3204
+ /**
3205
+ * The duration of the request in milliseconds.
3206
+ * @public
3207
+ */
3208
+ requestDuration?: number | undefined;
2839
3209
  /**
2840
3210
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2841
3211
  * @public
@@ -2966,6 +3336,16 @@ export interface PartialUpdateChannelInput {
2966
3336
  * @public
2967
3337
  */
2968
3338
  export interface PartialUpdateChannelOutput {
3339
+ /**
3340
+ * The request ID of the request.
3341
+ * @public
3342
+ */
3343
+ requestId?: string | undefined;
3344
+ /**
3345
+ * The duration of the request in milliseconds.
3346
+ * @public
3347
+ */
3348
+ requestDuration?: number | undefined;
2969
3349
  channel: Channel;
2970
3350
  }
2971
3351
  /**
@@ -3075,6 +3455,16 @@ export interface PartialUpdateMessageOutput {
3075
3455
  * @public
3076
3456
  */
3077
3457
  message: Message;
3458
+ /**
3459
+ * The request ID of the request.
3460
+ * @public
3461
+ */
3462
+ requestId?: string | undefined;
3463
+ /**
3464
+ * The duration of the request in milliseconds.
3465
+ * @public
3466
+ */
3467
+ requestDuration?: number | undefined;
3078
3468
  }
3079
3469
  /**
3080
3470
  * @public
@@ -3100,6 +3490,16 @@ export interface PinChannelInput {
3100
3490
  * @public
3101
3491
  */
3102
3492
  export interface PinChannelOutput {
3493
+ /**
3494
+ * The request ID of the request.
3495
+ * @public
3496
+ */
3497
+ requestId?: string | undefined;
3498
+ /**
3499
+ * The duration of the request in milliseconds.
3500
+ * @public
3501
+ */
3502
+ requestDuration?: number | undefined;
3103
3503
  }
3104
3504
  /**
3105
3505
  * @public
@@ -3131,6 +3531,16 @@ export interface PinMessageOutput {
3131
3531
  * @public
3132
3532
  */
3133
3533
  message: Message;
3534
+ /**
3535
+ * The request ID of the request.
3536
+ * @public
3537
+ */
3538
+ requestId?: string | undefined;
3539
+ /**
3540
+ * The duration of the request in milliseconds.
3541
+ * @public
3542
+ */
3543
+ requestDuration?: number | undefined;
3134
3544
  }
3135
3545
  /**
3136
3546
  * @public
@@ -3156,6 +3566,16 @@ export interface QueryChannelsInput {
3156
3566
  * @public
3157
3567
  */
3158
3568
  export interface QueryChannelsOutput {
3569
+ /**
3570
+ * The request ID of the request.
3571
+ * @public
3572
+ */
3573
+ requestId?: string | undefined;
3574
+ /**
3575
+ * The duration of the request in milliseconds.
3576
+ * @public
3577
+ */
3578
+ requestDuration?: number | undefined;
3159
3579
  channels: InboxChannel[];
3160
3580
  }
3161
3581
  /**
@@ -3187,6 +3607,16 @@ export interface RemoveChannelFromSectionInput {
3187
3607
  * @public
3188
3608
  */
3189
3609
  export interface RemoveChannelFromSectionOutput {
3610
+ /**
3611
+ * The request ID of the request.
3612
+ * @public
3613
+ */
3614
+ requestId?: string | undefined;
3615
+ /**
3616
+ * The duration of the request in milliseconds.
3617
+ * @public
3618
+ */
3619
+ requestDuration?: number | undefined;
3190
3620
  /**
3191
3621
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
3192
3622
  * @public
@@ -3218,6 +3648,16 @@ export interface RenameSectionInput {
3218
3648
  * @public
3219
3649
  */
3220
3650
  export interface RenameSectionOutput {
3651
+ /**
3652
+ * The request ID of the request.
3653
+ * @public
3654
+ */
3655
+ requestId?: string | undefined;
3656
+ /**
3657
+ * The duration of the request in milliseconds.
3658
+ * @public
3659
+ */
3660
+ requestDuration?: number | undefined;
3221
3661
  /**
3222
3662
  * Inbox section with metadata, channel count, and unread counters.
3223
3663
  * @public
@@ -3284,6 +3724,16 @@ export interface SearchChannelsInput {
3284
3724
  * @public
3285
3725
  */
3286
3726
  export interface SearchChannelsOutput {
3727
+ /**
3728
+ * The request ID of the request.
3729
+ * @public
3730
+ */
3731
+ requestId?: string | undefined;
3732
+ /**
3733
+ * The duration of the request in milliseconds.
3734
+ * @public
3735
+ */
3736
+ requestDuration?: number | undefined;
3287
3737
  /**
3288
3738
  * Matching channels ordered by relevance.
3289
3739
  * @public
@@ -3384,6 +3834,16 @@ export interface SearchMessagesInput {
3384
3834
  * @public
3385
3835
  */
3386
3836
  export interface SearchMessagesOutput {
3837
+ /**
3838
+ * The request ID of the request.
3839
+ * @public
3840
+ */
3841
+ requestId?: string | undefined;
3842
+ /**
3843
+ * The duration of the request in milliseconds.
3844
+ * @public
3845
+ */
3846
+ requestDuration?: number | undefined;
3387
3847
  /**
3388
3848
  * Matching messages, access-filtered and ordered by the requested sort.
3389
3849
  * @public
@@ -3450,6 +3910,16 @@ export interface SendGiphyOutput {
3450
3910
  * @public
3451
3911
  */
3452
3912
  message: Message;
3913
+ /**
3914
+ * The request ID of the request.
3915
+ * @public
3916
+ */
3917
+ requestId?: string | undefined;
3918
+ /**
3919
+ * The duration of the request in milliseconds.
3920
+ * @public
3921
+ */
3922
+ requestDuration?: number | undefined;
3453
3923
  }
3454
3924
  /**
3455
3925
  * @public
@@ -3552,6 +4022,16 @@ export interface SendMessageOutput {
3552
4022
  * @public
3553
4023
  */
3554
4024
  message: Message;
4025
+ /**
4026
+ * The request ID of the request.
4027
+ * @public
4028
+ */
4029
+ requestId?: string | undefined;
4030
+ /**
4031
+ * The duration of the request in milliseconds.
4032
+ * @public
4033
+ */
4034
+ requestDuration?: number | undefined;
3555
4035
  }
3556
4036
  /**
3557
4037
  * @public
@@ -3588,6 +4068,16 @@ export interface SendMessageReactionOutput {
3588
4068
  * @public
3589
4069
  */
3590
4070
  message: Message;
4071
+ /**
4072
+ * The request ID of the request.
4073
+ * @public
4074
+ */
4075
+ requestId?: string | undefined;
4076
+ /**
4077
+ * The duration of the request in milliseconds.
4078
+ * @public
4079
+ */
4080
+ requestDuration?: number | undefined;
3591
4081
  }
3592
4082
  /**
3593
4083
  * Empty payload for the WhatsApp 24-hour window closed system message.
@@ -3684,6 +4174,16 @@ export interface SendSystemMessageOutput {
3684
4174
  * @public
3685
4175
  */
3686
4176
  message: Message;
4177
+ /**
4178
+ * The request ID of the request.
4179
+ * @public
4180
+ */
4181
+ requestId?: string | undefined;
4182
+ /**
4183
+ * The duration of the request in milliseconds.
4184
+ * @public
4185
+ */
4186
+ requestDuration?: number | undefined;
3687
4187
  }
3688
4188
  /**
3689
4189
  * @public
@@ -3709,6 +4209,16 @@ export interface SendTypingStartInput {
3709
4209
  * @public
3710
4210
  */
3711
4211
  export interface SendTypingStartOutput {
4212
+ /**
4213
+ * The request ID of the request.
4214
+ * @public
4215
+ */
4216
+ requestId?: string | undefined;
4217
+ /**
4218
+ * The duration of the request in milliseconds.
4219
+ * @public
4220
+ */
4221
+ requestDuration?: number | undefined;
3712
4222
  }
3713
4223
  /**
3714
4224
  * @public
@@ -3734,6 +4244,16 @@ export interface SendTypingStopInput {
3734
4244
  * @public
3735
4245
  */
3736
4246
  export interface SendTypingStopOutput {
4247
+ /**
4248
+ * The request ID of the request.
4249
+ * @public
4250
+ */
4251
+ requestId?: string | undefined;
4252
+ /**
4253
+ * The duration of the request in milliseconds.
4254
+ * @public
4255
+ */
4256
+ requestDuration?: number | undefined;
3737
4257
  }
3738
4258
  /**
3739
4259
  * @public
@@ -3759,6 +4279,16 @@ export interface ShowChannelInput {
3759
4279
  * @public
3760
4280
  */
3761
4281
  export interface ShowChannelOutput {
4282
+ /**
4283
+ * The request ID of the request.
4284
+ * @public
4285
+ */
4286
+ requestId?: string | undefined;
4287
+ /**
4288
+ * The duration of the request in milliseconds.
4289
+ * @public
4290
+ */
4291
+ requestDuration?: number | undefined;
3762
4292
  }
3763
4293
  /**
3764
4294
  * @public
@@ -3784,6 +4314,16 @@ export interface UnmuteChannelInput {
3784
4314
  * @public
3785
4315
  */
3786
4316
  export interface UnmuteChannelOutput {
4317
+ /**
4318
+ * The request ID of the request.
4319
+ * @public
4320
+ */
4321
+ requestId?: string | undefined;
4322
+ /**
4323
+ * The duration of the request in milliseconds.
4324
+ * @public
4325
+ */
4326
+ requestDuration?: number | undefined;
3787
4327
  /**
3788
4328
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
3789
4329
  * @public
@@ -3814,6 +4354,16 @@ export interface UnpinChannelInput {
3814
4354
  * @public
3815
4355
  */
3816
4356
  export interface UnpinChannelOutput {
4357
+ /**
4358
+ * The request ID of the request.
4359
+ * @public
4360
+ */
4361
+ requestId?: string | undefined;
4362
+ /**
4363
+ * The duration of the request in milliseconds.
4364
+ * @public
4365
+ */
4366
+ requestDuration?: number | undefined;
3817
4367
  }
3818
4368
  /**
3819
4369
  * @public
@@ -3845,6 +4395,16 @@ export interface UnpinMessageOutput {
3845
4395
  * @public
3846
4396
  */
3847
4397
  message: Message;
4398
+ /**
4399
+ * The request ID of the request.
4400
+ * @public
4401
+ */
4402
+ requestId?: string | undefined;
4403
+ /**
4404
+ * The duration of the request in milliseconds.
4405
+ * @public
4406
+ */
4407
+ requestDuration?: number | undefined;
3848
4408
  }
3849
4409
  /**
3850
4410
  * @public
@@ -3963,6 +4523,16 @@ export interface UpdateChannelInput {
3963
4523
  * @public
3964
4524
  */
3965
4525
  export interface UpdateChannelOutput {
4526
+ /**
4527
+ * The request ID of the request.
4528
+ * @public
4529
+ */
4530
+ requestId?: string | undefined;
4531
+ /**
4532
+ * The duration of the request in milliseconds.
4533
+ * @public
4534
+ */
4535
+ requestDuration?: number | undefined;
3966
4536
  channel: Channel;
3967
4537
  }
3968
4538
  /**
@@ -4057,6 +4627,16 @@ export interface UpdateMessageOutput {
4057
4627
  * @public
4058
4628
  */
4059
4629
  message: Message;
4630
+ /**
4631
+ * The request ID of the request.
4632
+ * @public
4633
+ */
4634
+ requestId?: string | undefined;
4635
+ /**
4636
+ * The duration of the request in milliseconds.
4637
+ * @public
4638
+ */
4639
+ requestDuration?: number | undefined;
4060
4640
  }
4061
4641
  /**
4062
4642
  * Optional parameters for the upload presign flow.
@@ -4108,6 +4688,16 @@ export interface UploadFileInput {
4108
4688
  * @public
4109
4689
  */
4110
4690
  export interface UploadFileOutput {
4691
+ /**
4692
+ * The request ID of the request.
4693
+ * @public
4694
+ */
4695
+ requestId?: string | undefined;
4696
+ /**
4697
+ * The duration of the request in milliseconds.
4698
+ * @public
4699
+ */
4700
+ requestDuration?: number | undefined;
4111
4701
  /**
4112
4702
  * File service identifier. Pass this value as `attachments[].fsId` on send and edit.
4113
4703
  * @public