@wildix/stream-client 4.1.9 → 4.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist-cjs/models/enums.js +11 -1
  2. package/dist-cjs/schemas/schemas_0.js +169 -131
  3. package/dist-es/models/enums.js +10 -0
  4. package/dist-es/schemas/schemas_0.js +167 -129
  5. package/dist-types/commands/AddChannelMemberCommand.d.ts +2 -0
  6. package/dist-types/commands/AddChannelMembersCommand.d.ts +2 -0
  7. package/dist-types/commands/AssignChannelCommand.d.ts +2 -0
  8. package/dist-types/commands/CreateGroupChannelCommand.d.ts +2 -0
  9. package/dist-types/commands/CreateKiteChannelCommand.d.ts +40 -0
  10. package/dist-types/commands/CreateSectionCommand.d.ts +2 -0
  11. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +5 -2
  12. package/dist-types/commands/DeleteMessageCommand.d.ts +5 -2
  13. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +21 -0
  14. package/dist-types/commands/DeleteSectionCommand.d.ts +5 -2
  15. package/dist-types/commands/GetChannelCommand.d.ts +2 -0
  16. package/dist-types/commands/GetChannelMemberCommand.d.ts +2 -0
  17. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +2 -0
  18. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +2 -0
  19. package/dist-types/commands/GetInboxCommand.d.ts +2 -0
  20. package/dist-types/commands/GetMessageCommand.d.ts +21 -0
  21. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +2 -0
  22. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +2 -0
  23. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +2 -0
  24. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +2 -0
  25. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +2 -0
  26. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +2 -0
  27. package/dist-types/commands/GetTokenCommand.d.ts +2 -0
  28. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +2 -0
  29. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +2 -0
  30. package/dist-types/commands/HideChannelCommand.d.ts +5 -2
  31. package/dist-types/commands/JoinChannelCommand.d.ts +2 -0
  32. package/dist-types/commands/LeaveChannelCommand.d.ts +5 -2
  33. package/dist-types/commands/ListChannelMembersCommand.d.ts +2 -0
  34. package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +2 -0
  35. package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
  36. package/dist-types/commands/ListMentionsCommand.d.ts +21 -0
  37. package/dist-types/commands/ListMessagesCommand.d.ts +21 -0
  38. package/dist-types/commands/MarkReadCommand.d.ts +2 -0
  39. package/dist-types/commands/MarkUnreadCommand.d.ts +2 -0
  40. package/dist-types/commands/MoveChannelToSectionCommand.d.ts +2 -0
  41. package/dist-types/commands/MuteChannelCommand.d.ts +2 -0
  42. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +2 -0
  43. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +40 -0
  44. package/dist-types/commands/PinChannelCommand.d.ts +5 -2
  45. package/dist-types/commands/PinMessageCommand.d.ts +21 -0
  46. package/dist-types/commands/QueryChannelsCommand.d.ts +2 -0
  47. package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +2 -0
  48. package/dist-types/commands/RenameSectionCommand.d.ts +2 -0
  49. package/dist-types/commands/SearchChannelsCommand.d.ts +2 -0
  50. package/dist-types/commands/SearchMessagesCommand.d.ts +21 -0
  51. package/dist-types/commands/SendGiphyCommand.d.ts +21 -0
  52. package/dist-types/commands/SendMessageCommand.d.ts +40 -0
  53. package/dist-types/commands/SendMessageReactionCommand.d.ts +21 -0
  54. package/dist-types/commands/SendSystemMessageCommand.d.ts +21 -0
  55. package/dist-types/commands/SendTypingStartCommand.d.ts +5 -2
  56. package/dist-types/commands/SendTypingStopCommand.d.ts +5 -2
  57. package/dist-types/commands/ShowChannelCommand.d.ts +5 -2
  58. package/dist-types/commands/UnmuteChannelCommand.d.ts +2 -0
  59. package/dist-types/commands/UnpinChannelCommand.d.ts +5 -2
  60. package/dist-types/commands/UnpinMessageCommand.d.ts +21 -0
  61. package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
  62. package/dist-types/commands/UpdateMessageCommand.d.ts +40 -0
  63. package/dist-types/commands/UploadFileCommand.d.ts +2 -0
  64. package/dist-types/models/enums.d.ts +26 -0
  65. package/dist-types/models/models_0.d.ts +641 -2
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  67. package/dist-types/runtimeConfig.d.ts +1 -0
  68. package/dist-types/runtimeConfig.native.d.ts +1 -0
  69. package/dist-types/schemas/schemas_0.d.ts +3 -0
  70. package/package.json +3 -2
