@stream-io/feeds-client 0.2.16 → 0.2.18
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/CHANGELOG.md +21 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/react-bindings.js +1 -1
- package/dist/es/index.mjs +2 -2
- package/dist/es/react-bindings.mjs +1 -1
- package/dist/{index-CaFrpjpl.js → index--koeDtxd.js} +310 -80
- package/dist/index--koeDtxd.js.map +1 -0
- package/dist/{index-J3MkoYPN.mjs → index-Zde8UE5f.mjs} +310 -80
- package/dist/index-Zde8UE5f.mjs.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/common/real-time/StableWSConnection.d.ts +3 -3
- package/dist/types/feed/event-handlers/activity/handle-activity-added.d.ts +4 -3
- package/dist/types/feed/event-handlers/activity/handle-activity-added.d.ts.map +1 -1
- package/dist/types/feed/event-handlers/activity/handle-activity-reaction-updated.d.ts +14 -0
- package/dist/types/feed/event-handlers/activity/handle-activity-reaction-updated.d.ts.map +1 -0
- package/dist/types/feed/event-handlers/activity/handle-activity-updated.d.ts.map +1 -1
- package/dist/types/feed/event-handlers/activity/index.d.ts +1 -0
- package/dist/types/feed/event-handlers/activity/index.d.ts.map +1 -1
- package/dist/types/feed/event-handlers/activity-updater.d.ts +44 -0
- package/dist/types/feed/event-handlers/activity-updater.d.ts.map +1 -0
- package/dist/types/feed/event-handlers/add-aggregated-activities-to-state.d.ts +6 -0
- package/dist/types/feed/event-handlers/add-aggregated-activities-to-state.d.ts.map +1 -0
- package/dist/types/feed/event-handlers/comment/handle-comment-reaction-added.d.ts.map +1 -1
- package/dist/types/feed/event-handlers/comment/handle-comment-reaction-updated.d.ts +6 -0
- package/dist/types/feed/event-handlers/comment/handle-comment-reaction-updated.d.ts.map +1 -0
- package/dist/types/feed/event-handlers/comment/index.d.ts +1 -0
- package/dist/types/feed/event-handlers/comment/index.d.ts.map +1 -1
- package/dist/types/feed/event-handlers/index.d.ts +3 -1
- package/dist/types/feed/event-handlers/index.d.ts.map +1 -1
- package/dist/types/feed/event-handlers/{aggregated-feed/handle-aggregated-feed-updated.d.ts → notification-feed/handle-notification-feed-updated.d.ts} +2 -11
- package/dist/types/feed/event-handlers/notification-feed/handle-notification-feed-updated.d.ts.map +1 -0
- package/dist/types/feed/event-handlers/notification-feed/index.d.ts +2 -0
- package/dist/types/feed/event-handlers/notification-feed/index.d.ts.map +1 -0
- package/dist/types/feed/event-handlers/story-feeds/handle-story-feeds-updated.d.ts +15 -0
- package/dist/types/feed/event-handlers/story-feeds/handle-story-feeds-updated.d.ts.map +1 -0
- package/dist/types/feed/event-handlers/story-feeds/index.d.ts +2 -0
- package/dist/types/feed/event-handlers/story-feeds/index.d.ts.map +1 -0
- package/dist/types/feed/feed.d.ts +9 -3
- package/dist/types/feed/feed.d.ts.map +1 -1
- package/dist/types/feeds-client/feeds-client.d.ts +5 -3
- package/dist/types/feeds-client/feeds-client.d.ts.map +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts.map +1 -1
- package/dist/types/gen/models/index.d.ts +43 -452
- package/dist/types/gen/models/index.d.ts.map +1 -1
- package/dist/types/utils/state-update-queue.d.ts +5 -1
- package/dist/types/utils/state-update-queue.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/feed/event-handlers/activity/handle-activity-added.test.ts +16 -5
- package/src/feed/event-handlers/activity/handle-activity-added.ts +9 -11
- package/src/feed/event-handlers/activity/handle-activity-reaction-updated.test.ts +282 -0
- package/src/feed/event-handlers/activity/handle-activity-reaction-updated.ts +140 -0
- package/src/feed/event-handlers/activity/handle-activity-updated.ts +8 -16
- package/src/feed/event-handlers/activity/index.ts +1 -0
- package/src/feed/event-handlers/activity-updater.ts +15 -0
- package/src/feed/event-handlers/add-aggregated-activities-to-state.test.ts +510 -0
- package/src/feed/event-handlers/add-aggregated-activities-to-state.ts +72 -0
- package/src/feed/event-handlers/comment/handle-comment-reaction-added.ts +1 -2
- package/src/feed/event-handlers/comment/handle-comment-reaction-updated.test.ts +350 -0
- package/src/feed/event-handlers/comment/handle-comment-reaction-updated.ts +72 -0
- package/src/feed/event-handlers/comment/index.ts +1 -1
- package/src/feed/event-handlers/index.ts +3 -1
- package/src/feed/event-handlers/notification-feed/handle-notification-feed-updated.test.ts +182 -0
- package/src/feed/event-handlers/{aggregated-feed/handle-aggregated-feed-updated.ts → notification-feed/handle-notification-feed-updated.ts} +2 -94
- package/src/feed/event-handlers/notification-feed/index.ts +1 -0
- package/src/feed/event-handlers/story-feeds/handle-story-feeds-updated.test.ts +45 -0
- package/src/feed/event-handlers/story-feeds/handle-story-feeds-updated.ts +122 -0
- package/src/feed/event-handlers/story-feeds/index.ts +1 -0
- package/src/feed/feed.ts +16 -2
- package/src/feeds-client/feeds-client.ts +36 -6
- package/src/gen/feeds/FeedsApi.ts +5 -0
- package/src/gen/model-decoders/decoders.ts +10 -4
- package/src/gen/models/index.ts +76 -835
- package/src/test-utils/response-generators.ts +89 -1
- package/src/utils/state-update-queue.ts +14 -2
- package/dist/index-CaFrpjpl.js.map +0 -1
- package/dist/index-J3MkoYPN.mjs.map +0 -1
- package/dist/types/feed/event-handlers/aggregated-feed/handle-aggregated-feed-updated.d.ts.map +0 -1
- package/dist/types/feed/event-handlers/aggregated-feed/index.d.ts +0 -2
- package/dist/types/feed/event-handlers/aggregated-feed/index.d.ts.map +0 -1
- package/src/feed/event-handlers/activity/activity-utils.test.ts +0 -252
- package/src/feed/event-handlers/aggregated-feed/handle-aggregated-feed-updated.test.ts +0 -644
- package/src/feed/event-handlers/aggregated-feed/index.ts +0 -1
package/src/gen/models/index.ts
CHANGED
|
@@ -46,20 +46,6 @@ export interface APIError {
|
|
|
46
46
|
exception_fields?: Record<string, string>;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export interface APNS {
|
|
50
|
-
body: string;
|
|
51
|
-
|
|
52
|
-
title: string;
|
|
53
|
-
|
|
54
|
-
content_available?: number;
|
|
55
|
-
|
|
56
|
-
mutable_content?: number;
|
|
57
|
-
|
|
58
|
-
sound?: string;
|
|
59
|
-
|
|
60
|
-
data?: Record<string, any>;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
49
|
export interface AWSRekognitionRule {
|
|
64
50
|
action:
|
|
65
51
|
| 'flag'
|
|
@@ -108,30 +94,6 @@ export interface Action {
|
|
|
108
94
|
value?: string;
|
|
109
95
|
}
|
|
110
96
|
|
|
111
|
-
export interface ActionLog {
|
|
112
|
-
created_at: Date;
|
|
113
|
-
|
|
114
|
-
id: string;
|
|
115
|
-
|
|
116
|
-
reason: string;
|
|
117
|
-
|
|
118
|
-
reporter_type: string;
|
|
119
|
-
|
|
120
|
-
review_queue_item_id: string;
|
|
121
|
-
|
|
122
|
-
target_user_id: string;
|
|
123
|
-
|
|
124
|
-
type: string;
|
|
125
|
-
|
|
126
|
-
custom: Record<string, any>;
|
|
127
|
-
|
|
128
|
-
review_queue_item?: ReviewQueueItem;
|
|
129
|
-
|
|
130
|
-
target_user?: User;
|
|
131
|
-
|
|
132
|
-
user?: User;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
97
|
export interface ActionLogResponse {
|
|
136
98
|
created_at: Date;
|
|
137
99
|
|
|
@@ -145,6 +107,8 @@ export interface ActionLogResponse {
|
|
|
145
107
|
|
|
146
108
|
user_id: string;
|
|
147
109
|
|
|
110
|
+
ai_providers: string[];
|
|
111
|
+
|
|
148
112
|
custom: Record<string, any>;
|
|
149
113
|
|
|
150
114
|
review_queue_item?: ReviewQueueItemResponse;
|
|
@@ -216,6 +180,8 @@ export interface ActivityFeedbackRequest {
|
|
|
216
180
|
report?: boolean;
|
|
217
181
|
|
|
218
182
|
show_less?: boolean;
|
|
183
|
+
|
|
184
|
+
show_more?: boolean;
|
|
219
185
|
}
|
|
220
186
|
|
|
221
187
|
export interface ActivityFeedbackResponse {
|
|
@@ -605,12 +571,12 @@ export interface AddCommentReactionResponse {
|
|
|
605
571
|
}
|
|
606
572
|
|
|
607
573
|
export interface AddCommentRequest {
|
|
608
|
-
comment: string;
|
|
609
|
-
|
|
610
574
|
object_id: string;
|
|
611
575
|
|
|
612
576
|
object_type: string;
|
|
613
577
|
|
|
578
|
+
comment?: string;
|
|
579
|
+
|
|
614
580
|
create_notification_activity?: boolean;
|
|
615
581
|
|
|
616
582
|
parent_id?: string;
|
|
@@ -711,6 +677,10 @@ export interface AppResponseFields {
|
|
|
711
677
|
|
|
712
678
|
name: string;
|
|
713
679
|
|
|
680
|
+
region: string;
|
|
681
|
+
|
|
682
|
+
shard: string;
|
|
683
|
+
|
|
714
684
|
file_upload_config: FileUploadConfig;
|
|
715
685
|
|
|
716
686
|
image_upload_config: FileUploadConfig;
|
|
@@ -774,27 +744,13 @@ export interface Attachment {
|
|
|
774
744
|
giphy?: Images;
|
|
775
745
|
}
|
|
776
746
|
|
|
777
|
-
export interface AudioSettings {
|
|
778
|
-
access_request_enabled: boolean;
|
|
779
|
-
|
|
780
|
-
default_device: 'speaker' | 'earpiece';
|
|
781
|
-
|
|
782
|
-
mic_default_on: boolean;
|
|
783
|
-
|
|
784
|
-
opus_dtx_enabled: boolean;
|
|
785
|
-
|
|
786
|
-
redundant_coding_enabled: boolean;
|
|
787
|
-
|
|
788
|
-
speaker_default_on: boolean;
|
|
789
|
-
|
|
790
|
-
noise_cancellation?: NoiseCancellationSettings;
|
|
791
|
-
}
|
|
792
|
-
|
|
793
747
|
export interface AudioSettingsResponse {
|
|
794
748
|
access_request_enabled: boolean;
|
|
795
749
|
|
|
796
750
|
default_device: 'speaker' | 'earpiece';
|
|
797
751
|
|
|
752
|
+
hifi_audio_enabled: boolean;
|
|
753
|
+
|
|
798
754
|
mic_default_on: boolean;
|
|
799
755
|
|
|
800
756
|
opus_dtx_enabled: boolean;
|
|
@@ -852,12 +808,6 @@ export interface AutomodToxicityConfig {
|
|
|
852
808
|
async?: boolean;
|
|
853
809
|
}
|
|
854
810
|
|
|
855
|
-
export interface BackstageSettings {
|
|
856
|
-
enabled: boolean;
|
|
857
|
-
|
|
858
|
-
join_ahead_time_seconds?: number;
|
|
859
|
-
}
|
|
860
|
-
|
|
861
811
|
export interface BackstageSettingsResponse {
|
|
862
812
|
enabled: boolean;
|
|
863
813
|
|
|
@@ -945,6 +895,10 @@ export interface BlockListOptions {
|
|
|
945
895
|
}
|
|
946
896
|
|
|
947
897
|
export interface BlockListResponse {
|
|
898
|
+
is_leet_check_enabled: boolean;
|
|
899
|
+
|
|
900
|
+
is_plural_check_enabled: boolean;
|
|
901
|
+
|
|
948
902
|
name: string;
|
|
949
903
|
|
|
950
904
|
type: string;
|
|
@@ -1123,14 +1077,6 @@ export interface BookmarkUpdatedEvent {
|
|
|
1123
1077
|
user?: UserResponseCommonFields;
|
|
1124
1078
|
}
|
|
1125
1079
|
|
|
1126
|
-
export interface BroadcastSettings {
|
|
1127
|
-
enabled: boolean;
|
|
1128
|
-
|
|
1129
|
-
hls?: HLSSettings;
|
|
1130
|
-
|
|
1131
|
-
rtmp?: RTMPSettings;
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
1080
|
export interface BroadcastSettingsResponse {
|
|
1135
1081
|
enabled: boolean;
|
|
1136
1082
|
|
|
@@ -1139,94 +1085,6 @@ export interface BroadcastSettingsResponse {
|
|
|
1139
1085
|
rtmp: RTMPSettingsResponse;
|
|
1140
1086
|
}
|
|
1141
1087
|
|
|
1142
|
-
export interface Call {
|
|
1143
|
-
app_pk: number;
|
|
1144
|
-
|
|
1145
|
-
backstage: boolean;
|
|
1146
|
-
|
|
1147
|
-
channel_cid: string;
|
|
1148
|
-
|
|
1149
|
-
cid: string;
|
|
1150
|
-
|
|
1151
|
-
created_at: Date;
|
|
1152
|
-
|
|
1153
|
-
created_by_user_id: string;
|
|
1154
|
-
|
|
1155
|
-
current_session_id: string;
|
|
1156
|
-
|
|
1157
|
-
id: string;
|
|
1158
|
-
|
|
1159
|
-
last_session_id: string;
|
|
1160
|
-
|
|
1161
|
-
team: string;
|
|
1162
|
-
|
|
1163
|
-
thumbnail_url: string;
|
|
1164
|
-
|
|
1165
|
-
type: string;
|
|
1166
|
-
|
|
1167
|
-
updated_at: Date;
|
|
1168
|
-
|
|
1169
|
-
blocked_user_i_ds: string[];
|
|
1170
|
-
|
|
1171
|
-
blocked_users: User[];
|
|
1172
|
-
|
|
1173
|
-
egresses: CallEgress[];
|
|
1174
|
-
|
|
1175
|
-
members: CallMember[];
|
|
1176
|
-
|
|
1177
|
-
custom: Record<string, any>;
|
|
1178
|
-
|
|
1179
|
-
deleted_at?: Date;
|
|
1180
|
-
|
|
1181
|
-
egress_updated_at?: Date;
|
|
1182
|
-
|
|
1183
|
-
ended_at?: Date;
|
|
1184
|
-
|
|
1185
|
-
join_ahead_time_seconds?: number;
|
|
1186
|
-
|
|
1187
|
-
last_heartbeat_at?: Date;
|
|
1188
|
-
|
|
1189
|
-
member_count?: number;
|
|
1190
|
-
|
|
1191
|
-
starts_at?: Date;
|
|
1192
|
-
|
|
1193
|
-
call_type?: CallType;
|
|
1194
|
-
|
|
1195
|
-
created_by?: User;
|
|
1196
|
-
|
|
1197
|
-
member_lookup?: MemberLookup;
|
|
1198
|
-
|
|
1199
|
-
session?: CallSession;
|
|
1200
|
-
|
|
1201
|
-
settings?: CallSettings;
|
|
1202
|
-
|
|
1203
|
-
settings_overrides?: CallSettings;
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
export interface CallEgress {
|
|
1207
|
-
app_pk: number;
|
|
1208
|
-
|
|
1209
|
-
call_id: string;
|
|
1210
|
-
|
|
1211
|
-
call_type: string;
|
|
1212
|
-
|
|
1213
|
-
egress_id: string;
|
|
1214
|
-
|
|
1215
|
-
egress_type: string;
|
|
1216
|
-
|
|
1217
|
-
instance_ip: string;
|
|
1218
|
-
|
|
1219
|
-
started_at: Date;
|
|
1220
|
-
|
|
1221
|
-
state: string;
|
|
1222
|
-
|
|
1223
|
-
updated_at: Date;
|
|
1224
|
-
|
|
1225
|
-
stopped_at?: Date;
|
|
1226
|
-
|
|
1227
|
-
config?: EgressTaskConfig;
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
1088
|
export interface CallIngressResponse {
|
|
1231
1089
|
rtmp: RTMPIngress;
|
|
1232
1090
|
|
|
@@ -1235,66 +1093,6 @@ export interface CallIngressResponse {
|
|
|
1235
1093
|
whip: WHIPIngress;
|
|
1236
1094
|
}
|
|
1237
1095
|
|
|
1238
|
-
export interface CallMember {
|
|
1239
|
-
created_at: Date;
|
|
1240
|
-
|
|
1241
|
-
role: string;
|
|
1242
|
-
|
|
1243
|
-
updated_at: Date;
|
|
1244
|
-
|
|
1245
|
-
user_id: string;
|
|
1246
|
-
|
|
1247
|
-
custom: Record<string, any>;
|
|
1248
|
-
|
|
1249
|
-
deleted_at?: Date;
|
|
1250
|
-
|
|
1251
|
-
user?: User;
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
export interface CallParticipant {
|
|
1255
|
-
banned: boolean;
|
|
1256
|
-
|
|
1257
|
-
id: string;
|
|
1258
|
-
|
|
1259
|
-
joined_at: Date;
|
|
1260
|
-
|
|
1261
|
-
online: boolean;
|
|
1262
|
-
|
|
1263
|
-
role: string;
|
|
1264
|
-
|
|
1265
|
-
user_session_id: string;
|
|
1266
|
-
|
|
1267
|
-
custom: Record<string, any>;
|
|
1268
|
-
|
|
1269
|
-
teams_role: Record<string, string>;
|
|
1270
|
-
|
|
1271
|
-
avg_response_time?: number;
|
|
1272
|
-
|
|
1273
|
-
ban_expires?: Date;
|
|
1274
|
-
|
|
1275
|
-
created_at?: Date;
|
|
1276
|
-
|
|
1277
|
-
deactivated_at?: Date;
|
|
1278
|
-
|
|
1279
|
-
deleted_at?: Date;
|
|
1280
|
-
|
|
1281
|
-
invisible?: boolean;
|
|
1282
|
-
|
|
1283
|
-
language?: string;
|
|
1284
|
-
|
|
1285
|
-
last_active?: Date;
|
|
1286
|
-
|
|
1287
|
-
last_engaged_at?: Date;
|
|
1288
|
-
|
|
1289
|
-
revoke_tokens_issued_before?: Date;
|
|
1290
|
-
|
|
1291
|
-
updated_at?: Date;
|
|
1292
|
-
|
|
1293
|
-
teams?: string[];
|
|
1294
|
-
|
|
1295
|
-
privacy_settings?: PrivacySettings;
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
1096
|
export interface CallParticipantResponse {
|
|
1299
1097
|
joined_at: Date;
|
|
1300
1098
|
|
|
@@ -1355,50 +1153,6 @@ export interface CallResponse {
|
|
|
1355
1153
|
thumbnails?: ThumbnailResponse;
|
|
1356
1154
|
}
|
|
1357
1155
|
|
|
1358
|
-
export interface CallSession {
|
|
1359
|
-
anonymous_participant_count: number;
|
|
1360
|
-
|
|
1361
|
-
app_pk: number;
|
|
1362
|
-
|
|
1363
|
-
call_id: string;
|
|
1364
|
-
|
|
1365
|
-
call_type: string;
|
|
1366
|
-
|
|
1367
|
-
created_at: Date;
|
|
1368
|
-
|
|
1369
|
-
session_id: string;
|
|
1370
|
-
|
|
1371
|
-
active_sf_us: SFUIDLastSeen[];
|
|
1372
|
-
|
|
1373
|
-
participants: CallParticipant[];
|
|
1374
|
-
|
|
1375
|
-
sfui_ds: string[];
|
|
1376
|
-
|
|
1377
|
-
accepted_by: Record<string, Date>;
|
|
1378
|
-
|
|
1379
|
-
missed_by: Record<string, Date>;
|
|
1380
|
-
|
|
1381
|
-
participants_count_by_role: Record<string, number>;
|
|
1382
|
-
|
|
1383
|
-
rejected_by: Record<string, Date>;
|
|
1384
|
-
|
|
1385
|
-
user_permission_overrides: Record<string, Record<string, boolean>>;
|
|
1386
|
-
|
|
1387
|
-
deleted_at?: Date;
|
|
1388
|
-
|
|
1389
|
-
ended_at?: Date;
|
|
1390
|
-
|
|
1391
|
-
live_ended_at?: Date;
|
|
1392
|
-
|
|
1393
|
-
live_started_at?: Date;
|
|
1394
|
-
|
|
1395
|
-
ring_at?: Date;
|
|
1396
|
-
|
|
1397
|
-
started_at?: Date;
|
|
1398
|
-
|
|
1399
|
-
timer_ends_at?: Date;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
1156
|
export interface CallSessionResponse {
|
|
1403
1157
|
anonymous_participant_count: number;
|
|
1404
1158
|
|
|
@@ -1425,36 +1179,6 @@ export interface CallSessionResponse {
|
|
|
1425
1179
|
timer_ends_at?: Date;
|
|
1426
1180
|
}
|
|
1427
1181
|
|
|
1428
|
-
export interface CallSettings {
|
|
1429
|
-
audio?: AudioSettings;
|
|
1430
|
-
|
|
1431
|
-
backstage?: BackstageSettings;
|
|
1432
|
-
|
|
1433
|
-
broadcasting?: BroadcastSettings;
|
|
1434
|
-
|
|
1435
|
-
frame_recording?: FrameRecordSettings;
|
|
1436
|
-
|
|
1437
|
-
geofencing?: GeofenceSettings;
|
|
1438
|
-
|
|
1439
|
-
ingress?: IngressSettings;
|
|
1440
|
-
|
|
1441
|
-
limits?: LimitsSettings;
|
|
1442
|
-
|
|
1443
|
-
recording?: RecordSettings;
|
|
1444
|
-
|
|
1445
|
-
ring?: RingSettings;
|
|
1446
|
-
|
|
1447
|
-
screensharing?: ScreensharingSettings;
|
|
1448
|
-
|
|
1449
|
-
session?: SessionSettings;
|
|
1450
|
-
|
|
1451
|
-
thumbnails?: ThumbnailsSettings;
|
|
1452
|
-
|
|
1453
|
-
transcription?: TranscriptionSettings;
|
|
1454
|
-
|
|
1455
|
-
video?: VideoSettings;
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
1182
|
export interface CallSettingsResponse {
|
|
1459
1183
|
audio: AudioSettingsResponse;
|
|
1460
1184
|
|
|
@@ -1485,24 +1209,6 @@ export interface CallSettingsResponse {
|
|
|
1485
1209
|
ingress?: IngressSettingsResponse;
|
|
1486
1210
|
}
|
|
1487
1211
|
|
|
1488
|
-
export interface CallType {
|
|
1489
|
-
app_pk: number;
|
|
1490
|
-
|
|
1491
|
-
created_at: Date;
|
|
1492
|
-
|
|
1493
|
-
external_storage: string;
|
|
1494
|
-
|
|
1495
|
-
name: string;
|
|
1496
|
-
|
|
1497
|
-
pk: number;
|
|
1498
|
-
|
|
1499
|
-
updated_at: Date;
|
|
1500
|
-
|
|
1501
|
-
notification_settings?: NotificationSettings;
|
|
1502
|
-
|
|
1503
|
-
settings?: CallSettings;
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
1212
|
export interface CastPollVoteRequest {
|
|
1507
1213
|
vote?: VoteData;
|
|
1508
1214
|
}
|
|
@@ -1746,6 +1452,8 @@ export interface ChannelMemberLookup {
|
|
|
1746
1452
|
|
|
1747
1453
|
banned: boolean;
|
|
1748
1454
|
|
|
1455
|
+
blocked: boolean;
|
|
1456
|
+
|
|
1749
1457
|
hidden: boolean;
|
|
1750
1458
|
|
|
1751
1459
|
pinned: boolean;
|
|
@@ -2059,12 +1767,6 @@ export interface CommentUpdatedEvent {
|
|
|
2059
1767
|
user?: UserResponseCommonFields;
|
|
2060
1768
|
}
|
|
2061
1769
|
|
|
2062
|
-
export interface CompositeAppSettings {
|
|
2063
|
-
json_encoded_settings?: string;
|
|
2064
|
-
|
|
2065
|
-
url?: string;
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
1770
|
export interface ConfigOverrides {
|
|
2069
1771
|
commands: string[];
|
|
2070
1772
|
|
|
@@ -2156,6 +1858,10 @@ export interface CreateBlockListRequest {
|
|
|
2156
1858
|
|
|
2157
1859
|
words: string[];
|
|
2158
1860
|
|
|
1861
|
+
is_leet_check_enabled?: boolean;
|
|
1862
|
+
|
|
1863
|
+
is_plural_check_enabled?: boolean;
|
|
1864
|
+
|
|
2159
1865
|
team?: string;
|
|
2160
1866
|
|
|
2161
1867
|
type?: 'regex' | 'domain' | 'domain_allowlist' | 'email' | 'word';
|
|
@@ -2335,6 +2041,14 @@ export interface DeleteUserRequest {
|
|
|
2335
2041
|
mark_messages_deleted?: boolean;
|
|
2336
2042
|
}
|
|
2337
2043
|
|
|
2044
|
+
export interface DeliveryReceipts {
|
|
2045
|
+
enabled: boolean;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
export interface DeliveryReceiptsResponse {
|
|
2049
|
+
enabled: boolean;
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2338
2052
|
export interface Device {
|
|
2339
2053
|
created_at: Date;
|
|
2340
2054
|
|
|
@@ -2441,24 +2155,6 @@ export interface EgressResponse {
|
|
|
2441
2155
|
hls?: EgressHLSResponse;
|
|
2442
2156
|
}
|
|
2443
2157
|
|
|
2444
|
-
export interface EgressTaskConfig {
|
|
2445
|
-
egress_user?: EgressUser;
|
|
2446
|
-
|
|
2447
|
-
frame_recording_egress_config?: FrameRecordingEgressConfig;
|
|
2448
|
-
|
|
2449
|
-
hls_egress_config?: HLSEgressConfig;
|
|
2450
|
-
|
|
2451
|
-
recording_egress_config?: RecordingEgressConfig;
|
|
2452
|
-
|
|
2453
|
-
rtmp_egress_config?: RTMPEgressConfig;
|
|
2454
|
-
|
|
2455
|
-
stt_egress_config?: STTEgressConfig;
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
|
-
export interface EgressUser {
|
|
2459
|
-
token?: string;
|
|
2460
|
-
}
|
|
2461
|
-
|
|
2462
2158
|
export interface EnrichedActivity {
|
|
2463
2159
|
foreign_id?: string;
|
|
2464
2160
|
|
|
@@ -2513,50 +2209,6 @@ export interface EnrichedReaction {
|
|
|
2513
2209
|
user?: Data;
|
|
2514
2210
|
}
|
|
2515
2211
|
|
|
2516
|
-
export interface EntityCreator {
|
|
2517
|
-
ban_count: number;
|
|
2518
|
-
|
|
2519
|
-
banned: boolean;
|
|
2520
|
-
|
|
2521
|
-
deleted_content_count: number;
|
|
2522
|
-
|
|
2523
|
-
id: string;
|
|
2524
|
-
|
|
2525
|
-
online: boolean;
|
|
2526
|
-
|
|
2527
|
-
role: string;
|
|
2528
|
-
|
|
2529
|
-
custom: Record<string, any>;
|
|
2530
|
-
|
|
2531
|
-
teams_role: Record<string, string>;
|
|
2532
|
-
|
|
2533
|
-
avg_response_time?: number;
|
|
2534
|
-
|
|
2535
|
-
ban_expires?: Date;
|
|
2536
|
-
|
|
2537
|
-
created_at?: Date;
|
|
2538
|
-
|
|
2539
|
-
deactivated_at?: Date;
|
|
2540
|
-
|
|
2541
|
-
deleted_at?: Date;
|
|
2542
|
-
|
|
2543
|
-
invisible?: boolean;
|
|
2544
|
-
|
|
2545
|
-
language?: string;
|
|
2546
|
-
|
|
2547
|
-
last_active?: Date;
|
|
2548
|
-
|
|
2549
|
-
last_engaged_at?: Date;
|
|
2550
|
-
|
|
2551
|
-
revoke_tokens_issued_before?: Date;
|
|
2552
|
-
|
|
2553
|
-
updated_at?: Date;
|
|
2554
|
-
|
|
2555
|
-
teams?: string[];
|
|
2556
|
-
|
|
2557
|
-
privacy_settings?: PrivacySettings;
|
|
2558
|
-
}
|
|
2559
|
-
|
|
2560
2212
|
export interface EntityCreatorResponse {
|
|
2561
2213
|
ban_count: number;
|
|
2562
2214
|
|
|
@@ -2601,46 +2253,6 @@ export interface EntityCreatorResponse {
|
|
|
2601
2253
|
teams_role?: Record<string, string>;
|
|
2602
2254
|
}
|
|
2603
2255
|
|
|
2604
|
-
export interface EventNotificationSettings {
|
|
2605
|
-
enabled: boolean;
|
|
2606
|
-
|
|
2607
|
-
apns: APNS;
|
|
2608
|
-
|
|
2609
|
-
fcm: FCM;
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2612
|
-
export interface ExternalStorage {
|
|
2613
|
-
abs_account_name?: string;
|
|
2614
|
-
|
|
2615
|
-
abs_client_id?: string;
|
|
2616
|
-
|
|
2617
|
-
abs_client_secret?: string;
|
|
2618
|
-
|
|
2619
|
-
abs_tenant_id?: string;
|
|
2620
|
-
|
|
2621
|
-
bucket?: string;
|
|
2622
|
-
|
|
2623
|
-
gcs_credentials?: string;
|
|
2624
|
-
|
|
2625
|
-
path?: string;
|
|
2626
|
-
|
|
2627
|
-
s3_api_key?: string;
|
|
2628
|
-
|
|
2629
|
-
s3_custom_endpoint?: string;
|
|
2630
|
-
|
|
2631
|
-
s3_region?: string;
|
|
2632
|
-
|
|
2633
|
-
s3_secret_key?: string;
|
|
2634
|
-
|
|
2635
|
-
storage_name?: string;
|
|
2636
|
-
|
|
2637
|
-
storage_type?: number;
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
export interface FCM {
|
|
2641
|
-
data?: Record<string, any>;
|
|
2642
|
-
}
|
|
2643
|
-
|
|
2644
2256
|
export interface FeedCreatedEvent {
|
|
2645
2257
|
created_at: Date;
|
|
2646
2258
|
|
|
@@ -3022,40 +2634,6 @@ export interface FileUploadResponse {
|
|
|
3022
2634
|
thumb_url?: string;
|
|
3023
2635
|
}
|
|
3024
2636
|
|
|
3025
|
-
export interface Flag {
|
|
3026
|
-
created_at: Date;
|
|
3027
|
-
|
|
3028
|
-
entity_id: string;
|
|
3029
|
-
|
|
3030
|
-
entity_type: string;
|
|
3031
|
-
|
|
3032
|
-
updated_at: Date;
|
|
3033
|
-
|
|
3034
|
-
result: Array<Record<string, any>>;
|
|
3035
|
-
|
|
3036
|
-
entity_creator_id?: string;
|
|
3037
|
-
|
|
3038
|
-
is_streamed_content?: boolean;
|
|
3039
|
-
|
|
3040
|
-
moderation_payload_hash?: string;
|
|
3041
|
-
|
|
3042
|
-
reason?: string;
|
|
3043
|
-
|
|
3044
|
-
review_queue_item_id?: string;
|
|
3045
|
-
|
|
3046
|
-
type?: string;
|
|
3047
|
-
|
|
3048
|
-
labels?: string[];
|
|
3049
|
-
|
|
3050
|
-
custom?: Record<string, any>;
|
|
3051
|
-
|
|
3052
|
-
moderation_payload?: ModerationPayload;
|
|
3053
|
-
|
|
3054
|
-
review_queue_item?: ReviewQueueItem;
|
|
3055
|
-
|
|
3056
|
-
user?: User;
|
|
3057
|
-
}
|
|
3058
|
-
|
|
3059
2637
|
export interface FlagRequest {
|
|
3060
2638
|
entity_id: string;
|
|
3061
2639
|
|
|
@@ -3174,24 +2752,6 @@ export interface FollowUpdatedEvent {
|
|
|
3174
2752
|
received_at?: Date;
|
|
3175
2753
|
}
|
|
3176
2754
|
|
|
3177
|
-
export interface FrameRecordSettings {
|
|
3178
|
-
capture_interval_in_seconds: number;
|
|
3179
|
-
|
|
3180
|
-
mode: 'available' | 'disabled' | 'auto-on';
|
|
3181
|
-
|
|
3182
|
-
quality?: string;
|
|
3183
|
-
}
|
|
3184
|
-
|
|
3185
|
-
export interface FrameRecordingEgressConfig {
|
|
3186
|
-
capture_interval_in_seconds?: number;
|
|
3187
|
-
|
|
3188
|
-
storage_name?: string;
|
|
3189
|
-
|
|
3190
|
-
external_storage?: ExternalStorage;
|
|
3191
|
-
|
|
3192
|
-
quality?: Quality;
|
|
3193
|
-
}
|
|
3194
|
-
|
|
3195
2755
|
export interface FrameRecordingResponse {
|
|
3196
2756
|
status: string;
|
|
3197
2757
|
}
|
|
@@ -3266,10 +2826,6 @@ export interface FullUserResponse {
|
|
|
3266
2826
|
teams_role?: Record<string, string>;
|
|
3267
2827
|
}
|
|
3268
2828
|
|
|
3269
|
-
export interface GeofenceSettings {
|
|
3270
|
-
names: string[];
|
|
3271
|
-
}
|
|
3272
|
-
|
|
3273
2829
|
export interface GeofenceSettingsResponse {
|
|
3274
2830
|
names: string[];
|
|
3275
2831
|
}
|
|
@@ -3442,26 +2998,6 @@ export interface GoogleVisionConfig {
|
|
|
3442
2998
|
enabled?: boolean;
|
|
3443
2999
|
}
|
|
3444
3000
|
|
|
3445
|
-
export interface HLSEgressConfig {
|
|
3446
|
-
playlist_url?: string;
|
|
3447
|
-
|
|
3448
|
-
start_unix_nano?: number;
|
|
3449
|
-
|
|
3450
|
-
qualities?: Quality[];
|
|
3451
|
-
|
|
3452
|
-
composite_app_settings?: CompositeAppSettings;
|
|
3453
|
-
}
|
|
3454
|
-
|
|
3455
|
-
export interface HLSSettings {
|
|
3456
|
-
auto_on: boolean;
|
|
3457
|
-
|
|
3458
|
-
enabled: boolean;
|
|
3459
|
-
|
|
3460
|
-
quality_tracks: string[];
|
|
3461
|
-
|
|
3462
|
-
layout?: LayoutSettings;
|
|
3463
|
-
}
|
|
3464
|
-
|
|
3465
3001
|
export interface HLSSettingsResponse {
|
|
3466
3002
|
auto_on: boolean;
|
|
3467
3003
|
|
|
@@ -3566,14 +3102,6 @@ export interface Images {
|
|
|
3566
3102
|
original: ImageData;
|
|
3567
3103
|
}
|
|
3568
3104
|
|
|
3569
|
-
export interface IngressAudioEncodingOptions {
|
|
3570
|
-
bitrate: number;
|
|
3571
|
-
|
|
3572
|
-
channels: '1' | '2';
|
|
3573
|
-
|
|
3574
|
-
enable_dtx: boolean;
|
|
3575
|
-
}
|
|
3576
|
-
|
|
3577
3105
|
export interface IngressAudioEncodingResponse {
|
|
3578
3106
|
bitrate: number;
|
|
3579
3107
|
|
|
@@ -3582,40 +3110,26 @@ export interface IngressAudioEncodingResponse {
|
|
|
3582
3110
|
enable_dtx: boolean;
|
|
3583
3111
|
}
|
|
3584
3112
|
|
|
3585
|
-
export interface IngressSettings {
|
|
3586
|
-
enabled: boolean;
|
|
3587
|
-
|
|
3588
|
-
audio_encoding_options?: IngressAudioEncodingOptions;
|
|
3589
|
-
|
|
3590
|
-
video_encoding_options?: Record<string, IngressVideoEncodingOptions>;
|
|
3591
|
-
}
|
|
3592
|
-
|
|
3593
3113
|
export interface IngressSettingsResponse {
|
|
3594
3114
|
enabled: boolean;
|
|
3595
3115
|
|
|
3596
3116
|
audio_encoding_options?: IngressAudioEncodingResponse;
|
|
3597
3117
|
|
|
3598
|
-
video_encoding_options?: Record<string, IngressVideoEncodingResponse>;
|
|
3599
|
-
}
|
|
3600
|
-
|
|
3601
|
-
export interface IngressVideoEncodingOptions {
|
|
3602
|
-
layers: IngressVideoLayer[];
|
|
3603
|
-
}
|
|
3604
|
-
|
|
3605
|
-
export interface IngressVideoEncodingResponse {
|
|
3606
|
-
layers: IngressVideoLayerResponse[];
|
|
3118
|
+
video_encoding_options?: Record<string, IngressVideoEncodingResponse>;
|
|
3607
3119
|
}
|
|
3608
3120
|
|
|
3609
|
-
export interface
|
|
3610
|
-
|
|
3121
|
+
export interface IngressSourceResponse {
|
|
3122
|
+
fps: number;
|
|
3611
3123
|
|
|
3612
|
-
|
|
3124
|
+
height: number;
|
|
3613
3125
|
|
|
3614
|
-
|
|
3126
|
+
width: number;
|
|
3127
|
+
}
|
|
3615
3128
|
|
|
3616
|
-
|
|
3129
|
+
export interface IngressVideoEncodingResponse {
|
|
3130
|
+
layers: IngressVideoLayerResponse[];
|
|
3617
3131
|
|
|
3618
|
-
|
|
3132
|
+
source: IngressSourceResponse;
|
|
3619
3133
|
}
|
|
3620
3134
|
|
|
3621
3135
|
export interface IngressVideoLayerResponse {
|
|
@@ -3665,28 +3179,6 @@ export interface LabelThresholds {
|
|
|
3665
3179
|
flag?: number;
|
|
3666
3180
|
}
|
|
3667
3181
|
|
|
3668
|
-
export interface LayoutSettings {
|
|
3669
|
-
external_app_url: string;
|
|
3670
|
-
|
|
3671
|
-
external_css_url: string;
|
|
3672
|
-
|
|
3673
|
-
name: 'spotlight' | 'grid' | 'single-participant' | 'mobile' | 'custom';
|
|
3674
|
-
|
|
3675
|
-
detect_orientation?: boolean;
|
|
3676
|
-
|
|
3677
|
-
options?: Record<string, any>;
|
|
3678
|
-
}
|
|
3679
|
-
|
|
3680
|
-
export interface LimitsSettings {
|
|
3681
|
-
max_participants_exclude_roles: string[];
|
|
3682
|
-
|
|
3683
|
-
max_duration_seconds?: number;
|
|
3684
|
-
|
|
3685
|
-
max_participants?: number;
|
|
3686
|
-
|
|
3687
|
-
max_participants_exclude_owner?: boolean;
|
|
3688
|
-
}
|
|
3689
|
-
|
|
3690
3182
|
export interface LimitsSettingsResponse {
|
|
3691
3183
|
max_participants_exclude_roles: string[];
|
|
3692
3184
|
|
|
@@ -3727,10 +3219,6 @@ export interface MarkReviewedRequest {
|
|
|
3727
3219
|
disable_marking_content_as_reviewed?: boolean;
|
|
3728
3220
|
}
|
|
3729
3221
|
|
|
3730
|
-
export interface MemberLookup {
|
|
3731
|
-
limit: number;
|
|
3732
|
-
}
|
|
3733
|
-
|
|
3734
3222
|
export interface MembershipLevelResponse {
|
|
3735
3223
|
created_at: Date;
|
|
3736
3224
|
|
|
@@ -3966,15 +3454,21 @@ export interface ModerationActionConfig {
|
|
|
3966
3454
|
}
|
|
3967
3455
|
|
|
3968
3456
|
export interface ModerationCustomActionEvent {
|
|
3457
|
+
action_id: string;
|
|
3458
|
+
|
|
3969
3459
|
created_at: Date;
|
|
3970
3460
|
|
|
3461
|
+
custom: Record<string, any>;
|
|
3462
|
+
|
|
3463
|
+
review_queue_item: ReviewQueueItemResponse;
|
|
3464
|
+
|
|
3971
3465
|
type: string;
|
|
3972
3466
|
|
|
3973
|
-
|
|
3467
|
+
received_at?: Date;
|
|
3974
3468
|
|
|
3975
|
-
|
|
3469
|
+
action_options?: Record<string, any>;
|
|
3976
3470
|
|
|
3977
|
-
|
|
3471
|
+
message?: MessageResponse;
|
|
3978
3472
|
}
|
|
3979
3473
|
|
|
3980
3474
|
export interface ModerationFlagResponse {
|
|
@@ -4024,13 +3518,15 @@ export interface ModerationFlaggedEvent {
|
|
|
4024
3518
|
export interface ModerationMarkReviewedEvent {
|
|
4025
3519
|
created_at: Date;
|
|
4026
3520
|
|
|
4027
|
-
|
|
3521
|
+
custom: Record<string, any>;
|
|
4028
3522
|
|
|
4029
|
-
item
|
|
3523
|
+
item: ReviewQueueItemResponse;
|
|
4030
3524
|
|
|
4031
|
-
|
|
3525
|
+
type: string;
|
|
4032
3526
|
|
|
4033
|
-
|
|
3527
|
+
received_at?: Date;
|
|
3528
|
+
|
|
3529
|
+
message?: MessageResponse;
|
|
4034
3530
|
}
|
|
4035
3531
|
|
|
4036
3532
|
export interface ModerationPayload {
|
|
@@ -4111,20 +3607,6 @@ export interface NotificationFeedUpdatedEvent {
|
|
|
4111
3607
|
user?: UserResponseCommonFields;
|
|
4112
3608
|
}
|
|
4113
3609
|
|
|
4114
|
-
export interface NotificationSettings {
|
|
4115
|
-
enabled: boolean;
|
|
4116
|
-
|
|
4117
|
-
call_live_started: EventNotificationSettings;
|
|
4118
|
-
|
|
4119
|
-
call_missed: EventNotificationSettings;
|
|
4120
|
-
|
|
4121
|
-
call_notification: EventNotificationSettings;
|
|
4122
|
-
|
|
4123
|
-
call_ring: EventNotificationSettings;
|
|
4124
|
-
|
|
4125
|
-
session_started: EventNotificationSettings;
|
|
4126
|
-
}
|
|
4127
|
-
|
|
4128
3610
|
export interface NotificationStatusResponse {
|
|
4129
3611
|
unread: number;
|
|
4130
3612
|
|
|
@@ -4159,8 +3641,6 @@ export interface NotificationTrigger {
|
|
|
4159
3641
|
type: string;
|
|
4160
3642
|
}
|
|
4161
3643
|
|
|
4162
|
-
export interface NullTime {}
|
|
4163
|
-
|
|
4164
3644
|
export interface OCRRule {
|
|
4165
3645
|
action:
|
|
4166
3646
|
| 'flag'
|
|
@@ -4184,7 +3664,7 @@ export interface OwnCapabilitiesBatchRequest {
|
|
|
4184
3664
|
export interface OwnCapabilitiesBatchResponse {
|
|
4185
3665
|
duration: string;
|
|
4186
3666
|
|
|
4187
|
-
capabilities: Record<string,
|
|
3667
|
+
capabilities: Record<string, FeedOwnCapability[]>;
|
|
4188
3668
|
}
|
|
4189
3669
|
|
|
4190
3670
|
export interface OwnUser {
|
|
@@ -4624,12 +4104,16 @@ export interface PollVotesResponse {
|
|
|
4624
4104
|
}
|
|
4625
4105
|
|
|
4626
4106
|
export interface PrivacySettings {
|
|
4107
|
+
delivery_receipts?: DeliveryReceipts;
|
|
4108
|
+
|
|
4627
4109
|
read_receipts?: ReadReceipts;
|
|
4628
4110
|
|
|
4629
4111
|
typing_indicators?: TypingIndicators;
|
|
4630
4112
|
}
|
|
4631
4113
|
|
|
4632
4114
|
export interface PrivacySettingsResponse {
|
|
4115
|
+
delivery_receipts?: DeliveryReceiptsResponse;
|
|
4116
|
+
|
|
4633
4117
|
read_receipts?: ReadReceiptsResponse;
|
|
4634
4118
|
|
|
4635
4119
|
typing_indicators?: TypingIndicatorsResponse;
|
|
@@ -4671,20 +4155,6 @@ export interface PushPreferences {
|
|
|
4671
4155
|
feeds_preferences?: FeedsPreferences;
|
|
4672
4156
|
}
|
|
4673
4157
|
|
|
4674
|
-
export interface Quality {
|
|
4675
|
-
bitdepth?: number;
|
|
4676
|
-
|
|
4677
|
-
framerate?: number;
|
|
4678
|
-
|
|
4679
|
-
height?: number;
|
|
4680
|
-
|
|
4681
|
-
name?: string;
|
|
4682
|
-
|
|
4683
|
-
video_bitrate?: number;
|
|
4684
|
-
|
|
4685
|
-
width?: number;
|
|
4686
|
-
}
|
|
4687
|
-
|
|
4688
4158
|
export interface QueryActivitiesRequest {
|
|
4689
4159
|
limit?: number;
|
|
4690
4160
|
|
|
@@ -4995,36 +4465,10 @@ export interface QueryUsersResponse {
|
|
|
4995
4465
|
users: FullUserResponse[];
|
|
4996
4466
|
}
|
|
4997
4467
|
|
|
4998
|
-
export interface RTMPEgressConfig {
|
|
4999
|
-
rtmp_location?: string;
|
|
5000
|
-
|
|
5001
|
-
composite_app_settings?: CompositeAppSettings;
|
|
5002
|
-
|
|
5003
|
-
quality?: Quality;
|
|
5004
|
-
}
|
|
5005
|
-
|
|
5006
4468
|
export interface RTMPIngress {
|
|
5007
4469
|
address: string;
|
|
5008
4470
|
}
|
|
5009
4471
|
|
|
5010
|
-
export interface RTMPLocation {
|
|
5011
|
-
name: string;
|
|
5012
|
-
|
|
5013
|
-
stream_key: string;
|
|
5014
|
-
|
|
5015
|
-
stream_url: string;
|
|
5016
|
-
}
|
|
5017
|
-
|
|
5018
|
-
export interface RTMPSettings {
|
|
5019
|
-
enabled: boolean;
|
|
5020
|
-
|
|
5021
|
-
quality_name?: string;
|
|
5022
|
-
|
|
5023
|
-
layout?: LayoutSettings;
|
|
5024
|
-
|
|
5025
|
-
location?: RTMPLocation;
|
|
5026
|
-
}
|
|
5027
|
-
|
|
5028
4472
|
export interface RTMPSettingsResponse {
|
|
5029
4473
|
enabled: boolean;
|
|
5030
4474
|
|
|
@@ -5095,16 +4539,6 @@ export interface ReadReceiptsResponse {
|
|
|
5095
4539
|
enabled: boolean;
|
|
5096
4540
|
}
|
|
5097
4541
|
|
|
5098
|
-
export interface RecordSettings {
|
|
5099
|
-
mode: string;
|
|
5100
|
-
|
|
5101
|
-
audio_only?: boolean;
|
|
5102
|
-
|
|
5103
|
-
quality?: string;
|
|
5104
|
-
|
|
5105
|
-
layout?: LayoutSettings;
|
|
5106
|
-
}
|
|
5107
|
-
|
|
5108
4542
|
export interface RecordSettingsResponse {
|
|
5109
4543
|
audio_only: boolean;
|
|
5110
4544
|
|
|
@@ -5113,20 +4547,6 @@ export interface RecordSettingsResponse {
|
|
|
5113
4547
|
quality: string;
|
|
5114
4548
|
}
|
|
5115
4549
|
|
|
5116
|
-
export interface RecordingEgressConfig {
|
|
5117
|
-
audio_only?: boolean;
|
|
5118
|
-
|
|
5119
|
-
storage_name?: string;
|
|
5120
|
-
|
|
5121
|
-
composite_app_settings?: CompositeAppSettings;
|
|
5122
|
-
|
|
5123
|
-
external_storage?: ExternalStorage;
|
|
5124
|
-
|
|
5125
|
-
quality?: Quality;
|
|
5126
|
-
|
|
5127
|
-
video_orientation_hint?: VideoOrientation;
|
|
5128
|
-
}
|
|
5129
|
-
|
|
5130
4550
|
export interface RejectFeedMemberInviteRequest {}
|
|
5131
4551
|
|
|
5132
4552
|
export interface RejectFeedMemberInviteResponse {
|
|
@@ -5183,84 +4603,6 @@ export interface Response {
|
|
|
5183
4603
|
|
|
5184
4604
|
export interface RestoreActionRequest {}
|
|
5185
4605
|
|
|
5186
|
-
export interface ReviewQueueItem {
|
|
5187
|
-
ai_text_severity: string;
|
|
5188
|
-
|
|
5189
|
-
bounce_count: number;
|
|
5190
|
-
|
|
5191
|
-
config_key: string;
|
|
5192
|
-
|
|
5193
|
-
content_changed: boolean;
|
|
5194
|
-
|
|
5195
|
-
created_at: Date;
|
|
5196
|
-
|
|
5197
|
-
entity_id: string;
|
|
5198
|
-
|
|
5199
|
-
entity_type: string;
|
|
5200
|
-
|
|
5201
|
-
flags_count: number;
|
|
5202
|
-
|
|
5203
|
-
has_image: boolean;
|
|
5204
|
-
|
|
5205
|
-
has_text: boolean;
|
|
5206
|
-
|
|
5207
|
-
has_video: boolean;
|
|
5208
|
-
|
|
5209
|
-
id: string;
|
|
5210
|
-
|
|
5211
|
-
moderation_payload_hash: string;
|
|
5212
|
-
|
|
5213
|
-
recommended_action: string;
|
|
5214
|
-
|
|
5215
|
-
reviewed_by: string;
|
|
5216
|
-
|
|
5217
|
-
severity: number;
|
|
5218
|
-
|
|
5219
|
-
status: string;
|
|
5220
|
-
|
|
5221
|
-
updated_at: Date;
|
|
5222
|
-
|
|
5223
|
-
actions: ActionLog[];
|
|
5224
|
-
|
|
5225
|
-
bans: Ban[];
|
|
5226
|
-
|
|
5227
|
-
flag_labels: string[];
|
|
5228
|
-
|
|
5229
|
-
flag_types: string[];
|
|
5230
|
-
|
|
5231
|
-
flags: Flag[];
|
|
5232
|
-
|
|
5233
|
-
languages: string[];
|
|
5234
|
-
|
|
5235
|
-
reporter_ids: string[];
|
|
5236
|
-
|
|
5237
|
-
teams: string[];
|
|
5238
|
-
|
|
5239
|
-
archived_at: NullTime;
|
|
5240
|
-
|
|
5241
|
-
completed_at: NullTime;
|
|
5242
|
-
|
|
5243
|
-
reviewed_at: NullTime;
|
|
5244
|
-
|
|
5245
|
-
activity?: EnrichedActivity;
|
|
5246
|
-
|
|
5247
|
-
assigned_to?: User;
|
|
5248
|
-
|
|
5249
|
-
call?: Call;
|
|
5250
|
-
|
|
5251
|
-
entity_creator?: EntityCreator;
|
|
5252
|
-
|
|
5253
|
-
feeds_v2_activity?: EnrichedActivity;
|
|
5254
|
-
|
|
5255
|
-
feeds_v2_reaction?: Reaction;
|
|
5256
|
-
|
|
5257
|
-
message?: Message;
|
|
5258
|
-
|
|
5259
|
-
moderation_payload?: ModerationPayload;
|
|
5260
|
-
|
|
5261
|
-
reaction?: Reaction;
|
|
5262
|
-
}
|
|
5263
|
-
|
|
5264
4606
|
export interface ReviewQueueItemResponse {
|
|
5265
4607
|
ai_text_severity: string;
|
|
5266
4608
|
|
|
@@ -5321,14 +4663,6 @@ export interface ReviewQueueItemResponse {
|
|
|
5321
4663
|
reaction?: Reaction;
|
|
5322
4664
|
}
|
|
5323
4665
|
|
|
5324
|
-
export interface RingSettings {
|
|
5325
|
-
auto_cancel_timeout_ms: number;
|
|
5326
|
-
|
|
5327
|
-
incoming_call_timeout_ms: number;
|
|
5328
|
-
|
|
5329
|
-
missed_call_timeout_ms: number;
|
|
5330
|
-
}
|
|
5331
|
-
|
|
5332
4666
|
export interface RingSettingsResponse {
|
|
5333
4667
|
auto_cancel_timeout_ms: number;
|
|
5334
4668
|
|
|
@@ -5338,7 +4672,15 @@ export interface RingSettingsResponse {
|
|
|
5338
4672
|
}
|
|
5339
4673
|
|
|
5340
4674
|
export interface RuleBuilderAction {
|
|
5341
|
-
type
|
|
4675
|
+
type:
|
|
4676
|
+
| 'ban_user'
|
|
4677
|
+
| 'flag_user'
|
|
4678
|
+
| 'flag_content'
|
|
4679
|
+
| 'block_content'
|
|
4680
|
+
| 'shadow_content'
|
|
4681
|
+
| 'bounce_flag_content'
|
|
4682
|
+
| 'bounce_content'
|
|
4683
|
+
| 'bounce_remove_content';
|
|
5342
4684
|
|
|
5343
4685
|
ban_options?: BanOptions;
|
|
5344
4686
|
|
|
@@ -5399,46 +4741,10 @@ export interface RuleBuilderRule {
|
|
|
5399
4741
|
groups?: RuleBuilderConditionGroup[];
|
|
5400
4742
|
}
|
|
5401
4743
|
|
|
5402
|
-
export interface SFUIDLastSeen {
|
|
5403
|
-
id: string;
|
|
5404
|
-
|
|
5405
|
-
last_seen: Date;
|
|
5406
|
-
|
|
5407
|
-
process_start_time: number;
|
|
5408
|
-
}
|
|
5409
|
-
|
|
5410
4744
|
export interface SRTIngress {
|
|
5411
4745
|
address: string;
|
|
5412
4746
|
}
|
|
5413
4747
|
|
|
5414
|
-
export interface STTEgressConfig {
|
|
5415
|
-
closed_captions_enabled?: boolean;
|
|
5416
|
-
|
|
5417
|
-
language?: string;
|
|
5418
|
-
|
|
5419
|
-
storage_name?: string;
|
|
5420
|
-
|
|
5421
|
-
translations_enabled?: boolean;
|
|
5422
|
-
|
|
5423
|
-
upload_transcriptions?: boolean;
|
|
5424
|
-
|
|
5425
|
-
whisper_server_base_url?: string;
|
|
5426
|
-
|
|
5427
|
-
translation_languages?: string[];
|
|
5428
|
-
|
|
5429
|
-
external_storage?: ExternalStorage;
|
|
5430
|
-
|
|
5431
|
-
speech_segment_config?: SpeechSegmentConfig;
|
|
5432
|
-
}
|
|
5433
|
-
|
|
5434
|
-
export interface ScreensharingSettings {
|
|
5435
|
-
access_request_enabled: boolean;
|
|
5436
|
-
|
|
5437
|
-
enabled: boolean;
|
|
5438
|
-
|
|
5439
|
-
target_resolution?: TargetResolution;
|
|
5440
|
-
}
|
|
5441
|
-
|
|
5442
4748
|
export interface ScreensharingSettingsResponse {
|
|
5443
4749
|
access_request_enabled: boolean;
|
|
5444
4750
|
|
|
@@ -5447,10 +4753,6 @@ export interface ScreensharingSettingsResponse {
|
|
|
5447
4753
|
target_resolution?: TargetResolution;
|
|
5448
4754
|
}
|
|
5449
4755
|
|
|
5450
|
-
export interface SessionSettings {
|
|
5451
|
-
inactivity_timeout_seconds: number;
|
|
5452
|
-
}
|
|
5453
|
-
|
|
5454
4756
|
export interface SessionSettingsResponse {
|
|
5455
4757
|
inactivity_timeout_seconds: number;
|
|
5456
4758
|
}
|
|
@@ -5580,6 +4882,8 @@ export interface StoriesFeedUpdatedEvent {
|
|
|
5580
4882
|
|
|
5581
4883
|
received_at?: Date;
|
|
5582
4884
|
|
|
4885
|
+
activities?: ActivityResponse[];
|
|
4886
|
+
|
|
5583
4887
|
aggregated_activities?: AggregatedActivityResponse[];
|
|
5584
4888
|
|
|
5585
4889
|
user?: UserResponseCommonFields;
|
|
@@ -5729,65 +5033,12 @@ export interface ThumbnailResponse {
|
|
|
5729
5033
|
image_url: string;
|
|
5730
5034
|
}
|
|
5731
5035
|
|
|
5732
|
-
export interface ThumbnailsSettings {
|
|
5733
|
-
enabled: boolean;
|
|
5734
|
-
}
|
|
5735
|
-
|
|
5736
5036
|
export interface ThumbnailsSettingsResponse {
|
|
5737
5037
|
enabled: boolean;
|
|
5738
5038
|
}
|
|
5739
5039
|
|
|
5740
5040
|
export interface Time {}
|
|
5741
5041
|
|
|
5742
|
-
export interface TranscriptionSettings {
|
|
5743
|
-
closed_caption_mode: 'available' | 'disabled' | 'auto-on';
|
|
5744
|
-
|
|
5745
|
-
language:
|
|
5746
|
-
| 'auto'
|
|
5747
|
-
| 'en'
|
|
5748
|
-
| 'fr'
|
|
5749
|
-
| 'es'
|
|
5750
|
-
| 'de'
|
|
5751
|
-
| 'it'
|
|
5752
|
-
| 'nl'
|
|
5753
|
-
| 'pt'
|
|
5754
|
-
| 'pl'
|
|
5755
|
-
| 'ca'
|
|
5756
|
-
| 'cs'
|
|
5757
|
-
| 'da'
|
|
5758
|
-
| 'el'
|
|
5759
|
-
| 'fi'
|
|
5760
|
-
| 'id'
|
|
5761
|
-
| 'ja'
|
|
5762
|
-
| 'ru'
|
|
5763
|
-
| 'sv'
|
|
5764
|
-
| 'ta'
|
|
5765
|
-
| 'th'
|
|
5766
|
-
| 'tr'
|
|
5767
|
-
| 'hu'
|
|
5768
|
-
| 'ro'
|
|
5769
|
-
| 'zh'
|
|
5770
|
-
| 'ar'
|
|
5771
|
-
| 'tl'
|
|
5772
|
-
| 'he'
|
|
5773
|
-
| 'hi'
|
|
5774
|
-
| 'hr'
|
|
5775
|
-
| 'ko'
|
|
5776
|
-
| 'ms'
|
|
5777
|
-
| 'no'
|
|
5778
|
-
| 'uk'
|
|
5779
|
-
| 'bg'
|
|
5780
|
-
| 'et'
|
|
5781
|
-
| 'sl'
|
|
5782
|
-
| 'sk';
|
|
5783
|
-
|
|
5784
|
-
mode: 'available' | 'disabled' | 'auto-on';
|
|
5785
|
-
|
|
5786
|
-
speech_segment_config?: SpeechSegmentConfig;
|
|
5787
|
-
|
|
5788
|
-
translation?: TranslationSettings;
|
|
5789
|
-
}
|
|
5790
|
-
|
|
5791
5042
|
export interface TranscriptionSettingsResponse {
|
|
5792
5043
|
closed_caption_mode: 'available' | 'disabled' | 'auto-on';
|
|
5793
5044
|
|
|
@@ -5920,6 +5171,10 @@ export interface UpdateActivityResponse {
|
|
|
5920
5171
|
}
|
|
5921
5172
|
|
|
5922
5173
|
export interface UpdateBlockListRequest {
|
|
5174
|
+
is_leet_check_enabled?: boolean;
|
|
5175
|
+
|
|
5176
|
+
is_plural_check_enabled?: boolean;
|
|
5177
|
+
|
|
5923
5178
|
team?: string;
|
|
5924
5179
|
|
|
5925
5180
|
words?: string[];
|
|
@@ -6506,10 +5761,6 @@ export interface VideoEndCallRequest {}
|
|
|
6506
5761
|
|
|
6507
5762
|
export interface VideoKickUserRequest {}
|
|
6508
5763
|
|
|
6509
|
-
export interface VideoOrientation {
|
|
6510
|
-
orientation?: number;
|
|
6511
|
-
}
|
|
6512
|
-
|
|
6513
5764
|
export interface VideoRuleParameters {
|
|
6514
5765
|
threshold?: number;
|
|
6515
5766
|
|
|
@@ -6518,18 +5769,6 @@ export interface VideoRuleParameters {
|
|
|
6518
5769
|
harm_labels?: string[];
|
|
6519
5770
|
}
|
|
6520
5771
|
|
|
6521
|
-
export interface VideoSettings {
|
|
6522
|
-
access_request_enabled: boolean;
|
|
6523
|
-
|
|
6524
|
-
camera_default_on: boolean;
|
|
6525
|
-
|
|
6526
|
-
camera_facing: 'front' | 'back' | 'external';
|
|
6527
|
-
|
|
6528
|
-
enabled: boolean;
|
|
6529
|
-
|
|
6530
|
-
target_resolution: TargetResolution;
|
|
6531
|
-
}
|
|
6532
|
-
|
|
6533
5772
|
export interface VideoSettingsResponse {
|
|
6534
5773
|
access_request_enabled: boolean;
|
|
6535
5774
|
|
|
@@ -6605,6 +5844,8 @@ export type WSClientEvent =
|
|
|
6605
5844
|
| ({ type: 'feeds.poll.vote_removed' } & PollVoteRemovedFeedEvent)
|
|
6606
5845
|
| ({ type: 'feeds.stories_feed.updated' } & StoriesFeedUpdatedEvent)
|
|
6607
5846
|
| ({ type: 'health.check' } & HealthCheckEvent)
|
|
5847
|
+
| ({ type: 'moderation.custom_action' } & ModerationCustomActionEvent)
|
|
5848
|
+
| ({ type: 'moderation.mark_reviewed' } & ModerationMarkReviewedEvent)
|
|
6608
5849
|
| ({ type: 'user.updated' } & UserUpdatedEvent);
|
|
6609
5850
|
|
|
6610
5851
|
export type WSEvent =
|