@wildix/stream-client 4.1.5 → 4.1.6

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 +5 -0
  4. package/dist-types/commands/AddChannelMembersCommand.d.ts +5 -0
  5. package/dist-types/commands/AssignChannelCommand.d.ts +5 -0
  6. package/dist-types/commands/CreateGroupChannelCommand.d.ts +5 -0
  7. package/dist-types/commands/CreateKiteChannelCommand.d.ts +5 -0
  8. package/dist-types/commands/CreateSectionCommand.d.ts +5 -0
  9. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +8 -2
  10. package/dist-types/commands/DeleteMessageCommand.d.ts +8 -2
  11. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +5 -0
  12. package/dist-types/commands/DeleteSectionCommand.d.ts +8 -2
  13. package/dist-types/commands/GetChannelCommand.d.ts +5 -0
  14. package/dist-types/commands/GetChannelMemberCommand.d.ts +5 -0
  15. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +5 -0
  16. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +5 -0
  17. package/dist-types/commands/GetInboxCommand.d.ts +5 -0
  18. package/dist-types/commands/GetMessageCommand.d.ts +5 -0
  19. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +5 -0
  20. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +5 -0
  21. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +5 -0
  22. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +5 -0
  23. package/dist-types/commands/GetSmsChannelIdCommand.d.ts +5 -0
  24. package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +5 -0
  25. package/dist-types/commands/GetTokenCommand.d.ts +5 -0
  26. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +5 -0
  27. package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +5 -0
  28. package/dist-types/commands/HideChannelCommand.d.ts +8 -2
  29. package/dist-types/commands/JoinChannelCommand.d.ts +5 -0
  30. package/dist-types/commands/LeaveChannelCommand.d.ts +8 -2
  31. package/dist-types/commands/ListChannelMembersCommand.d.ts +5 -0
  32. package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +5 -0
  33. package/dist-types/commands/ListChannelsCommand.d.ts +5 -0
  34. package/dist-types/commands/ListMentionsCommand.d.ts +5 -0
  35. package/dist-types/commands/ListMessagesCommand.d.ts +5 -0
  36. package/dist-types/commands/MarkReadCommand.d.ts +5 -0
  37. package/dist-types/commands/MarkUnreadCommand.d.ts +5 -0
  38. package/dist-types/commands/MoveChannelToSectionCommand.d.ts +5 -0
  39. package/dist-types/commands/MuteChannelCommand.d.ts +5 -0
  40. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +5 -0
  41. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +5 -0
  42. package/dist-types/commands/PinChannelCommand.d.ts +8 -2
  43. package/dist-types/commands/PinMessageCommand.d.ts +5 -0
  44. package/dist-types/commands/QueryChannelsCommand.d.ts +5 -0
  45. package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +5 -0
  46. package/dist-types/commands/RenameSectionCommand.d.ts +5 -0
  47. package/dist-types/commands/SearchChannelsCommand.d.ts +5 -0
  48. package/dist-types/commands/SearchMessagesCommand.d.ts +5 -0
  49. package/dist-types/commands/SendGiphyCommand.d.ts +5 -0
  50. package/dist-types/commands/SendMessageCommand.d.ts +5 -0
  51. package/dist-types/commands/SendMessageReactionCommand.d.ts +5 -0
  52. package/dist-types/commands/SendSystemMessageCommand.d.ts +5 -0
  53. package/dist-types/commands/SendTypingStartCommand.d.ts +8 -2
  54. package/dist-types/commands/SendTypingStopCommand.d.ts +8 -2
  55. package/dist-types/commands/ShowChannelCommand.d.ts +8 -2
  56. package/dist-types/commands/UnmuteChannelCommand.d.ts +5 -0
  57. package/dist-types/commands/UnpinChannelCommand.d.ts +8 -2
  58. package/dist-types/commands/UnpinMessageCommand.d.ts +5 -0
  59. package/dist-types/commands/UpdateChannelCommand.d.ts +5 -0
  60. package/dist-types/commands/UpdateMessageCommand.d.ts +5 -0
  61. package/dist-types/commands/UploadFileCommand.d.ts +5 -0
  62. package/dist-types/models/models_0.d.ts +1476 -1
  63. package/package.json +2 -2
@@ -189,6 +189,31 @@ 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;
202
+ /**
203
+ * Displays the applicable rate limits for the current request.
204
+ * @public
205
+ */
206
+ rateLimit?: string | undefined;
207
+ /**
208
+ * Indicates how many requests a user can still make within the current time window.
209
+ * @public
210
+ */
211
+ rateLimitRemaining?: number | undefined;
212
+ /**
213
+ * Shows the time in seconds until the rate limit resets.
214
+ * @public
215
+ */
216
+ rateLimitReset?: number | undefined;
192
217
  /**
193
218
  * Channel membership row.
194
219
  * @public
@@ -228,6 +253,31 @@ export interface AddChannelMembersInput {
228
253
  * @public
229
254
  */
230
255
  export interface AddChannelMembersOutput {
256
+ /**
257
+ * The request ID of the request.
258
+ * @public
259
+ */
260
+ requestId?: string | undefined;
261
+ /**
262
+ * The duration of the request in milliseconds.
263
+ * @public
264
+ */
265
+ requestDuration?: number | undefined;
266
+ /**
267
+ * Displays the applicable rate limits for the current request.
268
+ * @public
269
+ */
270
+ rateLimit?: string | undefined;
271
+ /**
272
+ * Indicates how many requests a user can still make within the current time window.
273
+ * @public
274
+ */
275
+ rateLimitRemaining?: number | undefined;
276
+ /**
277
+ * Shows the time in seconds until the rate limit resets.
278
+ * @public
279
+ */
280
+ rateLimitReset?: number | undefined;
231
281
  members: ChannelMember[];
232
282
  }
233
283
  /**
@@ -326,6 +376,31 @@ export interface AssignChannelInput {
326
376
  * @public
327
377
  */
328
378
  export interface AssignChannelOutput {
379
+ /**
380
+ * The request ID of the request.
381
+ * @public
382
+ */
383
+ requestId?: string | undefined;
384
+ /**
385
+ * The duration of the request in milliseconds.
386
+ * @public
387
+ */
388
+ requestDuration?: number | undefined;
389
+ /**
390
+ * Displays the applicable rate limits for the current request.
391
+ * @public
392
+ */
393
+ rateLimit?: string | undefined;
394
+ /**
395
+ * Indicates how many requests a user can still make within the current time window.
396
+ * @public
397
+ */
398
+ rateLimitRemaining?: number | undefined;
399
+ /**
400
+ * Shows the time in seconds until the rate limit resets.
401
+ * @public
402
+ */
403
+ rateLimitReset?: number | undefined;
329
404
  assigneeId?: string | undefined;
330
405
  serviceUri?: string | undefined;
331
406
  }