@@ -1,4 +1,4 @@
1
- import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelMessagingStatus, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageAnchor, MessageMessagingStatus, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, MessagingChannel, SearchSort, SectionType } from "./enums";
1
+ import type { AssignChannelVariant, AttachmentType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelMemberRole, ChannelMessagingStatus, ChannelsFilter, ChannelType, ChannelWhatsAppStatus, DownloadStrategy, FileCategory, GroupChannelCreationEventType, GroupChannelUnsetOptions, MentionsFilter, MessageAnchor, MessageMessagingStatus, MessageSmsStatus, MessageType, MessageUnsetFields, MessageWhatsAppStatus, MessagingChannel, SearchSort, SectionType, WilmaChatInspectOutcome, WilmaChatVerbosity } from "./enums";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -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
  /**
@@ -776,9 +816,44 @@ export interface MessageTemplateConfig {
776
816
  whatsapp?: TemplateWithParameters | undefined;
777
817
  }
778
818
  /**
819
+ * Artifact card under a Wilma chat bubble. File bytes stay in the artifacts store; open uses artifactId.
779
820
  * @public
780
821
  */
781
- export type Element = Element.ActionsMember | Element.TemplateMember | Element.$UnknownMember;
822
+ export interface WilmaChatArtifactCard {
823
+ artifactId: string;
824
+ title: string;
825
+ kind: string;
826
+ size: number;
827
+ name?: string | undefined;
828
+ }
829
+ /**
830
+ * Inspect caption under a Wilma chat bubble. Tool input and output are not stored here; the client loads them with GetSessionEvents using sessionId.
831
+ * @public
832
+ */
833
+ export interface WilmaChatInspect {
834
+ outcome: WilmaChatInspectOutcome;
835
+ durationMs?: number | undefined;
836
+ toolCount: number;
837
+ failedCount: number;
838
+ }
839
+ /**
840
+ * Snapshot painted under a Wilma chat agent message: inspect caption and artifact cards, plus ids to open details. Not reply buttons.
841
+ * @public
842
+ */
843
+ export interface WilmaChatElement {
844
+ sessionId: string;
845
+ verbosity: WilmaChatVerbosity;
846
+ /**
847
+ * Inspect caption under a Wilma chat bubble. Tool input and output are not stored here; the client loads them with GetSessionEvents using sessionId.
848
+ * @public
849
+ */
850
+ inspect?: WilmaChatInspect | undefined;
851
+ artifacts?: WilmaChatArtifactCard[] | undefined;
852
+ }
853
+ /**
854
+ * @public
855
+ */
856
+ export type Element = Element.ActionsMember | Element.TemplateMember | Element.WilmaMember | Element.$UnknownMember;
782
857
  /**
783
858
  * @public
784
859
  */
