@stream-io/node-sdk 0.7.12 → 0.7.13

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.
@@ -156,30 +156,6 @@ export interface Action {
156
156
  value?: string;
157
157
  }
158
158
 
159
- export interface ActionLog {
160
- created_at: Date;
161
-
162
- id: string;
163
-
164
- reason: string;
165
-
166
- reporter_type: string;
167
-
168
- review_queue_item_id: string;
169
-
170
- target_user_id: string;
171
-
172
- type: string;
173
-
174
- custom: Record<string, any>;
175
-
176
- review_queue_item?: ReviewQueueItem;
177
-
178
- target_user?: User;
179
-
180
- user?: User;
181
- }
182
-
183
159
  export interface ActionLogResponse {
184
160
  created_at: Date;
185
161
 
@@ -193,6 +169,8 @@ export interface ActionLogResponse {
193
169
 
194
170
  user_id: string;
195
171
 
172
+ ai_providers: string[];
173
+
196
174
  custom: Record<string, any>;
197
175
 
198
176
  review_queue_item?: ReviewQueueItemResponse;
@@ -599,7 +577,7 @@ export interface ActivityResponse {
599
577
  }
600
578
 
601
579
  export interface ActivitySelectorConfig {
602
- cutoff_time?: string;
580
+ cutoff_time?: Date;
603
581
 
604
582
  min_popularity?: number;
605
583
 
@@ -743,12 +721,12 @@ export interface AddCommentReactionResponse {
743
721
  }
744
722
 
745
723
  export interface AddCommentRequest {
746
- comment: string;
747
-
748
724
  object_id: string;
749
725
 
750
726
  object_type: string;
751
727
 
728
+ comment?: string;
729
+
752
730
  create_notification_activity?: boolean;
753
731
 
754
732
  parent_id?: string;
@@ -827,9 +805,9 @@ export interface AggregatedActivityResponse {
827
805
 
828
806
  user_count_truncated: boolean;
829
807
 
830
- is_watched?: boolean;
831
-
832
808
  activities: ActivityResponse[];
809
+
810
+ is_watched?: boolean;
833
811
  }
834
812
 
835
813
  export interface AggregationConfig {
@@ -843,6 +821,8 @@ export interface AnyEvent {
843
821
  }
844
822
 
845
823
  export interface AppResponseFields {
824
+ allow_multi_user_devices: boolean;
825
+
846
826
  async_url_enrich_enabled: boolean;
847
827
 
848
828
  auto_translation_enabled: boolean;
@@ -861,8 +841,12 @@ export interface AppResponseFields {
861
841
 
862
842
  guest_user_creation_disabled: boolean;
863
843
 
844
+ id: number;
845
+
864
846
  image_moderation_enabled: boolean;
865
847
 
848
+ max_aggregated_activities_length: number;
849
+
866
850
  moderation_bulk_submit_action_enabled: boolean;
867
851
 
868
852
  moderation_enabled: boolean;
@@ -881,6 +865,8 @@ export interface AppResponseFields {
881
865
 
882
866
  permission_version: string;
883
867
 
868
+ placement: string;
869
+
884
870
  reminders_interval: number;
885
871
 
886
872
  sns_key: string;
@@ -1093,6 +1079,8 @@ export interface AudioSettings {
1093
1079
 
1094
1080
  default_device: 'speaker' | 'earpiece';
1095
1081
 
1082
+ hifi_audio_enabled: boolean;
1083
+
1096
1084
  mic_default_on: boolean;
1097
1085
 
1098
1086
  opus_dtx_enabled: boolean;
@@ -1101,8 +1089,6 @@ export interface AudioSettings {
1101
1089
 
1102
1090
  speaker_default_on: boolean;
1103
1091
 
1104
- hifi_audio_enabled?: boolean;
1105
-
1106
1092
  noise_cancellation?: NoiseCancellationSettings;
1107
1093
  }
1108
1094
 
@@ -1129,6 +1115,8 @@ export interface AudioSettingsResponse {
1129
1115
 
1130
1116
  default_device: 'speaker' | 'earpiece';
1131
1117
 
1118
+ hifi_audio_enabled: boolean;
1119
+
1132
1120
  mic_default_on: boolean;
1133
1121
 
1134
1122
  opus_dtx_enabled: boolean;
@@ -1137,8 +1125,6 @@ export interface AudioSettingsResponse {
1137
1125
 
1138
1126
  speaker_default_on: boolean;
1139
1127
 
1140
- hifi_audio_enabled?: boolean;
1141
-
1142
1128
  noise_cancellation?: NoiseCancellationSettings;
1143
1129
  }
1144
1130
 
@@ -1321,6 +1307,10 @@ export interface BlockListOptions {
1321
1307
  }
1322
1308
 
1323
1309
  export interface BlockListResponse {
1310
+ is_leet_check_enabled: boolean;
1311
+
1312
+ is_plural_check_enabled: boolean;
1313
+
1324
1314
  name: string;
1325
1315
 
1326
1316
  type: string;
@@ -1573,70 +1563,6 @@ export interface BulkImageModerationResponse {
1573
1563
  task_id: string;
1574
1564
  }
1575
1565
 
1576
- export interface Call {
1577
- app_pk: number;
1578
-
1579
- backstage: boolean;
1580
-
1581
- channel_cid: string;
1582
-
1583
- cid: string;
1584
-
1585
- created_at: Date;
1586
-
1587
- created_by_user_id: string;
1588
-
1589
- current_session_id: string;
1590
-
1591
- id: string;
1592
-
1593
- last_session_id: string;
1594
-
1595
- team: string;
1596
-
1597
- thumbnail_url: string;
1598
-
1599
- type: string;
1600
-
1601
- updated_at: Date;
1602
-
1603
- blocked_user_i_ds: string[];
1604
-
1605
- blocked_users: User[];
1606
-
1607
- egresses: CallEgress[];
1608
-
1609
- members: CallMember[];
1610
-
1611
- custom: Record<string, any>;
1612
-
1613
- deleted_at?: Date;
1614
-
1615
- egress_updated_at?: Date;
1616
-
1617
- ended_at?: Date;
1618
-
1619
- join_ahead_time_seconds?: number;
1620
-
1621
- last_heartbeat_at?: Date;
1622
-
1623
- member_count?: number;
1624
-
1625
- starts_at?: Date;
1626
-
1627
- call_type?: CallType;
1628
-
1629
- created_by?: User;
1630
-
1631
- member_lookup?: MemberLookup;
1632
-
1633
- session?: CallSession;
1634
-
1635
- settings?: CallSettings;
1636
-
1637
- settings_overrides?: CallSettings;
1638
- }
1639
-
1640
1566
  export interface CallAcceptedEvent {
1641
1567
  call_cid: string;
1642
1568
 
@@ -1723,30 +1649,6 @@ export interface CallDurationReportResponse {
1723
1649
  daily: DailyAggregateCallDurationReportResponse[];
1724
1650
  }
1725
1651
 
1726
- export interface CallEgress {
1727
- app_pk: number;
1728
-
1729
- call_id: string;
1730
-
1731
- call_type: string;
1732
-
1733
- egress_id: string;
1734
-
1735
- egress_type: string;
1736
-
1737
- instance_ip: string;
1738
-
1739
- started_at: Date;
1740
-
1741
- state: string;
1742
-
1743
- updated_at: Date;
1744
-
1745
- stopped_at?: Date;
1746
-
1747
- config?: EgressTaskConfig;
1748
- }
1749
-
1750
1652
  export interface CallEndedEvent {
1751
1653
  call_cid: string;
1752
1654
 
@@ -1863,22 +1765,6 @@ export interface CallLiveStartedEvent {
1863
1765
  type: string;
1864
1766
  }
1865
1767
 
1866
- export interface CallMember {
1867
- created_at: Date;
1868
-
1869
- role: string;
1870
-
1871
- updated_at: Date;
1872
-
1873
- user_id: string;
1874
-
1875
- custom: Record<string, any>;
1876
-
1877
- deleted_at?: Date;
1878
-
1879
- user?: User;
1880
- }
1881
-
1882
1768
  export interface CallMemberAddedEvent {
1883
1769
  call_cid: string;
1884
1770
 
@@ -1989,50 +1875,6 @@ export interface CallNotificationEvent {
1989
1875
  type: string;
1990
1876
  }
1991
1877
 
1992
- export interface CallParticipant {
1993
- banned: boolean;
1994
-
1995
- id: string;
1996
-
1997
- joined_at: Date;
1998
-
1999
- online: boolean;
2000
-
2001
- role: string;
2002
-
2003
- user_session_id: string;
2004
-
2005
- custom: Record<string, any>;
2006
-
2007
- teams_role: Record<string, string>;
2008
-
2009
- avg_response_time?: number;
2010
-
2011
- ban_expires?: Date;
2012
-
2013
- created_at?: Date;
2014
-
2015
- deactivated_at?: Date;
2016
-
2017
- deleted_at?: Date;
2018
-
2019
- invisible?: boolean;
2020
-
2021
- language?: string;
2022
-
2023
- last_active?: Date;
2024
-
2025
- last_engaged_at?: Date;
2026
-
2027
- revoke_tokens_issued_before?: Date;
2028
-
2029
- updated_at?: Date;
2030
-
2031
- teams?: string[];
2032
-
2033
- privacy_settings?: PrivacySettings;
2034
- }
2035
-
2036
1878
  export interface CallParticipantCountReport {
2037
1879
  histogram: ReportByHistogramBucket[];
2038
1880
  }
@@ -2051,6 +1893,16 @@ export interface CallParticipantResponse {
2051
1893
  user: UserResponse;
2052
1894
  }
2053
1895
 
1896
+ export interface CallParticipantTimeline {
1897
+ severity: string;
1898
+
1899
+ timestamp: Date;
1900
+
1901
+ type: string;
1902
+
1903
+ data: Record<string, any>;
1904
+ }
1905
+
2054
1906
  export interface CallReactionEvent {
2055
1907
  call_cid: string;
2056
1908
 
@@ -2255,50 +2107,6 @@ export interface CallRtmpBroadcastStoppedEvent {
2255
2107
  type: string;
2256
2108
  }
2257
2109
 
2258
- export interface CallSession {
2259
- anonymous_participant_count: number;
2260
-
2261
- app_pk: number;
2262
-
2263
- call_id: string;
2264
-
2265
- call_type: string;
2266
-
2267
- created_at: Date;
2268
-
2269
- session_id: string;
2270
-
2271
- active_sf_us: SFUIDLastSeen[];
2272
-
2273
- participants: CallParticipant[];
2274
-
2275
- sfui_ds: string[];
2276
-
2277
- accepted_by: Record<string, Date>;
2278
-
2279
- missed_by: Record<string, Date>;
2280
-
2281
- participants_count_by_role: Record<string, number>;
2282
-
2283
- rejected_by: Record<string, Date>;
2284
-
2285
- user_permission_overrides: Record<string, Record<string, boolean>>;
2286
-
2287
- deleted_at?: Date;
2288
-
2289
- ended_at?: Date;
2290
-
2291
- live_ended_at?: Date;
2292
-
2293
- live_started_at?: Date;
2294
-
2295
- ring_at?: Date;
2296
-
2297
- started_at?: Date;
2298
-
2299
- timer_ends_at?: Date;
2300
- }
2301
-
2302
2110
  export interface CallSessionEndedEvent {
2303
2111
  call_cid: string;
2304
2112
 
@@ -2489,6 +2297,46 @@ export interface CallStateResponseFields {
2489
2297
  call: CallResponse;
2490
2298
  }
2491
2299
 
2300
+ export interface CallStatsParticipant {
2301
+ user_id: string;
2302
+
2303
+ sessions: CallStatsParticipantSession[];
2304
+
2305
+ latest_activity_at?: Date;
2306
+
2307
+ name?: string;
2308
+
2309
+ roles?: string[];
2310
+ }
2311
+
2312
+ export interface CallStatsParticipantCounts {
2313
+ live_sessions: number;
2314
+
2315
+ participants: number;
2316
+
2317
+ publishers: number;
2318
+
2319
+ sessions: number;
2320
+ }
2321
+
2322
+ export interface CallStatsParticipantSession {
2323
+ is_live: boolean;
2324
+
2325
+ user_session_id: string;
2326
+
2327
+ published_tracks: PublishedTrackFlags;
2328
+
2329
+ cq_score?: number;
2330
+
2331
+ ended_at?: Date;
2332
+
2333
+ publisher_type?: string;
2334
+
2335
+ started_at?: Date;
2336
+
2337
+ unified_session_id?: string;
2338
+ }
2339
+
2492
2340
  export interface CallStatsReportReadyEvent {
2493
2341
  call_cid: string;
2494
2342
 
@@ -2848,6 +2696,8 @@ export interface ChannelConfig {
2848
2696
 
2849
2697
  custom_events: boolean;
2850
2698
 
2699
+ delivery_events: boolean;
2700
+
2851
2701
  mark_messages_pending: boolean;
2852
2702
 
2853
2703
  max_message_length: number;
@@ -2916,6 +2766,8 @@ export interface ChannelConfigWithInfo {
2916
2766
 
2917
2767
  custom_events: boolean;
2918
2768
 
2769
+ delivery_events: boolean;
2770
+
2919
2771
  mark_messages_pending: boolean;
2920
2772
 
2921
2773
  max_message_length: number;
@@ -3130,6 +2982,8 @@ export interface ChannelMemberLookup {
3130
2982
 
3131
2983
  banned: boolean;
3132
2984
 
2985
+ blocked: boolean;
2986
+
3133
2987
  hidden: boolean;
3134
2988
 
3135
2989
  pinned: boolean;
@@ -3177,6 +3031,7 @@ export const ChannelOwnCapability = {
3177
3031
  DELETE_ANY_MESSAGE: 'delete-any-message',
3178
3032
  DELETE_CHANNEL: 'delete-channel',
3179
3033
  DELETE_OWN_MESSAGE: 'delete-own-message',
3034
+ DELIVERY_EVENTS: 'delivery-events',
3180
3035
  FLAG_MESSAGE: 'flag-message',
3181
3036
  FREEZE_CHANNEL: 'freeze-channel',
3182
3037
  JOIN_CHANNEL: 'join-channel',
@@ -3293,8 +3148,6 @@ export interface ChannelStateResponse {
3293
3148
 
3294
3149
  active_live_locations?: SharedLocationResponseData[];
3295
3150
 
3296
- deleted_messages?: string[];
3297
-
3298
3151
  pending_messages?: PendingMessageResponse[];
3299
3152
 
3300
3153
  read?: ReadStateResponse[];
@@ -3327,8 +3180,6 @@ export interface ChannelStateResponseFields {
3327
3180
 
3328
3181
  active_live_locations?: SharedLocationResponseData[];
3329
3182
 
3330
- deleted_messages?: string[];
3331
-
3332
3183
  pending_messages?: PendingMessageResponse[];
3333
3184
 
3334
3185
  read?: ReadStateResponse[];
@@ -3373,6 +3224,8 @@ export interface ChannelTypeConfig {
3373
3224
 
3374
3225
  custom_events: boolean;
3375
3226
 
3227
+ delivery_events: boolean;
3228
+
3376
3229
  mark_messages_pending: boolean;
3377
3230
 
3378
3231
  max_message_length: number;
@@ -3833,12 +3686,6 @@ export interface CommentUpdatedEvent {
3833
3686
 
3834
3687
  export interface CommitMessageRequest {}
3835
3688
 
3836
- export interface CompositeAppSettings {
3837
- json_encoded_settings?: string;
3838
-
3839
- url?: string;
3840
- }
3841
-
3842
3689
  export interface ConfigOverrides {
3843
3690
  commands: string[];
3844
3691
 
@@ -3920,6 +3767,10 @@ export interface CreateBlockListRequest {
3920
3767
 
3921
3768
  words: string[];
3922
3769
 
3770
+ is_leet_check_enabled?: boolean;
3771
+
3772
+ is_plural_check_enabled?: boolean;
3773
+
3923
3774
  team?: string;
3924
3775
 
3925
3776
  type?: 'regex' | 'domain' | 'domain_allowlist' | 'email' | 'word';
@@ -3976,8 +3827,12 @@ export interface CreateChannelTypeRequest {
3976
3827
 
3977
3828
  connect_events?: boolean;
3978
3829
 
3830
+ count_messages?: boolean;
3831
+
3979
3832
  custom_events?: boolean;
3980
3833
 
3834
+ delivery_events?: boolean;
3835
+
3981
3836
  mark_messages_pending?: boolean;
3982
3837
 
3983
3838
  message_retention?: 'infinite' | 'numeric';
@@ -4034,6 +3889,8 @@ export interface CreateChannelTypeResponse {
4034
3889
 
4035
3890
  custom_events: boolean;
4036
3891
 
3892
+ delivery_events: boolean;
3893
+
4037
3894
  duration: string;
4038
3895
 
4039
3896
  mark_messages_pending: boolean;
@@ -4690,6 +4547,14 @@ export interface DeleteUsersResponse {
4690
4547
  task_id: string;
4691
4548
  }
4692
4549
 
4550
+ export interface DeliveryReceipts {
4551
+ enabled: boolean;
4552
+ }
4553
+
4554
+ export interface DeliveryReceiptsResponse {
4555
+ enabled?: boolean;
4556
+ }
4557
+
4693
4558
  export interface Device {
4694
4559
  created_at: Date;
4695
4560
 
@@ -4832,24 +4697,6 @@ export interface EgressResponse {
4832
4697
  hls?: EgressHLSResponse;
4833
4698
  }
4834
4699
 
4835
- export interface EgressTaskConfig {
4836
- egress_user?: EgressUser;
4837
-
4838
- frame_recording_egress_config?: FrameRecordingEgressConfig;
4839
-
4840
- hls_egress_config?: HLSEgressConfig;
4841
-
4842
- recording_egress_config?: RecordingEgressConfig;
4843
-
4844
- rtmp_egress_config?: RTMPEgressConfig;
4845
-
4846
- stt_egress_config?: STTEgressConfig;
4847
- }
4848
-
4849
- export interface EgressUser {
4850
- token?: string;
4851
- }
4852
-
4853
4700
  export interface EndCallRequest {}
4854
4701
 
4855
4702
  export interface EndCallResponse {
@@ -4910,50 +4757,6 @@ export interface EnrichedReaction {
4910
4757
  user?: Data;
4911
4758
  }
4912
4759
 
4913
- export interface EntityCreator {
4914
- ban_count: number;
4915
-
4916
- banned: boolean;
4917
-
4918
- deleted_content_count: number;
4919
-
4920
- id: string;
4921
-
4922
- online: boolean;
4923
-
4924
- role: string;
4925
-
4926
- custom: Record<string, any>;
4927
-
4928
- teams_role: Record<string, string>;
4929
-
4930
- avg_response_time?: number;
4931
-
4932
- ban_expires?: Date;
4933
-
4934
- created_at?: Date;
4935
-
4936
- deactivated_at?: Date;
4937
-
4938
- deleted_at?: Date;
4939
-
4940
- invisible?: boolean;
4941
-
4942
- language?: string;
4943
-
4944
- last_active?: Date;
4945
-
4946
- last_engaged_at?: Date;
4947
-
4948
- revoke_tokens_issued_before?: Date;
4949
-
4950
- updated_at?: Date;
4951
-
4952
- teams?: string[];
4953
-
4954
- privacy_settings?: PrivacySettings;
4955
- }
4956
-
4957
4760
  export interface EntityCreatorResponse {
4958
4761
  ban_count: number;
4959
4762
 
@@ -5138,34 +4941,6 @@ export interface ExportUsersResponse {
5138
4941
  task_id: string;
5139
4942
  }
5140
4943
 
5141
- export interface ExternalStorage {
5142
- abs_account_name?: string;
5143
-
5144
- abs_client_id?: string;
5145
-
5146
- abs_client_secret?: string;
5147
-
5148
- abs_tenant_id?: string;
5149
-
5150
- bucket?: string;
5151
-
5152
- gcs_credentials?: string;
5153
-
5154
- path?: string;
5155
-
5156
- s3_api_key?: string;
5157
-
5158
- s3_custom_endpoint?: string;
5159
-
5160
- s3_region?: string;
5161
-
5162
- s3_secret_key?: string;
5163
-
5164
- storage_name?: string;
5165
-
5166
- storage_type?: number;
5167
- }
5168
-
5169
4944
  export interface ExternalStorageResponse {
5170
4945
  bucket: string;
5171
4946
 
@@ -5291,13 +5066,13 @@ export interface FeedGroupResponse {
5291
5066
 
5292
5067
  updated_at: Date;
5293
5068
 
5294
- deleted_at?: Date;
5295
-
5296
5069
  default_visibility?: string;
5297
5070
 
5071
+ deleted_at?: Date;
5072
+
5298
5073
  activity_processors?: ActivityProcessorConfig[];
5299
5074
 
5300
- activity_selectors?: ActivitySelectorConfig[];
5075
+ activity_selectors?: ActivitySelectorConfigResponse[];
5301
5076
 
5302
5077
  aggregation?: AggregationConfig;
5303
5078
 
@@ -5541,10 +5316,10 @@ export interface FeedViewResponse {
5541
5316
  }
5542
5317
 
5543
5318
  export interface FeedVisibilityResponse {
5544
- description: string;
5545
-
5546
5319
  name: string;
5547
5320
 
5321
+ permissions: Permission[];
5322
+
5548
5323
  grants: Record<string, string[]>;
5549
5324
  }
5550
5325
 
@@ -5854,16 +5629,6 @@ export interface FrameRecordSettings {
5854
5629
  quality?: string;
5855
5630
  }
5856
5631
 
5857
- export interface FrameRecordingEgressConfig {
5858
- capture_interval_in_seconds?: number;
5859
-
5860
- storage_name?: string;
5861
-
5862
- external_storage?: ExternalStorage;
5863
-
5864
- quality?: Quality;
5865
- }
5866
-
5867
5632
  export interface FrameRecordingResponse {
5868
5633
  status: string;
5869
5634
  }
@@ -6028,6 +5793,28 @@ export interface GetCallResponse {
6028
5793
  call: CallResponse;
6029
5794
  }
6030
5795
 
5796
+ export interface GetCallSessionParticipantStatsDetailsResponse {
5797
+ call_id: string;
5798
+
5799
+ call_session_id: string;
5800
+
5801
+ call_type: string;
5802
+
5803
+ duration: string;
5804
+
5805
+ user_id: string;
5806
+
5807
+ user_session_id: string;
5808
+
5809
+ publisher?: ParticipantSeriesPublisherStats;
5810
+
5811
+ subscriber?: ParticipantSeriesSubscriberStats;
5812
+
5813
+ timeframe?: ParticipantSeriesTimeframe;
5814
+
5815
+ user?: ParticipantSeriesUserStats;
5816
+ }
5817
+
6031
5818
  export interface GetCallTypeResponse {
6032
5819
  created_at: Date;
6033
5820
 
@@ -6067,6 +5854,8 @@ export interface GetChannelTypeResponse {
6067
5854
 
6068
5855
  custom_events: boolean;
6069
5856
 
5857
+ delivery_events: boolean;
5858
+
6070
5859
  duration: string;
6071
5860
 
6072
5861
  mark_messages_pending: boolean;
@@ -6212,6 +6001,18 @@ export interface GetFeedVisibilityResponse {
6212
6001
  feed_visibility: FeedVisibilityResponse;
6213
6002
  }
6214
6003
 
6004
+ export interface GetFeedsRateLimitsResponse {
6005
+ duration: string;
6006
+
6007
+ android?: Record<string, LimitInfo>;
6008
+
6009
+ ios?: Record<string, LimitInfo>;
6010
+
6011
+ server_side?: Record<string, LimitInfo>;
6012
+
6013
+ web?: Record<string, LimitInfo>;
6014
+ }
6015
+
6215
6016
  export interface GetFollowSuggestionsResponse {
6216
6017
  duration: string;
6217
6018
 
@@ -6525,16 +6326,6 @@ export interface GroupedStatsResponse {
6525
6326
  unique: number;
6526
6327
  }
6527
6328
 
6528
- export interface HLSEgressConfig {
6529
- playlist_url?: string;
6530
-
6531
- start_unix_nano?: number;
6532
-
6533
- qualities?: Quality[];
6534
-
6535
- composite_app_settings?: CompositeAppSettings;
6536
- }
6537
-
6538
6329
  export interface HLSSettings {
6539
6330
  auto_on: boolean;
6540
6331
 
@@ -6747,16 +6538,46 @@ export interface IngressSettingsResponse {
6747
6538
  video_encoding_options?: Record<string, IngressVideoEncodingResponse>;
6748
6539
  }
6749
6540
 
6541
+ export interface IngressSource {
6542
+ fps: number;
6543
+
6544
+ height: number;
6545
+
6546
+ width: number;
6547
+ }
6548
+
6549
+ export interface IngressSourceRequest {
6550
+ fps: '30' | '60';
6551
+
6552
+ height: number;
6553
+
6554
+ width: number;
6555
+ }
6556
+
6557
+ export interface IngressSourceResponse {
6558
+ fps: number;
6559
+
6560
+ height: number;
6561
+
6562
+ width: number;
6563
+ }
6564
+
6750
6565
  export interface IngressVideoEncodingOptions {
6751
6566
  layers: IngressVideoLayer[];
6567
+
6568
+ source?: IngressSource;
6752
6569
  }
6753
6570
 
6754
6571
  export interface IngressVideoEncodingOptionsRequest {
6755
6572
  layers: IngressVideoLayerRequest[];
6573
+
6574
+ source: IngressSourceRequest;
6756
6575
  }
6757
6576
 
6758
6577
  export interface IngressVideoEncodingResponse {
6759
6578
  layers: IngressVideoLayerResponse[];
6579
+
6580
+ source: IngressSourceResponse;
6760
6581
  }
6761
6582
 
6762
6583
  export interface IngressVideoLayer {
@@ -7110,10 +6931,6 @@ export interface MemberAddedEvent {
7110
6931
  user?: User;
7111
6932
  }
7112
6933
 
7113
- export interface MemberLookup {
7114
- limit: number;
7115
- }
7116
-
7117
6934
  export interface MemberRemovedEvent {
7118
6935
  channel_id: string;
7119
6936
 
@@ -7450,7 +7267,29 @@ export interface MessageOptions {
7450
7267
  include_thread_participants?: boolean;
7451
7268
  }
7452
7269
 
7453
- export interface MessagePaginationParams {}
7270
+ export interface MessagePaginationParams {
7271
+ created_at_after?: Date;
7272
+
7273
+ created_at_after_or_equal?: Date;
7274
+
7275
+ created_at_around?: Date;
7276
+
7277
+ created_at_before?: Date;
7278
+
7279
+ created_at_before_or_equal?: Date;
7280
+
7281
+ id_around?: string;
7282
+
7283
+ id_gt?: string;
7284
+
7285
+ id_gte?: string;
7286
+
7287
+ id_lt?: string;
7288
+
7289
+ id_lte?: string;
7290
+
7291
+ limit?: number;
7292
+ }
7454
7293
 
7455
7294
  export interface MessageReadEvent {
7456
7295
  channel_id: string;
@@ -7786,6 +7625,18 @@ export interface MessageWithChannelResponse {
7786
7625
  shared_location?: SharedLocationResponseData;
7787
7626
  }
7788
7627
 
7628
+ export interface MetricThreshold {
7629
+ level: string;
7630
+
7631
+ operator: string;
7632
+
7633
+ value: number;
7634
+
7635
+ value_unit?: string;
7636
+
7637
+ window_seconds?: number;
7638
+ }
7639
+
7789
7640
  export interface ModerationActionConfig {
7790
7641
  action: string;
7791
7642
 
@@ -7857,15 +7708,21 @@ export interface ModerationConfig {
7857
7708
  }
7858
7709
 
7859
7710
  export interface ModerationCustomActionEvent {
7711
+ action_id: string;
7712
+
7860
7713
  created_at: Date;
7861
7714
 
7715
+ custom: Record<string, any>;
7716
+
7717
+ review_queue_item: ReviewQueueItemResponse;
7718
+
7862
7719
  type: string;
7863
7720
 
7864
- item?: ReviewQueueItem;
7721
+ received_at?: Date;
7865
7722
 
7866
- message?: Message;
7723
+ action_options?: Record<string, any>;
7867
7724
 
7868
- user?: User;
7725
+ message?: MessageResponse;
7869
7726
  }
7870
7727
 
7871
7728
  export interface ModerationDashboardPreferences {
@@ -7874,6 +7731,8 @@ export interface ModerationDashboardPreferences {
7874
7731
  flag_user_on_flagged_content?: boolean;
7875
7732
 
7876
7733
  media_queue_blur_enabled?: boolean;
7734
+
7735
+ overview_dashboard?: OverviewDashboardConfig;
7877
7736
  }
7878
7737
 
7879
7738
  export interface ModerationFlagResponse {
@@ -7923,13 +7782,15 @@ export interface ModerationFlaggedEvent {
7923
7782
  export interface ModerationMarkReviewedEvent {
7924
7783
  created_at: Date;
7925
7784
 
7926
- type: string;
7785
+ custom: Record<string, any>;
7927
7786
 
7928
- item?: ReviewQueueItem;
7787
+ item: ReviewQueueItemResponse;
7929
7788
 
7930
- message?: Message;
7789
+ type: string;
7931
7790
 
7932
- user?: User;
7791
+ received_at?: Date;
7792
+
7793
+ message?: MessageResponse;
7933
7794
  }
7934
7795
 
7935
7796
  export interface ModerationPayload {
@@ -8192,8 +8053,6 @@ export interface NotificationTrigger {
8192
8053
  type: string;
8193
8054
  }
8194
8055
 
8195
- export interface NullTime {}
8196
-
8197
8056
  export interface OCRRule {
8198
8057
  action:
8199
8058
  | 'flag'
@@ -8203,11 +8062,31 @@ export interface OCRRule {
8203
8062
  | 'bounce_flag'
8204
8063
  | 'bounce_remove';
8205
8064
 
8206
- label: string;
8065
+ label: string;
8066
+ }
8067
+
8068
+ export interface OnlyUserID {
8069
+ id: string;
8070
+ }
8071
+
8072
+ export interface OverviewDashboardConfig {
8073
+ default_date_range_days?: number;
8074
+
8075
+ visible_charts?: string[];
8076
+ }
8077
+
8078
+ export interface OwnCapabilitiesBatchRequest {
8079
+ feeds: string[];
8080
+
8081
+ user_id?: string;
8082
+
8083
+ user?: UserRequest;
8207
8084
  }
8208
8085
 
8209
- export interface OnlyUserID {
8210
- id: string;
8086
+ export interface OwnCapabilitiesBatchResponse {
8087
+ duration: string;
8088
+
8089
+ capabilities: Record<string, FeedOwnCapability[]>;
8211
8090
  }
8212
8091
 
8213
8092
  export const OwnCapability = {
@@ -8426,6 +8305,64 @@ export interface ParticipantReportResponse {
8426
8305
  subscribers?: SubscriberStatsResponse;
8427
8306
  }
8428
8307
 
8308
+ export interface ParticipantSeriesPublisherStats {
8309
+ global?: Record<string, number[][]>;
8310
+
8311
+ global_thresholds?: Record<string, MetricThreshold[]>;
8312
+
8313
+ tracks?: Record<string, ParticipantSeriesTrackMetrics[]>;
8314
+ }
8315
+
8316
+ export interface ParticipantSeriesSubscriberStats {
8317
+ subscriptions?: ParticipantSeriesSubscriptionTrackMetrics[];
8318
+
8319
+ global?: Record<string, number[][]>;
8320
+
8321
+ global_thresholds?: Record<string, MetricThreshold[]>;
8322
+ }
8323
+
8324
+ export interface ParticipantSeriesSubscriptionTrackMetrics {
8325
+ publisher_user_id: string;
8326
+
8327
+ publisher_name?: string;
8328
+
8329
+ publisher_user_session_id?: string;
8330
+
8331
+ tracks?: Record<string, ParticipantSeriesTrackMetrics[]>;
8332
+ }
8333
+
8334
+ export interface ParticipantSeriesTimeframe {
8335
+ max_points: number;
8336
+
8337
+ since: Date;
8338
+
8339
+ step_seconds: number;
8340
+
8341
+ until: Date;
8342
+ }
8343
+
8344
+ export interface ParticipantSeriesTrackMetrics {
8345
+ track_id: string;
8346
+
8347
+ codec?: string;
8348
+
8349
+ label?: string;
8350
+
8351
+ rid?: string;
8352
+
8353
+ track_type?: string;
8354
+
8355
+ metrics?: Record<string, number[][]>;
8356
+
8357
+ thresholds?: Record<string, MetricThreshold[]>;
8358
+ }
8359
+
8360
+ export interface ParticipantSeriesUserStats {
8361
+ metrics?: Record<string, number[][]>;
8362
+
8363
+ thresholds?: Record<string, MetricThreshold[]>;
8364
+ }
8365
+
8429
8366
  export interface PendingMessageEvent {
8430
8367
  created_at: Date;
8431
8368
 
@@ -8751,17 +8688,31 @@ export interface PollVotesResponse {
8751
8688
  }
8752
8689
 
8753
8690
  export interface PrivacySettings {
8691
+ delivery_receipts?: DeliveryReceipts;
8692
+
8754
8693
  read_receipts?: ReadReceipts;
8755
8694
 
8756
8695
  typing_indicators?: TypingIndicators;
8757
8696
  }
8758
8697
 
8759
8698
  export interface PrivacySettingsResponse {
8699
+ delivery_receipts?: DeliveryReceiptsResponse;
8700
+
8760
8701
  read_receipts?: ReadReceiptsResponse;
8761
8702
 
8762
8703
  typing_indicators?: TypingIndicatorsResponse;
8763
8704
  }
8764
8705
 
8706
+ export interface PublishedTrackFlags {
8707
+ audio: boolean;
8708
+
8709
+ screenshare: boolean;
8710
+
8711
+ screenshare_audio: boolean;
8712
+
8713
+ video: boolean;
8714
+ }
8715
+
8765
8716
  export interface PublisherAllMetrics {
8766
8717
  audio?: PublisherAudioMetrics;
8767
8718
 
@@ -8998,20 +8949,6 @@ export interface PushTemplate {
8998
8949
  template?: string;
8999
8950
  }
9000
8951
 
9001
- export interface Quality {
9002
- bitdepth?: number;
9003
-
9004
- framerate?: number;
9005
-
9006
- height?: number;
9007
-
9008
- name?: string;
9009
-
9010
- video_bitrate?: number;
9011
-
9012
- width?: number;
9013
- }
9014
-
9015
8952
  export interface QualityScoreReport {
9016
8953
  histogram: ReportByHistogramBucket[];
9017
8954
  }
@@ -9200,6 +9137,46 @@ export interface QueryCallParticipantsResponse {
9200
9137
  call: CallResponse;
9201
9138
  }
9202
9139
 
9140
+ export interface QueryCallSessionParticipantStatsResponse {
9141
+ call_id: string;
9142
+
9143
+ call_session_id: string;
9144
+
9145
+ call_type: string;
9146
+
9147
+ duration: string;
9148
+
9149
+ participants: CallStatsParticipant[];
9150
+
9151
+ counts: CallStatsParticipantCounts;
9152
+
9153
+ call_ended_at?: Date;
9154
+
9155
+ call_started_at?: Date;
9156
+
9157
+ next?: string;
9158
+
9159
+ prev?: string;
9160
+
9161
+ tmp_data_source?: string;
9162
+ }
9163
+
9164
+ export interface QueryCallSessionParticipantStatsTimelineResponse {
9165
+ call_id: string;
9166
+
9167
+ call_session_id: string;
9168
+
9169
+ call_type: string;
9170
+
9171
+ duration: string;
9172
+
9173
+ user_id: string;
9174
+
9175
+ user_session_id: string;
9176
+
9177
+ events: CallParticipantTimeline[];
9178
+ }
9179
+
9203
9180
  export interface QueryCallStatsRequest {
9204
9181
  limit?: number;
9205
9182
 
@@ -9922,14 +9899,6 @@ export interface RTMPBroadcastRequest {
9922
9899
  layout?: LayoutSettingsRequest;
9923
9900
  }
9924
9901
 
9925
- export interface RTMPEgressConfig {
9926
- rtmp_location?: string;
9927
-
9928
- composite_app_settings?: CompositeAppSettings;
9929
-
9930
- quality?: Quality;
9931
- }
9932
-
9933
9902
  export interface RTMPIngress {
9934
9903
  address: string;
9935
9904
  }
@@ -10159,6 +10128,10 @@ export interface ReadStateResponse {
10159
10128
 
10160
10129
  user: UserResponse;
10161
10130
 
10131
+ last_delivered_at?: Date;
10132
+
10133
+ last_delivered_message_id?: string;
10134
+
10162
10135
  last_read_message_id?: string;
10163
10136
  }
10164
10137
 
@@ -10202,20 +10175,6 @@ export interface RecordSettingsResponse {
10202
10175
  layout: LayoutSettingsResponse;
10203
10176
  }
10204
10177
 
10205
- export interface RecordingEgressConfig {
10206
- audio_only?: boolean;
10207
-
10208
- storage_name?: string;
10209
-
10210
- composite_app_settings?: CompositeAppSettings;
10211
-
10212
- external_storage?: ExternalStorage;
10213
-
10214
- quality?: Quality;
10215
-
10216
- video_orientation_hint?: VideoOrientation;
10217
- }
10218
-
10219
10178
  export interface RejectFeedMemberInviteRequest {
10220
10179
  user_id?: string;
10221
10180
 
@@ -10380,84 +10339,6 @@ export interface RestoreUsersRequest {
10380
10339
  user_ids: string[];
10381
10340
  }
10382
10341
 
10383
- export interface ReviewQueueItem {
10384
- ai_text_severity: string;
10385
-
10386
- bounce_count: number;
10387
-
10388
- config_key: string;
10389
-
10390
- content_changed: boolean;
10391
-
10392
- created_at: Date;
10393
-
10394
- entity_id: string;
10395
-
10396
- entity_type: string;
10397
-
10398
- flags_count: number;
10399
-
10400
- has_image: boolean;
10401
-
10402
- has_text: boolean;
10403
-
10404
- has_video: boolean;
10405
-
10406
- id: string;
10407
-
10408
- moderation_payload_hash: string;
10409
-
10410
- recommended_action: string;
10411
-
10412
- reviewed_by: string;
10413
-
10414
- severity: number;
10415
-
10416
- status: string;
10417
-
10418
- updated_at: Date;
10419
-
10420
- actions: ActionLog[];
10421
-
10422
- bans: Ban[];
10423
-
10424
- flag_labels: string[];
10425
-
10426
- flag_types: string[];
10427
-
10428
- flags: Flag[];
10429
-
10430
- languages: string[];
10431
-
10432
- reporter_ids: string[];
10433
-
10434
- teams: string[];
10435
-
10436
- archived_at: NullTime;
10437
-
10438
- completed_at: NullTime;
10439
-
10440
- reviewed_at: NullTime;
10441
-
10442
- activity?: EnrichedActivity;
10443
-
10444
- assigned_to?: User;
10445
-
10446
- call?: Call;
10447
-
10448
- entity_creator?: EntityCreator;
10449
-
10450
- feeds_v2_activity?: EnrichedActivity;
10451
-
10452
- feeds_v2_reaction?: Reaction;
10453
-
10454
- message?: Message;
10455
-
10456
- moderation_payload?: ModerationPayload;
10457
-
10458
- reaction?: Reaction;
10459
- }
10460
-
10461
10342
  export interface ReviewQueueItemNewEvent {
10462
10343
  created_at: Date;
10463
10344
 
@@ -10587,7 +10468,15 @@ export interface Role {
10587
10468
  }
10588
10469
 
10589
10470
  export interface RuleBuilderAction {
10590
- type?: string;
10471
+ type:
10472
+ | 'ban_user'
10473
+ | 'flag_user'
10474
+ | 'flag_content'
10475
+ | 'block_content'
10476
+ | 'shadow_content'
10477
+ | 'bounce_flag_content'
10478
+ | 'bounce_content'
10479
+ | 'bounce_remove_content';
10591
10480
 
10592
10481
  ban_options?: BanOptions;
10593
10482
 
@@ -10666,58 +10555,10 @@ export interface SDKUsageReportResponse {
10666
10555
  daily: DailyAggregateSDKUsageReportResponse[];
10667
10556
  }
10668
10557
 
10669
- export interface SFUIDLastSeen {
10670
- id: string;
10671
-
10672
- last_seen: Date;
10673
-
10674
- process_start_time: number;
10675
- }
10676
-
10677
10558
  export interface SRTIngress {
10678
10559
  address: string;
10679
10560
  }
10680
10561
 
10681
- export interface StoriesFeedUpdatedEvent {
10682
- created_at: Date;
10683
-
10684
- fid: string;
10685
-
10686
- custom: Record<string, any>;
10687
-
10688
- type: string;
10689
-
10690
- feed_visibility?: string;
10691
-
10692
- received_at?: Date;
10693
-
10694
- activities?: ActivityResponse[];
10695
-
10696
- aggregated_activities?: AggregatedActivityResponse[];
10697
-
10698
- user?: UserResponseCommonFields;
10699
- }
10700
-
10701
- export interface STTEgressConfig {
10702
- closed_captions_enabled?: boolean;
10703
-
10704
- language?: string;
10705
-
10706
- storage_name?: string;
10707
-
10708
- translations_enabled?: boolean;
10709
-
10710
- upload_transcriptions?: boolean;
10711
-
10712
- whisper_server_base_url?: string;
10713
-
10714
- translation_languages?: string[];
10715
-
10716
- external_storage?: ExternalStorage;
10717
-
10718
- speech_segment_config?: SpeechSegmentConfig;
10719
- }
10720
-
10721
10562
  export interface ScreensharingSettings {
10722
10563
  access_request_enabled: boolean;
10723
10564
 
@@ -11368,6 +11209,26 @@ export interface StoriesConfig {
11368
11209
  track_watched?: boolean;
11369
11210
  }
11370
11211
 
11212
+ export interface StoriesFeedUpdatedEvent {
11213
+ created_at: Date;
11214
+
11215
+ fid: string;
11216
+
11217
+ custom: Record<string, any>;
11218
+
11219
+ type: string;
11220
+
11221
+ feed_visibility?: string;
11222
+
11223
+ received_at?: Date;
11224
+
11225
+ activities?: ActivityResponse[];
11226
+
11227
+ aggregated_activities?: AggregatedActivityResponse[];
11228
+
11229
+ user?: UserResponseCommonFields;
11230
+ }
11231
+
11371
11232
  export interface SubmitActionRequest {
11372
11233
  action_type:
11373
11234
  | 'mark_reviewed'
@@ -12229,6 +12090,10 @@ export interface UpdateAppRequest {
12229
12090
  }
12230
12091
 
12231
12092
  export interface UpdateBlockListRequest {
12093
+ is_leet_check_enabled?: boolean;
12094
+
12095
+ is_plural_check_enabled?: boolean;
12096
+
12232
12097
  team?: string;
12233
12098
 
12234
12099
  words?: string[];
@@ -12411,6 +12276,8 @@ export interface UpdateChannelTypeRequest {
12411
12276
 
12412
12277
  custom_events?: boolean;
12413
12278
 
12279
+ delivery_events?: boolean;
12280
+
12414
12281
  mark_messages_pending?: boolean;
12415
12282
 
12416
12283
  mutes?: boolean;
@@ -12473,6 +12340,8 @@ export interface UpdateChannelTypeResponse {
12473
12340
 
12474
12341
  custom_events: boolean;
12475
12342
 
12343
+ delivery_events: boolean;
12344
+
12476
12345
  duration: string;
12477
12346
 
12478
12347
  mark_messages_pending: boolean;
@@ -12898,6 +12767,42 @@ export interface UpdatedCallPermissionsEvent {
12898
12767
  type: string;
12899
12768
  }
12900
12769
 
12770
+ export interface UploadChannelFileRequest {
12771
+ file?: string;
12772
+
12773
+ user?: OnlyUserID;
12774
+ }
12775
+
12776
+ export interface UploadChannelFileResponse {
12777
+ duration: string;
12778
+
12779
+ file?: string;
12780
+
12781
+ moderation_action?: string;
12782
+
12783
+ thumb_url?: string;
12784
+ }
12785
+
12786
+ export interface UploadChannelRequest {
12787
+ file?: string;
12788
+
12789
+ upload_sizes?: ImageSize[];
12790
+
12791
+ user?: OnlyUserID;
12792
+ }
12793
+
12794
+ export interface UploadChannelResponse {
12795
+ duration: string;
12796
+
12797
+ file?: string;
12798
+
12799
+ moderation_action?: string;
12800
+
12801
+ thumb_url?: string;
12802
+
12803
+ upload_sizes?: ImageSize[];
12804
+ }
12805
+
12901
12806
  export interface UpsertActivitiesRequest {
12902
12807
  activities: ActivityRequest[];
12903
12808
  }
@@ -13549,10 +13454,6 @@ export interface VideoEndCallRequest {}
13549
13454
 
13550
13455
  export interface VideoKickUserRequest {}
13551
13456
 
13552
- export interface VideoOrientation {
13553
- orientation?: number;
13554
- }
13555
-
13556
13457
  export interface VideoReactionOverTimeResponse {
13557
13458
  by_minute?: CountByMinuteResponse[];
13558
13459
  }