@@ -731,6 +806,31 @@ export interface CreateGroupChannelInput {
731
806
  * @public
732
807
  */
733
808
  export interface CreateGroupChannelOutput {
809
+ /**
810
+ * The request ID of the request.
811
+ * @public
812
+ */
813
+ requestId?: string | undefined;
814
+ /**
815
+ * The duration of the request in milliseconds.
816
+ * @public
817
+ */
818
+ requestDuration?: number | undefined;
819
+ /**
820
+ * Displays the applicable rate limits for the current request.
821
+ * @public
822
+ */
823
+ rateLimit?: string | undefined;
824
+ /**
825
+ * Indicates how many requests a user can still make within the current time window.
826
+ * @public
827
+ */
828
+ rateLimitRemaining?: number | undefined;
829
+ /**
830
+ * Shows the time in seconds until the rate limit resets.
831
+ * @public
832
+ */
833
+ rateLimitReset?: number | undefined;
734
834
  channel: Channel;
735
835
  }
736
836
  /**
@@ -1003,6 +1103,31 @@ export interface CreateKiteChannelInput {
1003
1103
  * @public
1004
1104
  */
1005
1105
  export interface CreateKiteChannelOutput {
1106
+ /**
1107
+ * The request ID of the request.
1108
+ * @public
1109
+ */
1110
+ requestId?: string | undefined;
1111
+ /**
1112
+ * The duration of the request in milliseconds.
1113
+ * @public
1114
+ */
1115
+ requestDuration?: number | undefined;
1116
+ /**
1117
+ * Displays the applicable rate limits for the current request.
1118
+ * @public
1119
+ */
1120
+ rateLimit?: string | undefined;
1121
+ /**
1122
+ * Indicates how many requests a user can still make within the current time window.
1123
+ * @public
1124
+ */
1125
+ rateLimitRemaining?: number | undefined;
1126
+ /**
1127
+ * Shows the time in seconds until the rate limit resets.
1128
+ * @public
1129
+ */
1130
+ rateLimitReset?: number | undefined;
1006
1131
  channel: Channel;
1007
1132
  }
1008
1133
  /**
@@ -1076,6 +1201,31 @@ export interface Section {
1076
1201
  * @public
1077
1202
  */
1078
1203
  export interface CreateSectionOutput {
1204
+ /**
1205
+ * The request ID of the request.
1206
+ * @public
1207
+ */
1208
+ requestId?: string | undefined;
1209
+ /**
1210
+ * The duration of the request in milliseconds.
1211
+ * @public
1212
+ */
1213
+ requestDuration?: number | undefined;
1214
+ /**
1215
+ * Displays the applicable rate limits for the current request.
1216
+ * @public
1217
+ */
1218
+ rateLimit?: string | undefined;
1219
+ /**
1220
+ * Indicates how many requests a user can still make within the current time window.
1221
+ * @public
1222
+ */
1223
+ rateLimitRemaining?: number | undefined;
1224
+ /**
1225
+ * Shows the time in seconds until the rate limit resets.
1226
+ * @public
1227
+ */
1228
+ rateLimitReset?: number | undefined;
1079
1229
  /**
1080
1230
  * Inbox section with metadata, channel count, and unread counters.
1081
1231
  * @public
@@ -1128,6 +1278,31 @@ export interface DeleteChannelMemberInput {
1128
1278
  * @public
1129
1279
  */
1130
1280
  export interface DeleteChannelMemberOutput {
1281
+ /**
1282
+ * The request ID of the request.
1283
+ * @public
1284
+ */
1285
+ requestId?: string | undefined;
1286
+ /**
1287
+ * The duration of the request in milliseconds.
1288
+ * @public
1289
+ */
1290
+ requestDuration?: number | undefined;
1291
+ /**
1292
+ * Displays the applicable rate limits for the current request.
1293
+ * @public
1294
+ */
1295
+ rateLimit?: string | undefined;
1296
+ /**
1297
+ * Indicates how many requests a user can still make within the current time window.
1298
+ * @public
1299
+ */
1300
+ rateLimitRemaining?: number | undefined;
1301
+ /**
1302
+ * Shows the time in seconds until the rate limit resets.
1303
+ * @public
1304
+ */
1305
+ rateLimitReset?: number | undefined;
1131
1306
  }
1132
1307
  /**
1133
1308
  * @public
@@ -1154,6 +1329,31 @@ export interface DeleteMessageInput {
1154
1329
  * @public
1155
1330
  */
1156
1331
  export interface DeleteMessageOutput {
1332
+ /**
1333
+ * The request ID of the request.
1334
+ * @public
1335
+ */
1336
+ requestId?: string | undefined;
1337
+ /**
1338
+ * The duration of the request in milliseconds.
1339
+ * @public
1340
+ */
1341
+ requestDuration?: number | undefined;
1342
+ /**
1343
+ * Displays the applicable rate limits for the current request.
1344
+ * @public
1345
+ */
1346
+ rateLimit?: string | undefined;
1347
+ /**
1348
+ * Indicates how many requests a user can still make within the current time window.
1349
+ * @public
1350
+ */
1351
+ rateLimitRemaining?: number | undefined;
1352
+ /**
1353
+ * Shows the time in seconds until the rate limit resets.
1354
+ * @public
1355
+ */
1356
+ rateLimitReset?: number | undefined;
1157
1357
  }
1158
1358
  /**
1159
1359
  * @public
@@ -1448,6 +1648,31 @@ export interface DeleteMessageReactionOutput {
1448
1648
  * @public
1449
1649
  */
1450
1650
  message: Message;
1651
+ /**
1652
+ * The request ID of the request.
1653
+ * @public
1654
+ */
1655
+ requestId?: string | undefined;
1656
+ /**
1657
+ * The duration of the request in milliseconds.
1658
+ * @public
1659
+ */
1660
+ requestDuration?: number | undefined;
1661
+ /**
1662
+ * Displays the applicable rate limits for the current request.
1663
+ * @public
1664
+ */
1665
+ rateLimit?: string | undefined;
1666
+ /**
1667
+ * Indicates how many requests a user can still make within the current time window.
1668
+ * @public
1669
+ */
1670
+ rateLimitRemaining?: number | undefined;
1671
+ /**
1672
+ * Shows the time in seconds until the rate limit resets.
1673
+ * @public
1674
+ */
1675
+ rateLimitReset?: number | undefined;
1451
1676
  }
1452
1677
  /**
1453
1678
  * @public
@@ -1473,6 +1698,31 @@ export interface DeleteSectionInput {
1473
1698
  * @public
1474
1699
  */
1475
1700
  export interface DeleteSectionOutput {
1701
+ /**
1702
+ * The request ID of the request.
1703
+ * @public
1704
+ */
1705
+ requestId?: string | undefined;
1706
+ /**
1707
+ * The duration of the request in milliseconds.
1708
+ * @public
1709
+ */
1710
+ requestDuration?: number | undefined;
1711
+ /**
1712
+ * Displays the applicable rate limits for the current request.
1713
+ * @public
1714
+ */
1715
+ rateLimit?: string | undefined;
1716
+ /**
1717
+ * Indicates how many requests a user can still make within the current time window.
1718
+ * @public
1719
+ */
1720
+ rateLimitRemaining?: number | undefined;
1721
+ /**
1722
+ * Shows the time in seconds until the rate limit resets.
1723
+ * @public
1724
+ */
1725
+ rateLimitReset?: number | undefined;
1476
1726
  }
1477
1727
  /**
1478
1728
  * @public
@@ -1498,6 +1748,31 @@ export interface GetChannelInput {
1498
1748
  * @public
1499
1749
  */
1500
1750
  export interface GetChannelOutput {
1751
+ /**
1752
+ * The request ID of the request.
1753
+ * @public
1754
+ */
1755
+ requestId?: string | undefined;
1756
+ /**
1757
+ * The duration of the request in milliseconds.
1758
+ * @public
1759
+ */
1760
+ requestDuration?: number | undefined;
1761
+ /**
1762
+ * Displays the applicable rate limits for the current request.
1763
+ * @public
1764
+ */
1765
+ rateLimit?: string | undefined;
1766
+ /**
1767
+ * Indicates how many requests a user can still make within the current time window.
1768
+ * @public
1769
+ */
1770
+ rateLimitRemaining?: number | undefined;
1771
+ /**
1772
+ * Shows the time in seconds until the rate limit resets.
1773
+ * @public
1774
+ */
1775
+ rateLimitReset?: number | undefined;
1501
1776
  channel: Channel;
1502
1777
  }
1503
1778
  /**
@@ -1525,6 +1800,31 @@ export interface GetChannelMemberInput {
1525
1800
  * @public
1526
1801
  */
1527
1802
  export interface GetChannelMemberOutput {
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;
1813
+ /**
1814
+ * Displays the applicable rate limits for the current request.
1815
+ * @public
1816
+ */
1817
+ rateLimit?: string | undefined;
1818
+ /**
1819
+ * Indicates how many requests a user can still make within the current time window.
1820
+ * @public
1821
+ */
1822
+ rateLimitRemaining?: number | undefined;
1823
+ /**
1824
+ * Shows the time in seconds until the rate limit resets.
1825
+ * @public
1826
+ */
1827
+ rateLimitReset?: number | undefined;
1528
1828
  /**
1529
1829
  * Channel membership row.
1530
1830
  * @public
@@ -1556,6 +1856,31 @@ export interface GetDirectChannelIdInput {
1556
1856
  * @public
1557
1857
  */
1558
1858
  export interface GetDirectChannelIdOutput {
1859
+ /**
1860
+ * The request ID of the request.
1861
+ * @public
1862
+ */
1863
+ requestId?: string | undefined;
1864
+ /**
1865
+ * The duration of the request in milliseconds.
1866
+ * @public
1867
+ */
1868
+ requestDuration?: number | undefined;
1869
+ /**
1870
+ * Displays the applicable rate limits for the current request.
1871
+ * @public
1872
+ */
1873
+ rateLimit?: string | undefined;
1874
+ /**
1875
+ * Indicates how many requests a user can still make within the current time window.
1876
+ * @public
1877
+ */
1878
+ rateLimitRemaining?: number | undefined;
1879
+ /**
1880
+ * Shows the time in seconds until the rate limit resets.
1881
+ * @public
1882
+ */
1883
+ rateLimitReset?: number | undefined;
1559
1884
  /**
1560
1885
  * 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
1886
  * @public
@@ -1602,6 +1927,31 @@ export interface GetFilePresignedDownloadUrlInput {
1602
1927
  * @public
1603
1928
  */
1604
1929
  export interface GetFilePresignedDownloadUrlOutput {
1930
+ /**
1931
+ * The request ID of the request.
1932
+ * @public
1933
+ */
1934
+ requestId?: string | undefined;
1935
+ /**
1936
+ * The duration of the request in milliseconds.
1937
+ * @public
1938
+ */
1939
+ requestDuration?: number | undefined;
1940
+ /**
1941
+ * Displays the applicable rate limits for the current request.
1942
+ * @public
1943
+ */
1944
+ rateLimit?: string | undefined;
1945
+ /**
1946
+ * Indicates how many requests a user can still make within the current time window.
1947
+ * @public
1948
+ */
1949
+ rateLimitRemaining?: number | undefined;
1950
+ /**
1951
+ * Shows the time in seconds until the rate limit resets.
1952
+ * @public
1953
+ */
1954
+ rateLimitReset?: number | undefined;
1605
1955
  /**
1606
1956
  * Presigned URL for downloading the file.
1607
1957
  * @public
@@ -1866,6 +2216,31 @@ export interface InboxChannel {
1866
2216
  * @public
1867
2217
  */
1868
2218
  export interface GetInboxOutput {
2219
+ /**
2220
+ * The request ID of the request.
2221
+ * @public
2222
+ */
2223
+ requestId?: string | undefined;
2224
+ /**
2225
+ * The duration of the request in milliseconds.
2226
+ * @public
2227
+ */
2228
+ requestDuration?: number | undefined;
2229
+ /**
2230
+ * Displays the applicable rate limits for the current request.
2231
+ * @public
2232
+ */
2233
+ rateLimit?: string | undefined;
2234
+ /**
2235
+ * Indicates how many requests a user can still make within the current time window.
2236
+ * @public
2237
+ */
2238
+ rateLimitRemaining?: number | undefined;
2239
+ /**
2240
+ * Shows the time in seconds until the rate limit resets.
2241
+ * @public
2242
+ */
2243
+ rateLimitReset?: number | undefined;
1869
2244
  /**
1870
2245
  * Recent channels with per-user state and last-message preview.
1871
2246
  * @public
@@ -1902,6 +2277,31 @@ export interface GetMessageInput {
1902
2277
  * @public
1903
2278
  */
1904
2279
  export interface GetMessageOutput {
2280
+ /**
2281
+ * The request ID of the request.
2282
+ * @public
2283
+ */
2284
+ requestId?: string | undefined;
2285
+ /**
2286
+ * The duration of the request in milliseconds.
2287
+ * @public
2288
+ */
2289
+ requestDuration?: number | undefined;
2290
+ /**
2291
+ * Displays the applicable rate limits for the current request.
2292
+ * @public
2293
+ */
2294
+ rateLimit?: string | undefined;
2295
+ /**
2296
+ * Indicates how many requests a user can still make within the current time window.
2297
+ * @public
2298
+ */
2299
+ rateLimitRemaining?: number | undefined;
2300
+ /**
2301
+ * Shows the time in seconds until the rate limit resets.
2302
+ * @public
2303
+ */
2304
+ rateLimitReset?: number | undefined;
1905
2305
  /**
1906
2306
  * Message row returned by listing and lookup endpoints. Deleted messages keep their position with `deletedAt` set and empty body.
1907
2307
  * @public
@@ -1933,6 +2333,31 @@ export interface GetOrCreateDirectChannelInput {
1933
2333
  * @public
1934
2334
  */
1935
2335
  export interface GetOrCreateDirectChannelOutput {
2336
+ /**
2337
+ * The request ID of the request.
2338
+ * @public
2339
+ */
2340
+ requestId?: string | undefined;
2341
+ /**
2342
+ * The duration of the request in milliseconds.
2343
+ * @public
2344
+ */
2345
+ requestDuration?: number | undefined;
2346
+ /**
2347
+ * Displays the applicable rate limits for the current request.
2348
+ * @public
2349
+ */
2350
+ rateLimit?: string | undefined;
2351
+ /**
2352
+ * Indicates how many requests a user can still make within the current time window.
2353
+ * @public
2354
+ */
2355
+ rateLimitRemaining?: number | undefined;
2356
+ /**
2357
+ * Shows the time in seconds until the rate limit resets.
2358
+ * @public
2359
+ */
2360
+ rateLimitReset?: number | undefined;
1936
2361
  channel: Channel;
1937
2362
  }
1938
2363
  /**
@@ -1970,7 +2395,32 @@ export interface GetOrCreateSmsChannelInput {
1970
2395
  * @public
1971
2396
  */
1972
2397
  export interface GetOrCreateSmsChannelOutput {
1973
- channel: Channel;
2398
+ /**
2399
+ * The request ID of the request.
2400
+ * @public
2401
+ */
2402
+ requestId?: string | undefined;
2403
+ /**
2404
+ * The duration of the request in milliseconds.
2405
+ * @public
2406
+ */
2407
+ requestDuration?: number | undefined;
2408
+ /**
2409
+ * Displays the applicable rate limits for the current request.
2410
+ * @public
2411
+ */
2412
+ rateLimit?: string | undefined;
2413
+ /**
2414
+ * Indicates how many requests a user can still make within the current time window.
2415
+ * @public
2416
+ */
2417
+ rateLimitRemaining?: number | undefined;
2418
+ /**
2419
+ * Shows the time in seconds until the rate limit resets.
2420
+ * @public
2421
+ */
2422
+ rateLimitReset?: number | undefined;
2423
+ channel: Channel;
1974
2424
  }
1975
2425
  /**
1976
2426
  * @public
@@ -2006,6 +2456,31 @@ export interface GetOrCreateTelephonyChannelInput {
2006
2456
  * @public
2007
2457
  */
2008
2458
  export interface GetOrCreateTelephonyChannelOutput {
2459
+ /**
2460
+ * The request ID of the request.
2461
+ * @public
2462
+ */
2463
+ requestId?: string | undefined;
2464
+ /**
2465
+ * The duration of the request in milliseconds.
2466
+ * @public
2467
+ */
2468
+ requestDuration?: number | undefined;
2469
+ /**
2470
+ * Displays the applicable rate limits for the current request.
2471
+ * @public
2472
+ */
2473
+ rateLimit?: string | undefined;
2474
+ /**
2475
+ * Indicates how many requests a user can still make within the current time window.
2476
+ * @public
2477
+ */
2478
+ rateLimitRemaining?: number | undefined;
2479
+ /**
2480
+ * Shows the time in seconds until the rate limit resets.
2481
+ * @public
2482
+ */
2483
+ rateLimitReset?: number | undefined;
2009
2484
  channel: Channel;
2010
2485
  }
2011
2486
  /**
@@ -2043,6 +2518,31 @@ export interface GetOrCreateWhatsAppChannelInput {
2043
2518
  * @public
2044
2519
  */
2045
2520
  export interface GetOrCreateWhatsAppChannelOutput {
2521
+ /**
2522
+ * The request ID of the request.
2523
+ * @public
2524
+ */
2525
+ requestId?: string | undefined;
2526
+ /**
2527
+ * The duration of the request in milliseconds.
2528
+ * @public
2529
+ */
2530
+ requestDuration?: number | undefined;
2531
+ /**
2532
+ * Displays the applicable rate limits for the current request.
2533
+ * @public
2534
+ */
2535
+ rateLimit?: string | undefined;
2536
+ /**
2537
+ * Indicates how many requests a user can still make within the current time window.
2538
+ * @public
2539
+ */
2540
+ rateLimitRemaining?: number | undefined;
2541
+ /**
2542
+ * Shows the time in seconds until the rate limit resets.
2543
+ * @public
2544
+ */
2545
+ rateLimitReset?: number | undefined;
2046
2546
  channel: Channel;
2047
2547
  }
2048
2548
  /**
@@ -2079,6 +2579,31 @@ export interface GetSmsChannelIdInput {
2079
2579
  * @public
2080
2580
  */
2081
2581
  export interface GetSmsChannelIdOutput {
2582
+ /**
2583
+ * The request ID of the request.
2584
+ * @public
2585
+ */
2586
+ requestId?: string | undefined;
2587
+ /**
2588
+ * The duration of the request in milliseconds.
2589
+ * @public
2590
+ */
2591
+ requestDuration?: number | undefined;
2592
+ /**
2593
+ * Displays the applicable rate limits for the current request.
2594
+ * @public
2595
+ */
2596
+ rateLimit?: string | undefined;
2597
+ /**
2598
+ * Indicates how many requests a user can still make within the current time window.
2599
+ * @public
2600
+ */
2601
+ rateLimitRemaining?: number | undefined;
2602
+ /**
2603
+ * Shows the time in seconds until the rate limit resets.
2604
+ * @public
2605
+ */
2606
+ rateLimitReset?: number | undefined;
2082
2607
  /**
2083
2608
  * 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
2609
  * @public
@@ -2119,6 +2644,31 @@ export interface GetTelephonyChannelIdInput {
2119
2644
  * @public
2120
2645
  */
2121
2646
  export interface GetTelephonyChannelIdOutput {
2647
+ /**
2648
+ * The request ID of the request.
2649
+ * @public
2650
+ */
2651
+ requestId?: string | undefined;
2652
+ /**
2653
+ * The duration of the request in milliseconds.
2654
+ * @public
2655
+ */
2656
+ requestDuration?: number | undefined;
2657
+ /**
2658
+ * Displays the applicable rate limits for the current request.
2659
+ * @public
2660
+ */
2661
+ rateLimit?: string | undefined;
2662
+ /**
2663
+ * Indicates how many requests a user can still make within the current time window.
2664
+ * @public
2665
+ */
2666
+ rateLimitRemaining?: number | undefined;
2667
+ /**
2668
+ * Shows the time in seconds until the rate limit resets.
2669
+ * @public
2670
+ */
2671
+ rateLimitReset?: number | undefined;
2122
2672
  /**
2123
2673
  * 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
2674
  * @public
@@ -2149,6 +2699,31 @@ export interface GetTokenInput {
2149
2699
  * @public
2150
2700
  */
2151
2701
  export interface GetTokenOutput {
2702
+ /**
2703
+ * The request ID of the request.
2704
+ * @public
2705
+ */
2706
+ requestId?: string | undefined;
2707
+ /**
2708
+ * The duration of the request in milliseconds.
2709
+ * @public
2710
+ */
2711
+ requestDuration?: number | undefined;
2712
+ /**
2713
+ * Displays the applicable rate limits for the current request.
2714
+ * @public
2715
+ */
2716
+ rateLimit?: string | undefined;
2717
+ /**
2718
+ * Indicates how many requests a user can still make within the current time window.
2719
+ * @public
2720
+ */
2721
+ rateLimitRemaining?: number | undefined;
2722
+ /**
2723
+ * Shows the time in seconds until the rate limit resets.
2724
+ * @public
2725
+ */
2726
+ rateLimitReset?: number | undefined;
2152
2727
  /**
2153
2728
  * Authorization token.
2154
2729
  * @public
@@ -2235,6 +2810,31 @@ export interface UploadedFileInfo {
2235
2810
  * @public
2236
2811
  */
2237
2812
  export interface GetUploadedFileInfoOutput {
2813
+ /**
2814
+ * The request ID of the request.
2815
+ * @public
2816
+ */
2817
+ requestId?: string | undefined;
2818
+ /**
2819
+ * The duration of the request in milliseconds.
2820
+ * @public
2821
+ */
2822
+ requestDuration?: number | undefined;
2823
+ /**
2824
+ * Displays the applicable rate limits for the current request.
2825
+ * @public
2826
+ */
2827
+ rateLimit?: string | undefined;
2828
+ /**
2829
+ * Indicates how many requests a user can still make within the current time window.
2830
+ * @public
2831
+ */
2832
+ rateLimitRemaining?: number | undefined;
2833
+ /**
2834
+ * Shows the time in seconds until the rate limit resets.
2835
+ * @public
2836
+ */
2837
+ rateLimitReset?: number | undefined;
2238
2838
  /**
2239
2839
  * Metadata for a file uploaded to the channel file store but not yet attached to a message.
2240
2840
  * @public
@@ -2275,6 +2875,31 @@ export interface GetWhatsAppChannelIdInput {
2275
2875
  * @public
2276
2876
  */
2277
2877
  export interface GetWhatsAppChannelIdOutput {
2878
+ /**
2879
+ * The request ID of the request.
2880
+ * @public
2881
+ */
2882
+ requestId?: string | undefined;
2883
+ /**
2884
+ * The duration of the request in milliseconds.
2885
+ * @public
2886
+ */
2887
+ requestDuration?: number | undefined;
2888
+ /**
2889
+ * Displays the applicable rate limits for the current request.
2890
+ * @public
2891
+ */
2892
+ rateLimit?: string | undefined;
2893
+ /**
2894
+ * Indicates how many requests a user can still make within the current time window.
2895
+ * @public
2896
+ */
2897
+ rateLimitRemaining?: number | undefined;
2898
+ /**
2899
+ * Shows the time in seconds until the rate limit resets.
2900
+ * @public
2901
+ */
2902
+ rateLimitReset?: number | undefined;
2278
2903
  /**
2279
2904
  * 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
2905
  * @public
@@ -2325,6 +2950,31 @@ export interface HideChannelInput {
2325
2950
  * @public
2326
2951
  */
2327
2952
  export interface HideChannelOutput {
2953
+ /**
2954
+ * The request ID of the request.
2955
+ * @public
2956
+ */
2957
+ requestId?: string | undefined;
2958
+ /**
2959
+ * The duration of the request in milliseconds.
2960
+ * @public
2961
+ */
2962
+ requestDuration?: number | undefined;
2963
+ /**
2964
+ * Displays the applicable rate limits for the current request.
2965
+ * @public
2966
+ */
2967
+ rateLimit?: string | undefined;
2968
+ /**
2969
+ * Indicates how many requests a user can still make within the current time window.
2970
+ * @public
2971
+ */
2972
+ rateLimitRemaining?: number | undefined;
2973
+ /**
2974
+ * Shows the time in seconds until the rate limit resets.
2975
+ * @public
2976
+ */
2977
+ rateLimitReset?: number | undefined;
2328
2978
  }
2329
2979
  /**
2330
2980
  * @public
@@ -2351,6 +3001,31 @@ export interface JoinChannelInput {
2351
3001
  * @public
2352
3002
  */
2353
3003
  export interface JoinChannelOutput {
3004
+ /**
3005
+ * The request ID of the request.
3006
+ * @public
3007
+ */
3008
+ requestId?: string | undefined;
3009
+ /**
3010
+ * The duration of the request in milliseconds.
3011
+ * @public
3012
+ */
3013
+ requestDuration?: number | undefined;
3014
+ /**
3015
+ * Displays the applicable rate limits for the current request.
3016
+ * @public
3017
+ */
3018
+ rateLimit?: string | undefined;
3019
+ /**
3020
+ * Indicates how many requests a user can still make within the current time window.
3021
+ * @public
3022
+ */
3023
+ rateLimitRemaining?: number | undefined;
3024
+ /**
3025
+ * Shows the time in seconds until the rate limit resets.
3026
+ * @public
3027
+ */
3028
+ rateLimitReset?: number | undefined;
2354
3029
  channel: Channel;
2355
3030
  }
2356
3031
  /**
@@ -2378,6 +3053,31 @@ export interface LeaveChannelInput {
2378
3053
  * @public
2379
3054
  */
2380
3055
  export interface LeaveChannelOutput {
3056
+ /**
3057
+ * The request ID of the request.
3058
+ * @public
3059
+ */
3060
+ requestId?: string | undefined;
3061
+ /**
3062
+ * The duration of the request in milliseconds.
3063
+ * @public
3064
+ */
3065
+ requestDuration?: number | undefined;
3066
+ /**
3067
+ * Displays the applicable rate limits for the current request.
3068
+ * @public
3069
+ */
3070
+ rateLimit?: string | undefined;
3071
+ /**
3072
+ * Indicates how many requests a user can still make within the current time window.
3073
+ * @public
3074
+ */
3075
+ rateLimitRemaining?: number | undefined;
3076
+ /**
3077
+ * Shows the time in seconds until the rate limit resets.
3078
+ * @public
3079
+ */
3080
+ rateLimitReset?: number | undefined;
2381
3081
  }
2382
3082
  /**
2383
3083
  * @public
@@ -2405,6 +3105,31 @@ export interface ListChannelMembersInput {
2405
3105
  * @public
2406
3106
  */
2407
3107
  export interface ListChannelMembersOutput {
3108
+ /**
3109
+ * The request ID of the request.
3110
+ * @public
3111
+ */
3112
+ requestId?: string | undefined;
3113
+ /**
3114
+ * The duration of the request in milliseconds.
3115
+ * @public
3116
+ */
3117
+ requestDuration?: number | undefined;
3118
+ /**
3119
+ * Displays the applicable rate limits for the current request.
3120
+ * @public
3121
+ */
3122
+ rateLimit?: string | undefined;
3123
+ /**
3124
+ * Indicates how many requests a user can still make within the current time window.
3125
+ * @public
3126
+ */
3127
+ rateLimitRemaining?: number | undefined;
3128
+ /**
3129
+ * Shows the time in seconds until the rate limit resets.
3130
+ * @public
3131
+ */
3132
+ rateLimitReset?: number | undefined;
2408
3133
  members: ChannelMember[];
2409
3134
  }
2410
3135
  /**
@@ -2431,6 +3156,31 @@ export interface ListChannelMembersReadStatusInput {
2431
3156
  * @public
2432
3157
  */
2433
3158
  export interface ListChannelMembersReadStatusOutput {
3159
+ /**
3160
+ * The request ID of the request.
3161
+ * @public
3162
+ */
3163
+ requestId?: string | undefined;
3164
+ /**
3165
+ * The duration of the request in milliseconds.
3166
+ * @public
3167
+ */
3168
+ requestDuration?: number | undefined;
3169
+ /**
3170
+ * Displays the applicable rate limits for the current request.
3171
+ * @public
3172
+ */
3173
+ rateLimit?: string | undefined;
3174
+ /**
3175
+ * Indicates how many requests a user can still make within the current time window.
3176
+ * @public
3177
+ */
3178
+ rateLimitRemaining?: number | undefined;
3179
+ /**
3180
+ * Shows the time in seconds until the rate limit resets.
3181
+ * @public
3182
+ */
3183
+ rateLimitReset?: number | undefined;
2434
3184
  members: ChannelMemberReadStatus[];
2435
3185
  }
2436
3186
  /**
@@ -2467,6 +3217,31 @@ export interface ListChannelsInput {
2467
3217
  * @public
2468
3218
  */
2469
3219
  export interface ListChannelsOutput {
3220
+ /**
3221
+ * The request ID of the request.
3222
+ * @public
3223
+ */
3224
+ requestId?: string | undefined;
3225
+ /**
3226
+ * The duration of the request in milliseconds.
3227
+ * @public
3228
+ */
3229
+ requestDuration?: number | undefined;
3230
+ /**
3231
+ * Displays the applicable rate limits for the current request.
3232
+ * @public
3233
+ */
3234
+ rateLimit?: string | undefined;
3235
+ /**
3236
+ * Indicates how many requests a user can still make within the current time window.
3237
+ * @public
3238
+ */
3239
+ rateLimitRemaining?: number | undefined;
3240
+ /**
3241
+ * Shows the time in seconds until the rate limit resets.
3242
+ * @public
3243
+ */
3244
+ rateLimitReset?: number | undefined;
2470
3245
  /**
2471
3246
  * Ordered page of channels for the requested section.
2472
3247
  * @public
@@ -2600,6 +3375,31 @@ export interface MentionEntry {
2600
3375
  * @public
2601
3376
  */
2602
3377
  export interface ListMentionsOutput {
3378
+ /**
3379
+ * The request ID of the request.
3380
+ * @public
3381
+ */
3382
+ requestId?: string | undefined;
3383
+ /**
3384
+ * The duration of the request in milliseconds.
3385
+ * @public
3386
+ */
3387
+ requestDuration?: number | undefined;
3388
+ /**
3389
+ * Displays the applicable rate limits for the current request.
3390
+ * @public
3391
+ */
3392
+ rateLimit?: string | undefined;
3393
+ /**
3394
+ * Indicates how many requests a user can still make within the current time window.
3395
+ * @public
3396
+ */
3397
+ rateLimitRemaining?: number | undefined;
3398
+ /**
3399
+ * Shows the time in seconds until the rate limit resets.
3400
+ * @public
3401
+ */
3402
+ rateLimitReset?: number | undefined;
2603
3403
  /**
2604
3404
  * Mentions ordered by most recent `mentionAddedAt` first.
2605
3405
  * @public
@@ -2650,6 +3450,31 @@ export interface ListMessagesInput {
2650
3450
  * @public
2651
3451
  */
2652
3452
  export interface ListMessagesOutput {
3453
+ /**
3454
+ * The request ID of the request.
3455
+ * @public
3456
+ */
3457
+ requestId?: string | undefined;
3458
+ /**
3459
+ * The duration of the request in milliseconds.
3460
+ * @public
3461
+ */
3462
+ requestDuration?: number | undefined;
3463
+ /**
3464
+ * Displays the applicable rate limits for the current request.
3465
+ * @public
3466
+ */
3467
+ rateLimit?: string | undefined;
3468
+ /**
3469
+ * Indicates how many requests a user can still make within the current time window.
3470
+ * @public
3471
+ */
3472
+ rateLimitRemaining?: number | undefined;
3473
+ /**
3474
+ * Shows the time in seconds until the rate limit resets.
3475
+ * @public
3476
+ */
3477
+ rateLimitReset?: number | undefined;
2653
3478
  /**
2654
3479
  * Messages ordered newest-first by `timelineSeq`.
2655
3480
  * @public
@@ -2695,6 +3520,31 @@ export interface MarkReadInput {
2695
3520
  * @public
2696
3521
  */
2697
3522
  export interface MarkReadOutput {
3523
+ /**
3524
+ * The request ID of the request.
3525
+ * @public
3526
+ */
3527
+ requestId?: string | undefined;
3528
+ /**
3529
+ * The duration of the request in milliseconds.
3530
+ * @public
3531
+ */
3532
+ requestDuration?: number | undefined;
3533
+ /**
3534
+ * Displays the applicable rate limits for the current request.
3535
+ * @public
3536
+ */
3537
+ rateLimit?: string | undefined;
3538
+ /**
3539
+ * Indicates how many requests a user can still make within the current time window.
3540
+ * @public
3541
+ */
3542
+ rateLimitRemaining?: number | undefined;
3543
+ /**
3544
+ * Shows the time in seconds until the rate limit resets.
3545
+ * @public
3546
+ */
3547
+ rateLimitReset?: number | undefined;
2698
3548
  /**
2699
3549
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2700
3550
  * @public
@@ -2740,6 +3590,31 @@ export interface MarkUnreadInput {
2740
3590
  * @public
2741
3591
  */
2742
3592
  export interface MarkUnreadOutput {
3593
+ /**
3594
+ * The request ID of the request.
3595
+ * @public
3596
+ */
3597
+ requestId?: string | undefined;
3598
+ /**
3599
+ * The duration of the request in milliseconds.
3600
+ * @public
3601
+ */
3602
+ requestDuration?: number | undefined;
3603
+ /**
3604
+ * Displays the applicable rate limits for the current request.
3605
+ * @public
3606
+ */
3607
+ rateLimit?: string | undefined;
3608
+ /**
3609
+ * Indicates how many requests a user can still make within the current time window.
3610
+ * @public
3611
+ */
3612
+ rateLimitRemaining?: number | undefined;
3613
+ /**
3614
+ * Shows the time in seconds until the rate limit resets.
3615
+ * @public
3616
+ */
3617
+ rateLimitReset?: number | undefined;
2743
3618
  /**
2744
3619
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2745
3620
  * @public
@@ -2775,6 +3650,31 @@ export interface MoveChannelToSectionInput {
2775
3650
  * @public
2776
3651
  */
2777
3652
  export interface MoveChannelToSectionOutput {
3653
+ /**
3654
+ * The request ID of the request.
3655
+ * @public
3656
+ */
3657
+ requestId?: string | undefined;
3658
+ /**
3659
+ * The duration of the request in milliseconds.
3660
+ * @public
3661
+ */
3662
+ requestDuration?: number | undefined;
3663
+ /**
3664
+ * Displays the applicable rate limits for the current request.
3665
+ * @public
3666
+ */
3667
+ rateLimit?: string | undefined;
3668
+ /**
3669
+ * Indicates how many requests a user can still make within the current time window.
3670
+ * @public
3671
+ */
3672
+ rateLimitRemaining?: number | undefined;
3673
+ /**
3674
+ * Shows the time in seconds until the rate limit resets.
3675
+ * @public
3676
+ */
3677
+ rateLimitReset?: number | undefined;
2778
3678
  /**
2779
3679
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2780
3680
  * @public
@@ -2817,6 +3717,31 @@ export interface MuteChannelInput {
2817
3717
  * @public
2818
3718
  */
2819
3719
  export interface MuteChannelOutput {
3720
+ /**
3721
+ * The request ID of the request.
3722
+ * @public
3723
+ */
3724
+ requestId?: string | undefined;
3725
+ /**
3726
+ * The duration of the request in milliseconds.
3727
+ * @public
3728
+ */
3729
+ requestDuration?: number | undefined;
3730
+ /**
3731
+ * Displays the applicable rate limits for the current request.
3732
+ * @public
3733
+ */
3734
+ rateLimit?: string | undefined;
3735
+ /**
3736
+ * Indicates how many requests a user can still make within the current time window.
3737
+ * @public
3738
+ */
3739
+ rateLimitRemaining?: number | undefined;
3740
+ /**
3741
+ * Shows the time in seconds until the rate limit resets.
3742
+ * @public
3743
+ */
3744
+ rateLimitReset?: number | undefined;
2820
3745
  /**
2821
3746
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
2822
3747
  * @public
@@ -2952,6 +3877,31 @@ export interface PartialUpdateChannelInput {
2952
3877
  * @public
2953
3878
  */
2954
3879
  export interface PartialUpdateChannelOutput {
3880
+ /**
3881
+ * The request ID of the request.
3882
+ * @public
3883
+ */
3884
+ requestId?: string | undefined;
3885
+ /**
3886
+ * The duration of the request in milliseconds.
3887
+ * @public
3888
+ */
3889
+ requestDuration?: number | undefined;
3890
+ /**
3891
+ * Displays the applicable rate limits for the current request.
3892
+ * @public
3893
+ */
3894
+ rateLimit?: string | undefined;
3895
+ /**
3896
+ * Indicates how many requests a user can still make within the current time window.
3897
+ * @public
3898
+ */
3899
+ rateLimitRemaining?: number | undefined;
3900
+ /**
3901
+ * Shows the time in seconds until the rate limit resets.
3902
+ * @public
3903
+ */
3904
+ rateLimitReset?: number | undefined;
2955
3905
  channel: Channel;
2956
3906
  }
2957
3907
  /**
@@ -3051,6 +4001,31 @@ export interface PartialUpdateMessageOutput {
3051
4001
  * @public
3052
4002
  */
3053
4003
  message: Message;
4004
+ /**
4005
+ * The request ID of the request.
4006
+ * @public
4007
+ */
4008
+ requestId?: string | undefined;
4009
+ /**
4010
+ * The duration of the request in milliseconds.
4011
+ * @public
4012
+ */
4013
+ requestDuration?: number | undefined;
4014
+ /**
4015
+ * Displays the applicable rate limits for the current request.
4016
+ * @public
4017
+ */
4018
+ rateLimit?: string | undefined;
4019
+ /**
4020
+ * Indicates how many requests a user can still make within the current time window.
4021
+ * @public
4022
+ */
4023
+ rateLimitRemaining?: number | undefined;
4024
+ /**
4025
+ * Shows the time in seconds until the rate limit resets.
4026
+ * @public
4027
+ */
4028
+ rateLimitReset?: number | undefined;
3054
4029
  }
3055
4030
  /**
3056
4031
  * @public
@@ -3076,6 +4051,31 @@ export interface PinChannelInput {
3076
4051
  * @public
3077
4052
  */
3078
4053
  export interface PinChannelOutput {
4054
+ /**
4055
+ * The request ID of the request.
4056
+ * @public
4057
+ */
4058
+ requestId?: string | undefined;
4059
+ /**
4060
+ * The duration of the request in milliseconds.
4061
+ * @public
4062
+ */
4063
+ requestDuration?: number | undefined;
4064
+ /**
4065
+ * Displays the applicable rate limits for the current request.
4066
+ * @public
4067
+ */
4068
+ rateLimit?: string | undefined;
4069
+ /**
4070
+ * Indicates how many requests a user can still make within the current time window.
4071
+ * @public
4072
+ */
4073
+ rateLimitRemaining?: number | undefined;
4074
+ /**
4075
+ * Shows the time in seconds until the rate limit resets.
4076
+ * @public
4077
+ */
4078
+ rateLimitReset?: number | undefined;
3079
4079
  }
3080
4080
  /**
3081
4081
  * @public
@@ -3107,6 +4107,31 @@ export interface PinMessageOutput {
3107
4107
  * @public
3108
4108
  */
3109
4109
  message: Message;
4110
+ /**
4111
+ * The request ID of the request.
4112
+ * @public
4113
+ */
4114
+ requestId?: string | undefined;
4115
+ /**
4116
+ * The duration of the request in milliseconds.
4117
+ * @public
4118
+ */
4119
+ requestDuration?: number | undefined;
4120
+ /**
4121
+ * Displays the applicable rate limits for the current request.
4122
+ * @public
4123
+ */
4124
+ rateLimit?: string | undefined;
4125
+ /**
4126
+ * Indicates how many requests a user can still make within the current time window.
4127
+ * @public
4128
+ */
4129
+ rateLimitRemaining?: number | undefined;
4130
+ /**
4131
+ * Shows the time in seconds until the rate limit resets.
4132
+ * @public
4133
+ */
4134
+ rateLimitReset?: number | undefined;
3110
4135
  }
3111
4136
  /**
3112
4137
  * @public
@@ -3132,6 +4157,31 @@ export interface QueryChannelsInput {
3132
4157
  * @public
3133
4158
  */
3134
4159
  export interface QueryChannelsOutput {
4160
+ /**
4161
+ * The request ID of the request.
4162
+ * @public
4163
+ */
4164
+ requestId?: string | undefined;
4165
+ /**
4166
+ * The duration of the request in milliseconds.
4167
+ * @public
4168
+ */
4169
+ requestDuration?: number | undefined;
4170
+ /**
4171
+ * Displays the applicable rate limits for the current request.
4172
+ * @public
4173
+ */
4174
+ rateLimit?: string | undefined;
4175
+ /**
4176
+ * Indicates how many requests a user can still make within the current time window.
4177
+ * @public
4178
+ */
4179
+ rateLimitRemaining?: number | undefined;
4180
+ /**
4181
+ * Shows the time in seconds until the rate limit resets.
4182
+ * @public
4183
+ */
4184
+ rateLimitReset?: number | undefined;
3135
4185
  channels: InboxChannel[];
3136
4186
  }
3137
4187
  /**
@@ -3163,6 +4213,31 @@ export interface RemoveChannelFromSectionInput {
3163
4213
  * @public
3164
4214
  */
3165
4215
  export interface RemoveChannelFromSectionOutput {
4216
+ /**
4217
+ * The request ID of the request.
4218
+ * @public
4219
+ */
4220
+ requestId?: string | undefined;
4221
+ /**
4222
+ * The duration of the request in milliseconds.
4223
+ * @public
4224
+ */
4225
+ requestDuration?: number | undefined;
4226
+ /**
4227
+ * Displays the applicable rate limits for the current request.
4228
+ * @public
4229
+ */
4230
+ rateLimit?: string | undefined;
4231
+ /**
4232
+ * Indicates how many requests a user can still make within the current time window.
4233
+ * @public
4234
+ */
4235
+ rateLimitRemaining?: number | undefined;
4236
+ /**
4237
+ * Shows the time in seconds until the rate limit resets.
4238
+ * @public
4239
+ */
4240
+ rateLimitReset?: number | undefined;
3166
4241
  /**
3167
4242
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
3168
4243
  * @public
@@ -3194,6 +4269,31 @@ export interface RenameSectionInput {
3194
4269
  * @public
3195
4270
  */
3196
4271
  export interface RenameSectionOutput {
4272
+ /**
4273
+ * The request ID of the request.
4274
+ * @public
4275
+ */
4276
+ requestId?: string | undefined;
4277
+ /**
4278
+ * The duration of the request in milliseconds.
4279
+ * @public
4280
+ */
4281
+ requestDuration?: number | undefined;
4282
+ /**
4283
+ * Displays the applicable rate limits for the current request.
4284
+ * @public
4285
+ */
4286
+ rateLimit?: string | undefined;
4287
+ /**
4288
+ * Indicates how many requests a user can still make within the current time window.
4289
+ * @public
4290
+ */
4291
+ rateLimitRemaining?: number | undefined;
4292
+ /**
4293
+ * Shows the time in seconds until the rate limit resets.
4294
+ * @public
4295
+ */
4296
+ rateLimitReset?: number | undefined;
3197
4297
  /**
3198
4298
  * Inbox section with metadata, channel count, and unread counters.
3199
4299
  * @public
@@ -3260,6 +4360,31 @@ export interface SearchChannelsInput {
3260
4360
  * @public
3261
4361
  */
3262
4362
  export interface SearchChannelsOutput {
4363
+ /**
4364
+ * The request ID of the request.
4365
+ * @public
4366
+ */
4367
+ requestId?: string | undefined;
4368
+ /**
4369
+ * The duration of the request in milliseconds.
4370
+ * @public
4371
+ */
4372
+ requestDuration?: number | undefined;
4373
+ /**
4374
+ * Displays the applicable rate limits for the current request.
4375
+ * @public
4376
+ */
4377
+ rateLimit?: string | undefined;
4378
+ /**
4379
+ * Indicates how many requests a user can still make within the current time window.
4380
+ * @public
4381
+ */
4382
+ rateLimitRemaining?: number | undefined;
4383
+ /**
4384
+ * Shows the time in seconds until the rate limit resets.
4385
+ * @public
4386
+ */
4387
+ rateLimitReset?: number | undefined;
3263
4388
  /**
3264
4389
  * Matching channels ordered by relevance.
3265
4390
  * @public
@@ -3360,6 +4485,31 @@ export interface SearchMessagesInput {
3360
4485
  * @public
3361
4486
  */
3362
4487
  export interface SearchMessagesOutput {
4488
+ /**
4489
+ * The request ID of the request.
4490
+ * @public
4491
+ */
4492
+ requestId?: string | undefined;
4493
+ /**
4494
+ * The duration of the request in milliseconds.
4495
+ * @public
4496
+ */
4497
+ requestDuration?: number | undefined;
4498
+ /**
4499
+ * Displays the applicable rate limits for the current request.
4500
+ * @public
4501
+ */
4502
+ rateLimit?: string | undefined;
4503
+ /**
4504
+ * Indicates how many requests a user can still make within the current time window.
4505
+ * @public
4506
+ */
4507
+ rateLimitRemaining?: number | undefined;
4508
+ /**
4509
+ * Shows the time in seconds until the rate limit resets.
4510
+ * @public
4511
+ */
4512
+ rateLimitReset?: number | undefined;
3363
4513
  /**
3364
4514
  * Matching messages, access-filtered and ordered by the requested sort.
3365
4515
  * @public
@@ -3426,6 +4576,31 @@ export interface SendGiphyOutput {
3426
4576
  * @public
3427
4577
  */
3428
4578
  message: Message;
4579
+ /**
4580
+ * The request ID of the request.
4581
+ * @public
4582
+ */
4583
+ requestId?: string | undefined;
4584
+ /**
4585
+ * The duration of the request in milliseconds.
4586
+ * @public
4587
+ */
4588
+ requestDuration?: number | undefined;
4589
+ /**
4590
+ * Displays the applicable rate limits for the current request.
4591
+ * @public
4592
+ */
4593
+ rateLimit?: string | undefined;
4594
+ /**
4595
+ * Indicates how many requests a user can still make within the current time window.
4596
+ * @public
4597
+ */
4598
+ rateLimitRemaining?: number | undefined;
4599
+ /**
4600
+ * Shows the time in seconds until the rate limit resets.
4601
+ * @public
4602
+ */
4603
+ rateLimitReset?: number | undefined;
3429
4604
  }
3430
4605
  /**
3431
4606
  * @public
@@ -3518,6 +4693,31 @@ export interface SendMessageOutput {
3518
4693
  * @public
3519
4694
  */
3520
4695
  message: Message;
4696
+ /**
4697
+ * The request ID of the request.
4698
+ * @public
4699
+ */
4700
+ requestId?: string | undefined;
4701
+ /**
4702
+ * The duration of the request in milliseconds.
4703
+ * @public
4704
+ */
4705
+ requestDuration?: number | undefined;
4706
+ /**
4707
+ * Displays the applicable rate limits for the current request.
4708
+ * @public
4709
+ */
4710
+ rateLimit?: string | undefined;
4711
+ /**
4712
+ * Indicates how many requests a user can still make within the current time window.
4713
+ * @public
4714
+ */
4715
+ rateLimitRemaining?: number | undefined;
4716
+ /**
4717
+ * Shows the time in seconds until the rate limit resets.
4718
+ * @public
4719
+ */
4720
+ rateLimitReset?: number | undefined;
3521
4721
  }
3522
4722
  /**
3523
4723
  * @public
@@ -3554,6 +4754,31 @@ export interface SendMessageReactionOutput {
3554
4754
  * @public
3555
4755
  */
3556
4756
  message: Message;
4757
+ /**
4758
+ * The request ID of the request.
4759
+ * @public
4760
+ */
4761
+ requestId?: string | undefined;
4762
+ /**
4763
+ * The duration of the request in milliseconds.
4764
+ * @public
4765
+ */
4766
+ requestDuration?: number | undefined;
4767
+ /**
4768
+ * Displays the applicable rate limits for the current request.
4769
+ * @public
4770
+ */
4771
+ rateLimit?: string | undefined;
4772
+ /**
4773
+ * Indicates how many requests a user can still make within the current time window.
4774
+ * @public
4775
+ */
4776
+ rateLimitRemaining?: number | undefined;
4777
+ /**
4778
+ * Shows the time in seconds until the rate limit resets.
4779
+ * @public
4780
+ */
4781
+ rateLimitReset?: number | undefined;
3557
4782
  }
3558
4783
  /**
3559
4784
  * Empty payload for the WhatsApp 24-hour window closed system message.
@@ -3650,6 +4875,31 @@ export interface SendSystemMessageOutput {
3650
4875
  * @public
3651
4876
  */
3652
4877
  message: Message;
4878
+ /**
4879
+ * The request ID of the request.
4880
+ * @public
4881
+ */
4882
+ requestId?: string | undefined;
4883
+ /**
4884
+ * The duration of the request in milliseconds.
4885
+ * @public
4886
+ */
4887
+ requestDuration?: number | undefined;
4888
+ /**
4889
+ * Displays the applicable rate limits for the current request.
4890
+ * @public
4891
+ */
4892
+ rateLimit?: string | undefined;
4893
+ /**
4894
+ * Indicates how many requests a user can still make within the current time window.
4895
+ * @public
4896
+ */
4897
+ rateLimitRemaining?: number | undefined;
4898
+ /**
4899
+ * Shows the time in seconds until the rate limit resets.
4900
+ * @public
4901
+ */
4902
+ rateLimitReset?: number | undefined;
3653
4903
  }
3654
4904
  /**
3655
4905
  * @public
@@ -3675,6 +4925,31 @@ export interface SendTypingStartInput {
3675
4925
  * @public
3676
4926
  */
3677
4927
  export interface SendTypingStartOutput {
4928
+ /**
4929
+ * The request ID of the request.
4930
+ * @public
4931
+ */
4932
+ requestId?: string | undefined;
4933
+ /**
4934
+ * The duration of the request in milliseconds.
4935
+ * @public
4936
+ */
4937
+ requestDuration?: number | undefined;
4938
+ /**
4939
+ * Displays the applicable rate limits for the current request.
4940
+ * @public
4941
+ */
4942
+ rateLimit?: string | undefined;
4943
+ /**
4944
+ * Indicates how many requests a user can still make within the current time window.
4945
+ * @public
4946
+ */
4947
+ rateLimitRemaining?: number | undefined;
4948
+ /**
4949
+ * Shows the time in seconds until the rate limit resets.
4950
+ * @public
4951
+ */
4952
+ rateLimitReset?: number | undefined;
3678
4953
  }
3679
4954
  /**
3680
4955
  * @public
@@ -3700,6 +4975,31 @@ export interface SendTypingStopInput {
3700
4975
  * @public
3701
4976
  */
3702
4977
  export interface SendTypingStopOutput {
4978
+ /**
4979
+ * The request ID of the request.
4980
+ * @public
4981
+ */
4982
+ requestId?: string | undefined;
4983
+ /**
4984
+ * The duration of the request in milliseconds.
4985
+ * @public
4986
+ */
4987
+ requestDuration?: number | undefined;
4988
+ /**
4989
+ * Displays the applicable rate limits for the current request.
4990
+ * @public
4991
+ */
4992
+ rateLimit?: string | undefined;
4993
+ /**
4994
+ * Indicates how many requests a user can still make within the current time window.
4995
+ * @public
4996
+ */
4997
+ rateLimitRemaining?: number | undefined;
4998
+ /**
4999
+ * Shows the time in seconds until the rate limit resets.
5000
+ * @public
5001
+ */
5002
+ rateLimitReset?: number | undefined;
3703
5003
  }
3704
5004
  /**
3705
5005
  * @public
@@ -3725,6 +5025,31 @@ export interface ShowChannelInput {
3725
5025
  * @public
3726
5026
  */
3727
5027
  export interface ShowChannelOutput {
5028
+ /**
5029
+ * The request ID of the request.
5030
+ * @public
5031
+ */
5032
+ requestId?: string | undefined;
5033
+ /**
5034
+ * The duration of the request in milliseconds.
5035
+ * @public
5036
+ */
5037
+ requestDuration?: number | undefined;
5038
+ /**
5039
+ * Displays the applicable rate limits for the current request.
5040
+ * @public
5041
+ */
5042
+ rateLimit?: string | undefined;
5043
+ /**
5044
+ * Indicates how many requests a user can still make within the current time window.
5045
+ * @public
5046
+ */
5047
+ rateLimitRemaining?: number | undefined;
5048
+ /**
5049
+ * Shows the time in seconds until the rate limit resets.
5050
+ * @public
5051
+ */
5052
+ rateLimitReset?: number | undefined;
3728
5053
  }
3729
5054
  /**
3730
5055
  * @public
@@ -3750,6 +5075,31 @@ export interface UnmuteChannelInput {
3750
5075
  * @public
3751
5076
  */
3752
5077
  export interface UnmuteChannelOutput {
5078
+ /**
5079
+ * The request ID of the request.
5080
+ * @public
5081
+ */
5082
+ requestId?: string | undefined;
5083
+ /**
5084
+ * The duration of the request in milliseconds.
5085
+ * @public
5086
+ */
5087
+ requestDuration?: number | undefined;
5088
+ /**
5089
+ * Displays the applicable rate limits for the current request.
5090
+ * @public
5091
+ */
5092
+ rateLimit?: string | undefined;
5093
+ /**
5094
+ * Indicates how many requests a user can still make within the current time window.
5095
+ * @public
5096
+ */
5097
+ rateLimitRemaining?: number | undefined;
5098
+ /**
5099
+ * Shows the time in seconds until the rate limit resets.
5100
+ * @public
5101
+ */
5102
+ rateLimitReset?: number | undefined;
3753
5103
  /**
3754
5104
  * Per-user inbox state for a channel: mute and hide flags, unread counters, and read pointers.
3755
5105
  * @public
@@ -3780,6 +5130,31 @@ export interface UnpinChannelInput {
3780
5130
  * @public
3781
5131
  */
3782
5132
  export interface UnpinChannelOutput {
5133
+ /**
5134
+ * The request ID of the request.
5135
+ * @public
5136
+ */
5137
+ requestId?: string | undefined;
5138
+ /**
5139
+ * The duration of the request in milliseconds.
5140
+ * @public
5141
+ */
5142
+ requestDuration?: number | undefined;
5143
+ /**
5144
+ * Displays the applicable rate limits for the current request.
5145
+ * @public
5146
+ */
5147
+ rateLimit?: string | undefined;
5148
+ /**
5149
+ * Indicates how many requests a user can still make within the current time window.
5150
+ * @public
5151
+ */
5152
+ rateLimitRemaining?: number | undefined;
5153
+ /**
5154
+ * Shows the time in seconds until the rate limit resets.
5155
+ * @public
5156
+ */
5157
+ rateLimitReset?: number | undefined;
3783
5158
  }
3784
5159
  /**
3785
5160
  * @public
@@ -3811,6 +5186,31 @@ export interface UnpinMessageOutput {
3811
5186
  * @public
3812
5187
  */
3813
5188
  message: Message;
5189
+ /**
5190
+ * The request ID of the request.
5191
+ * @public
5192
+ */
5193
+ requestId?: string | undefined;
5194
+ /**
5195
+ * The duration of the request in milliseconds.
5196
+ * @public
5197
+ */
5198
+ requestDuration?: number | undefined;
5199
+ /**
5200
+ * Displays the applicable rate limits for the current request.
5201
+ * @public
5202
+ */
5203
+ rateLimit?: string | undefined;
5204
+ /**
5205
+ * Indicates how many requests a user can still make within the current time window.
5206
+ * @public
5207
+ */
5208
+ rateLimitRemaining?: number | undefined;
5209
+ /**
5210
+ * Shows the time in seconds until the rate limit resets.
5211
+ * @public
5212
+ */
5213
+ rateLimitReset?: number | undefined;
3814
5214
  }
3815
5215
  /**
3816
5216
  * @public
@@ -3934,6 +5334,31 @@ export interface UpdateChannelInput {
3934
5334
  * @public
3935
5335
  */
3936
5336
  export interface UpdateChannelOutput {
5337
+ /**
5338
+ * The request ID of the request.
5339
+ * @public
5340
+ */
5341
+ requestId?: string | undefined;
5342
+ /**
5343
+ * The duration of the request in milliseconds.
5344
+ * @public
5345
+ */
5346
+ requestDuration?: number | undefined;
5347
+ /**
5348
+ * Displays the applicable rate limits for the current request.
5349
+ * @public
5350
+ */
5351
+ rateLimit?: string | undefined;
5352
+ /**
5353
+ * Indicates how many requests a user can still make within the current time window.
5354
+ * @public
5355
+ */
5356
+ rateLimitRemaining?: number | undefined;
5357
+ /**
5358
+ * Shows the time in seconds until the rate limit resets.
5359
+ * @public
5360
+ */
5361
+ rateLimitReset?: number | undefined;
3937
5362
  channel: Channel;
3938
5363
  }
3939
5364
  /**
@@ -4018,6 +5443,31 @@ export interface UpdateMessageOutput {
4018
5443
  * @public
4019
5444
  */
4020
5445
  message: Message;
5446
+ /**
5447
+ * The request ID of the request.
5448
+ * @public
5449
+ */
5450
+ requestId?: string | undefined;
5451
+ /**
5452
+ * The duration of the request in milliseconds.
5453
+ * @public
5454
+ */
5455
+ requestDuration?: number | undefined;
5456
+ /**
5457
+ * Displays the applicable rate limits for the current request.
5458
+ * @public
5459
+ */
5460
+ rateLimit?: string | undefined;
5461
+ /**
5462
+ * Indicates how many requests a user can still make within the current time window.
5463
+ * @public
5464
+ */
5465
+ rateLimitRemaining?: number | undefined;
5466
+ /**
5467
+ * Shows the time in seconds until the rate limit resets.
5468
+ * @public
5469
+ */
5470
+ rateLimitReset?: number | undefined;
4021
5471
  }
4022
5472
  /**
4023
5473
  * Optional parameters for the upload presign flow.
@@ -4069,6 +5519,31 @@ export interface UploadFileInput {
4069
5519
  * @public
4070
5520
  */
4071
5521
  export interface UploadFileOutput {
5522
+ /**
5523
+ * The request ID of the request.
5524
+ * @public
5525
+ */
5526
+ requestId?: string | undefined;
5527
+ /**
5528
+ * The duration of the request in milliseconds.
5529
+ * @public
5530
+ */
5531
+ requestDuration?: number | undefined;
5532
+ /**
5533
+ * Displays the applicable rate limits for the current request.
5534
+ * @public
5535
+ */
5536
+ rateLimit?: string | undefined;
5537
+ /**
5538
+ * Indicates how many requests a user can still make within the current time window.
5539
+ * @public
5540
+ */
5541
+ rateLimitRemaining?: number | undefined;
5542
+ /**
5543
+ * Shows the time in seconds until the rate limit resets.
5544
+ * @public
5545
+ */
5546
+ rateLimitReset?: number | undefined;
4072
5547
  /**
4073
5548
  * File service identifier. Pass this value as `attachments[].fsId` on send and edit.
4074
5549
  * @public