@stream-io/node-sdk 0.7.11 → 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.
- package/dist/index.cjs.js +128 -25
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +128 -25
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/StreamClient.d.ts +2 -4
- package/dist/src/gen/chat/ChannelApi.d.ts +5 -5
- package/dist/src/gen/chat/ChatApi.d.ts +7 -13
- package/dist/src/gen/feeds/FeedsApi.d.ts +9 -1
- package/dist/src/gen/models/index.d.ts +244 -291
- package/dist/src/gen/video/VideoApi.d.ts +28 -1
- package/dist/src/types.d.ts +0 -1
- package/dist/src/utils/rate-limit.d.ts +0 -1
- package/package.json +1 -1
- package/src/gen/chat/ChannelApi.ts +20 -16
- package/src/gen/chat/ChatApi.ts +19 -28
- package/src/gen/common/CommonApi.ts +4 -0
- package/src/gen/feeds/FeedsApi.ts +53 -0
- package/src/gen/model-decoders/decoders.ts +46 -4
- package/src/gen/models/index.ts +434 -533
- package/src/gen/video/VideoApi.ts +111 -0
|
@@ -87,19 +87,6 @@ export interface Action {
|
|
|
87
87
|
style?: string;
|
|
88
88
|
value?: string;
|
|
89
89
|
}
|
|
90
|
-
export interface ActionLog {
|
|
91
|
-
created_at: Date;
|
|
92
|
-
id: string;
|
|
93
|
-
reason: string;
|
|
94
|
-
reporter_type: string;
|
|
95
|
-
review_queue_item_id: string;
|
|
96
|
-
target_user_id: string;
|
|
97
|
-
type: string;
|
|
98
|
-
custom: Record<string, any>;
|
|
99
|
-
review_queue_item?: ReviewQueueItem;
|
|
100
|
-
target_user?: User;
|
|
101
|
-
user?: User;
|
|
102
|
-
}
|
|
103
90
|
export interface ActionLogResponse {
|
|
104
91
|
created_at: Date;
|
|
105
92
|
id: string;
|
|
@@ -107,6 +94,7 @@ export interface ActionLogResponse {
|
|
|
107
94
|
target_user_id: string;
|
|
108
95
|
type: string;
|
|
109
96
|
user_id: string;
|
|
97
|
+
ai_providers: string[];
|
|
110
98
|
custom: Record<string, any>;
|
|
111
99
|
review_queue_item?: ReviewQueueItemResponse;
|
|
112
100
|
target_user?: UserResponse;
|
|
@@ -416,9 +404,9 @@ export interface AddCommentReactionResponse {
|
|
|
416
404
|
reaction: FeedsReactionResponse;
|
|
417
405
|
}
|
|
418
406
|
export interface AddCommentRequest {
|
|
419
|
-
comment: string;
|
|
420
407
|
object_id: string;
|
|
421
408
|
object_type: string;
|
|
409
|
+
comment?: string;
|
|
422
410
|
create_notification_activity?: boolean;
|
|
423
411
|
parent_id?: string;
|
|
424
412
|
skip_push?: boolean;
|
|
@@ -465,8 +453,8 @@ export interface AggregatedActivityResponse {
|
|
|
465
453
|
updated_at: Date;
|
|
466
454
|
user_count: number;
|
|
467
455
|
user_count_truncated: boolean;
|
|
468
|
-
is_watched?: boolean;
|
|
469
456
|
activities: ActivityResponse[];
|
|
457
|
+
is_watched?: boolean;
|
|
470
458
|
}
|
|
471
459
|
export interface AggregationConfig {
|
|
472
460
|
format?: string;
|
|
@@ -476,6 +464,7 @@ export interface AnyEvent {
|
|
|
476
464
|
type: string;
|
|
477
465
|
}
|
|
478
466
|
export interface AppResponseFields {
|
|
467
|
+
allow_multi_user_devices: boolean;
|
|
479
468
|
async_url_enrich_enabled: boolean;
|
|
480
469
|
auto_translation_enabled: boolean;
|
|
481
470
|
campaign_enabled: boolean;
|
|
@@ -485,7 +474,9 @@ export interface AppResponseFields {
|
|
|
485
474
|
disable_permissions_checks: boolean;
|
|
486
475
|
enforce_unique_usernames: string;
|
|
487
476
|
guest_user_creation_disabled: boolean;
|
|
477
|
+
id: number;
|
|
488
478
|
image_moderation_enabled: boolean;
|
|
479
|
+
max_aggregated_activities_length: number;
|
|
489
480
|
moderation_bulk_submit_action_enabled: boolean;
|
|
490
481
|
moderation_enabled: boolean;
|
|
491
482
|
moderation_llm_configurability_enabled: boolean;
|
|
@@ -495,6 +486,7 @@ export interface AppResponseFields {
|
|
|
495
486
|
name: string;
|
|
496
487
|
organization: string;
|
|
497
488
|
permission_version: string;
|
|
489
|
+
placement: string;
|
|
498
490
|
reminders_interval: number;
|
|
499
491
|
sns_key: string;
|
|
500
492
|
sns_secret: string;
|
|
@@ -610,11 +602,11 @@ export interface Attachment {
|
|
|
610
602
|
export interface AudioSettings {
|
|
611
603
|
access_request_enabled: boolean;
|
|
612
604
|
default_device: 'speaker' | 'earpiece';
|
|
605
|
+
hifi_audio_enabled: boolean;
|
|
613
606
|
mic_default_on: boolean;
|
|
614
607
|
opus_dtx_enabled: boolean;
|
|
615
608
|
redundant_coding_enabled: boolean;
|
|
616
609
|
speaker_default_on: boolean;
|
|
617
|
-
hifi_audio_enabled?: boolean;
|
|
618
610
|
noise_cancellation?: NoiseCancellationSettings;
|
|
619
611
|
}
|
|
620
612
|
export interface AudioSettingsRequest {
|
|
@@ -630,11 +622,11 @@ export interface AudioSettingsRequest {
|
|
|
630
622
|
export interface AudioSettingsResponse {
|
|
631
623
|
access_request_enabled: boolean;
|
|
632
624
|
default_device: 'speaker' | 'earpiece';
|
|
625
|
+
hifi_audio_enabled: boolean;
|
|
633
626
|
mic_default_on: boolean;
|
|
634
627
|
opus_dtx_enabled: boolean;
|
|
635
628
|
redundant_coding_enabled: boolean;
|
|
636
629
|
speaker_default_on: boolean;
|
|
637
|
-
hifi_audio_enabled?: boolean;
|
|
638
630
|
noise_cancellation?: NoiseCancellationSettings;
|
|
639
631
|
}
|
|
640
632
|
export interface AutomodDetails {
|
|
@@ -741,6 +733,8 @@ export interface BlockListOptions {
|
|
|
741
733
|
blocklist: string;
|
|
742
734
|
}
|
|
743
735
|
export interface BlockListResponse {
|
|
736
|
+
is_leet_check_enabled: boolean;
|
|
737
|
+
is_plural_check_enabled: boolean;
|
|
744
738
|
name: string;
|
|
745
739
|
type: string;
|
|
746
740
|
words: string[];
|
|
@@ -882,39 +876,6 @@ export interface BulkImageModerationResponse {
|
|
|
882
876
|
duration: string;
|
|
883
877
|
task_id: string;
|
|
884
878
|
}
|
|
885
|
-
export interface Call {
|
|
886
|
-
app_pk: number;
|
|
887
|
-
backstage: boolean;
|
|
888
|
-
channel_cid: string;
|
|
889
|
-
cid: string;
|
|
890
|
-
created_at: Date;
|
|
891
|
-
created_by_user_id: string;
|
|
892
|
-
current_session_id: string;
|
|
893
|
-
id: string;
|
|
894
|
-
last_session_id: string;
|
|
895
|
-
team: string;
|
|
896
|
-
thumbnail_url: string;
|
|
897
|
-
type: string;
|
|
898
|
-
updated_at: Date;
|
|
899
|
-
blocked_user_i_ds: string[];
|
|
900
|
-
blocked_users: User[];
|
|
901
|
-
egresses: CallEgress[];
|
|
902
|
-
members: CallMember[];
|
|
903
|
-
custom: Record<string, any>;
|
|
904
|
-
deleted_at?: Date;
|
|
905
|
-
egress_updated_at?: Date;
|
|
906
|
-
ended_at?: Date;
|
|
907
|
-
join_ahead_time_seconds?: number;
|
|
908
|
-
last_heartbeat_at?: Date;
|
|
909
|
-
member_count?: number;
|
|
910
|
-
starts_at?: Date;
|
|
911
|
-
call_type?: CallType;
|
|
912
|
-
created_by?: User;
|
|
913
|
-
member_lookup?: MemberLookup;
|
|
914
|
-
session?: CallSession;
|
|
915
|
-
settings?: CallSettings;
|
|
916
|
-
settings_overrides?: CallSettings;
|
|
917
|
-
}
|
|
918
879
|
export interface CallAcceptedEvent {
|
|
919
880
|
call_cid: string;
|
|
920
881
|
created_at: Date;
|
|
@@ -967,19 +928,6 @@ export interface CallDurationReport {
|
|
|
967
928
|
export interface CallDurationReportResponse {
|
|
968
929
|
daily: DailyAggregateCallDurationReportResponse[];
|
|
969
930
|
}
|
|
970
|
-
export interface CallEgress {
|
|
971
|
-
app_pk: number;
|
|
972
|
-
call_id: string;
|
|
973
|
-
call_type: string;
|
|
974
|
-
egress_id: string;
|
|
975
|
-
egress_type: string;
|
|
976
|
-
instance_ip: string;
|
|
977
|
-
started_at: Date;
|
|
978
|
-
state: string;
|
|
979
|
-
updated_at: Date;
|
|
980
|
-
stopped_at?: Date;
|
|
981
|
-
config?: EgressTaskConfig;
|
|
982
|
-
}
|
|
983
931
|
export interface CallEndedEvent {
|
|
984
932
|
call_cid: string;
|
|
985
933
|
created_at: Date;
|
|
@@ -1048,15 +996,6 @@ export interface CallLiveStartedEvent {
|
|
|
1048
996
|
call: CallResponse;
|
|
1049
997
|
type: string;
|
|
1050
998
|
}
|
|
1051
|
-
export interface CallMember {
|
|
1052
|
-
created_at: Date;
|
|
1053
|
-
role: string;
|
|
1054
|
-
updated_at: Date;
|
|
1055
|
-
user_id: string;
|
|
1056
|
-
custom: Record<string, any>;
|
|
1057
|
-
deleted_at?: Date;
|
|
1058
|
-
user?: User;
|
|
1059
|
-
}
|
|
1060
999
|
export interface CallMemberAddedEvent {
|
|
1061
1000
|
call_cid: string;
|
|
1062
1001
|
created_at: Date;
|
|
@@ -1120,29 +1059,6 @@ export interface CallNotificationEvent {
|
|
|
1120
1059
|
user: UserResponse;
|
|
1121
1060
|
type: string;
|
|
1122
1061
|
}
|
|
1123
|
-
export interface CallParticipant {
|
|
1124
|
-
banned: boolean;
|
|
1125
|
-
id: string;
|
|
1126
|
-
joined_at: Date;
|
|
1127
|
-
online: boolean;
|
|
1128
|
-
role: string;
|
|
1129
|
-
user_session_id: string;
|
|
1130
|
-
custom: Record<string, any>;
|
|
1131
|
-
teams_role: Record<string, string>;
|
|
1132
|
-
avg_response_time?: number;
|
|
1133
|
-
ban_expires?: Date;
|
|
1134
|
-
created_at?: Date;
|
|
1135
|
-
deactivated_at?: Date;
|
|
1136
|
-
deleted_at?: Date;
|
|
1137
|
-
invisible?: boolean;
|
|
1138
|
-
language?: string;
|
|
1139
|
-
last_active?: Date;
|
|
1140
|
-
last_engaged_at?: Date;
|
|
1141
|
-
revoke_tokens_issued_before?: Date;
|
|
1142
|
-
updated_at?: Date;
|
|
1143
|
-
teams?: string[];
|
|
1144
|
-
privacy_settings?: PrivacySettings;
|
|
1145
|
-
}
|
|
1146
1062
|
export interface CallParticipantCountReport {
|
|
1147
1063
|
histogram: ReportByHistogramBucket[];
|
|
1148
1064
|
}
|
|
@@ -1155,6 +1071,12 @@ export interface CallParticipantResponse {
|
|
|
1155
1071
|
user_session_id: string;
|
|
1156
1072
|
user: UserResponse;
|
|
1157
1073
|
}
|
|
1074
|
+
export interface CallParticipantTimeline {
|
|
1075
|
+
severity: string;
|
|
1076
|
+
timestamp: Date;
|
|
1077
|
+
type: string;
|
|
1078
|
+
data: Record<string, any>;
|
|
1079
|
+
}
|
|
1158
1080
|
export interface CallReactionEvent {
|
|
1159
1081
|
call_cid: string;
|
|
1160
1082
|
created_at: Date;
|
|
@@ -1271,29 +1193,6 @@ export interface CallRtmpBroadcastStoppedEvent {
|
|
|
1271
1193
|
name: string;
|
|
1272
1194
|
type: string;
|
|
1273
1195
|
}
|
|
1274
|
-
export interface CallSession {
|
|
1275
|
-
anonymous_participant_count: number;
|
|
1276
|
-
app_pk: number;
|
|
1277
|
-
call_id: string;
|
|
1278
|
-
call_type: string;
|
|
1279
|
-
created_at: Date;
|
|
1280
|
-
session_id: string;
|
|
1281
|
-
active_sf_us: SFUIDLastSeen[];
|
|
1282
|
-
participants: CallParticipant[];
|
|
1283
|
-
sfui_ds: string[];
|
|
1284
|
-
accepted_by: Record<string, Date>;
|
|
1285
|
-
missed_by: Record<string, Date>;
|
|
1286
|
-
participants_count_by_role: Record<string, number>;
|
|
1287
|
-
rejected_by: Record<string, Date>;
|
|
1288
|
-
user_permission_overrides: Record<string, Record<string, boolean>>;
|
|
1289
|
-
deleted_at?: Date;
|
|
1290
|
-
ended_at?: Date;
|
|
1291
|
-
live_ended_at?: Date;
|
|
1292
|
-
live_started_at?: Date;
|
|
1293
|
-
ring_at?: Date;
|
|
1294
|
-
started_at?: Date;
|
|
1295
|
-
timer_ends_at?: Date;
|
|
1296
|
-
}
|
|
1297
1196
|
export interface CallSessionEndedEvent {
|
|
1298
1197
|
call_cid: string;
|
|
1299
1198
|
created_at: Date;
|
|
@@ -1399,6 +1298,29 @@ export interface CallStateResponseFields {
|
|
|
1399
1298
|
own_capabilities: OwnCapability[];
|
|
1400
1299
|
call: CallResponse;
|
|
1401
1300
|
}
|
|
1301
|
+
export interface CallStatsParticipant {
|
|
1302
|
+
user_id: string;
|
|
1303
|
+
sessions: CallStatsParticipantSession[];
|
|
1304
|
+
latest_activity_at?: Date;
|
|
1305
|
+
name?: string;
|
|
1306
|
+
roles?: string[];
|
|
1307
|
+
}
|
|
1308
|
+
export interface CallStatsParticipantCounts {
|
|
1309
|
+
live_sessions: number;
|
|
1310
|
+
participants: number;
|
|
1311
|
+
publishers: number;
|
|
1312
|
+
sessions: number;
|
|
1313
|
+
}
|
|
1314
|
+
export interface CallStatsParticipantSession {
|
|
1315
|
+
is_live: boolean;
|
|
1316
|
+
user_session_id: string;
|
|
1317
|
+
published_tracks: PublishedTrackFlags;
|
|
1318
|
+
cq_score?: number;
|
|
1319
|
+
ended_at?: Date;
|
|
1320
|
+
publisher_type?: string;
|
|
1321
|
+
started_at?: Date;
|
|
1322
|
+
unified_session_id?: string;
|
|
1323
|
+
}
|
|
1402
1324
|
export interface CallStatsReportReadyEvent {
|
|
1403
1325
|
call_cid: string;
|
|
1404
1326
|
created_at: Date;
|
|
@@ -1601,6 +1523,7 @@ export interface ChannelConfig {
|
|
|
1601
1523
|
count_messages: boolean;
|
|
1602
1524
|
created_at: Date;
|
|
1603
1525
|
custom_events: boolean;
|
|
1526
|
+
delivery_events: boolean;
|
|
1604
1527
|
mark_messages_pending: boolean;
|
|
1605
1528
|
max_message_length: number;
|
|
1606
1529
|
mutes: boolean;
|
|
@@ -1636,6 +1559,7 @@ export interface ChannelConfigWithInfo {
|
|
|
1636
1559
|
count_messages: boolean;
|
|
1637
1560
|
created_at: Date;
|
|
1638
1561
|
custom_events: boolean;
|
|
1562
|
+
delivery_events: boolean;
|
|
1639
1563
|
mark_messages_pending: boolean;
|
|
1640
1564
|
max_message_length: number;
|
|
1641
1565
|
mutes: boolean;
|
|
@@ -1752,6 +1676,7 @@ export interface ChannelMember {
|
|
|
1752
1676
|
export interface ChannelMemberLookup {
|
|
1753
1677
|
archived: boolean;
|
|
1754
1678
|
banned: boolean;
|
|
1679
|
+
blocked: boolean;
|
|
1755
1680
|
hidden: boolean;
|
|
1756
1681
|
pinned: boolean;
|
|
1757
1682
|
archived_at?: Date;
|
|
@@ -1784,6 +1709,7 @@ export declare const ChannelOwnCapability: {
|
|
|
1784
1709
|
readonly DELETE_ANY_MESSAGE: "delete-any-message";
|
|
1785
1710
|
readonly DELETE_CHANNEL: "delete-channel";
|
|
1786
1711
|
readonly DELETE_OWN_MESSAGE: "delete-own-message";
|
|
1712
|
+
readonly DELIVERY_EVENTS: "delivery-events";
|
|
1787
1713
|
readonly FLAG_MESSAGE: "flag-message";
|
|
1788
1714
|
readonly FREEZE_CHANNEL: "freeze-channel";
|
|
1789
1715
|
readonly JOIN_CHANNEL: "join-channel";
|
|
@@ -1858,7 +1784,6 @@ export interface ChannelStateResponse {
|
|
|
1858
1784
|
hide_messages_before?: Date;
|
|
1859
1785
|
watcher_count?: number;
|
|
1860
1786
|
active_live_locations?: SharedLocationResponseData[];
|
|
1861
|
-
deleted_messages?: string[];
|
|
1862
1787
|
pending_messages?: PendingMessageResponse[];
|
|
1863
1788
|
read?: ReadStateResponse[];
|
|
1864
1789
|
watchers?: UserResponse[];
|
|
@@ -1876,7 +1801,6 @@ export interface ChannelStateResponseFields {
|
|
|
1876
1801
|
hide_messages_before?: Date;
|
|
1877
1802
|
watcher_count?: number;
|
|
1878
1803
|
active_live_locations?: SharedLocationResponseData[];
|
|
1879
|
-
deleted_messages?: string[];
|
|
1880
1804
|
pending_messages?: PendingMessageResponse[];
|
|
1881
1805
|
read?: ReadStateResponse[];
|
|
1882
1806
|
watchers?: UserResponse[];
|
|
@@ -1901,6 +1825,7 @@ export interface ChannelTypeConfig {
|
|
|
1901
1825
|
count_messages: boolean;
|
|
1902
1826
|
created_at: Date;
|
|
1903
1827
|
custom_events: boolean;
|
|
1828
|
+
delivery_events: boolean;
|
|
1904
1829
|
mark_messages_pending: boolean;
|
|
1905
1830
|
max_message_length: number;
|
|
1906
1831
|
mutes: boolean;
|
|
@@ -2156,10 +2081,6 @@ export interface CommentUpdatedEvent {
|
|
|
2156
2081
|
}
|
|
2157
2082
|
export interface CommitMessageRequest {
|
|
2158
2083
|
}
|
|
2159
|
-
export interface CompositeAppSettings {
|
|
2160
|
-
json_encoded_settings?: string;
|
|
2161
|
-
url?: string;
|
|
2162
|
-
}
|
|
2163
2084
|
export interface ConfigOverrides {
|
|
2164
2085
|
commands: string[];
|
|
2165
2086
|
grants: Record<string, string[]>;
|
|
@@ -2205,6 +2126,8 @@ export interface CountByMinuteResponse {
|
|
|
2205
2126
|
export interface CreateBlockListRequest {
|
|
2206
2127
|
name: string;
|
|
2207
2128
|
words: string[];
|
|
2129
|
+
is_leet_check_enabled?: boolean;
|
|
2130
|
+
is_plural_check_enabled?: boolean;
|
|
2208
2131
|
team?: string;
|
|
2209
2132
|
type?: 'regex' | 'domain' | 'domain_allowlist' | 'email' | 'word';
|
|
2210
2133
|
}
|
|
@@ -2237,7 +2160,9 @@ export interface CreateChannelTypeRequest {
|
|
|
2237
2160
|
blocklist?: string;
|
|
2238
2161
|
blocklist_behavior?: 'flag' | 'block' | 'shadow_block';
|
|
2239
2162
|
connect_events?: boolean;
|
|
2163
|
+
count_messages?: boolean;
|
|
2240
2164
|
custom_events?: boolean;
|
|
2165
|
+
delivery_events?: boolean;
|
|
2241
2166
|
mark_messages_pending?: boolean;
|
|
2242
2167
|
message_retention?: 'infinite' | 'numeric';
|
|
2243
2168
|
mutes?: boolean;
|
|
@@ -2267,6 +2192,7 @@ export interface CreateChannelTypeResponse {
|
|
|
2267
2192
|
count_messages: boolean;
|
|
2268
2193
|
created_at: Date;
|
|
2269
2194
|
custom_events: boolean;
|
|
2195
|
+
delivery_events: boolean;
|
|
2270
2196
|
duration: string;
|
|
2271
2197
|
mark_messages_pending: boolean;
|
|
2272
2198
|
max_message_length: number;
|
|
@@ -2672,6 +2598,12 @@ export interface DeleteUsersResponse {
|
|
|
2672
2598
|
duration: string;
|
|
2673
2599
|
task_id: string;
|
|
2674
2600
|
}
|
|
2601
|
+
export interface DeliveryReceipts {
|
|
2602
|
+
enabled: boolean;
|
|
2603
|
+
}
|
|
2604
|
+
export interface DeliveryReceiptsResponse {
|
|
2605
|
+
enabled?: boolean;
|
|
2606
|
+
}
|
|
2675
2607
|
export interface Device {
|
|
2676
2608
|
created_at: Date;
|
|
2677
2609
|
id: string;
|
|
@@ -2753,17 +2685,6 @@ export interface EgressResponse {
|
|
|
2753
2685
|
frame_recording?: FrameRecordingResponse;
|
|
2754
2686
|
hls?: EgressHLSResponse;
|
|
2755
2687
|
}
|
|
2756
|
-
export interface EgressTaskConfig {
|
|
2757
|
-
egress_user?: EgressUser;
|
|
2758
|
-
frame_recording_egress_config?: FrameRecordingEgressConfig;
|
|
2759
|
-
hls_egress_config?: HLSEgressConfig;
|
|
2760
|
-
recording_egress_config?: RecordingEgressConfig;
|
|
2761
|
-
rtmp_egress_config?: RTMPEgressConfig;
|
|
2762
|
-
stt_egress_config?: STTEgressConfig;
|
|
2763
|
-
}
|
|
2764
|
-
export interface EgressUser {
|
|
2765
|
-
token?: string;
|
|
2766
|
-
}
|
|
2767
2688
|
export interface EndCallRequest {
|
|
2768
2689
|
}
|
|
2769
2690
|
export interface EndCallResponse {
|
|
@@ -2798,29 +2719,6 @@ export interface EnrichedReaction {
|
|
|
2798
2719
|
updated_at?: Time;
|
|
2799
2720
|
user?: Data;
|
|
2800
2721
|
}
|
|
2801
|
-
export interface EntityCreator {
|
|
2802
|
-
ban_count: number;
|
|
2803
|
-
banned: boolean;
|
|
2804
|
-
deleted_content_count: number;
|
|
2805
|
-
id: string;
|
|
2806
|
-
online: boolean;
|
|
2807
|
-
role: string;
|
|
2808
|
-
custom: Record<string, any>;
|
|
2809
|
-
teams_role: Record<string, string>;
|
|
2810
|
-
avg_response_time?: number;
|
|
2811
|
-
ban_expires?: Date;
|
|
2812
|
-
created_at?: Date;
|
|
2813
|
-
deactivated_at?: Date;
|
|
2814
|
-
deleted_at?: Date;
|
|
2815
|
-
invisible?: boolean;
|
|
2816
|
-
language?: string;
|
|
2817
|
-
last_active?: Date;
|
|
2818
|
-
last_engaged_at?: Date;
|
|
2819
|
-
revoke_tokens_issued_before?: Date;
|
|
2820
|
-
updated_at?: Date;
|
|
2821
|
-
teams?: string[];
|
|
2822
|
-
privacy_settings?: PrivacySettings;
|
|
2823
|
-
}
|
|
2824
2722
|
export interface EntityCreatorResponse {
|
|
2825
2723
|
ban_count: number;
|
|
2826
2724
|
banned: boolean;
|
|
@@ -2926,21 +2824,6 @@ export interface ExportUsersResponse {
|
|
|
2926
2824
|
duration: string;
|
|
2927
2825
|
task_id: string;
|
|
2928
2826
|
}
|
|
2929
|
-
export interface ExternalStorage {
|
|
2930
|
-
abs_account_name?: string;
|
|
2931
|
-
abs_client_id?: string;
|
|
2932
|
-
abs_client_secret?: string;
|
|
2933
|
-
abs_tenant_id?: string;
|
|
2934
|
-
bucket?: string;
|
|
2935
|
-
gcs_credentials?: string;
|
|
2936
|
-
path?: string;
|
|
2937
|
-
s3_api_key?: string;
|
|
2938
|
-
s3_custom_endpoint?: string;
|
|
2939
|
-
s3_region?: string;
|
|
2940
|
-
s3_secret_key?: string;
|
|
2941
|
-
storage_name?: string;
|
|
2942
|
-
storage_type?: number;
|
|
2943
|
-
}
|
|
2944
2827
|
export interface ExternalStorageResponse {
|
|
2945
2828
|
bucket: string;
|
|
2946
2829
|
name: string;
|
|
@@ -3011,10 +2894,10 @@ export interface FeedGroupResponse {
|
|
|
3011
2894
|
created_at: Date;
|
|
3012
2895
|
id: string;
|
|
3013
2896
|
updated_at: Date;
|
|
3014
|
-
deleted_at?: Date;
|
|
3015
2897
|
default_visibility?: string;
|
|
2898
|
+
deleted_at?: Date;
|
|
3016
2899
|
activity_processors?: ActivityProcessorConfig[];
|
|
3017
|
-
activity_selectors?:
|
|
2900
|
+
activity_selectors?: ActivitySelectorConfigResponse[];
|
|
3018
2901
|
aggregation?: AggregationConfig;
|
|
3019
2902
|
custom?: Record<string, any>;
|
|
3020
2903
|
notification?: NotificationConfig;
|
|
@@ -3161,8 +3044,8 @@ export interface FeedViewResponse {
|
|
|
3161
3044
|
ranking?: RankingConfig;
|
|
3162
3045
|
}
|
|
3163
3046
|
export interface FeedVisibilityResponse {
|
|
3164
|
-
description: string;
|
|
3165
3047
|
name: string;
|
|
3048
|
+
permissions: Permission[];
|
|
3166
3049
|
grants: Record<string, string[]>;
|
|
3167
3050
|
}
|
|
3168
3051
|
export interface FeedsModerationTemplateConfig {
|
|
@@ -3344,12 +3227,6 @@ export interface FrameRecordSettings {
|
|
|
3344
3227
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
3345
3228
|
quality?: string;
|
|
3346
3229
|
}
|
|
3347
|
-
export interface FrameRecordingEgressConfig {
|
|
3348
|
-
capture_interval_in_seconds?: number;
|
|
3349
|
-
storage_name?: string;
|
|
3350
|
-
external_storage?: ExternalStorage;
|
|
3351
|
-
quality?: Quality;
|
|
3352
|
-
}
|
|
3353
3230
|
export interface FrameRecordingResponse {
|
|
3354
3231
|
status: string;
|
|
3355
3232
|
}
|
|
@@ -3447,6 +3324,18 @@ export interface GetCallResponse {
|
|
|
3447
3324
|
own_capabilities: OwnCapability[];
|
|
3448
3325
|
call: CallResponse;
|
|
3449
3326
|
}
|
|
3327
|
+
export interface GetCallSessionParticipantStatsDetailsResponse {
|
|
3328
|
+
call_id: string;
|
|
3329
|
+
call_session_id: string;
|
|
3330
|
+
call_type: string;
|
|
3331
|
+
duration: string;
|
|
3332
|
+
user_id: string;
|
|
3333
|
+
user_session_id: string;
|
|
3334
|
+
publisher?: ParticipantSeriesPublisherStats;
|
|
3335
|
+
subscriber?: ParticipantSeriesSubscriberStats;
|
|
3336
|
+
timeframe?: ParticipantSeriesTimeframe;
|
|
3337
|
+
user?: ParticipantSeriesUserStats;
|
|
3338
|
+
}
|
|
3450
3339
|
export interface GetCallTypeResponse {
|
|
3451
3340
|
created_at: Date;
|
|
3452
3341
|
duration: string;
|
|
@@ -3469,6 +3358,7 @@ export interface GetChannelTypeResponse {
|
|
|
3469
3358
|
count_messages: boolean;
|
|
3470
3359
|
created_at: Date;
|
|
3471
3360
|
custom_events: boolean;
|
|
3361
|
+
delivery_events: boolean;
|
|
3472
3362
|
duration: string;
|
|
3473
3363
|
mark_messages_pending: boolean;
|
|
3474
3364
|
max_message_length: number;
|
|
@@ -3553,6 +3443,13 @@ export interface GetFeedVisibilityResponse {
|
|
|
3553
3443
|
duration: string;
|
|
3554
3444
|
feed_visibility: FeedVisibilityResponse;
|
|
3555
3445
|
}
|
|
3446
|
+
export interface GetFeedsRateLimitsResponse {
|
|
3447
|
+
duration: string;
|
|
3448
|
+
android?: Record<string, LimitInfo>;
|
|
3449
|
+
ios?: Record<string, LimitInfo>;
|
|
3450
|
+
server_side?: Record<string, LimitInfo>;
|
|
3451
|
+
web?: Record<string, LimitInfo>;
|
|
3452
|
+
}
|
|
3556
3453
|
export interface GetFollowSuggestionsResponse {
|
|
3557
3454
|
duration: string;
|
|
3558
3455
|
suggestions: FeedResponse[];
|
|
@@ -3733,12 +3630,6 @@ export interface GroupedStatsResponse {
|
|
|
3733
3630
|
name: string;
|
|
3734
3631
|
unique: number;
|
|
3735
3632
|
}
|
|
3736
|
-
export interface HLSEgressConfig {
|
|
3737
|
-
playlist_url?: string;
|
|
3738
|
-
start_unix_nano?: number;
|
|
3739
|
-
qualities?: Quality[];
|
|
3740
|
-
composite_app_settings?: CompositeAppSettings;
|
|
3741
|
-
}
|
|
3742
3633
|
export interface HLSSettings {
|
|
3743
3634
|
auto_on: boolean;
|
|
3744
3635
|
enabled: boolean;
|
|
@@ -3868,14 +3759,32 @@ export interface IngressSettingsResponse {
|
|
|
3868
3759
|
audio_encoding_options?: IngressAudioEncodingResponse;
|
|
3869
3760
|
video_encoding_options?: Record<string, IngressVideoEncodingResponse>;
|
|
3870
3761
|
}
|
|
3762
|
+
export interface IngressSource {
|
|
3763
|
+
fps: number;
|
|
3764
|
+
height: number;
|
|
3765
|
+
width: number;
|
|
3766
|
+
}
|
|
3767
|
+
export interface IngressSourceRequest {
|
|
3768
|
+
fps: '30' | '60';
|
|
3769
|
+
height: number;
|
|
3770
|
+
width: number;
|
|
3771
|
+
}
|
|
3772
|
+
export interface IngressSourceResponse {
|
|
3773
|
+
fps: number;
|
|
3774
|
+
height: number;
|
|
3775
|
+
width: number;
|
|
3776
|
+
}
|
|
3871
3777
|
export interface IngressVideoEncodingOptions {
|
|
3872
3778
|
layers: IngressVideoLayer[];
|
|
3779
|
+
source?: IngressSource;
|
|
3873
3780
|
}
|
|
3874
3781
|
export interface IngressVideoEncodingOptionsRequest {
|
|
3875
3782
|
layers: IngressVideoLayerRequest[];
|
|
3783
|
+
source: IngressSourceRequest;
|
|
3876
3784
|
}
|
|
3877
3785
|
export interface IngressVideoEncodingResponse {
|
|
3878
3786
|
layers: IngressVideoLayerResponse[];
|
|
3787
|
+
source: IngressSourceResponse;
|
|
3879
3788
|
}
|
|
3880
3789
|
export interface IngressVideoLayer {
|
|
3881
3790
|
bitrate: number;
|
|
@@ -4089,9 +3998,6 @@ export interface MemberAddedEvent {
|
|
|
4089
3998
|
member?: ChannelMember;
|
|
4090
3999
|
user?: User;
|
|
4091
4000
|
}
|
|
4092
|
-
export interface MemberLookup {
|
|
4093
|
-
limit: number;
|
|
4094
|
-
}
|
|
4095
4001
|
export interface MemberRemovedEvent {
|
|
4096
4002
|
channel_id: string;
|
|
4097
4003
|
channel_type: string;
|
|
@@ -4277,6 +4183,17 @@ export interface MessageOptions {
|
|
|
4277
4183
|
include_thread_participants?: boolean;
|
|
4278
4184
|
}
|
|
4279
4185
|
export interface MessagePaginationParams {
|
|
4186
|
+
created_at_after?: Date;
|
|
4187
|
+
created_at_after_or_equal?: Date;
|
|
4188
|
+
created_at_around?: Date;
|
|
4189
|
+
created_at_before?: Date;
|
|
4190
|
+
created_at_before_or_equal?: Date;
|
|
4191
|
+
id_around?: string;
|
|
4192
|
+
id_gt?: string;
|
|
4193
|
+
id_gte?: string;
|
|
4194
|
+
id_lt?: string;
|
|
4195
|
+
id_lte?: string;
|
|
4196
|
+
limit?: number;
|
|
4280
4197
|
}
|
|
4281
4198
|
export interface MessageReadEvent {
|
|
4282
4199
|
channel_id: string;
|
|
@@ -4455,6 +4372,13 @@ export interface MessageWithChannelResponse {
|
|
|
4455
4372
|
reminder?: ReminderResponseData;
|
|
4456
4373
|
shared_location?: SharedLocationResponseData;
|
|
4457
4374
|
}
|
|
4375
|
+
export interface MetricThreshold {
|
|
4376
|
+
level: string;
|
|
4377
|
+
operator: string;
|
|
4378
|
+
value: number;
|
|
4379
|
+
value_unit?: string;
|
|
4380
|
+
window_seconds?: number;
|
|
4381
|
+
}
|
|
4458
4382
|
export interface ModerationActionConfig {
|
|
4459
4383
|
action: string;
|
|
4460
4384
|
description: string;
|
|
@@ -4494,16 +4418,20 @@ export interface ModerationConfig {
|
|
|
4494
4418
|
video_call_rule_config?: VideoCallRuleConfig;
|
|
4495
4419
|
}
|
|
4496
4420
|
export interface ModerationCustomActionEvent {
|
|
4421
|
+
action_id: string;
|
|
4497
4422
|
created_at: Date;
|
|
4423
|
+
custom: Record<string, any>;
|
|
4424
|
+
review_queue_item: ReviewQueueItemResponse;
|
|
4498
4425
|
type: string;
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4426
|
+
received_at?: Date;
|
|
4427
|
+
action_options?: Record<string, any>;
|
|
4428
|
+
message?: MessageResponse;
|
|
4502
4429
|
}
|
|
4503
4430
|
export interface ModerationDashboardPreferences {
|
|
4504
4431
|
disable_flagging_reviewed_entity?: boolean;
|
|
4505
4432
|
flag_user_on_flagged_content?: boolean;
|
|
4506
4433
|
media_queue_blur_enabled?: boolean;
|
|
4434
|
+
overview_dashboard?: OverviewDashboardConfig;
|
|
4507
4435
|
}
|
|
4508
4436
|
export interface ModerationFlagResponse {
|
|
4509
4437
|
created_at: Date;
|
|
@@ -4531,10 +4459,11 @@ export interface ModerationFlaggedEvent {
|
|
|
4531
4459
|
}
|
|
4532
4460
|
export interface ModerationMarkReviewedEvent {
|
|
4533
4461
|
created_at: Date;
|
|
4462
|
+
custom: Record<string, any>;
|
|
4463
|
+
item: ReviewQueueItemResponse;
|
|
4534
4464
|
type: string;
|
|
4535
|
-
|
|
4536
|
-
message?:
|
|
4537
|
-
user?: User;
|
|
4465
|
+
received_at?: Date;
|
|
4466
|
+
message?: MessageResponse;
|
|
4538
4467
|
}
|
|
4539
4468
|
export interface ModerationPayload {
|
|
4540
4469
|
images?: string[];
|
|
@@ -4686,8 +4615,6 @@ export interface NotificationTrigger {
|
|
|
4686
4615
|
text: string;
|
|
4687
4616
|
type: string;
|
|
4688
4617
|
}
|
|
4689
|
-
export interface NullTime {
|
|
4690
|
-
}
|
|
4691
4618
|
export interface OCRRule {
|
|
4692
4619
|
action: 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
|
|
4693
4620
|
label: string;
|
|
@@ -4695,6 +4622,19 @@ export interface OCRRule {
|
|
|
4695
4622
|
export interface OnlyUserID {
|
|
4696
4623
|
id: string;
|
|
4697
4624
|
}
|
|
4625
|
+
export interface OverviewDashboardConfig {
|
|
4626
|
+
default_date_range_days?: number;
|
|
4627
|
+
visible_charts?: string[];
|
|
4628
|
+
}
|
|
4629
|
+
export interface OwnCapabilitiesBatchRequest {
|
|
4630
|
+
feeds: string[];
|
|
4631
|
+
user_id?: string;
|
|
4632
|
+
user?: UserRequest;
|
|
4633
|
+
}
|
|
4634
|
+
export interface OwnCapabilitiesBatchResponse {
|
|
4635
|
+
duration: string;
|
|
4636
|
+
capabilities: Record<string, FeedOwnCapability[]>;
|
|
4637
|
+
}
|
|
4698
4638
|
export declare const OwnCapability: {
|
|
4699
4639
|
readonly BLOCK_USERS: "block-users";
|
|
4700
4640
|
readonly CHANGE_MAX_DURATION: "change-max-duration";
|
|
@@ -4827,6 +4767,41 @@ export interface ParticipantReportResponse {
|
|
|
4827
4767
|
publishers?: PublisherStatsResponse;
|
|
4828
4768
|
subscribers?: SubscriberStatsResponse;
|
|
4829
4769
|
}
|
|
4770
|
+
export interface ParticipantSeriesPublisherStats {
|
|
4771
|
+
global?: Record<string, number[][]>;
|
|
4772
|
+
global_thresholds?: Record<string, MetricThreshold[]>;
|
|
4773
|
+
tracks?: Record<string, ParticipantSeriesTrackMetrics[]>;
|
|
4774
|
+
}
|
|
4775
|
+
export interface ParticipantSeriesSubscriberStats {
|
|
4776
|
+
subscriptions?: ParticipantSeriesSubscriptionTrackMetrics[];
|
|
4777
|
+
global?: Record<string, number[][]>;
|
|
4778
|
+
global_thresholds?: Record<string, MetricThreshold[]>;
|
|
4779
|
+
}
|
|
4780
|
+
export interface ParticipantSeriesSubscriptionTrackMetrics {
|
|
4781
|
+
publisher_user_id: string;
|
|
4782
|
+
publisher_name?: string;
|
|
4783
|
+
publisher_user_session_id?: string;
|
|
4784
|
+
tracks?: Record<string, ParticipantSeriesTrackMetrics[]>;
|
|
4785
|
+
}
|
|
4786
|
+
export interface ParticipantSeriesTimeframe {
|
|
4787
|
+
max_points: number;
|
|
4788
|
+
since: Date;
|
|
4789
|
+
step_seconds: number;
|
|
4790
|
+
until: Date;
|
|
4791
|
+
}
|
|
4792
|
+
export interface ParticipantSeriesTrackMetrics {
|
|
4793
|
+
track_id: string;
|
|
4794
|
+
codec?: string;
|
|
4795
|
+
label?: string;
|
|
4796
|
+
rid?: string;
|
|
4797
|
+
track_type?: string;
|
|
4798
|
+
metrics?: Record<string, number[][]>;
|
|
4799
|
+
thresholds?: Record<string, MetricThreshold[]>;
|
|
4800
|
+
}
|
|
4801
|
+
export interface ParticipantSeriesUserStats {
|
|
4802
|
+
metrics?: Record<string, number[][]>;
|
|
4803
|
+
thresholds?: Record<string, MetricThreshold[]>;
|
|
4804
|
+
}
|
|
4830
4805
|
export interface PendingMessageEvent {
|
|
4831
4806
|
created_at: Date;
|
|
4832
4807
|
method: string;
|
|
@@ -5014,13 +4989,21 @@ export interface PollVotesResponse {
|
|
|
5014
4989
|
prev?: string;
|
|
5015
4990
|
}
|
|
5016
4991
|
export interface PrivacySettings {
|
|
4992
|
+
delivery_receipts?: DeliveryReceipts;
|
|
5017
4993
|
read_receipts?: ReadReceipts;
|
|
5018
4994
|
typing_indicators?: TypingIndicators;
|
|
5019
4995
|
}
|
|
5020
4996
|
export interface PrivacySettingsResponse {
|
|
4997
|
+
delivery_receipts?: DeliveryReceiptsResponse;
|
|
5021
4998
|
read_receipts?: ReadReceiptsResponse;
|
|
5022
4999
|
typing_indicators?: TypingIndicatorsResponse;
|
|
5023
5000
|
}
|
|
5001
|
+
export interface PublishedTrackFlags {
|
|
5002
|
+
audio: boolean;
|
|
5003
|
+
screenshare: boolean;
|
|
5004
|
+
screenshare_audio: boolean;
|
|
5005
|
+
video: boolean;
|
|
5006
|
+
}
|
|
5024
5007
|
export interface PublisherAllMetrics {
|
|
5025
5008
|
audio?: PublisherAudioMetrics;
|
|
5026
5009
|
rtt_ms?: ActiveCallsLatencyStats;
|
|
@@ -5148,14 +5131,6 @@ export interface PushTemplate {
|
|
|
5148
5131
|
updated_at: Date;
|
|
5149
5132
|
template?: string;
|
|
5150
5133
|
}
|
|
5151
|
-
export interface Quality {
|
|
5152
|
-
bitdepth?: number;
|
|
5153
|
-
framerate?: number;
|
|
5154
|
-
height?: number;
|
|
5155
|
-
name?: string;
|
|
5156
|
-
video_bitrate?: number;
|
|
5157
|
-
width?: number;
|
|
5158
|
-
}
|
|
5159
5134
|
export interface QualityScoreReport {
|
|
5160
5135
|
histogram: ReportByHistogramBucket[];
|
|
5161
5136
|
}
|
|
@@ -5268,6 +5243,28 @@ export interface QueryCallParticipantsResponse {
|
|
|
5268
5243
|
participants: CallParticipantResponse[];
|
|
5269
5244
|
call: CallResponse;
|
|
5270
5245
|
}
|
|
5246
|
+
export interface QueryCallSessionParticipantStatsResponse {
|
|
5247
|
+
call_id: string;
|
|
5248
|
+
call_session_id: string;
|
|
5249
|
+
call_type: string;
|
|
5250
|
+
duration: string;
|
|
5251
|
+
participants: CallStatsParticipant[];
|
|
5252
|
+
counts: CallStatsParticipantCounts;
|
|
5253
|
+
call_ended_at?: Date;
|
|
5254
|
+
call_started_at?: Date;
|
|
5255
|
+
next?: string;
|
|
5256
|
+
prev?: string;
|
|
5257
|
+
tmp_data_source?: string;
|
|
5258
|
+
}
|
|
5259
|
+
export interface QueryCallSessionParticipantStatsTimelineResponse {
|
|
5260
|
+
call_id: string;
|
|
5261
|
+
call_session_id: string;
|
|
5262
|
+
call_type: string;
|
|
5263
|
+
duration: string;
|
|
5264
|
+
user_id: string;
|
|
5265
|
+
user_session_id: string;
|
|
5266
|
+
events: CallParticipantTimeline[];
|
|
5267
|
+
}
|
|
5271
5268
|
export interface QueryCallStatsRequest {
|
|
5272
5269
|
limit?: number;
|
|
5273
5270
|
next?: string;
|
|
@@ -5683,11 +5680,6 @@ export interface RTMPBroadcastRequest {
|
|
|
5683
5680
|
stream_key?: string;
|
|
5684
5681
|
layout?: LayoutSettingsRequest;
|
|
5685
5682
|
}
|
|
5686
|
-
export interface RTMPEgressConfig {
|
|
5687
|
-
rtmp_location?: string;
|
|
5688
|
-
composite_app_settings?: CompositeAppSettings;
|
|
5689
|
-
quality?: Quality;
|
|
5690
|
-
}
|
|
5691
5683
|
export interface RTMPIngress {
|
|
5692
5684
|
address: string;
|
|
5693
5685
|
}
|
|
@@ -5817,6 +5809,8 @@ export interface ReadStateResponse {
|
|
|
5817
5809
|
last_read: Date;
|
|
5818
5810
|
unread_messages: number;
|
|
5819
5811
|
user: UserResponse;
|
|
5812
|
+
last_delivered_at?: Date;
|
|
5813
|
+
last_delivered_message_id?: string;
|
|
5820
5814
|
last_read_message_id?: string;
|
|
5821
5815
|
}
|
|
5822
5816
|
export interface RecordSettings {
|
|
@@ -5837,14 +5831,6 @@ export interface RecordSettingsResponse {
|
|
|
5837
5831
|
quality: string;
|
|
5838
5832
|
layout: LayoutSettingsResponse;
|
|
5839
5833
|
}
|
|
5840
|
-
export interface RecordingEgressConfig {
|
|
5841
|
-
audio_only?: boolean;
|
|
5842
|
-
storage_name?: string;
|
|
5843
|
-
composite_app_settings?: CompositeAppSettings;
|
|
5844
|
-
external_storage?: ExternalStorage;
|
|
5845
|
-
quality?: Quality;
|
|
5846
|
-
video_orientation_hint?: VideoOrientation;
|
|
5847
|
-
}
|
|
5848
5834
|
export interface RejectFeedMemberInviteRequest {
|
|
5849
5835
|
user_id?: string;
|
|
5850
5836
|
user?: UserRequest;
|
|
@@ -5942,46 +5928,6 @@ export interface RestoreActionRequest {
|
|
|
5942
5928
|
export interface RestoreUsersRequest {
|
|
5943
5929
|
user_ids: string[];
|
|
5944
5930
|
}
|
|
5945
|
-
export interface ReviewQueueItem {
|
|
5946
|
-
ai_text_severity: string;
|
|
5947
|
-
bounce_count: number;
|
|
5948
|
-
config_key: string;
|
|
5949
|
-
content_changed: boolean;
|
|
5950
|
-
created_at: Date;
|
|
5951
|
-
entity_id: string;
|
|
5952
|
-
entity_type: string;
|
|
5953
|
-
flags_count: number;
|
|
5954
|
-
has_image: boolean;
|
|
5955
|
-
has_text: boolean;
|
|
5956
|
-
has_video: boolean;
|
|
5957
|
-
id: string;
|
|
5958
|
-
moderation_payload_hash: string;
|
|
5959
|
-
recommended_action: string;
|
|
5960
|
-
reviewed_by: string;
|
|
5961
|
-
severity: number;
|
|
5962
|
-
status: string;
|
|
5963
|
-
updated_at: Date;
|
|
5964
|
-
actions: ActionLog[];
|
|
5965
|
-
bans: Ban[];
|
|
5966
|
-
flag_labels: string[];
|
|
5967
|
-
flag_types: string[];
|
|
5968
|
-
flags: Flag[];
|
|
5969
|
-
languages: string[];
|
|
5970
|
-
reporter_ids: string[];
|
|
5971
|
-
teams: string[];
|
|
5972
|
-
archived_at: NullTime;
|
|
5973
|
-
completed_at: NullTime;
|
|
5974
|
-
reviewed_at: NullTime;
|
|
5975
|
-
activity?: EnrichedActivity;
|
|
5976
|
-
assigned_to?: User;
|
|
5977
|
-
call?: Call;
|
|
5978
|
-
entity_creator?: EntityCreator;
|
|
5979
|
-
feeds_v2_activity?: EnrichedActivity;
|
|
5980
|
-
feeds_v2_reaction?: Reaction;
|
|
5981
|
-
message?: Message;
|
|
5982
|
-
moderation_payload?: ModerationPayload;
|
|
5983
|
-
reaction?: Reaction;
|
|
5984
|
-
}
|
|
5985
5931
|
export interface ReviewQueueItemNewEvent {
|
|
5986
5932
|
created_at: Date;
|
|
5987
5933
|
custom: Record<string, any>;
|
|
@@ -6054,7 +6000,7 @@ export interface Role {
|
|
|
6054
6000
|
scopes: string[];
|
|
6055
6001
|
}
|
|
6056
6002
|
export interface RuleBuilderAction {
|
|
6057
|
-
type
|
|
6003
|
+
type: 'ban_user' | 'flag_user' | 'flag_content' | 'block_content' | 'shadow_content' | 'bounce_flag_content' | 'bounce_content' | 'bounce_remove_content';
|
|
6058
6004
|
ban_options?: BanOptions;
|
|
6059
6005
|
flag_user_options?: FlagUserOptions;
|
|
6060
6006
|
}
|
|
@@ -6101,36 +6047,9 @@ export interface SDKUsageReport {
|
|
|
6101
6047
|
export interface SDKUsageReportResponse {
|
|
6102
6048
|
daily: DailyAggregateSDKUsageReportResponse[];
|
|
6103
6049
|
}
|
|
6104
|
-
export interface SFUIDLastSeen {
|
|
6105
|
-
id: string;
|
|
6106
|
-
last_seen: Date;
|
|
6107
|
-
process_start_time: number;
|
|
6108
|
-
}
|
|
6109
6050
|
export interface SRTIngress {
|
|
6110
6051
|
address: string;
|
|
6111
6052
|
}
|
|
6112
|
-
export interface StoriesFeedUpdatedEvent {
|
|
6113
|
-
created_at: Date;
|
|
6114
|
-
fid: string;
|
|
6115
|
-
custom: Record<string, any>;
|
|
6116
|
-
type: string;
|
|
6117
|
-
feed_visibility?: string;
|
|
6118
|
-
received_at?: Date;
|
|
6119
|
-
activities?: ActivityResponse[];
|
|
6120
|
-
aggregated_activities?: AggregatedActivityResponse[];
|
|
6121
|
-
user?: UserResponseCommonFields;
|
|
6122
|
-
}
|
|
6123
|
-
export interface STTEgressConfig {
|
|
6124
|
-
closed_captions_enabled?: boolean;
|
|
6125
|
-
language?: string;
|
|
6126
|
-
storage_name?: string;
|
|
6127
|
-
translations_enabled?: boolean;
|
|
6128
|
-
upload_transcriptions?: boolean;
|
|
6129
|
-
whisper_server_base_url?: string;
|
|
6130
|
-
translation_languages?: string[];
|
|
6131
|
-
external_storage?: ExternalStorage;
|
|
6132
|
-
speech_segment_config?: SpeechSegmentConfig;
|
|
6133
|
-
}
|
|
6134
6053
|
export interface ScreensharingSettings {
|
|
6135
6054
|
access_request_enabled: boolean;
|
|
6136
6055
|
enabled: boolean;
|
|
@@ -6486,6 +6405,17 @@ export interface StoriesConfig {
|
|
|
6486
6405
|
skip_watched?: boolean;
|
|
6487
6406
|
track_watched?: boolean;
|
|
6488
6407
|
}
|
|
6408
|
+
export interface StoriesFeedUpdatedEvent {
|
|
6409
|
+
created_at: Date;
|
|
6410
|
+
fid: string;
|
|
6411
|
+
custom: Record<string, any>;
|
|
6412
|
+
type: string;
|
|
6413
|
+
feed_visibility?: string;
|
|
6414
|
+
received_at?: Date;
|
|
6415
|
+
activities?: ActivityResponse[];
|
|
6416
|
+
aggregated_activities?: AggregatedActivityResponse[];
|
|
6417
|
+
user?: UserResponseCommonFields;
|
|
6418
|
+
}
|
|
6489
6419
|
export interface SubmitActionRequest {
|
|
6490
6420
|
action_type: 'mark_reviewed' | 'delete_message' | 'delete_activity' | 'delete_reaction' | 'ban' | 'custom' | 'unban' | 'restore' | 'delete_user' | 'unblock' | 'shadow_block' | 'unmask' | 'kick_user' | 'end_call';
|
|
6491
6421
|
item_id: string;
|
|
@@ -6886,6 +6816,8 @@ export interface UpdateAppRequest {
|
|
|
6886
6816
|
xiaomi_config?: XiaomiConfig;
|
|
6887
6817
|
}
|
|
6888
6818
|
export interface UpdateBlockListRequest {
|
|
6819
|
+
is_leet_check_enabled?: boolean;
|
|
6820
|
+
is_plural_check_enabled?: boolean;
|
|
6889
6821
|
team?: string;
|
|
6890
6822
|
words?: string[];
|
|
6891
6823
|
}
|
|
@@ -6993,6 +6925,7 @@ export interface UpdateChannelTypeRequest {
|
|
|
6993
6925
|
connect_events?: boolean;
|
|
6994
6926
|
count_messages?: boolean;
|
|
6995
6927
|
custom_events?: boolean;
|
|
6928
|
+
delivery_events?: boolean;
|
|
6996
6929
|
mark_messages_pending?: boolean;
|
|
6997
6930
|
mutes?: boolean;
|
|
6998
6931
|
partition_size?: number;
|
|
@@ -7025,6 +6958,7 @@ export interface UpdateChannelTypeResponse {
|
|
|
7025
6958
|
count_messages: boolean;
|
|
7026
6959
|
created_at: Date;
|
|
7027
6960
|
custom_events: boolean;
|
|
6961
|
+
delivery_events: boolean;
|
|
7028
6962
|
duration: string;
|
|
7029
6963
|
mark_messages_pending: boolean;
|
|
7030
6964
|
max_message_length: number;
|
|
@@ -7279,6 +7213,28 @@ export interface UpdatedCallPermissionsEvent {
|
|
|
7279
7213
|
user: UserResponse;
|
|
7280
7214
|
type: string;
|
|
7281
7215
|
}
|
|
7216
|
+
export interface UploadChannelFileRequest {
|
|
7217
|
+
file?: string;
|
|
7218
|
+
user?: OnlyUserID;
|
|
7219
|
+
}
|
|
7220
|
+
export interface UploadChannelFileResponse {
|
|
7221
|
+
duration: string;
|
|
7222
|
+
file?: string;
|
|
7223
|
+
moderation_action?: string;
|
|
7224
|
+
thumb_url?: string;
|
|
7225
|
+
}
|
|
7226
|
+
export interface UploadChannelRequest {
|
|
7227
|
+
file?: string;
|
|
7228
|
+
upload_sizes?: ImageSize[];
|
|
7229
|
+
user?: OnlyUserID;
|
|
7230
|
+
}
|
|
7231
|
+
export interface UploadChannelResponse {
|
|
7232
|
+
duration: string;
|
|
7233
|
+
file?: string;
|
|
7234
|
+
moderation_action?: string;
|
|
7235
|
+
thumb_url?: string;
|
|
7236
|
+
upload_sizes?: ImageSize[];
|
|
7237
|
+
}
|
|
7282
7238
|
export interface UpsertActivitiesRequest {
|
|
7283
7239
|
activities: ActivityRequest[];
|
|
7284
7240
|
}
|
|
@@ -7644,9 +7600,6 @@ export interface VideoEndCallRequest {
|
|
|
7644
7600
|
}
|
|
7645
7601
|
export interface VideoKickUserRequest {
|
|
7646
7602
|
}
|
|
7647
|
-
export interface VideoOrientation {
|
|
7648
|
-
orientation?: number;
|
|
7649
|
-
}
|
|
7650
7603
|
export interface VideoReactionOverTimeResponse {
|
|
7651
7604
|
by_minute?: CountByMinuteResponse[];
|
|
7652
7605
|
}
|