@wildix/stream-client 4.1.5 → 4.1.8

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 +2 -2
@@ -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
  }
@@ -731,6 +761,16 @@ export interface CreateGroupChannelInput {
731
761
  * @public
732
762
  */
733
763
  export interface CreateGroupChannelOutput {
764
+ /**
765
+ * The request ID of the request.
766
+ * @public
767
+ */
768
+ requestId?: string | undefined;
769
+ /**
770
+ * The duration of the request in milliseconds.
771
+ * @public
772
+ */
773
+ requestDuration?: number | undefined;
734
774
  channel: Channel;
735
775
  }
736
776
  /**
@@ -1003,6 +1043,16 @@ export interface CreateKiteChannelInput {
1003
1043
  * @public
1004
1044
  */
1005
1045
  export interface CreateKiteChannelOutput {
1046
+ /**
1047
+ * The request ID of the request.
1048
+ * @public
1049
+ */
1050
+ requestId?: string | undefined;
1051
+ /**
1052
+ * The duration of the request in milliseconds.
1053
+ * @public
1054
+ */
1055
+ requestDuration?: number | undefined;
1006
1056
  channel: Channel;
1007
1057
  }
1008
1058
  /**
@@ -1076,6 +1126,16 @@ export interface Section {
1076
1126
  * @public
1077
1127
  */
1078
1128
  export interface CreateSectionOutput {
1129
+ /**
1130
+ * The request ID of the request.
1131
+ * @public
1132
+ */
1133
+ requestId?: string | undefined;
1134
+ /**
1135
+ * The duration of the request in milliseconds.
1136
+ * @public
1137
+ */
1138
+ requestDuration?: number | undefined;
1079
1139
  /**
1080
1140
  * Inbox section with metadata, channel count, and unread counters.
1081
1141
  * @public
@@ -1128,6 +1188,16 @@ export interface DeleteChannelMemberInput {
1128
1188
  * @public
1129
1189
  */
1130
1190
  export interface DeleteChannelMemberOutput {
1191
+ /**
1192
+ * The request ID of the request.
1193
+ * @public
1194
+ */
1195
+ requestId?: string | undefined;
1196
+ /**
1197
+ * The duration of the request in milliseconds.
1198
+ * @public
1199
+ */
1200
+ requestDuration?: number | undefined;
1131
1201
  }
1132
1202
  /**
1133
1203
  * @public
@@ -1154,6 +1224,16 @@ export interface DeleteMessageInput {
1154
1224
  * @public
1155
1225
  */
1156
1226
  export interface DeleteMessageOutput {
1227
+ /**
1228
+ * The request ID of the request.
1229
+ * @public
1230
+ */
1231
+ requestId?: string | undefined;
1232
+ /**
1233
+ * The duration of the request in milliseconds.
1234
+ * @public
1235
+ */
1236
+ requestDuration?: number | undefined;
1157
1237
  }
1158
1238
  /**
1159
1239
  * @public
@@ -1448,6 +1528,16 @@ export interface DeleteMessageReactionOutput {
1448
1528
  * @public
1449
1529
  */
1450
1530
  message: Message;
1531
+ /**
1532
+ * The request ID of the request.
1533
+ * @public
1534
+ */
1535
+ requestId?: string | undefined;
1536
+ /**
1537
+ * The duration of the request in milliseconds.
1538
+ * @public
1539
+ */
1540
+ requestDuration?: number | undefined;
1451
1541
  }
1452
1542
  /**
1453
1543
  * @public
@@ -1473,6 +1563,16 @@ export interface DeleteSectionInput {
1473
1563
  * @public
1474
1564
  */
1475
1565
  export interface DeleteSectionOutput {
1566
+ /**
1567
+ * The request ID of the request.
1568
+ * @public
1569
+ */
1570
+ requestId?: string | undefined;
1571
+ /**
1572
+ * The duration of the request in milliseconds.
1573
+ * @public
1574
+ */
1575
+ requestDuration?: number | undefined;
1476
1576
  }
1477
1577
  /**
1478
1578
  * @public
@@ -1498,6 +1598,16 @@ export interface GetChannelInput {
1498
1598
  * @public
1499
1599
  */
1500
1600
  export interface GetChannelOutput {
1601
+ /**
1602
+ * The request ID of the request.
1603
+ * @public
1604
+ */
1605
+ requestId?: string | undefined;
1606
+ /**
1607
+ * The duration of the request in milliseconds.
1608
+ * @public
1609
+ */
1610
+ requestDuration?: number | undefined;
1501
1611
  channel: Channel;
1502
1612
  }
1503
1613
  /**
@@ -1525,6 +1635,16 @@ export interface GetChannelMemberInput {
1525
1635
  * @public
1526
1636
  */
1527
1637
  export interface GetChannelMemberOutput {
1638
+ /**
1639
+ * The request ID of the request.
1640
+ * @public
1641
+ */
1642
+ requestId?: string | undefined;
1643
+ /**
1644
+ * The duration of the request in milliseconds.
1645
+ * @public
1646
+ */
1647
+ requestDuration?: number | undefined;
1528
1648
  /**
1529
1649
  * Channel membership row.
1530
1650
  * @public
@@ -1556,6 +1676,16 @@ export interface GetDirectChannelIdInput {
1556
1676
  * @public
1557
1677
  */
1558
1678
  export interface GetDirectChannelIdOutput {
1679
+ /**
1680
+ * The request ID of the request.
1681
+ * @public
1682
+ */
1683
+ requestId?: string | undefined;
1684
+ /**
1685
+ * The duration of the request in milliseconds.
1686
+ * @public
1687
+ */
1688
+ requestDuration?: number | undefined;
1559
1689
  /**
1560
1690
  * 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
1691
  * @public
@@ -1602,6 +1732,16 @@ export interface GetFilePresignedDownloadUrlInput {
1602
1732
  * @public
1603
1733
  */
1604
1734
  export interface GetFilePresignedDownloadUrlOutput {
1735
+ /**
1736
+ * The request ID of the request.
1737
+ * @public
1738
+ */
1739
+ requestId?: string | undefined;
1740
+ /**
1741
+ * The duration of the request in milliseconds.
1742
+ * @public
1743
+ */
1744
+ requestDuration?: number | undefined;
1605
1745
  /**
1606
1746
  * Presigned URL for downloading the file.
1607
1747
  * @public
@@ -1866,6 +2006,16 @@ export interface InboxChannel {
1866
2006
  * @public
1867
2007
  */
1868
2008
  export interface GetInboxOutput {
2009
+ /**
2010
+ * The request ID of the request.
2011
+ * @public
2012
+ */
2013
+ requestId?: string | undefined;
2014
+ /**
2015
+ * The duration of the request in milliseconds.
2016
+ * @public
2017
+ */
2018
+ requestDuration?: number | undefined;
1869
2019
  /**
1870
2020
  * Recent channels with per-user state and last-message preview.
1871
2021
  * @public
@@ -1902,6 +2052,16 @@ export interface GetMessageInput {
1902
2052
  * @public
1903
2053
  */
1904
2054
  export interface GetMessageOutput {
2055
+ /**
2056
+ * The request ID of the request.
2057
+ * @public
2058
+ */
2059
+ requestId?: string | undefined;
2060
+ /**
2061
+ * The duration of the request in milliseconds.
2062
+ * @public
2063
+ */
2064
+ requestDuration?: number | undefined;
1905
2065
  /**
1906
2066
  * Message row returned by listing and lookup endpoints. Deleted messages keep their position with `deletedAt` set and empty body.
1907
2067
  * @public
@@ -1933,6 +2093,16 @@ export interface GetOrCreateDirectChannelInput {
1933
2093
  * @public
1934
2094
  */
1935
2095
  export interface GetOrCreateDirectChannelOutput {
2096
+ /**
2097
+ * The request ID of the request.
2098
+ * @public
2099
+ */
2100
+ requestId?: string | undefined;
2101
+ /**
2102
+ * The duration of the request in milliseconds.
2103
+ * @public
2104
+ */
2105
+ requestDuration?: number | undefined;
1936
2106
  channel: Channel;
1937
2107
  }
1938
2108
  /**
@@ -1970,6 +2140,16 @@ export interface GetOrCreateSmsChannelInput {
1970
2140
  * @public
1971
2141
  */
1972
2142
  export interface GetOrCreateSmsChannelOutput {
2143
+ /**
2144
+ * The request ID of the request.
2145
+ * @public
2146
+ */
2147
+ requestId?: string | undefined;
2148
+ /**
2149
+ * The duration of the request in milliseconds.
2150
+ * @public
2151
+ */
2152
+ requestDuration?: number | undefined;
1973
2153
  channel: Channel;
1974
2154
  }
1975
2155
  /**
@@ -2006,6 +2186,16 @@ export interface GetOrCreateTelephonyChannelInput {
2006
2186
  * @public
2007
2187
  */
2008
2188
  export interface GetOrCreateTelephonyChannelOutput {
2189
+ /**
2190
+ * The request ID of the request.
2191
+ * @public
2192
+ */
2193
+ requestId?: string | undefined;
2194
+ /**
2195
+ * The duration of the request in milliseconds.
2196
+ * @public
2197
+ */
2198
+ requestDuration?: number | undefined;
2009
2199
  channel: Channel;
2010
2200
  }
2011
2201
  /**
@@ -2043,6 +2233,16 @@ export interface GetOrCreateWhatsAppChannelInput {
2043
2233
  * @public
2044
2234
  */
2045
2235
  export interface GetOrCreateWhatsAppChannelOutput {
2236
+ /**
2237
+ * The request ID of the request.
2238
+ * @public
2239
+ */
2240
+ requestId?: string | undefined;
2241
+ /**
2242
+ * The duration of the request in milliseconds.
2243
+ * @public
2244
+ */
2245
+ requestDuration?: number | undefined;
2046
2246
  channel: Channel;
2047
2247
  }
2048
2248
  /**
@@ -2079,6 +2279,16 @@ export interface GetSmsChannelIdInput {
2079
2279
  * @public
2080
2280
  */
2081
2281
  export interface GetSmsChannelIdOutput {
2282
+ /**
2283
+ * The request ID of the request.
2284
+ * @public
2285
+ */
2286
+ requestId?: string | undefined;
2287
+ /**
2288
+ * The duration of the request in milliseconds.
2289
+ * @public
2290
+ */
2291
+ requestDuration?: number | undefined;
2082
2292
  /**
2083
2293
  * 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
2294
  * @public
@@ -2119,6 +2329,16 @@ export interface GetTelephonyChannelIdInput {
2119
2329
  * @public
2120
2330
  */
2121
2331
  export interface GetTelephonyChannelIdOutput {
2332
+ /**
2333
+ * The request ID of the request.
2334
+ * @public
2335
+ */
2336
+ requestId?: string | undefined;
2337
+ /**
2338
+ * The duration of the request in milliseconds.
2339
+ * @public
2340
+ */
2341
+ requestDuration?: number | undefined;
2122
2342
  /**
2123
2343
  * 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
2344
  * @public
@@ -2149,6 +2369,16 @@ export interface GetTokenInput {
2149
2369
  * @public
2150
2370
  */
2151
2371
  export interface GetTokenOutput {
2372
+ /**
2373
+ * The request ID of the request.
2374
+ * @public
2375
+ */
2376
+ requestId?: string | undefined;
2377
+ /**
2378
+ * The duration of the request in milliseconds.
2379
+ * @public
2380
+ */
2381
+ requestDuration?: number | undefined;
2152
2382
  /**
2153
2383
  * Authorization token.
2154
2384
  * @public
@@ -2235,6 +2465,16 @@ export interface UploadedFileInfo {
2235
2465
  * @public
2236
2466
  */
2237
2467
  export interface GetUploadedFileInfoOutput {
2468
+ /**
2469
+ * The request ID of the request.
2470
+ * @public
2471
+ */
2472
+ requestId?: string | undefined;
2473
+ /**
2474
+ * The duration of the request in milliseconds.
2475
+ * @public
2476
+ */
2477
+ requestDuration?: number | undefined;
2238
2478
  /**
2239
2479
  * Metadata for a file uploaded to the channel file store but not yet attached to a message.
2240
2480
  * @public
@@ -2275,6 +2515,16 @@ export interface GetWhatsAppChannelIdInput {
2275
2515
  * @public
2276
2516
  */
2277
2517
  export interface GetWhatsAppChannelIdOutput {
2518
+ /**
2519
+ * The request ID of the request.
2520
+ * @public
2521
+ */
2522
+ requestId?: string | undefined;
2523
+ /**
2524
+ * The duration of the request in milliseconds.
2525
+ * @public
2526
+ */
2527
+ requestDuration?: number | undefined;
2278
2528
  /**
2279
2529
  * 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
2530
  * @public
@@ -2325,6 +2575,16 @@ export interface HideChannelInput {
2325
2575
  * @public
2326
2576
  */
2327
2577
  export interface HideChannelOutput {
2578
+ /**
2579
+ * The request ID of the request.
2580
+ * @public
2581
+ */
2582
+ requestId?: string | undefined;
2583
+ /**
2584
+ * The duration of the request in milliseconds.
2585
+ * @public
2586
+ */
2587
+ requestDuration?: number | undefined;
2328
2588
  }
2329
2589
  /**
2330
2590
  * @public
@@ -2351,6 +2611,16 @@ export interface JoinChannelInput {
2351
2611
  * @public
2352
2612
  */
2353
2613
  export interface JoinChannelOutput {
2614
+ /**
2615
+ * The request ID of the request.
2616
+ * @public
2617
+ */
2618
+ requestId?: string | undefined;
2619
+ /**
2620
+ * The duration of the request in milliseconds.
2621
+ * @public
2622
+ */
2623
+ requestDuration?: number | undefined;
2354
2624
  channel: Channel;
2355
2625
  }
2356
2626
  /**
@@ -2378,6 +2648,16 @@ export interface LeaveChannelInput {
2378
2648
  * @public
2379
2649
  */
2380
2650
  export interface LeaveChannelOutput {
2651
+ /**
2652
+ * The request ID of the request.
2653
+ * @public
2654
+ */
2655
+ requestId?: string | undefined;
2656
+ /**
2657
+ * The duration of the request in milliseconds.
2658
+ * @public
2659
+ */
2660
+ requestDuration?: number | undefined;
2381
2661
  }
2382
2662
  /**
2383
2663
  * @public
@@ -2405,6 +2685,16 @@ export interface ListChannelMembersInput {
2405
2685
  * @public
2406
2686
  */
2407
2687
  export interface ListChannelMembersOutput {
2688
+ /**
2689
+ * The request ID of the request.
2690
+ * @public
2691
+ */
2692
+ requestId?: string | undefined;
2693
+ /**
2694
+ * The duration of the request in milliseconds.
2695
+ * @public
2696
+ */
2697
+ requestDuration?: number | undefined;
2408
2698
  members: ChannelMember[];
2409
2699
  }
2410
2700
  /**
@@ -2431,6 +2721,16 @@ export interface ListChannelMembersReadStatusInput {
2431
2721
  * @public
2432
2722
  */
2433
2723
  export interface ListChannelMembersReadStatusOutput {
2724
+ /**
2725
+ * The request ID of the request.
2726
+ * @public
2727
+ */
2728
+ requestId?: string | undefined;
2729
+ /**
2730
+ * The duration of the request in milliseconds.
2731
+ * @public
2732
+ */
2733
+ requestDuration?: number | undefined;
2434
2734
  members: ChannelMemberReadStatus[];
2435
2735
  }
2436
2736
  /**
@@ -2467,6 +2767,16 @@ export interface ListChannelsInput {
2467
2767
  * @public
2468
2768
  */
2469
2769
  export interface ListChannelsOutput {
2770
+ /**
2771
+ * The request ID of the request.
2772
+ * @public
2773
+ */
2774
+ requestId?: string | undefined;
2775
+ /**
2776
+ * The duration of the request in milliseconds.
2777
+ * @public
2778
+ */
2779
+ requestDuration?: number | undefined;
2470
2780
  /**
2471
2781
  * Ordered page of channels for the requested section.
2472
2782
  * @public
@@ -2600,6 +2910,16 @@ export interface MentionEntry {
2600
2910
  * @public
2601
2911
  */
2602
2912
  export interface ListMentionsOutput {
2913
+ /**
2914
+ * The request ID of the request.
2915
+ * @public
2916
+ */
2917
+ requestId?: string | undefined;
2918
+ /**
2919
+ * The duration of the request in milliseconds.
2920
+ * @public
2921
+ */
2922
+ requestDuration?: number | undefined;
2603
2923
  /**
2604
2924
  * Mentions ordered by most recent `mentionAddedAt` first.
2605
2925
  * @public
@@ -2650,6 +2970,16 @@ export interface ListMessagesInput {
2650
2970
  * @public
2651
2971
  */
2652
2972
  export interface ListMessagesOutput {
2973
+ /**
2974
+ * The request ID of the request.
2975
+ * @public
2976
+ */
2977
+ requestId?: string | undefined;
2978
+ /**
2979
+ * The duration of the request in milliseconds.
2980
+ * @public
2981
+ */
2982
+ requestDuration?: number | undefined;
2653
2983
  /**
2654
2984
  * Messages ordered newest-first by `timelineSeq`.
2655
2985
  * @public
@@ -2695,6 +3025,16 @@ export interface MarkReadInput {
2695
3025
  * @public
2696
3026
  */
2697
3027
  export interface MarkReadOutput {
3028
+ /**
3029
+ * The request ID of the request.
3030
+ * @public
3031
+ */
3032
+ requestId?: string | undefined;
3033
+ /**
3034
+ * The duration of the request in milliseconds.
3035
+ * @public
3036
+ */
3037
+ requestDuration?: number | undefined;
2698
3038
  /**
2699
3039
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2700
3040
  * @public
@@ -2740,6 +3080,16 @@ export interface MarkUnreadInput {
2740
3080
  * @public
2741
3081
  */
2742
3082
  export interface MarkUnreadOutput {
3083
+ /**
3084
+ * The request ID of the request.
3085
+ * @public
3086
+ */
3087
+ requestId?: string | undefined;
3088
+ /**
3089
+ * The duration of the request in milliseconds.
3090
+ * @public
3091
+ */
3092
+ requestDuration?: number | undefined;
2743
3093
  /**
2744
3094
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2745
3095
  * @public
@@ -2775,6 +3125,16 @@ export interface MoveChannelToSectionInput {
2775
3125
  * @public
2776
3126
  */
2777
3127
  export interface MoveChannelToSectionOutput {
3128
+ /**
3129
+ * The request ID of the request.
3130
+ * @public
3131
+ */
3132
+ requestId?: string | undefined;
3133
+ /**
3134
+ * The duration of the request in milliseconds.
3135
+ * @public
3136
+ */
3137
+ requestDuration?: number | undefined;
2778
3138
  /**
2779
3139
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2780
3140
  * @public
@@ -2817,6 +3177,16 @@ export interface MuteChannelInput {
2817
3177
  * @public
2818
3178
  */
2819
3179
  export interface MuteChannelOutput {
3180
+ /**
3181
+ * The request ID of the request.
3182
+ * @public
3183
+ */
3184
+ requestId?: string | undefined;
3185
+ /**
3186
+ * The duration of the request in milliseconds.
3187
+ * @public
3188
+ */
3189
+ requestDuration?: number | undefined;
2820
3190
  /**
2821
3191
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2822
3192
  * @public
@@ -2952,6 +3322,16 @@ export interface PartialUpdateChannelInput {
2952
3322
  * @public
2953
3323
  */
2954
3324
  export interface PartialUpdateChannelOutput {
3325
+ /**
3326
+ * The request ID of the request.
3327
+ * @public
3328
+ */
3329
+ requestId?: string | undefined;
3330
+ /**
3331
+ * The duration of the request in milliseconds.
3332
+ * @public
3333
+ */
3334
+ requestDuration?: number | undefined;
2955
3335
  channel: Channel;
2956
3336
  }
2957
3337
  /**
@@ -3051,6 +3431,16 @@ export interface PartialUpdateMessageOutput {
3051
3431
  * @public
3052
3432
  */
3053
3433
  message: Message;
3434
+ /**
3435
+ * The request ID of the request.
3436
+ * @public
3437
+ */
3438
+ requestId?: string | undefined;
3439
+ /**
3440
+ * The duration of the request in milliseconds.
3441
+ * @public
3442
+ */
3443
+ requestDuration?: number | undefined;
3054
3444
  }
3055
3445
  /**
3056
3446
  * @public
@@ -3076,6 +3466,16 @@ export interface PinChannelInput {
3076
3466
  * @public
3077
3467
  */
3078
3468
  export interface PinChannelOutput {
3469
+ /**
3470
+ * The request ID of the request.
3471
+ * @public
3472
+ */
3473
+ requestId?: string | undefined;
3474
+ /**
3475
+ * The duration of the request in milliseconds.
3476
+ * @public
3477
+ */
3478
+ requestDuration?: number | undefined;
3079
3479
  }
3080
3480
  /**
3081
3481
  * @public
@@ -3107,6 +3507,16 @@ export interface PinMessageOutput {
3107
3507
  * @public
3108
3508
  */
3109
3509
  message: Message;
3510
+ /**
3511
+ * The request ID of the request.
3512
+ * @public
3513
+ */
3514
+ requestId?: string | undefined;
3515
+ /**
3516
+ * The duration of the request in milliseconds.
3517
+ * @public
3518
+ */
3519
+ requestDuration?: number | undefined;
3110
3520
  }
3111
3521
  /**
3112
3522
  * @public
@@ -3132,6 +3542,16 @@ export interface QueryChannelsInput {
3132
3542
  * @public
3133
3543
  */
3134
3544
  export interface QueryChannelsOutput {
3545
+ /**
3546
+ * The request ID of the request.
3547
+ * @public
3548
+ */
3549
+ requestId?: string | undefined;
3550
+ /**
3551
+ * The duration of the request in milliseconds.
3552
+ * @public
3553
+ */
3554
+ requestDuration?: number | undefined;
3135
3555
  channels: InboxChannel[];
3136
3556
  }
3137
3557
  /**
@@ -3163,6 +3583,16 @@ export interface RemoveChannelFromSectionInput {
3163
3583
  * @public
3164
3584
  */
3165
3585
  export interface RemoveChannelFromSectionOutput {
3586
+ /**
3587
+ * The request ID of the request.
3588
+ * @public
3589
+ */
3590
+ requestId?: string | undefined;
3591
+ /**
3592
+ * The duration of the request in milliseconds.
3593
+ * @public
3594
+ */
3595
+ requestDuration?: number | undefined;
3166
3596
  /**
3167
3597
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
3168
3598
  * @public
@@ -3194,6 +3624,16 @@ export interface RenameSectionInput {
3194
3624
  * @public
3195
3625
  */
3196
3626
  export interface RenameSectionOutput {
3627
+ /**
3628
+ * The request ID of the request.
3629
+ * @public
3630
+ */
3631
+ requestId?: string | undefined;
3632
+ /**
3633
+ * The duration of the request in milliseconds.
3634
+ * @public
3635
+ */
3636
+ requestDuration?: number | undefined;
3197
3637
  /**
3198
3638
  * Inbox section with metadata, channel count, and unread counters.
3199
3639
  * @public
@@ -3260,6 +3700,16 @@ export interface SearchChannelsInput {
3260
3700
  * @public
3261
3701
  */
3262
3702
  export interface SearchChannelsOutput {
3703
+ /**
3704
+ * The request ID of the request.
3705
+ * @public
3706
+ */
3707
+ requestId?: string | undefined;
3708
+ /**
3709
+ * The duration of the request in milliseconds.
3710
+ * @public
3711
+ */
3712
+ requestDuration?: number | undefined;
3263
3713
  /**
3264
3714
  * Matching channels ordered by relevance.
3265
3715
  * @public
@@ -3360,6 +3810,16 @@ export interface SearchMessagesInput {
3360
3810
  * @public
3361
3811
  */
3362
3812
  export interface SearchMessagesOutput {
3813
+ /**
3814
+ * The request ID of the request.
3815
+ * @public
3816
+ */
3817
+ requestId?: string | undefined;
3818
+ /**
3819
+ * The duration of the request in milliseconds.
3820
+ * @public
3821
+ */
3822
+ requestDuration?: number | undefined;
3363
3823
  /**
3364
3824
  * Matching messages, access-filtered and ordered by the requested sort.
3365
3825
  * @public
@@ -3426,6 +3886,16 @@ export interface SendGiphyOutput {
3426
3886
  * @public
3427
3887
  */
3428
3888
  message: Message;
3889
+ /**
3890
+ * The request ID of the request.
3891
+ * @public
3892
+ */
3893
+ requestId?: string | undefined;
3894
+ /**
3895
+ * The duration of the request in milliseconds.
3896
+ * @public
3897
+ */
3898
+ requestDuration?: number | undefined;
3429
3899
  }
3430
3900
  /**
3431
3901
  * @public
@@ -3518,6 +3988,16 @@ export interface SendMessageOutput {
3518
3988
  * @public
3519
3989
  */
3520
3990
  message: Message;
3991
+ /**
3992
+ * The request ID of the request.
3993
+ * @public
3994
+ */
3995
+ requestId?: string | undefined;
3996
+ /**
3997
+ * The duration of the request in milliseconds.
3998
+ * @public
3999
+ */
4000
+ requestDuration?: number | undefined;
3521
4001
  }
3522
4002
  /**
3523
4003
  * @public
@@ -3554,6 +4034,16 @@ export interface SendMessageReactionOutput {
3554
4034
  * @public
3555
4035
  */
3556
4036
  message: Message;
4037
+ /**
4038
+ * The request ID of the request.
4039
+ * @public
4040
+ */
4041
+ requestId?: string | undefined;
4042
+ /**
4043
+ * The duration of the request in milliseconds.
4044
+ * @public
4045
+ */
4046
+ requestDuration?: number | undefined;
3557
4047
  }
3558
4048
  /**
3559
4049
  * Empty payload for the WhatsApp 24-hour window closed system message.
@@ -3650,6 +4140,16 @@ export interface SendSystemMessageOutput {
3650
4140
  * @public
3651
4141
  */
3652
4142
  message: Message;
4143
+ /**
4144
+ * The request ID of the request.
4145
+ * @public
4146
+ */
4147
+ requestId?: string | undefined;
4148
+ /**
4149
+ * The duration of the request in milliseconds.
4150
+ * @public
4151
+ */
4152
+ requestDuration?: number | undefined;
3653
4153
  }
3654
4154
  /**
3655
4155
  * @public
@@ -3675,6 +4175,16 @@ export interface SendTypingStartInput {
3675
4175
  * @public
3676
4176
  */
3677
4177
  export interface SendTypingStartOutput {
4178
+ /**
4179
+ * The request ID of the request.
4180
+ * @public
4181
+ */
4182
+ requestId?: string | undefined;
4183
+ /**
4184
+ * The duration of the request in milliseconds.
4185
+ * @public
4186
+ */
4187
+ requestDuration?: number | undefined;
3678
4188
  }
3679
4189
  /**
3680
4190
  * @public
@@ -3700,6 +4210,16 @@ export interface SendTypingStopInput {
3700
4210
  * @public
3701
4211
  */
3702
4212
  export interface SendTypingStopOutput {
4213
+ /**
4214
+ * The request ID of the request.
4215
+ * @public
4216
+ */
4217
+ requestId?: string | undefined;
4218
+ /**
4219
+ * The duration of the request in milliseconds.
4220
+ * @public
4221
+ */
4222
+ requestDuration?: number | undefined;
3703
4223
  }
3704
4224
  /**
3705
4225
  * @public
@@ -3725,6 +4245,16 @@ export interface ShowChannelInput {
3725
4245
  * @public
3726
4246
  */
3727
4247
  export interface ShowChannelOutput {
4248
+ /**
4249
+ * The request ID of the request.
4250
+ * @public
4251
+ */
4252
+ requestId?: string | undefined;
4253
+ /**
4254
+ * The duration of the request in milliseconds.
4255
+ * @public
4256
+ */
4257
+ requestDuration?: number | undefined;
3728
4258
  }
3729
4259
  /**
3730
4260
  * @public
@@ -3750,6 +4280,16 @@ export interface UnmuteChannelInput {
3750
4280
  * @public
3751
4281
  */
3752
4282
  export interface UnmuteChannelOutput {
4283
+ /**
4284
+ * The request ID of the request.
4285
+ * @public
4286
+ */
4287
+ requestId?: string | undefined;
4288
+ /**
4289
+ * The duration of the request in milliseconds.
4290
+ * @public
4291
+ */
4292
+ requestDuration?: number | undefined;
3753
4293
  /**
3754
4294
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
3755
4295
  * @public
@@ -3780,6 +4320,16 @@ export interface UnpinChannelInput {
3780
4320
  * @public
3781
4321
  */
3782
4322
  export interface UnpinChannelOutput {
4323
+ /**
4324
+ * The request ID of the request.
4325
+ * @public
4326
+ */
4327
+ requestId?: string | undefined;
4328
+ /**
4329
+ * The duration of the request in milliseconds.
4330
+ * @public
4331
+ */
4332
+ requestDuration?: number | undefined;
3783
4333
  }
3784
4334
  /**
3785
4335
  * @public
@@ -3811,6 +4361,16 @@ export interface UnpinMessageOutput {
3811
4361
  * @public
3812
4362
  */
3813
4363
  message: Message;
4364
+ /**
4365
+ * The request ID of the request.
4366
+ * @public
4367
+ */
4368
+ requestId?: string | undefined;
4369
+ /**
4370
+ * The duration of the request in milliseconds.
4371
+ * @public
4372
+ */
4373
+ requestDuration?: number | undefined;
3814
4374
  }
3815
4375
  /**
3816
4376
  * @public
@@ -3934,6 +4494,16 @@ export interface UpdateChannelInput {
3934
4494
  * @public
3935
4495
  */
3936
4496
  export interface UpdateChannelOutput {
4497
+ /**
4498
+ * The request ID of the request.
4499
+ * @public
4500
+ */
4501
+ requestId?: string | undefined;
4502
+ /**
4503
+ * The duration of the request in milliseconds.
4504
+ * @public
4505
+ */
4506
+ requestDuration?: number | undefined;
3937
4507
  channel: Channel;
3938
4508
  }
3939
4509
  /**
@@ -4018,6 +4588,16 @@ export interface UpdateMessageOutput {
4018
4588
  * @public
4019
4589
  */
4020
4590
  message: Message;
4591
+ /**
4592
+ * The request ID of the request.
4593
+ * @public
4594
+ */
4595
+ requestId?: string | undefined;
4596
+ /**
4597
+ * The duration of the request in milliseconds.
4598
+ * @public
4599
+ */
4600
+ requestDuration?: number | undefined;
4021
4601
  }
4022
4602
  /**
4023
4603
  * Optional parameters for the upload presign flow.
@@ -4069,6 +4649,16 @@ export interface UploadFileInput {
4069
4649
  * @public
4070
4650
  */
4071
4651
  export interface UploadFileOutput {
4652
+ /**
4653
+ * The request ID of the request.
4654
+ * @public
4655
+ */
4656
+ requestId?: string | undefined;
4657
+ /**
4658
+ * The duration of the request in milliseconds.
4659
+ * @public
4660
+ */
4661
+ requestDuration?: number | undefined;
4072
4662
  /**
4073
4663
  * File service identifier. Pass this value as `attachments[].fsId` on send and edit.
4074
4664
  * @public