@@ -786,11 +861,23 @@ export declare namespace Element {
786
861
  interface TemplateMember {
787
862
  template: MessageTemplateConfig;
788
863
  actions?: never;
864
+ wilma?: never;
789
865
  $unknown?: never;
790
866
  }
791
867
  interface ActionsMember {
792
868
  template?: never;
793
869
  actions: ActionElement[];
870
+ wilma?: never;
871
+ $unknown?: never;
872
+ }
873
+ /**
874
+ * Snapshot painted under a Wilma chat agent message: inspect caption and artifact cards, plus ids to open details. Not reply buttons.
875
+ * @public
876
+ */
877
+ interface WilmaMember {
878
+ template?: never;
879
+ actions?: never;
880
+ wilma: WilmaChatElement;
794
881
  $unknown?: never;
795
882
  }
796
883
  /**
@@ -799,6 +886,7 @@ export declare namespace Element {
799
886
  interface $UnknownMember {
800
887
  template?: never;
801
888
  actions?: never;
889
+ wilma?: never;
802
890
  $unknown: [string, any];
803
891
  }
804
892
  /**
@@ -808,6 +896,7 @@ export declare namespace Element {
808
896
  interface Visitor<T> {
809
897
  template: (value: MessageTemplateConfig) => T;
810
898
  actions: (value: ActionElement[]) => T;
899
+ wilma: (value: WilmaChatElement) => T;
811
900
  _: (name: string, value: any) => T;
812
901
  }
813
902
  }
@@ -1018,6 +1107,16 @@ export interface CreateKiteChannelInput {
1018
1107
  * @public
1019
1108
  */
1020
1109
  export interface CreateKiteChannelOutput {
1110
+ /**
1111
+ * The request ID of the request.
1112
+ * @public
1113
+ */
1114
+ requestId?: string | undefined;
1115
+ /**
1116
+ * The duration of the request in milliseconds.
1117
+ * @public
1118
+ */
1119
+ requestDuration?: number | undefined;
1021
1120
  channel: Channel;
1022
1121
  }
1023
1122
  /**
@@ -1091,6 +1190,16 @@ export interface Section {
1091
1190
  * @public
1092
1191
  */
1093
1192
  export interface CreateSectionOutput {
1193
+ /**
1194
+ * The request ID of the request.
1195
+ * @public
1196
+ */
1197
+ requestId?: string | undefined;
1198
+ /**
1199
+ * The duration of the request in milliseconds.
1200
+ * @public
1201
+ */
1202
+ requestDuration?: number | undefined;
1094
1203
  /**
1095
1204
  * Inbox section with metadata, channel count, and unread counters.
1096
1205
  * @public
@@ -1143,6 +1252,16 @@ export interface DeleteChannelMemberInput {
1143
1252
  * @public
1144
1253
  */
1145
1254
  export interface DeleteChannelMemberOutput {
1255
+ /**
1256
+ * The request ID of the request.
1257
+ * @public
1258
+ */
1259
+ requestId?: string | undefined;
1260
+ /**
1261
+ * The duration of the request in milliseconds.
1262
+ * @public
1263
+ */
1264
+ requestDuration?: number | undefined;
1146
1265
  }
1147
1266
  /**
1148
1267
  * @public
@@ -1169,6 +1288,16 @@ export interface DeleteMessageInput {
1169
1288
  * @public
1170
1289
  */
1171
1290
  export interface DeleteMessageOutput {
1291
+ /**
1292
+ * The request ID of the request.
1293
+ * @public
1294
+ */
1295
+ requestId?: string | undefined;
1296
+ /**
1297
+ * The duration of the request in milliseconds.
1298
+ * @public
1299
+ */
1300
+ requestDuration?: number | undefined;
1172
1301
  }
1173
1302
  /**
1174
1303
  * @public
@@ -1467,6 +1596,16 @@ export interface DeleteMessageReactionOutput {
1467
1596
  * @public
1468
1597
  */
1469
1598
  message: Message;
1599
+ /**
1600
+ * The request ID of the request.
1601
+ * @public
1602
+ */
1603
+ requestId?: string | undefined;
1604
+ /**
1605
+ * The duration of the request in milliseconds.
1606
+ * @public
1607
+ */
1608
+ requestDuration?: number | undefined;
1470
1609
  }
1471
1610
  /**
1472
1611
  * @public
@@ -1492,6 +1631,16 @@ export interface DeleteSectionInput {
1492
1631
  * @public
1493
1632
  */
1494
1633
  export interface DeleteSectionOutput {
1634
+ /**
1635
+ * The request ID of the request.
1636
+ * @public
1637
+ */
1638
+ requestId?: string | undefined;
1639
+ /**
1640
+ * The duration of the request in milliseconds.
1641
+ * @public
1642
+ */
1643
+ requestDuration?: number | undefined;
1495
1644
  }
1496
1645
  /**
1497
1646
  * @public
@@ -1517,6 +1666,16 @@ export interface GetChannelInput {
1517
1666
  * @public
1518
1667
  */
1519
1668
  export interface GetChannelOutput {
1669
+ /**
1670
+ * The request ID of the request.
1671
+ * @public
1672
+ */
1673
+ requestId?: string | undefined;
1674
+ /**
1675
+ * The duration of the request in milliseconds.
1676
+ * @public
1677
+ */
1678
+ requestDuration?: number | undefined;
1520
1679
  channel: Channel;
1521
1680
  }
1522
1681
  /**
@@ -1544,6 +1703,16 @@ export interface GetChannelMemberInput {
1544
1703
  * @public
1545
1704
  */
1546
1705
  export interface GetChannelMemberOutput {
1706
+ /**
1707
+ * The request ID of the request.
1708
+ * @public
1709
+ */
1710
+ requestId?: string | undefined;
1711
+ /**
1712
+ * The duration of the request in milliseconds.
1713
+ * @public
1714
+ */
1715
+ requestDuration?: number | undefined;
1547
1716
  /**
1548
1717
  * Channel membership row.
1549
1718
  * @public
@@ -1575,6 +1744,16 @@ export interface GetDirectChannelIdInput {
1575
1744
  * @public
1576
1745
  */
1577
1746
  export interface GetDirectChannelIdOutput {
1747
+ /**
1748
+ * The request ID of the request.
1749
+ * @public
1750
+ */
1751
+ requestId?: string | undefined;
1752
+ /**
1753
+ * The duration of the request in milliseconds.
1754
+ * @public
1755
+ */
1756
+ requestDuration?: number | undefined;
1578
1757
  /**
1579
1758
  * 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
1759
  * @public
@@ -1621,6 +1800,16 @@ export interface GetFilePresignedDownloadUrlInput {
1621
1800
  * @public
1622
1801
  */
1623
1802
  export interface GetFilePresignedDownloadUrlOutput {
1803
+ /**
1804
+ * The request ID of the request.
1805
+ * @public
1806
+ */
1807
+ requestId?: string | undefined;
1808
+ /**
1809
+ * The duration of the request in milliseconds.
1810
+ * @public
1811
+ */
1812
+ requestDuration?: number | undefined;
1624
1813
  /**
1625
1814
  * Presigned URL for downloading the file.
1626
1815
  * @public
@@ -1885,6 +2074,16 @@ export interface InboxChannel {
1885
2074
  * @public
1886
2075
  */
1887
2076
  export interface GetInboxOutput {
2077
+ /**
2078
+ * The request ID of the request.
2079
+ * @public
2080
+ */
2081
+ requestId?: string | undefined;
2082
+ /**
2083
+ * The duration of the request in milliseconds.
2084
+ * @public
2085
+ */
2086
+ requestDuration?: number | undefined;
1888
2087
  /**
1889
2088
  * Recent channels with per-user state and last-message preview.
1890
2089
  * @public
@@ -1921,6 +2120,16 @@ export interface GetMessageInput {
1921
2120
  * @public
1922
2121
  */
1923
2122
  export interface GetMessageOutput {
2123
+ /**
2124
+ * The request ID of the request.
2125
+ * @public
2126
+ */
2127
+ requestId?: string | undefined;
2128
+ /**
2129
+ * The duration of the request in milliseconds.
2130
+ * @public
2131
+ */
2132
+ requestDuration?: number | undefined;
1924
2133
  /**
1925
2134
  * Message row returned by listing and lookup endpoints. Deleted messages keep their position with `deletedAt` set and empty body.
1926
2135
  * @public
@@ -1952,6 +2161,16 @@ export interface GetOrCreateDirectChannelInput {
1952
2161
  * @public
1953
2162
  */
1954
2163
  export interface GetOrCreateDirectChannelOutput {
2164
+ /**
2165
+ * The request ID of the request.
2166
+ * @public
2167
+ */
2168
+ requestId?: string | undefined;
2169
+ /**
2170
+ * The duration of the request in milliseconds.
2171
+ * @public
2172
+ */
2173
+ requestDuration?: number | undefined;
1955
2174
  channel: Channel;
1956
2175
  }
1957
2176
  /**
@@ -1989,6 +2208,16 @@ export interface GetOrCreateSmsChannelInput {
1989
2208
  * @public
1990
2209
  */
1991
2210
  export interface GetOrCreateSmsChannelOutput {
2211
+ /**
2212
+ * The request ID of the request.
2213
+ * @public
2214
+ */
2215
+ requestId?: string | undefined;
2216
+ /**
2217
+ * The duration of the request in milliseconds.
2218
+ * @public
2219
+ */
2220
+ requestDuration?: number | undefined;
1992
2221
  channel: Channel;
1993
2222
  }
1994
2223
  /**
@@ -2025,6 +2254,16 @@ export interface GetOrCreateTelephonyChannelInput {
2025
2254
  * @public
2026
2255
  */
2027
2256
  export interface GetOrCreateTelephonyChannelOutput {
2257
+ /**
2258
+ * The request ID of the request.
2259
+ * @public
2260
+ */
2261
+ requestId?: string | undefined;
2262
+ /**
2263
+ * The duration of the request in milliseconds.
2264
+ * @public
2265
+ */
2266
+ requestDuration?: number | undefined;
2028
2267
  channel: Channel;
2029
2268
  }
2030
2269
  /**
@@ -2062,6 +2301,16 @@ export interface GetOrCreateWhatsAppChannelInput {
2062
2301
  * @public
2063
2302
  */
2064
2303
  export interface GetOrCreateWhatsAppChannelOutput {
2304
+ /**
2305
+ * The request ID of the request.
2306
+ * @public
2307
+ */
2308
+ requestId?: string | undefined;
2309
+ /**
2310
+ * The duration of the request in milliseconds.
2311
+ * @public
2312
+ */
2313
+ requestDuration?: number | undefined;
2065
2314
  channel: Channel;
2066
2315
  }
2067
2316
  /**
@@ -2098,6 +2347,16 @@ export interface GetSmsChannelIdInput {
2098
2347
  * @public
2099
2348
  */
2100
2349
  export interface GetSmsChannelIdOutput {
2350
+ /**
2351
+ * The request ID of the request.
2352
+ * @public
2353
+ */
2354
+ requestId?: string | undefined;
2355
+ /**
2356
+ * The duration of the request in milliseconds.
2357
+ * @public
2358
+ */
2359
+ requestDuration?: number | undefined;
2101
2360
  /**
2102
2361
  * 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
2362
  * @public
@@ -2138,6 +2397,16 @@ export interface GetTelephonyChannelIdInput {
2138
2397
  * @public
2139
2398
  */
2140
2399
  export interface GetTelephonyChannelIdOutput {
2400
+ /**
2401
+ * The request ID of the request.
2402
+ * @public
2403
+ */
2404
+ requestId?: string | undefined;
2405
+ /**
2406
+ * The duration of the request in milliseconds.
2407
+ * @public
2408
+ */
2409
+ requestDuration?: number | undefined;
2141
2410
  /**
2142
2411
  * 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
2412
  * @public
@@ -2168,6 +2437,16 @@ export interface GetTokenInput {
2168
2437
  * @public
2169
2438
  */
2170
2439
  export interface GetTokenOutput {
2440
+ /**
2441
+ * The request ID of the request.
2442
+ * @public
2443
+ */
2444
+ requestId?: string | undefined;
2445
+ /**
2446
+ * The duration of the request in milliseconds.
2447
+ * @public
2448
+ */
2449
+ requestDuration?: number | undefined;
2171
2450
  /**
2172
2451
  * Authorization token.
2173
2452
  * @public
@@ -2254,6 +2533,16 @@ export interface UploadedFileInfo {
2254
2533
  * @public
2255
2534
  */
2256
2535
  export interface GetUploadedFileInfoOutput {
2536
+ /**
2537
+ * The request ID of the request.
2538
+ * @public
2539
+ */
2540
+ requestId?: string | undefined;
2541
+ /**
2542
+ * The duration of the request in milliseconds.
2543
+ * @public
2544
+ */
2545
+ requestDuration?: number | undefined;
2257
2546
  /**
2258
2547
  * Metadata for a file uploaded to the channel file store but not yet attached to a message.
2259
2548
  * @public
@@ -2294,6 +2583,16 @@ export interface GetWhatsAppChannelIdInput {
2294
2583
  * @public
2295
2584
  */
2296
2585
  export interface GetWhatsAppChannelIdOutput {
2586
+ /**
2587
+ * The request ID of the request.
2588
+ * @public
2589
+ */
2590
+ requestId?: string | undefined;
2591
+ /**
2592
+ * The duration of the request in milliseconds.
2593
+ * @public
2594
+ */
2595
+ requestDuration?: number | undefined;
2297
2596
  /**
2298
2597
  * 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
2598
  * @public
@@ -2344,6 +2643,16 @@ export interface HideChannelInput {
2344
2643
  * @public
2345
2644
  */
2346
2645
  export interface HideChannelOutput {
2646
+ /**
2647
+ * The request ID of the request.
2648
+ * @public
2649
+ */
2650
+ requestId?: string | undefined;
2651
+ /**
2652
+ * The duration of the request in milliseconds.
2653
+ * @public
2654
+ */
2655
+ requestDuration?: number | undefined;
2347
2656
  }
2348
2657
  /**
2349
2658
  * @public
@@ -2370,6 +2679,16 @@ export interface JoinChannelInput {
2370
2679
  * @public
2371
2680
  */
2372
2681
  export interface JoinChannelOutput {
2682
+ /**
2683
+ * The request ID of the request.
2684
+ * @public
2685
+ */
2686
+ requestId?: string | undefined;
2687
+ /**
2688
+ * The duration of the request in milliseconds.
2689
+ * @public
2690
+ */
2691
+ requestDuration?: number | undefined;
2373
2692
  channel: Channel;
2374
2693
  }
2375
2694
  /**
@@ -2397,6 +2716,16 @@ export interface LeaveChannelInput {
2397
2716
  * @public
2398
2717
  */
2399
2718
  export interface LeaveChannelOutput {
2719
+ /**
2720
+ * The request ID of the request.
2721
+ * @public
2722
+ */
2723
+ requestId?: string | undefined;
2724
+ /**
2725
+ * The duration of the request in milliseconds.
2726
+ * @public
2727
+ */
2728
+ requestDuration?: number | undefined;
2400
2729
  }
2401
2730
  /**
2402
2731
  * @public
@@ -2424,6 +2753,16 @@ export interface ListChannelMembersInput {
2424
2753
  * @public
2425
2754
  */
2426
2755
  export interface ListChannelMembersOutput {
2756
+ /**
2757
+ * The request ID of the request.
2758
+ * @public
2759
+ */
2760
+ requestId?: string | undefined;
2761
+ /**
2762
+ * The duration of the request in milliseconds.
2763
+ * @public
2764
+ */
2765
+ requestDuration?: number | undefined;
2427
2766
  members: ChannelMember[];
2428
2767
  }
2429
2768
  /**
@@ -2450,6 +2789,16 @@ export interface ListChannelMembersReadStatusInput {
2450
2789
  * @public
2451
2790
  */
2452
2791
  export interface ListChannelMembersReadStatusOutput {
2792
+ /**
2793
+ * The request ID of the request.
2794
+ * @public
2795
+ */
2796
+ requestId?: string | undefined;
2797
+ /**
2798
+ * The duration of the request in milliseconds.
2799
+ * @public
2800
+ */
2801
+ requestDuration?: number | undefined;
2453
2802
  members: ChannelMemberReadStatus[];
2454
2803
  }
2455
2804
  /**
@@ -2486,6 +2835,16 @@ export interface ListChannelsInput {
2486
2835
  * @public
2487
2836
  */
2488
2837
  export interface ListChannelsOutput {
2838
+ /**
2839
+ * The request ID of the request.
2840
+ * @public
2841
+ */
2842
+ requestId?: string | undefined;
2843
+ /**
2844
+ * The duration of the request in milliseconds.
2845
+ * @public
2846
+ */
2847
+ requestDuration?: number | undefined;
2489
2848
  /**
2490
2849
  * Ordered page of channels for the requested section.
2491
2850
  * @public
@@ -2619,6 +2978,16 @@ export interface MentionEntry {
2619
2978
  * @public
2620
2979
  */
2621
2980
  export interface ListMentionsOutput {
2981
+ /**
2982
+ * The request ID of the request.
2983
+ * @public
2984
+ */
2985
+ requestId?: string | undefined;
2986
+ /**
2987
+ * The duration of the request in milliseconds.
2988
+ * @public
2989
+ */
2990
+ requestDuration?: number | undefined;
2622
2991
  /**
2623
2992
  * Mentions ordered by most recent `mentionAddedAt` first.
2624
2993
  * @public
@@ -2669,6 +3038,16 @@ export interface ListMessagesInput {
2669
3038
  * @public
2670
3039
  */
2671
3040
  export interface ListMessagesOutput {
3041
+ /**
3042
+ * The request ID of the request.
3043
+ * @public
3044
+ */
3045
+ requestId?: string | undefined;
3046
+ /**
3047
+ * The duration of the request in milliseconds.
3048
+ * @public
3049
+ */
3050
+ requestDuration?: number | undefined;
2672
3051
  /**
2673
3052
  * Messages ordered newest-first by `timelineSeq`.
2674
3053
  * @public
@@ -2714,6 +3093,16 @@ export interface MarkReadInput {
2714
3093
  * @public
2715
3094
  */
2716
3095
  export interface MarkReadOutput {
3096
+ /**
3097
+ * The request ID of the request.
3098
+ * @public
3099
+ */
3100
+ requestId?: string | undefined;
3101
+ /**
3102
+ * The duration of the request in milliseconds.
3103
+ * @public
3104
+ */
3105
+ requestDuration?: number | undefined;
2717
3106
  /**
2718
3107
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2719
3108
  * @public
@@ -2759,6 +3148,16 @@ export interface MarkUnreadInput {
2759
3148
  * @public
2760
3149
  */
2761
3150
  export interface MarkUnreadOutput {
3151
+ /**
3152
+ * The request ID of the request.
3153
+ * @public
3154
+ */
3155
+ requestId?: string | undefined;
3156
+ /**
3157
+ * The duration of the request in milliseconds.
3158
+ * @public
3159
+ */
3160
+ requestDuration?: number | undefined;
2762
3161
  /**
2763
3162
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2764
3163
  * @public
@@ -2794,6 +3193,16 @@ export interface MoveChannelToSectionInput {
2794
3193
  * @public
2795
3194
  */
2796
3195
  export interface MoveChannelToSectionOutput {
3196
+ /**
3197
+ * The request ID of the request.
3198
+ * @public
3199
+ */
3200
+ requestId?: string | undefined;
3201
+ /**
3202
+ * The duration of the request in milliseconds.
3203
+ * @public
3204
+ */
3205
+ requestDuration?: number | undefined;
2797
3206
  /**
2798
3207
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2799
3208
  * @public
@@ -2836,6 +3245,16 @@ export interface MuteChannelInput {
2836
3245
  * @public
2837
3246
  */
2838
3247
  export interface MuteChannelOutput {
3248
+ /**
3249
+ * The request ID of the request.
3250
+ * @public
3251
+ */
3252
+ requestId?: string | undefined;
3253
+ /**
3254
+ * The duration of the request in milliseconds.
3255
+ * @public
3256
+ */
3257
+ requestDuration?: number | undefined;
2839
3258
  /**
2840
3259
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2841
3260
  * @public
@@ -2966,6 +3385,16 @@ export interface PartialUpdateChannelInput {
2966
3385
  * @public
2967
3386
  */
2968
3387
  export interface PartialUpdateChannelOutput {
3388
+ /**
3389
+ * The request ID of the request.
3390
+ * @public
3391
+ */
3392
+ requestId?: string | undefined;
3393
+ /**
3394
+ * The duration of the request in milliseconds.
3395
+ * @public
3396
+ */
3397
+ requestDuration?: number | undefined;
2969
3398
  channel: Channel;
2970
3399
  }
2971
3400
  /**
@@ -3075,6 +3504,16 @@ export interface PartialUpdateMessageOutput {
3075
3504
  * @public
3076
3505
  */
3077
3506
  message: Message;
3507
+ /**
3508
+ * The request ID of the request.
3509
+ * @public
3510
+ */
3511
+ requestId?: string | undefined;
3512
+ /**
3513
+ * The duration of the request in milliseconds.
3514
+ * @public
3515
+ */
3516
+ requestDuration?: number | undefined;
3078
3517
  }
3079
3518
  /**
3080
3519
  * @public
@@ -3100,6 +3539,16 @@ export interface PinChannelInput {
3100
3539
  * @public
3101
3540
  */
3102
3541
  export interface PinChannelOutput {
3542
+ /**
3543
+ * The request ID of the request.
3544
+ * @public
3545
+ */
3546
+ requestId?: string | undefined;
3547
+ /**
3548
+ * The duration of the request in milliseconds.
3549
+ * @public
3550
+ */
3551
+ requestDuration?: number | undefined;
3103
3552
  }
3104
3553
  /**
3105
3554
  * @public
@@ -3131,6 +3580,16 @@ export interface PinMessageOutput {
3131
3580
  * @public
3132
3581
  */
3133
3582
  message: Message;
3583
+ /**
3584
+ * The request ID of the request.
3585
+ * @public
3586
+ */
3587
+ requestId?: string | undefined;
3588
+ /**
3589
+ * The duration of the request in milliseconds.
3590
+ * @public
3591
+ */
3592
+ requestDuration?: number | undefined;
3134
3593
  }
3135
3594
  /**
3136
3595
  * @public
@@ -3156,6 +3615,16 @@ export interface QueryChannelsInput {
3156
3615
  * @public
3157
3616
  */
3158
3617
  export interface QueryChannelsOutput {
3618
+ /**
3619
+ * The request ID of the request.
3620
+ * @public
3621
+ */
3622
+ requestId?: string | undefined;
3623
+ /**
3624
+ * The duration of the request in milliseconds.
3625
+ * @public
3626
+ */
3627
+ requestDuration?: number | undefined;
3159
3628
  channels: InboxChannel[];
3160
3629
  }
3161
3630
  /**
@@ -3187,6 +3656,16 @@ export interface RemoveChannelFromSectionInput {
3187
3656
  * @public
3188
3657
  */
3189
3658
  export interface RemoveChannelFromSectionOutput {
3659
+ /**
3660
+ * The request ID of the request.
3661
+ * @public
3662
+ */
3663
+ requestId?: string | undefined;
3664
+ /**
3665
+ * The duration of the request in milliseconds.
3666
+ * @public
3667
+ */
3668
+ requestDuration?: number | undefined;
3190
3669
  /**
3191
3670
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
3192
3671
  * @public
@@ -3218,6 +3697,16 @@ export interface RenameSectionInput {
3218
3697
  * @public
3219
3698
  */
3220
3699
  export interface RenameSectionOutput {
3700
+ /**
3701
+ * The request ID of the request.
3702
+ * @public
3703
+ */
3704
+ requestId?: string | undefined;
3705
+ /**
3706
+ * The duration of the request in milliseconds.
3707
+ * @public
3708
+ */
3709
+ requestDuration?: number | undefined;
3221
3710
  /**
3222
3711
  * Inbox section with metadata, channel count, and unread counters.
3223
3712
  * @public
@@ -3284,6 +3773,16 @@ export interface SearchChannelsInput {
3284
3773
  * @public
3285
3774
  */
3286
3775
  export interface SearchChannelsOutput {
3776
+ /**
3777
+ * The request ID of the request.
3778
+ * @public
3779
+ */
3780
+ requestId?: string | undefined;
3781
+ /**
3782
+ * The duration of the request in milliseconds.
3783
+ * @public
3784
+ */
3785
+ requestDuration?: number | undefined;
3287
3786
  /**
3288
3787
  * Matching channels ordered by relevance.
3289
3788
  * @public
@@ -3384,6 +3883,16 @@ export interface SearchMessagesInput {
3384
3883
  * @public
3385
3884
  */
3386
3885
  export interface SearchMessagesOutput {
3886
+ /**
3887
+ * The request ID of the request.
3888
+ * @public
3889
+ */
3890
+ requestId?: string | undefined;
3891
+ /**
3892
+ * The duration of the request in milliseconds.
3893
+ * @public
3894
+ */
3895
+ requestDuration?: number | undefined;
3387
3896
  /**
3388
3897
  * Matching messages, access-filtered and ordered by the requested sort.
3389
3898
  * @public
@@ -3450,6 +3959,16 @@ export interface SendGiphyOutput {
3450
3959
  * @public
3451
3960
  */
3452
3961
  message: Message;
3962
+ /**
3963
+ * The request ID of the request.
3964
+ * @public
3965
+ */
3966
+ requestId?: string | undefined;
3967
+ /**
3968
+ * The duration of the request in milliseconds.
3969
+ * @public
3970
+ */
3971
+ requestDuration?: number | undefined;
3453
3972
  }
3454
3973
  /**
3455
3974
  * @public
@@ -3552,6 +4071,16 @@ export interface SendMessageOutput {
3552
4071
  * @public
3553
4072
  */
3554
4073
  message: Message;
4074
+ /**
4075
+ * The request ID of the request.
4076
+ * @public
4077
+ */
4078
+ requestId?: string | undefined;
4079
+ /**
4080
+ * The duration of the request in milliseconds.
4081
+ * @public
4082
+ */
4083
+ requestDuration?: number | undefined;
3555
4084
  }
3556
4085
  /**
3557
4086
  * @public
@@ -3588,6 +4117,16 @@ export interface SendMessageReactionOutput {
3588
4117
  * @public
3589
4118
  */
3590
4119
  message: Message;
4120
+ /**
4121
+ * The request ID of the request.
4122
+ * @public
4123
+ */
4124
+ requestId?: string | undefined;
4125
+ /**
4126
+ * The duration of the request in milliseconds.
4127
+ * @public
4128
+ */
4129
+ requestDuration?: number | undefined;
3591
4130
  }
3592
4131
  /**
3593
4132
  * Empty payload for the WhatsApp 24-hour window closed system message.
@@ -3684,6 +4223,16 @@ export interface SendSystemMessageOutput {
3684
4223
  * @public
3685
4224
  */
3686
4225
  message: Message;
4226
+ /**
4227
+ * The request ID of the request.
4228
+ * @public
4229
+ */
4230
+ requestId?: string | undefined;
4231
+ /**
4232
+ * The duration of the request in milliseconds.
4233
+ * @public
4234
+ */
4235
+ requestDuration?: number | undefined;
3687
4236
  }
3688
4237
  /**
3689
4238
  * @public
@@ -3709,6 +4258,16 @@ export interface SendTypingStartInput {
3709
4258
  * @public
3710
4259
  */
3711
4260
  export interface SendTypingStartOutput {
4261
+ /**
4262
+ * The request ID of the request.
4263
+ * @public
4264
+ */
4265
+ requestId?: string | undefined;
4266
+ /**
4267
+ * The duration of the request in milliseconds.
4268
+ * @public
4269
+ */
4270
+ requestDuration?: number | undefined;
3712
4271
  }
3713
4272
  /**
3714
4273
  * @public
@@ -3734,6 +4293,16 @@ export interface SendTypingStopInput {
3734
4293
  * @public
3735
4294
  */
3736
4295
  export interface SendTypingStopOutput {
4296
+ /**
4297
+ * The request ID of the request.
4298
+ * @public
4299
+ */
4300
+ requestId?: string | undefined;
4301
+ /**
4302
+ * The duration of the request in milliseconds.
4303
+ * @public
4304
+ */
4305
+ requestDuration?: number | undefined;
3737
4306
  }
3738
4307
  /**
3739
4308
  * @public
@@ -3759,6 +4328,16 @@ export interface ShowChannelInput {
3759
4328
  * @public
3760
4329
  */
3761
4330
  export interface ShowChannelOutput {
4331
+ /**
4332
+ * The request ID of the request.
4333
+ * @public
4334
+ */
4335
+ requestId?: string | undefined;
4336
+ /**
4337
+ * The duration of the request in milliseconds.
4338
+ * @public
4339
+ */
4340
+ requestDuration?: number | undefined;
3762
4341
  }
3763
4342
  /**
3764
4343
  * @public
@@ -3784,6 +4363,16 @@ export interface UnmuteChannelInput {
3784
4363
  * @public
3785
4364
  */
3786
4365
  export interface UnmuteChannelOutput {
4366
+ /**
4367
+ * The request ID of the request.
4368
+ * @public
4369
+ */
4370
+ requestId?: string | undefined;
4371
+ /**
4372
+ * The duration of the request in milliseconds.
4373
+ * @public
4374
+ */
4375
+ requestDuration?: number | undefined;
3787
4376
  /**
3788
4377
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
3789
4378
  * @public
@@ -3814,6 +4403,16 @@ export interface UnpinChannelInput {
3814
4403
  * @public
3815
4404
  */
3816
4405
  export interface UnpinChannelOutput {
4406
+ /**
4407
+ * The request ID of the request.
4408
+ * @public
4409
+ */
4410
+ requestId?: string | undefined;
4411
+ /**
4412
+ * The duration of the request in milliseconds.
4413
+ * @public
4414
+ */
4415
+ requestDuration?: number | undefined;
3817
4416
  }
3818
4417
  /**
3819
4418
  * @public
@@ -3845,6 +4444,16 @@ export interface UnpinMessageOutput {
3845
4444
  * @public
3846
4445
  */
3847
4446
  message: Message;
4447
+ /**
4448
+ * The request ID of the request.
4449
+ * @public
4450
+ */
4451
+ requestId?: string | undefined;
4452
+ /**
4453
+ * The duration of the request in milliseconds.
4454
+ * @public
4455
+ */
4456
+ requestDuration?: number | undefined;
3848
4457
  }
3849
4458
  /**
3850
4459
  * @public
@@ -3963,6 +4572,16 @@ export interface UpdateChannelInput {
3963
4572
  * @public
3964
4573
  */
3965
4574
  export interface UpdateChannelOutput {
4575
+ /**
4576
+ * The request ID of the request.
4577
+ * @public
4578
+ */
4579
+ requestId?: string | undefined;
4580
+ /**
4581
+ * The duration of the request in milliseconds.
4582
+ * @public
4583
+ */
4584
+ requestDuration?: number | undefined;
3966
4585
  channel: Channel;
3967
4586
  }
3968
4587
  /**
@@ -4057,6 +4676,16 @@ export interface UpdateMessageOutput {
4057
4676
  * @public
4058
4677
  */
4059
4678
  message: Message;
4679
+ /**
4680
+ * The request ID of the request.
4681
+ * @public
4682
+ */
4683
+ requestId?: string | undefined;
4684
+ /**
4685
+ * The duration of the request in milliseconds.
4686
+ * @public
4687
+ */
4688
+ requestDuration?: number | undefined;
4060
4689
  }
4061
4690
  /**
4062
4691
  * Optional parameters for the upload presign flow.
@@ -4108,6 +4737,16 @@ export interface UploadFileInput {
4108
4737
  * @public
4109
4738
  */
4110
4739
  export interface UploadFileOutput {
4740
+ /**
4741
+ * The request ID of the request.
4742
+ * @public
4743
+ */
4744
+ requestId?: string | undefined;
4745
+ /**
4746
+ * The duration of the request in milliseconds.
4747
+ * @public
4748
+ */
4749
+ requestDuration?: number | undefined;
4111
4750
  /**
4112
4751
  * File service identifier. Pass this value as `attachments[].fsId` on send and edit.
4113
4752
  * @public