@stream-io/node-sdk 0.4.24 → 0.4.25
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 +306 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +306 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChatApi.d.ts +17 -1
- package/dist/src/gen/common/CommonApi.d.ts +9 -1
- package/dist/src/gen/models/index.d.ts +431 -9
- package/dist/src/gen/moderation/ModerationApi.d.ts +3 -1
- package/package.json +1 -1
- package/src/gen/chat/ChatApi.ts +154 -0
- package/src/gen/common/CommonApi.ts +85 -0
- package/src/gen/model-decoders/index.ts +246 -0
- package/src/gen/models/index.ts +786 -24
- package/src/gen/moderation/ModerationApi.ts +48 -0
package/src/gen/models/index.ts
CHANGED
|
@@ -73,8 +73,6 @@ export interface APNConfigFields {
|
|
|
73
73
|
|
|
74
74
|
enabled: boolean;
|
|
75
75
|
|
|
76
|
-
notification_template: string;
|
|
77
|
-
|
|
78
76
|
auth_key?: string;
|
|
79
77
|
|
|
80
78
|
auth_type?: string;
|
|
@@ -85,6 +83,8 @@ export interface APNConfigFields {
|
|
|
85
83
|
|
|
86
84
|
key_id?: string;
|
|
87
85
|
|
|
86
|
+
notification_template?: string;
|
|
87
|
+
|
|
88
88
|
p12_cert?: string;
|
|
89
89
|
|
|
90
90
|
team_id?: string;
|
|
@@ -94,6 +94,14 @@ export interface APNS {
|
|
|
94
94
|
body: string;
|
|
95
95
|
|
|
96
96
|
title: string;
|
|
97
|
+
|
|
98
|
+
content_available?: number;
|
|
99
|
+
|
|
100
|
+
mutable_content?: number;
|
|
101
|
+
|
|
102
|
+
sound?: string;
|
|
103
|
+
|
|
104
|
+
data?: Record<string, any>;
|
|
97
105
|
}
|
|
98
106
|
|
|
99
107
|
export interface AWSRekognitionRule {
|
|
@@ -168,6 +176,22 @@ export interface ActionLogResponse {
|
|
|
168
176
|
user?: UserResponse;
|
|
169
177
|
}
|
|
170
178
|
|
|
179
|
+
export interface ActionSequence {
|
|
180
|
+
action: string;
|
|
181
|
+
|
|
182
|
+
blur: boolean;
|
|
183
|
+
|
|
184
|
+
cooldown_period: number;
|
|
185
|
+
|
|
186
|
+
threshold: number;
|
|
187
|
+
|
|
188
|
+
time_window: number;
|
|
189
|
+
|
|
190
|
+
warning: boolean;
|
|
191
|
+
|
|
192
|
+
warning_text: string;
|
|
193
|
+
}
|
|
194
|
+
|
|
171
195
|
export interface AnyEvent {
|
|
172
196
|
created_at: Date;
|
|
173
197
|
|
|
@@ -227,8 +251,12 @@ export interface AppResponseFields {
|
|
|
227
251
|
|
|
228
252
|
suspended_explanation: string;
|
|
229
253
|
|
|
254
|
+
use_hook_v2: boolean;
|
|
255
|
+
|
|
230
256
|
webhook_url: string;
|
|
231
257
|
|
|
258
|
+
event_hooks: EventHook[];
|
|
259
|
+
|
|
232
260
|
user_search_disallowed_roles: string[];
|
|
233
261
|
|
|
234
262
|
webhook_events: string[];
|
|
@@ -258,6 +286,26 @@ export interface AppResponseFields {
|
|
|
258
286
|
image_moderation_labels?: string[];
|
|
259
287
|
|
|
260
288
|
datadog_info?: DataDogInfo;
|
|
289
|
+
|
|
290
|
+
moderation_dashboard_preferences?: ModerationDashboardPreferences;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export interface AsyncBulkImageModerationEvent {
|
|
294
|
+
created_at: Date;
|
|
295
|
+
|
|
296
|
+
finished_at: Date;
|
|
297
|
+
|
|
298
|
+
started_at: Date;
|
|
299
|
+
|
|
300
|
+
task_id: string;
|
|
301
|
+
|
|
302
|
+
url: string;
|
|
303
|
+
|
|
304
|
+
custom: Record<string, any>;
|
|
305
|
+
|
|
306
|
+
type: string;
|
|
307
|
+
|
|
308
|
+
received_at?: Date;
|
|
261
309
|
}
|
|
262
310
|
|
|
263
311
|
export interface AsyncExportChannelsEvent {
|
|
@@ -549,6 +597,8 @@ export interface Ban {
|
|
|
549
597
|
export interface BanActionRequest {
|
|
550
598
|
channel_ban_only?: boolean;
|
|
551
599
|
|
|
600
|
+
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
601
|
+
|
|
552
602
|
ip_ban?: boolean;
|
|
553
603
|
|
|
554
604
|
reason?: string;
|
|
@@ -565,6 +615,8 @@ export interface BanRequest {
|
|
|
565
615
|
|
|
566
616
|
channel_cid?: string;
|
|
567
617
|
|
|
618
|
+
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
619
|
+
|
|
568
620
|
ip_ban?: boolean;
|
|
569
621
|
|
|
570
622
|
reason?: string;
|
|
@@ -625,6 +677,7 @@ export interface BlockListResponse {
|
|
|
625
677
|
export interface BlockListRule {
|
|
626
678
|
action:
|
|
627
679
|
| 'flag'
|
|
680
|
+
| 'mask_flag'
|
|
628
681
|
| 'shadow'
|
|
629
682
|
| 'remove'
|
|
630
683
|
| 'bounce'
|
|
@@ -748,6 +801,80 @@ export interface BrowserDataResponse {
|
|
|
748
801
|
version?: string;
|
|
749
802
|
}
|
|
750
803
|
|
|
804
|
+
export interface BulkImageModerationRequest {
|
|
805
|
+
csv_file: string;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
export interface BulkImageModerationResponse {
|
|
809
|
+
duration: string;
|
|
810
|
+
|
|
811
|
+
task_id: string;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
export interface Call {
|
|
815
|
+
app_pk: number;
|
|
816
|
+
|
|
817
|
+
backstage: boolean;
|
|
818
|
+
|
|
819
|
+
channel_cid: string;
|
|
820
|
+
|
|
821
|
+
cid: string;
|
|
822
|
+
|
|
823
|
+
created_at: Date;
|
|
824
|
+
|
|
825
|
+
created_by_user_id: string;
|
|
826
|
+
|
|
827
|
+
current_session_id: string;
|
|
828
|
+
|
|
829
|
+
id: string;
|
|
830
|
+
|
|
831
|
+
last_session_id: string;
|
|
832
|
+
|
|
833
|
+
team: string;
|
|
834
|
+
|
|
835
|
+
thumbnail_url: string;
|
|
836
|
+
|
|
837
|
+
type: string;
|
|
838
|
+
|
|
839
|
+
updated_at: Date;
|
|
840
|
+
|
|
841
|
+
blocked_user_i_ds: string[];
|
|
842
|
+
|
|
843
|
+
blocked_users: User[];
|
|
844
|
+
|
|
845
|
+
egresses: CallEgress[];
|
|
846
|
+
|
|
847
|
+
members: CallMember[];
|
|
848
|
+
|
|
849
|
+
custom: Record<string, any>;
|
|
850
|
+
|
|
851
|
+
deleted_at?: Date;
|
|
852
|
+
|
|
853
|
+
egress_updated_at?: Date;
|
|
854
|
+
|
|
855
|
+
ended_at?: Date;
|
|
856
|
+
|
|
857
|
+
join_ahead_time_seconds?: number;
|
|
858
|
+
|
|
859
|
+
last_heartbeat_at?: Date;
|
|
860
|
+
|
|
861
|
+
member_count?: number;
|
|
862
|
+
|
|
863
|
+
starts_at?: Date;
|
|
864
|
+
|
|
865
|
+
call_type?: CallType;
|
|
866
|
+
|
|
867
|
+
created_by?: User;
|
|
868
|
+
|
|
869
|
+
member_lookup?: MemberLookup;
|
|
870
|
+
|
|
871
|
+
session?: CallSession;
|
|
872
|
+
|
|
873
|
+
settings?: CallSettings;
|
|
874
|
+
|
|
875
|
+
settings_overrides?: CallSettings;
|
|
876
|
+
}
|
|
877
|
+
|
|
751
878
|
export interface CallAcceptedEvent {
|
|
752
879
|
call_cid: string;
|
|
753
880
|
|
|
@@ -826,6 +953,30 @@ export interface CallDurationReportResponse {
|
|
|
826
953
|
daily: DailyAggregateCallDurationReportResponse[];
|
|
827
954
|
}
|
|
828
955
|
|
|
956
|
+
export interface CallEgress {
|
|
957
|
+
app_pk: number;
|
|
958
|
+
|
|
959
|
+
call_id: string;
|
|
960
|
+
|
|
961
|
+
call_type: string;
|
|
962
|
+
|
|
963
|
+
egress_id: string;
|
|
964
|
+
|
|
965
|
+
egress_type: string;
|
|
966
|
+
|
|
967
|
+
instance_ip: string;
|
|
968
|
+
|
|
969
|
+
started_at: Date;
|
|
970
|
+
|
|
971
|
+
state: string;
|
|
972
|
+
|
|
973
|
+
updated_at: Date;
|
|
974
|
+
|
|
975
|
+
stopped_at?: Date;
|
|
976
|
+
|
|
977
|
+
config?: EgressTaskConfig;
|
|
978
|
+
}
|
|
979
|
+
|
|
829
980
|
export interface CallEndedEvent {
|
|
830
981
|
call_cid: string;
|
|
831
982
|
|
|
@@ -835,6 +986,8 @@ export interface CallEndedEvent {
|
|
|
835
986
|
|
|
836
987
|
type: string;
|
|
837
988
|
|
|
989
|
+
reason?: string;
|
|
990
|
+
|
|
838
991
|
user?: UserResponse;
|
|
839
992
|
}
|
|
840
993
|
|
|
@@ -936,6 +1089,22 @@ export interface CallLiveStartedEvent {
|
|
|
936
1089
|
type: string;
|
|
937
1090
|
}
|
|
938
1091
|
|
|
1092
|
+
export interface CallMember {
|
|
1093
|
+
created_at: Date;
|
|
1094
|
+
|
|
1095
|
+
role: string;
|
|
1096
|
+
|
|
1097
|
+
updated_at: Date;
|
|
1098
|
+
|
|
1099
|
+
user_id: string;
|
|
1100
|
+
|
|
1101
|
+
custom: Record<string, any>;
|
|
1102
|
+
|
|
1103
|
+
deleted_at?: Date;
|
|
1104
|
+
|
|
1105
|
+
user?: User;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
939
1108
|
export interface CallMemberAddedEvent {
|
|
940
1109
|
call_cid: string;
|
|
941
1110
|
|
|
@@ -1004,6 +1173,32 @@ export interface CallMissedEvent {
|
|
|
1004
1173
|
type: string;
|
|
1005
1174
|
}
|
|
1006
1175
|
|
|
1176
|
+
export interface CallModerationBlurEvent {
|
|
1177
|
+
call_cid: string;
|
|
1178
|
+
|
|
1179
|
+
created_at: Date;
|
|
1180
|
+
|
|
1181
|
+
user_id: string;
|
|
1182
|
+
|
|
1183
|
+
custom: Record<string, any>;
|
|
1184
|
+
|
|
1185
|
+
type: string;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
export interface CallModerationWarningEvent {
|
|
1189
|
+
call_cid: string;
|
|
1190
|
+
|
|
1191
|
+
created_at: Date;
|
|
1192
|
+
|
|
1193
|
+
message: string;
|
|
1194
|
+
|
|
1195
|
+
user_id: string;
|
|
1196
|
+
|
|
1197
|
+
custom: Record<string, any>;
|
|
1198
|
+
|
|
1199
|
+
type: string;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1007
1202
|
export interface CallNotificationEvent {
|
|
1008
1203
|
call_cid: string;
|
|
1009
1204
|
|
|
@@ -1020,6 +1215,48 @@ export interface CallNotificationEvent {
|
|
|
1020
1215
|
type: string;
|
|
1021
1216
|
}
|
|
1022
1217
|
|
|
1218
|
+
export interface CallParticipant {
|
|
1219
|
+
banned: boolean;
|
|
1220
|
+
|
|
1221
|
+
id: string;
|
|
1222
|
+
|
|
1223
|
+
joined_at: Date;
|
|
1224
|
+
|
|
1225
|
+
online: boolean;
|
|
1226
|
+
|
|
1227
|
+
role: string;
|
|
1228
|
+
|
|
1229
|
+
user_session_id: string;
|
|
1230
|
+
|
|
1231
|
+
custom: Record<string, any>;
|
|
1232
|
+
|
|
1233
|
+
teams_role: Record<string, string>;
|
|
1234
|
+
|
|
1235
|
+
ban_expires?: Date;
|
|
1236
|
+
|
|
1237
|
+
created_at?: Date;
|
|
1238
|
+
|
|
1239
|
+
deactivated_at?: Date;
|
|
1240
|
+
|
|
1241
|
+
deleted_at?: Date;
|
|
1242
|
+
|
|
1243
|
+
invisible?: boolean;
|
|
1244
|
+
|
|
1245
|
+
language?: string;
|
|
1246
|
+
|
|
1247
|
+
last_active?: Date;
|
|
1248
|
+
|
|
1249
|
+
last_engaged_at?: Date;
|
|
1250
|
+
|
|
1251
|
+
revoke_tokens_issued_before?: Date;
|
|
1252
|
+
|
|
1253
|
+
updated_at?: Date;
|
|
1254
|
+
|
|
1255
|
+
teams?: string[];
|
|
1256
|
+
|
|
1257
|
+
privacy_settings?: PrivacySettings;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1023
1260
|
export interface CallParticipantCountReport {
|
|
1024
1261
|
histogram: ReportByHistogramBucket[];
|
|
1025
1262
|
}
|
|
@@ -1240,6 +1477,50 @@ export interface CallRtmpBroadcastStoppedEvent {
|
|
|
1240
1477
|
type: string;
|
|
1241
1478
|
}
|
|
1242
1479
|
|
|
1480
|
+
export interface CallSession {
|
|
1481
|
+
anonymous_participant_count: number;
|
|
1482
|
+
|
|
1483
|
+
app_pk: number;
|
|
1484
|
+
|
|
1485
|
+
call_id: string;
|
|
1486
|
+
|
|
1487
|
+
call_type: string;
|
|
1488
|
+
|
|
1489
|
+
created_at: Date;
|
|
1490
|
+
|
|
1491
|
+
session_id: string;
|
|
1492
|
+
|
|
1493
|
+
active_sf_us: SFUIDLastSeen[];
|
|
1494
|
+
|
|
1495
|
+
participants: CallParticipant[];
|
|
1496
|
+
|
|
1497
|
+
sfui_ds: string[];
|
|
1498
|
+
|
|
1499
|
+
accepted_by: Record<string, Date>;
|
|
1500
|
+
|
|
1501
|
+
missed_by: Record<string, Date>;
|
|
1502
|
+
|
|
1503
|
+
participants_count_by_role: Record<string, number>;
|
|
1504
|
+
|
|
1505
|
+
rejected_by: Record<string, Date>;
|
|
1506
|
+
|
|
1507
|
+
user_permission_overrides: Record<string, Record<string, boolean>>;
|
|
1508
|
+
|
|
1509
|
+
deleted_at?: Date;
|
|
1510
|
+
|
|
1511
|
+
ended_at?: Date;
|
|
1512
|
+
|
|
1513
|
+
live_ended_at?: Date;
|
|
1514
|
+
|
|
1515
|
+
live_started_at?: Date;
|
|
1516
|
+
|
|
1517
|
+
ring_at?: Date;
|
|
1518
|
+
|
|
1519
|
+
started_at?: Date;
|
|
1520
|
+
|
|
1521
|
+
timer_ends_at?: Date;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1243
1524
|
export interface CallSessionEndedEvent {
|
|
1244
1525
|
call_cid: string;
|
|
1245
1526
|
|
|
@@ -1441,6 +1722,8 @@ export interface CallTranscription {
|
|
|
1441
1722
|
|
|
1442
1723
|
filename: string;
|
|
1443
1724
|
|
|
1725
|
+
session_id: string;
|
|
1726
|
+
|
|
1444
1727
|
start_time: Date;
|
|
1445
1728
|
|
|
1446
1729
|
url: string;
|
|
@@ -1454,6 +1737,8 @@ export interface CallTranscriptionFailedEvent {
|
|
|
1454
1737
|
egress_id: string;
|
|
1455
1738
|
|
|
1456
1739
|
type: string;
|
|
1740
|
+
|
|
1741
|
+
error?: string;
|
|
1457
1742
|
}
|
|
1458
1743
|
|
|
1459
1744
|
export interface CallTranscriptionReadyEvent {
|
|
@@ -1493,8 +1778,6 @@ export interface CallType {
|
|
|
1493
1778
|
|
|
1494
1779
|
created_at: Date;
|
|
1495
1780
|
|
|
1496
|
-
enable_live_insights: boolean;
|
|
1497
|
-
|
|
1498
1781
|
external_storage: string;
|
|
1499
1782
|
|
|
1500
1783
|
name: string;
|
|
@@ -1785,6 +2068,8 @@ export interface ChannelConfig {
|
|
|
1785
2068
|
|
|
1786
2069
|
url_enrichment: boolean;
|
|
1787
2070
|
|
|
2071
|
+
user_message_reminders: boolean;
|
|
2072
|
+
|
|
1788
2073
|
commands: string[];
|
|
1789
2074
|
|
|
1790
2075
|
blocklist?: string;
|
|
@@ -1793,7 +2078,7 @@ export interface ChannelConfig {
|
|
|
1793
2078
|
|
|
1794
2079
|
partition_size?: number;
|
|
1795
2080
|
|
|
1796
|
-
partition_ttl?:
|
|
2081
|
+
partition_ttl?: number;
|
|
1797
2082
|
|
|
1798
2083
|
allowed_flag_reasons?: string[];
|
|
1799
2084
|
|
|
@@ -1847,6 +2132,8 @@ export interface ChannelConfigWithInfo {
|
|
|
1847
2132
|
|
|
1848
2133
|
url_enrichment: boolean;
|
|
1849
2134
|
|
|
2135
|
+
user_message_reminders: boolean;
|
|
2136
|
+
|
|
1850
2137
|
commands: Command[];
|
|
1851
2138
|
|
|
1852
2139
|
blocklist?: string;
|
|
@@ -2305,6 +2592,8 @@ export interface ChannelTypeConfig {
|
|
|
2305
2592
|
|
|
2306
2593
|
url_enrichment: boolean;
|
|
2307
2594
|
|
|
2595
|
+
user_message_reminders: boolean;
|
|
2596
|
+
|
|
2308
2597
|
commands: Command[];
|
|
2309
2598
|
|
|
2310
2599
|
permissions: PolicyRequest[];
|
|
@@ -2393,6 +2682,13 @@ export interface CheckExternalStorageResponse {
|
|
|
2393
2682
|
export interface CheckPushRequest {
|
|
2394
2683
|
apn_template?: string;
|
|
2395
2684
|
|
|
2685
|
+
event_type?:
|
|
2686
|
+
| 'message.new'
|
|
2687
|
+
| 'message.updated'
|
|
2688
|
+
| 'reaction.new'
|
|
2689
|
+
| 'reaction.updated'
|
|
2690
|
+
| 'notification.reminder_due';
|
|
2691
|
+
|
|
2396
2692
|
firebase_data_template?: string;
|
|
2397
2693
|
|
|
2398
2694
|
firebase_template?: string;
|
|
@@ -2413,6 +2709,8 @@ export interface CheckPushRequest {
|
|
|
2413
2709
|
export interface CheckPushResponse {
|
|
2414
2710
|
duration: string;
|
|
2415
2711
|
|
|
2712
|
+
event_type?: string;
|
|
2713
|
+
|
|
2416
2714
|
rendered_apn_template?: string;
|
|
2417
2715
|
|
|
2418
2716
|
rendered_firebase_template?: string;
|
|
@@ -2548,6 +2846,12 @@ export interface Command {
|
|
|
2548
2846
|
|
|
2549
2847
|
export interface CommitMessageRequest {}
|
|
2550
2848
|
|
|
2849
|
+
export interface CompositeAppSettings {
|
|
2850
|
+
json_encoded_settings?: string;
|
|
2851
|
+
|
|
2852
|
+
url?: string;
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2551
2855
|
export interface ConfigOverrides {
|
|
2552
2856
|
commands: string[];
|
|
2553
2857
|
|
|
@@ -2570,6 +2874,8 @@ export interface ConfigOverrides {
|
|
|
2570
2874
|
uploads?: boolean;
|
|
2571
2875
|
|
|
2572
2876
|
url_enrichment?: boolean;
|
|
2877
|
+
|
|
2878
|
+
user_message_reminders?: boolean;
|
|
2573
2879
|
}
|
|
2574
2880
|
|
|
2575
2881
|
export interface ConfigResponse {
|
|
@@ -2598,6 +2904,8 @@ export interface ConfigResponse {
|
|
|
2598
2904
|
block_list_config?: BlockListConfig;
|
|
2599
2905
|
|
|
2600
2906
|
velocity_filter_config?: VelocityFilterConfig;
|
|
2907
|
+
|
|
2908
|
+
video_call_rule_config?: VideoCallRuleConfig;
|
|
2601
2909
|
}
|
|
2602
2910
|
|
|
2603
2911
|
export interface CountByMinuteResponse {
|
|
@@ -2699,6 +3007,8 @@ export interface CreateChannelTypeRequest {
|
|
|
2699
3007
|
|
|
2700
3008
|
url_enrichment?: boolean;
|
|
2701
3009
|
|
|
3010
|
+
user_message_reminders?: boolean;
|
|
3011
|
+
|
|
2702
3012
|
blocklists?: BlockListOptions[];
|
|
2703
3013
|
|
|
2704
3014
|
commands?: string[];
|
|
@@ -2755,6 +3065,8 @@ export interface CreateChannelTypeResponse {
|
|
|
2755
3065
|
|
|
2756
3066
|
url_enrichment: boolean;
|
|
2757
3067
|
|
|
3068
|
+
user_message_reminders: boolean;
|
|
3069
|
+
|
|
2758
3070
|
commands: string[];
|
|
2759
3071
|
|
|
2760
3072
|
permissions: PolicyRequest[];
|
|
@@ -2902,6 +3214,14 @@ export interface CreatePollRequest {
|
|
|
2902
3214
|
user?: UserRequest;
|
|
2903
3215
|
}
|
|
2904
3216
|
|
|
3217
|
+
export interface CreateReminderRequest {
|
|
3218
|
+
remind_at?: Date;
|
|
3219
|
+
|
|
3220
|
+
user_id?: string;
|
|
3221
|
+
|
|
3222
|
+
user?: UserRequest;
|
|
3223
|
+
}
|
|
3224
|
+
|
|
2905
3225
|
export interface CreateRoleRequest {
|
|
2906
3226
|
name: string;
|
|
2907
3227
|
}
|
|
@@ -3128,6 +3448,10 @@ export interface DeleteRecordingResponse {
|
|
|
3128
3448
|
duration: string;
|
|
3129
3449
|
}
|
|
3130
3450
|
|
|
3451
|
+
export interface DeleteReminderResponse {
|
|
3452
|
+
duration: string;
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3131
3455
|
export interface DeleteSegmentTargetsRequest {
|
|
3132
3456
|
target_ids: string[];
|
|
3133
3457
|
}
|
|
@@ -3310,6 +3634,24 @@ export interface EgressResponse {
|
|
|
3310
3634
|
hls?: EgressHLSResponse;
|
|
3311
3635
|
}
|
|
3312
3636
|
|
|
3637
|
+
export interface EgressTaskConfig {
|
|
3638
|
+
egress_user?: EgressUser;
|
|
3639
|
+
|
|
3640
|
+
frame_recording_egress_config?: FrameRecordingEgressConfig;
|
|
3641
|
+
|
|
3642
|
+
hls_egress_config?: HLSEgressConfig;
|
|
3643
|
+
|
|
3644
|
+
recording_egress_config?: RecordingEgressConfig;
|
|
3645
|
+
|
|
3646
|
+
rtmp_egress_config?: RTMPEgressConfig;
|
|
3647
|
+
|
|
3648
|
+
stt_egress_config?: STTEgressConfig;
|
|
3649
|
+
}
|
|
3650
|
+
|
|
3651
|
+
export interface EgressUser {
|
|
3652
|
+
token?: string;
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3313
3655
|
export interface EndCallRequest {}
|
|
3314
3656
|
|
|
3315
3657
|
export interface EndCallResponse {
|
|
@@ -3474,10 +3816,56 @@ export interface ErrorResult {
|
|
|
3474
3816
|
version?: string;
|
|
3475
3817
|
}
|
|
3476
3818
|
|
|
3819
|
+
export interface EventHook {
|
|
3820
|
+
created_at?: Date;
|
|
3821
|
+
|
|
3822
|
+
enabled?: boolean;
|
|
3823
|
+
|
|
3824
|
+
hook_type?: string;
|
|
3825
|
+
|
|
3826
|
+
id?: string;
|
|
3827
|
+
|
|
3828
|
+
sns_auth_type?: string;
|
|
3829
|
+
|
|
3830
|
+
sns_key?: string;
|
|
3831
|
+
|
|
3832
|
+
sns_region?: string;
|
|
3833
|
+
|
|
3834
|
+
sns_role_arn?: string;
|
|
3835
|
+
|
|
3836
|
+
sns_secret?: string;
|
|
3837
|
+
|
|
3838
|
+
sns_topic_arn?: string;
|
|
3839
|
+
|
|
3840
|
+
sqs_auth_type?: string;
|
|
3841
|
+
|
|
3842
|
+
sqs_key?: string;
|
|
3843
|
+
|
|
3844
|
+
sqs_queue_url?: string;
|
|
3845
|
+
|
|
3846
|
+
sqs_region?: string;
|
|
3847
|
+
|
|
3848
|
+
sqs_role_arn?: string;
|
|
3849
|
+
|
|
3850
|
+
sqs_secret?: string;
|
|
3851
|
+
|
|
3852
|
+
timeout_ms?: number;
|
|
3853
|
+
|
|
3854
|
+
updated_at?: Date;
|
|
3855
|
+
|
|
3856
|
+
webhook_url?: string;
|
|
3857
|
+
|
|
3858
|
+
event_types?: string[];
|
|
3859
|
+
|
|
3860
|
+
callback?: AsyncModerationCallbackConfig;
|
|
3861
|
+
}
|
|
3862
|
+
|
|
3477
3863
|
export interface EventNotificationSettings {
|
|
3478
3864
|
enabled: boolean;
|
|
3479
3865
|
|
|
3480
3866
|
apns: APNS;
|
|
3867
|
+
|
|
3868
|
+
fcm: FCM;
|
|
3481
3869
|
}
|
|
3482
3870
|
|
|
3483
3871
|
export interface EventRequest {
|
|
@@ -3518,24 +3906,52 @@ export interface ExportChannelsResponse {
|
|
|
3518
3906
|
task_id: string;
|
|
3519
3907
|
}
|
|
3520
3908
|
|
|
3521
|
-
export interface ExportUserResponse {
|
|
3522
|
-
duration: string;
|
|
3909
|
+
export interface ExportUserResponse {
|
|
3910
|
+
duration: string;
|
|
3911
|
+
|
|
3912
|
+
messages?: MessageResponse[];
|
|
3913
|
+
|
|
3914
|
+
reactions?: ReactionResponse[];
|
|
3915
|
+
|
|
3916
|
+
user?: UserResponse;
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3919
|
+
export interface ExportUsersRequest {
|
|
3920
|
+
user_ids: string[];
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
export interface ExportUsersResponse {
|
|
3924
|
+
duration: string;
|
|
3925
|
+
|
|
3926
|
+
task_id: string;
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
export interface ExternalStorage {
|
|
3930
|
+
abs_account_name?: string;
|
|
3931
|
+
|
|
3932
|
+
abs_client_id?: string;
|
|
3933
|
+
|
|
3934
|
+
abs_client_secret?: string;
|
|
3935
|
+
|
|
3936
|
+
abs_tenant_id?: string;
|
|
3937
|
+
|
|
3938
|
+
bucket?: string;
|
|
3939
|
+
|
|
3940
|
+
gcs_credentials?: string;
|
|
3941
|
+
|
|
3942
|
+
path?: string;
|
|
3523
3943
|
|
|
3524
|
-
|
|
3944
|
+
s3_api_key?: string;
|
|
3525
3945
|
|
|
3526
|
-
|
|
3946
|
+
s3_custom_endpoint?: string;
|
|
3527
3947
|
|
|
3528
|
-
|
|
3529
|
-
}
|
|
3948
|
+
s3_region?: string;
|
|
3530
3949
|
|
|
3531
|
-
|
|
3532
|
-
user_ids: string[];
|
|
3533
|
-
}
|
|
3950
|
+
s3_secret_key?: string;
|
|
3534
3951
|
|
|
3535
|
-
|
|
3536
|
-
duration: string;
|
|
3952
|
+
storage_name?: string;
|
|
3537
3953
|
|
|
3538
|
-
|
|
3954
|
+
storage_type?: number;
|
|
3539
3955
|
}
|
|
3540
3956
|
|
|
3541
3957
|
export interface ExternalStorageResponse {
|
|
@@ -3548,6 +3964,10 @@ export interface ExternalStorageResponse {
|
|
|
3548
3964
|
type: 's3' | 'gcs' | 'abs';
|
|
3549
3965
|
}
|
|
3550
3966
|
|
|
3967
|
+
export interface FCM {
|
|
3968
|
+
data?: Record<string, any>;
|
|
3969
|
+
}
|
|
3970
|
+
|
|
3551
3971
|
export interface FeedsModerationTemplateConfig {
|
|
3552
3972
|
config_key: string;
|
|
3553
3973
|
|
|
@@ -3603,16 +4023,16 @@ export interface FirebaseConfig {
|
|
|
3603
4023
|
}
|
|
3604
4024
|
|
|
3605
4025
|
export interface FirebaseConfigFields {
|
|
3606
|
-
apn_template: string;
|
|
3607
|
-
|
|
3608
|
-
data_template: string;
|
|
3609
|
-
|
|
3610
4026
|
enabled: boolean;
|
|
3611
4027
|
|
|
3612
|
-
|
|
4028
|
+
apn_template?: string;
|
|
3613
4029
|
|
|
3614
4030
|
credentials_json?: string;
|
|
3615
4031
|
|
|
4032
|
+
data_template?: string;
|
|
4033
|
+
|
|
4034
|
+
notification_template?: string;
|
|
4035
|
+
|
|
3616
4036
|
server_key?: string;
|
|
3617
4037
|
}
|
|
3618
4038
|
|
|
@@ -3629,6 +4049,8 @@ export interface Flag {
|
|
|
3629
4049
|
|
|
3630
4050
|
entity_creator_id?: string;
|
|
3631
4051
|
|
|
4052
|
+
is_streamed_content?: boolean;
|
|
4053
|
+
|
|
3632
4054
|
moderation_payload_hash?: string;
|
|
3633
4055
|
|
|
3634
4056
|
reason?: string;
|
|
@@ -3643,6 +4065,8 @@ export interface Flag {
|
|
|
3643
4065
|
|
|
3644
4066
|
moderation_payload?: ModerationPayload;
|
|
3645
4067
|
|
|
4068
|
+
review_queue_item?: ReviewQueueItem;
|
|
4069
|
+
|
|
3646
4070
|
user?: User;
|
|
3647
4071
|
}
|
|
3648
4072
|
|
|
@@ -3720,6 +4144,16 @@ export interface FrameRecordSettings {
|
|
|
3720
4144
|
quality?: string;
|
|
3721
4145
|
}
|
|
3722
4146
|
|
|
4147
|
+
export interface FrameRecordingEgressConfig {
|
|
4148
|
+
capture_interval_in_seconds?: number;
|
|
4149
|
+
|
|
4150
|
+
storage_name?: string;
|
|
4151
|
+
|
|
4152
|
+
external_storage?: ExternalStorage;
|
|
4153
|
+
|
|
4154
|
+
quality?: Quality;
|
|
4155
|
+
}
|
|
4156
|
+
|
|
3723
4157
|
export interface FrameRecordingResponse {
|
|
3724
4158
|
status: string;
|
|
3725
4159
|
}
|
|
@@ -3847,6 +4281,8 @@ export interface GetCallReportResponse {
|
|
|
3847
4281
|
|
|
3848
4282
|
report: ReportResponse;
|
|
3849
4283
|
|
|
4284
|
+
video_reactions?: VideoReactionsResponse[];
|
|
4285
|
+
|
|
3850
4286
|
chat_activity?: ChatActivityStatsResponse;
|
|
3851
4287
|
}
|
|
3852
4288
|
|
|
@@ -3933,6 +4369,8 @@ export interface GetChannelTypeResponse {
|
|
|
3933
4369
|
|
|
3934
4370
|
url_enrichment: boolean;
|
|
3935
4371
|
|
|
4372
|
+
user_message_reminders: boolean;
|
|
4373
|
+
|
|
3936
4374
|
commands: Command[];
|
|
3937
4375
|
|
|
3938
4376
|
permissions: PolicyRequest[];
|
|
@@ -4092,6 +4530,12 @@ export interface GetOrCreateCallResponse {
|
|
|
4092
4530
|
call: CallResponse;
|
|
4093
4531
|
}
|
|
4094
4532
|
|
|
4533
|
+
export interface GetPushTemplatesResponse {
|
|
4534
|
+
duration: string;
|
|
4535
|
+
|
|
4536
|
+
templates: PushTemplate[];
|
|
4537
|
+
}
|
|
4538
|
+
|
|
4095
4539
|
export interface GetRateLimitsResponse {
|
|
4096
4540
|
duration: string;
|
|
4097
4541
|
|
|
@@ -4180,6 +4624,16 @@ export interface GroupedStatsResponse {
|
|
|
4180
4624
|
unique: number;
|
|
4181
4625
|
}
|
|
4182
4626
|
|
|
4627
|
+
export interface HLSEgressConfig {
|
|
4628
|
+
playlist_url?: string;
|
|
4629
|
+
|
|
4630
|
+
start_unix_nano?: number;
|
|
4631
|
+
|
|
4632
|
+
qualities?: Quality[];
|
|
4633
|
+
|
|
4634
|
+
composite_app_settings?: CompositeAppSettings;
|
|
4635
|
+
}
|
|
4636
|
+
|
|
4183
4637
|
export interface HLSSettings {
|
|
4184
4638
|
auto_on: boolean;
|
|
4185
4639
|
|
|
@@ -4210,6 +4664,12 @@ export interface HLSSettingsResponse {
|
|
|
4210
4664
|
layout: LayoutSettingsResponse;
|
|
4211
4665
|
}
|
|
4212
4666
|
|
|
4667
|
+
export interface HarmConfig {
|
|
4668
|
+
severity: number;
|
|
4669
|
+
|
|
4670
|
+
action_sequences: ActionSequence[];
|
|
4671
|
+
}
|
|
4672
|
+
|
|
4213
4673
|
export interface HideChannelRequest {
|
|
4214
4674
|
clear_history?: boolean;
|
|
4215
4675
|
|
|
@@ -4526,6 +4986,10 @@ export interface MemberAddedEvent {
|
|
|
4526
4986
|
user?: User;
|
|
4527
4987
|
}
|
|
4528
4988
|
|
|
4989
|
+
export interface MemberLookup {
|
|
4990
|
+
limit: number;
|
|
4991
|
+
}
|
|
4992
|
+
|
|
4529
4993
|
export interface MemberRemovedEvent {
|
|
4530
4994
|
channel_id: string;
|
|
4531
4995
|
|
|
@@ -4669,6 +5133,8 @@ export interface Message {
|
|
|
4669
5133
|
|
|
4670
5134
|
quoted_message?: Message;
|
|
4671
5135
|
|
|
5136
|
+
reminder?: MessageReminder;
|
|
5137
|
+
|
|
4672
5138
|
user?: User;
|
|
4673
5139
|
}
|
|
4674
5140
|
|
|
@@ -4858,6 +5324,28 @@ export interface MessageReadEvent {
|
|
|
4858
5324
|
user?: UserResponseCommonFields;
|
|
4859
5325
|
}
|
|
4860
5326
|
|
|
5327
|
+
export interface MessageReminder {
|
|
5328
|
+
channel_cid: string;
|
|
5329
|
+
|
|
5330
|
+
created_at: Date;
|
|
5331
|
+
|
|
5332
|
+
message_id: string;
|
|
5333
|
+
|
|
5334
|
+
task_id: string;
|
|
5335
|
+
|
|
5336
|
+
updated_at: Date;
|
|
5337
|
+
|
|
5338
|
+
user_id: string;
|
|
5339
|
+
|
|
5340
|
+
remind_at?: Date;
|
|
5341
|
+
|
|
5342
|
+
channel?: Channel;
|
|
5343
|
+
|
|
5344
|
+
message?: Message;
|
|
5345
|
+
|
|
5346
|
+
user?: User;
|
|
5347
|
+
}
|
|
5348
|
+
|
|
4861
5349
|
export interface MessageRequest {
|
|
4862
5350
|
html?: string;
|
|
4863
5351
|
|
|
@@ -4978,6 +5466,8 @@ export interface MessageResponse {
|
|
|
4978
5466
|
quoted_message?: MessageResponse;
|
|
4979
5467
|
|
|
4980
5468
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
5469
|
+
|
|
5470
|
+
reminder?: ReminderResponseData;
|
|
4981
5471
|
}
|
|
4982
5472
|
|
|
4983
5473
|
export interface MessageStatsResponse {
|
|
@@ -5126,6 +5616,8 @@ export interface MessageWithChannelResponse {
|
|
|
5126
5616
|
quoted_message?: MessageResponse;
|
|
5127
5617
|
|
|
5128
5618
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
5619
|
+
|
|
5620
|
+
reminder?: ReminderResponseData;
|
|
5129
5621
|
}
|
|
5130
5622
|
|
|
5131
5623
|
export interface ModerationActionConfig {
|
|
@@ -5172,6 +5664,42 @@ export interface ModerationCustomActionEvent {
|
|
|
5172
5664
|
user?: User;
|
|
5173
5665
|
}
|
|
5174
5666
|
|
|
5667
|
+
export interface ModerationDashboardPreferences {
|
|
5668
|
+
media_queue_blur_enabled?: boolean;
|
|
5669
|
+
}
|
|
5670
|
+
|
|
5671
|
+
export interface ModerationFlagResponse {
|
|
5672
|
+
created_at: string;
|
|
5673
|
+
|
|
5674
|
+
entity_id: string;
|
|
5675
|
+
|
|
5676
|
+
entity_type: string;
|
|
5677
|
+
|
|
5678
|
+
id: string;
|
|
5679
|
+
|
|
5680
|
+
type: string;
|
|
5681
|
+
|
|
5682
|
+
updated_at: string;
|
|
5683
|
+
|
|
5684
|
+
entity_creator_id?: string;
|
|
5685
|
+
|
|
5686
|
+
reason?: string;
|
|
5687
|
+
|
|
5688
|
+
review_queue_item_id?: string;
|
|
5689
|
+
|
|
5690
|
+
labels?: string[];
|
|
5691
|
+
|
|
5692
|
+
result?: Array<Record<string, any>>;
|
|
5693
|
+
|
|
5694
|
+
custom?: Record<string, any>;
|
|
5695
|
+
|
|
5696
|
+
moderation_payload?: ModerationPayload;
|
|
5697
|
+
|
|
5698
|
+
review_queue_item?: ReviewQueueItem;
|
|
5699
|
+
|
|
5700
|
+
user?: UserResponse;
|
|
5701
|
+
}
|
|
5702
|
+
|
|
5175
5703
|
export interface ModerationFlaggedEvent {
|
|
5176
5704
|
created_at: Date;
|
|
5177
5705
|
|
|
@@ -5883,7 +6411,7 @@ export interface PublisherStatsResponse {
|
|
|
5883
6411
|
}
|
|
5884
6412
|
|
|
5885
6413
|
export interface PushConfig {
|
|
5886
|
-
version: 'v1' | 'v2';
|
|
6414
|
+
version: 'v1' | 'v2' | 'v3';
|
|
5887
6415
|
|
|
5888
6416
|
offline_only?: boolean;
|
|
5889
6417
|
}
|
|
@@ -5982,6 +6510,8 @@ export interface PushProvider {
|
|
|
5982
6510
|
xiaomi_app_secret?: string;
|
|
5983
6511
|
|
|
5984
6512
|
xiaomi_package_name?: string;
|
|
6513
|
+
|
|
6514
|
+
push_templates?: PushTemplate[];
|
|
5985
6515
|
}
|
|
5986
6516
|
|
|
5987
6517
|
export interface PushProviderResponse {
|
|
@@ -6042,6 +6572,36 @@ export interface PushProviderResponse {
|
|
|
6042
6572
|
xiaomi_package_name?: string;
|
|
6043
6573
|
}
|
|
6044
6574
|
|
|
6575
|
+
export interface PushTemplate {
|
|
6576
|
+
created_at: Date;
|
|
6577
|
+
|
|
6578
|
+
enable_push: boolean;
|
|
6579
|
+
|
|
6580
|
+
event_type:
|
|
6581
|
+
| 'message.new'
|
|
6582
|
+
| 'message.updated'
|
|
6583
|
+
| 'reaction.new'
|
|
6584
|
+
| 'notification.reminder_due';
|
|
6585
|
+
|
|
6586
|
+
updated_at: Date;
|
|
6587
|
+
|
|
6588
|
+
template?: string;
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6591
|
+
export interface Quality {
|
|
6592
|
+
bitdepth?: number;
|
|
6593
|
+
|
|
6594
|
+
framerate?: number;
|
|
6595
|
+
|
|
6596
|
+
height?: number;
|
|
6597
|
+
|
|
6598
|
+
name?: string;
|
|
6599
|
+
|
|
6600
|
+
video_bitrate?: number;
|
|
6601
|
+
|
|
6602
|
+
width?: number;
|
|
6603
|
+
}
|
|
6604
|
+
|
|
6045
6605
|
export interface QualityScoreReport {
|
|
6046
6606
|
histogram: ReportByHistogramBucket[];
|
|
6047
6607
|
}
|
|
@@ -6368,6 +6928,28 @@ export interface QueryModerationConfigsResponse {
|
|
|
6368
6928
|
prev?: string;
|
|
6369
6929
|
}
|
|
6370
6930
|
|
|
6931
|
+
export interface QueryModerationFlagsRequest {
|
|
6932
|
+
limit?: number;
|
|
6933
|
+
|
|
6934
|
+
next?: string;
|
|
6935
|
+
|
|
6936
|
+
prev?: string;
|
|
6937
|
+
|
|
6938
|
+
sort?: SortParam[];
|
|
6939
|
+
|
|
6940
|
+
filter?: Record<string, any>;
|
|
6941
|
+
}
|
|
6942
|
+
|
|
6943
|
+
export interface QueryModerationFlagsResponse {
|
|
6944
|
+
duration: string;
|
|
6945
|
+
|
|
6946
|
+
flags: ModerationFlagResponse[];
|
|
6947
|
+
|
|
6948
|
+
next?: string;
|
|
6949
|
+
|
|
6950
|
+
prev?: string;
|
|
6951
|
+
}
|
|
6952
|
+
|
|
6371
6953
|
export interface QueryModerationLogsRequest {
|
|
6372
6954
|
limit?: number;
|
|
6373
6955
|
|
|
@@ -6454,6 +7036,32 @@ export interface QueryReactionsResponse {
|
|
|
6454
7036
|
prev?: string;
|
|
6455
7037
|
}
|
|
6456
7038
|
|
|
7039
|
+
export interface QueryRemindersRequest {
|
|
7040
|
+
limit?: number;
|
|
7041
|
+
|
|
7042
|
+
next?: string;
|
|
7043
|
+
|
|
7044
|
+
prev?: string;
|
|
7045
|
+
|
|
7046
|
+
user_id?: string;
|
|
7047
|
+
|
|
7048
|
+
sort?: SortParamRequest[];
|
|
7049
|
+
|
|
7050
|
+
filter?: Record<string, any>;
|
|
7051
|
+
|
|
7052
|
+
user?: UserRequest;
|
|
7053
|
+
}
|
|
7054
|
+
|
|
7055
|
+
export interface QueryRemindersResponse {
|
|
7056
|
+
duration: string;
|
|
7057
|
+
|
|
7058
|
+
reminders: ReminderResponseData[];
|
|
7059
|
+
|
|
7060
|
+
next?: string;
|
|
7061
|
+
|
|
7062
|
+
prev?: string;
|
|
7063
|
+
}
|
|
7064
|
+
|
|
6457
7065
|
export interface QueryReviewQueueRequest {
|
|
6458
7066
|
limit?: number;
|
|
6459
7067
|
|
|
@@ -6636,6 +7244,14 @@ export interface RTMPBroadcastRequest {
|
|
|
6636
7244
|
layout?: LayoutSettingsRequest;
|
|
6637
7245
|
}
|
|
6638
7246
|
|
|
7247
|
+
export interface RTMPEgressConfig {
|
|
7248
|
+
rtmp_location?: string;
|
|
7249
|
+
|
|
7250
|
+
composite_app_settings?: CompositeAppSettings;
|
|
7251
|
+
|
|
7252
|
+
quality?: Quality;
|
|
7253
|
+
}
|
|
7254
|
+
|
|
6639
7255
|
export interface RTMPIngress {
|
|
6640
7256
|
address: string;
|
|
6641
7257
|
}
|
|
@@ -6898,6 +7514,40 @@ export interface RecordSettingsResponse {
|
|
|
6898
7514
|
layout: LayoutSettingsResponse;
|
|
6899
7515
|
}
|
|
6900
7516
|
|
|
7517
|
+
export interface RecordingEgressConfig {
|
|
7518
|
+
audio_only?: boolean;
|
|
7519
|
+
|
|
7520
|
+
storage_name?: string;
|
|
7521
|
+
|
|
7522
|
+
composite_app_settings?: CompositeAppSettings;
|
|
7523
|
+
|
|
7524
|
+
external_storage?: ExternalStorage;
|
|
7525
|
+
|
|
7526
|
+
quality?: Quality;
|
|
7527
|
+
|
|
7528
|
+
video_orientation_hint?: VideoOrientation;
|
|
7529
|
+
}
|
|
7530
|
+
|
|
7531
|
+
export interface ReminderResponseData {
|
|
7532
|
+
channel_cid: string;
|
|
7533
|
+
|
|
7534
|
+
created_at: Date;
|
|
7535
|
+
|
|
7536
|
+
message_id: string;
|
|
7537
|
+
|
|
7538
|
+
updated_at: Date;
|
|
7539
|
+
|
|
7540
|
+
user_id: string;
|
|
7541
|
+
|
|
7542
|
+
remind_at?: Date;
|
|
7543
|
+
|
|
7544
|
+
channel?: ChannelResponse;
|
|
7545
|
+
|
|
7546
|
+
message?: Message;
|
|
7547
|
+
|
|
7548
|
+
user?: User;
|
|
7549
|
+
}
|
|
7550
|
+
|
|
6901
7551
|
export interface ReportByHistogramBucket {
|
|
6902
7552
|
category: string;
|
|
6903
7553
|
|
|
@@ -6981,6 +7631,8 @@ export interface ReviewQueueItem {
|
|
|
6981
7631
|
|
|
6982
7632
|
assigned_to?: User;
|
|
6983
7633
|
|
|
7634
|
+
call?: Call;
|
|
7635
|
+
|
|
6984
7636
|
entity_creator?: EntityCreator;
|
|
6985
7637
|
|
|
6986
7638
|
feeds_v2_activity?: EnrichedActivity;
|
|
@@ -7055,6 +7707,8 @@ export interface ReviewQueueItemResponse {
|
|
|
7055
7707
|
|
|
7056
7708
|
assigned_to?: UserResponse;
|
|
7057
7709
|
|
|
7710
|
+
call?: CallResponse;
|
|
7711
|
+
|
|
7058
7712
|
entity_creator?: EntityCreatorResponse;
|
|
7059
7713
|
|
|
7060
7714
|
feeds_v2_activity?: EnrichedActivity;
|
|
@@ -7180,6 +7834,32 @@ export interface SDKUsageReportResponse {
|
|
|
7180
7834
|
daily: DailyAggregateSDKUsageReportResponse[];
|
|
7181
7835
|
}
|
|
7182
7836
|
|
|
7837
|
+
export interface SFUIDLastSeen {
|
|
7838
|
+
id: string;
|
|
7839
|
+
|
|
7840
|
+
last_seen: Date;
|
|
7841
|
+
|
|
7842
|
+
process_start_time: number;
|
|
7843
|
+
}
|
|
7844
|
+
|
|
7845
|
+
export interface STTEgressConfig {
|
|
7846
|
+
closed_captions_enabled?: boolean;
|
|
7847
|
+
|
|
7848
|
+
language?: string;
|
|
7849
|
+
|
|
7850
|
+
storage_name?: string;
|
|
7851
|
+
|
|
7852
|
+
translations_enabled?: boolean;
|
|
7853
|
+
|
|
7854
|
+
upload_transcriptions?: boolean;
|
|
7855
|
+
|
|
7856
|
+
whisper_server_base_url?: string;
|
|
7857
|
+
|
|
7858
|
+
translation_languages?: string[];
|
|
7859
|
+
|
|
7860
|
+
external_storage?: ExternalStorage;
|
|
7861
|
+
}
|
|
7862
|
+
|
|
7183
7863
|
export interface ScreensharingSettings {
|
|
7184
7864
|
access_request_enabled: boolean;
|
|
7185
7865
|
|
|
@@ -7320,6 +8000,8 @@ export interface SearchResultMessage {
|
|
|
7320
8000
|
quoted_message?: MessageResponse;
|
|
7321
8001
|
|
|
7322
8002
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
8003
|
+
|
|
8004
|
+
reminder?: ReminderResponseData;
|
|
7323
8005
|
}
|
|
7324
8006
|
|
|
7325
8007
|
export interface SearchWarning {
|
|
@@ -7476,6 +8158,12 @@ export interface ShowChannelResponse {
|
|
|
7476
8158
|
duration: string;
|
|
7477
8159
|
}
|
|
7478
8160
|
|
|
8161
|
+
export interface SortParam {
|
|
8162
|
+
direction?: number;
|
|
8163
|
+
|
|
8164
|
+
field?: string;
|
|
8165
|
+
}
|
|
8166
|
+
|
|
7479
8167
|
export interface SortParamRequest {
|
|
7480
8168
|
direction?: number;
|
|
7481
8169
|
|
|
@@ -7704,7 +8392,9 @@ export interface SubmitActionRequest {
|
|
|
7704
8392
|
| 'restore'
|
|
7705
8393
|
| 'delete_user'
|
|
7706
8394
|
| 'unblock'
|
|
7707
|
-
| 'shadow_block'
|
|
8395
|
+
| 'shadow_block'
|
|
8396
|
+
| 'kick_user'
|
|
8397
|
+
| 'end_call';
|
|
7708
8398
|
|
|
7709
8399
|
item_id: string;
|
|
7710
8400
|
|
|
@@ -8100,6 +8790,8 @@ export interface TruncateChannelRequest {
|
|
|
8100
8790
|
|
|
8101
8791
|
user_id?: string;
|
|
8102
8792
|
|
|
8793
|
+
member_ids?: string[];
|
|
8794
|
+
|
|
8103
8795
|
message?: MessageRequest;
|
|
8104
8796
|
|
|
8105
8797
|
user?: UserRequest;
|
|
@@ -8306,6 +8998,8 @@ export interface UpdateAppRequest {
|
|
|
8306
8998
|
|
|
8307
8999
|
allowed_flag_reasons?: string[];
|
|
8308
9000
|
|
|
9001
|
+
event_hooks?: EventHook[];
|
|
9002
|
+
|
|
8309
9003
|
image_moderation_block_labels?: string[];
|
|
8310
9004
|
|
|
8311
9005
|
image_moderation_labels?: string[];
|
|
@@ -8330,6 +9024,8 @@ export interface UpdateAppRequest {
|
|
|
8330
9024
|
|
|
8331
9025
|
image_upload_config?: FileUploadConfig;
|
|
8332
9026
|
|
|
9027
|
+
moderation_dashboard_preferences?: ModerationDashboardPreferences;
|
|
9028
|
+
|
|
8333
9029
|
push_config?: PushConfig;
|
|
8334
9030
|
|
|
8335
9031
|
xiaomi_config?: XiaomiConfig;
|
|
@@ -8512,6 +9208,8 @@ export interface UpdateChannelTypeRequest {
|
|
|
8512
9208
|
|
|
8513
9209
|
url_enrichment?: boolean;
|
|
8514
9210
|
|
|
9211
|
+
user_message_reminders?: boolean;
|
|
9212
|
+
|
|
8515
9213
|
allowed_flag_reasons?: string[];
|
|
8516
9214
|
|
|
8517
9215
|
blocklists?: BlockListOptions[];
|
|
@@ -8572,6 +9270,8 @@ export interface UpdateChannelTypeResponse {
|
|
|
8572
9270
|
|
|
8573
9271
|
url_enrichment: boolean;
|
|
8574
9272
|
|
|
9273
|
+
user_message_reminders: boolean;
|
|
9274
|
+
|
|
8575
9275
|
commands: string[];
|
|
8576
9276
|
|
|
8577
9277
|
permissions: PolicyRequest[];
|
|
@@ -8669,6 +9369,8 @@ export interface UpdateMessageRequest {
|
|
|
8669
9369
|
message: MessageRequest;
|
|
8670
9370
|
|
|
8671
9371
|
skip_enrich_url?: boolean;
|
|
9372
|
+
|
|
9373
|
+
skip_push?: boolean;
|
|
8672
9374
|
}
|
|
8673
9375
|
|
|
8674
9376
|
export interface UpdateMessageResponse {
|
|
@@ -8729,6 +9431,20 @@ export interface UpdatePollRequest {
|
|
|
8729
9431
|
user?: UserRequest;
|
|
8730
9432
|
}
|
|
8731
9433
|
|
|
9434
|
+
export interface UpdateReminderRequest {
|
|
9435
|
+
remind_at?: Date;
|
|
9436
|
+
|
|
9437
|
+
user_id?: string;
|
|
9438
|
+
|
|
9439
|
+
user?: UserRequest;
|
|
9440
|
+
}
|
|
9441
|
+
|
|
9442
|
+
export interface UpdateReminderResponse {
|
|
9443
|
+
duration: string;
|
|
9444
|
+
|
|
9445
|
+
reminder: ReminderResponseData;
|
|
9446
|
+
}
|
|
9447
|
+
|
|
8732
9448
|
export interface UpdateThreadPartialRequest {
|
|
8733
9449
|
user_id?: string;
|
|
8734
9450
|
|
|
@@ -8827,6 +9543,8 @@ export interface UpsertConfigRequest {
|
|
|
8827
9543
|
user?: UserRequest;
|
|
8828
9544
|
|
|
8829
9545
|
velocity_filter_config?: VelocityFilterConfig;
|
|
9546
|
+
|
|
9547
|
+
video_call_rule_config?: VideoCallRuleConfig;
|
|
8830
9548
|
}
|
|
8831
9549
|
|
|
8832
9550
|
export interface UpsertConfigResponse {
|
|
@@ -8878,6 +9596,28 @@ export interface UpsertPushProviderResponse {
|
|
|
8878
9596
|
push_provider: PushProviderResponse;
|
|
8879
9597
|
}
|
|
8880
9598
|
|
|
9599
|
+
export interface UpsertPushTemplateRequest {
|
|
9600
|
+
event_type:
|
|
9601
|
+
| 'message.new'
|
|
9602
|
+
| 'message.updated'
|
|
9603
|
+
| 'reaction.new'
|
|
9604
|
+
| 'notification.reminder_due';
|
|
9605
|
+
|
|
9606
|
+
push_provider_type: 'firebase' | 'apn';
|
|
9607
|
+
|
|
9608
|
+
enable_push?: boolean;
|
|
9609
|
+
|
|
9610
|
+
push_provider_name?: string;
|
|
9611
|
+
|
|
9612
|
+
template?: string;
|
|
9613
|
+
}
|
|
9614
|
+
|
|
9615
|
+
export interface UpsertPushTemplateResponse {
|
|
9616
|
+
duration: string;
|
|
9617
|
+
|
|
9618
|
+
template?: PushTemplate;
|
|
9619
|
+
}
|
|
9620
|
+
|
|
8881
9621
|
export interface User {
|
|
8882
9622
|
banned: boolean;
|
|
8883
9623
|
|
|
@@ -9306,6 +10046,28 @@ export interface VelocityFilterConfigRule {
|
|
|
9306
10046
|
slow_spam_ban_duration?: number;
|
|
9307
10047
|
}
|
|
9308
10048
|
|
|
10049
|
+
export interface VideoCallRuleConfig {
|
|
10050
|
+
rules: Record<string, HarmConfig>;
|
|
10051
|
+
}
|
|
10052
|
+
|
|
10053
|
+
export interface VideoEndCallRequest {}
|
|
10054
|
+
|
|
10055
|
+
export interface VideoKickUserRequest {}
|
|
10056
|
+
|
|
10057
|
+
export interface VideoOrientation {
|
|
10058
|
+
orientation?: number;
|
|
10059
|
+
}
|
|
10060
|
+
|
|
10061
|
+
export interface VideoReactionOverTimeResponse {
|
|
10062
|
+
by_minute?: CountByMinuteResponse[];
|
|
10063
|
+
}
|
|
10064
|
+
|
|
10065
|
+
export interface VideoReactionsResponse {
|
|
10066
|
+
reaction: string;
|
|
10067
|
+
|
|
10068
|
+
count_over_time?: VideoReactionOverTimeResponse;
|
|
10069
|
+
}
|
|
10070
|
+
|
|
9309
10071
|
export interface VideoSettings {
|
|
9310
10072
|
access_request_enabled: boolean;
|
|
9311
10073
|
|