@stream-io/node-sdk 0.4.23 → 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 +307 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +307 -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 +458 -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 +820 -12
- package/src/gen/moderation/ModerationApi.ts +49 -0
|
@@ -41,18 +41,22 @@ export interface APNConfig {
|
|
|
41
41
|
export interface APNConfigFields {
|
|
42
42
|
development: boolean;
|
|
43
43
|
enabled: boolean;
|
|
44
|
-
notification_template: string;
|
|
45
44
|
auth_key?: string;
|
|
46
45
|
auth_type?: string;
|
|
47
46
|
bundle_id?: string;
|
|
48
47
|
host?: string;
|
|
49
48
|
key_id?: string;
|
|
49
|
+
notification_template?: string;
|
|
50
50
|
p12_cert?: string;
|
|
51
51
|
team_id?: string;
|
|
52
52
|
}
|
|
53
53
|
export interface APNS {
|
|
54
54
|
body: string;
|
|
55
55
|
title: string;
|
|
56
|
+
content_available?: number;
|
|
57
|
+
mutable_content?: number;
|
|
58
|
+
sound?: string;
|
|
59
|
+
data?: Record<string, any>;
|
|
56
60
|
}
|
|
57
61
|
export interface AWSRekognitionRule {
|
|
58
62
|
action: 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
|
|
@@ -91,6 +95,15 @@ export interface ActionLogResponse {
|
|
|
91
95
|
target_user?: UserResponse;
|
|
92
96
|
user?: UserResponse;
|
|
93
97
|
}
|
|
98
|
+
export interface ActionSequence {
|
|
99
|
+
action: string;
|
|
100
|
+
blur: boolean;
|
|
101
|
+
cooldown_period: number;
|
|
102
|
+
threshold: number;
|
|
103
|
+
time_window: number;
|
|
104
|
+
warning: boolean;
|
|
105
|
+
warning_text: string;
|
|
106
|
+
}
|
|
94
107
|
export interface AnyEvent {
|
|
95
108
|
created_at: Date;
|
|
96
109
|
type: string;
|
|
@@ -122,7 +135,9 @@ export interface AppResponseFields {
|
|
|
122
135
|
sqs_url: string;
|
|
123
136
|
suspended: boolean;
|
|
124
137
|
suspended_explanation: string;
|
|
138
|
+
use_hook_v2: boolean;
|
|
125
139
|
webhook_url: string;
|
|
140
|
+
event_hooks: EventHook[];
|
|
126
141
|
user_search_disallowed_roles: string[];
|
|
127
142
|
webhook_events: string[];
|
|
128
143
|
call_types: Record<string, CallType>;
|
|
@@ -138,6 +153,17 @@ export interface AppResponseFields {
|
|
|
138
153
|
geofences?: GeofenceResponse[];
|
|
139
154
|
image_moderation_labels?: string[];
|
|
140
155
|
datadog_info?: DataDogInfo;
|
|
156
|
+
moderation_dashboard_preferences?: ModerationDashboardPreferences;
|
|
157
|
+
}
|
|
158
|
+
export interface AsyncBulkImageModerationEvent {
|
|
159
|
+
created_at: Date;
|
|
160
|
+
finished_at: Date;
|
|
161
|
+
started_at: Date;
|
|
162
|
+
task_id: string;
|
|
163
|
+
url: string;
|
|
164
|
+
custom: Record<string, any>;
|
|
165
|
+
type: string;
|
|
166
|
+
received_at?: Date;
|
|
141
167
|
}
|
|
142
168
|
export interface AsyncExportChannelsEvent {
|
|
143
169
|
created_at: Date;
|
|
@@ -302,6 +328,7 @@ export interface Ban {
|
|
|
302
328
|
}
|
|
303
329
|
export interface BanActionRequest {
|
|
304
330
|
channel_ban_only?: boolean;
|
|
331
|
+
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
305
332
|
ip_ban?: boolean;
|
|
306
333
|
reason?: string;
|
|
307
334
|
shadow?: boolean;
|
|
@@ -311,6 +338,7 @@ export interface BanRequest {
|
|
|
311
338
|
target_user_id: string;
|
|
312
339
|
banned_by_id?: string;
|
|
313
340
|
channel_cid?: string;
|
|
341
|
+
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
314
342
|
ip_ban?: boolean;
|
|
315
343
|
reason?: string;
|
|
316
344
|
shadow?: boolean;
|
|
@@ -345,7 +373,7 @@ export interface BlockListResponse {
|
|
|
345
373
|
updated_at?: Date;
|
|
346
374
|
}
|
|
347
375
|
export interface BlockListRule {
|
|
348
|
-
action: 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
|
|
376
|
+
action: 'flag' | 'mask_flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
|
|
349
377
|
name: string;
|
|
350
378
|
team: string;
|
|
351
379
|
}
|
|
@@ -412,6 +440,46 @@ export interface BrowserDataResponse {
|
|
|
412
440
|
name?: string;
|
|
413
441
|
version?: string;
|
|
414
442
|
}
|
|
443
|
+
export interface BulkImageModerationRequest {
|
|
444
|
+
csv_file: string;
|
|
445
|
+
}
|
|
446
|
+
export interface BulkImageModerationResponse {
|
|
447
|
+
duration: string;
|
|
448
|
+
task_id: string;
|
|
449
|
+
}
|
|
450
|
+
export interface Call {
|
|
451
|
+
app_pk: number;
|
|
452
|
+
backstage: boolean;
|
|
453
|
+
channel_cid: string;
|
|
454
|
+
cid: string;
|
|
455
|
+
created_at: Date;
|
|
456
|
+
created_by_user_id: string;
|
|
457
|
+
current_session_id: string;
|
|
458
|
+
id: string;
|
|
459
|
+
last_session_id: string;
|
|
460
|
+
team: string;
|
|
461
|
+
thumbnail_url: string;
|
|
462
|
+
type: string;
|
|
463
|
+
updated_at: Date;
|
|
464
|
+
blocked_user_i_ds: string[];
|
|
465
|
+
blocked_users: User[];
|
|
466
|
+
egresses: CallEgress[];
|
|
467
|
+
members: CallMember[];
|
|
468
|
+
custom: Record<string, any>;
|
|
469
|
+
deleted_at?: Date;
|
|
470
|
+
egress_updated_at?: Date;
|
|
471
|
+
ended_at?: Date;
|
|
472
|
+
join_ahead_time_seconds?: number;
|
|
473
|
+
last_heartbeat_at?: Date;
|
|
474
|
+
member_count?: number;
|
|
475
|
+
starts_at?: Date;
|
|
476
|
+
call_type?: CallType;
|
|
477
|
+
created_by?: User;
|
|
478
|
+
member_lookup?: MemberLookup;
|
|
479
|
+
session?: CallSession;
|
|
480
|
+
settings?: CallSettings;
|
|
481
|
+
settings_overrides?: CallSettings;
|
|
482
|
+
}
|
|
415
483
|
export interface CallAcceptedEvent {
|
|
416
484
|
call_cid: string;
|
|
417
485
|
created_at: Date;
|
|
@@ -460,11 +528,25 @@ export interface CallDurationReport {
|
|
|
460
528
|
export interface CallDurationReportResponse {
|
|
461
529
|
daily: DailyAggregateCallDurationReportResponse[];
|
|
462
530
|
}
|
|
531
|
+
export interface CallEgress {
|
|
532
|
+
app_pk: number;
|
|
533
|
+
call_id: string;
|
|
534
|
+
call_type: string;
|
|
535
|
+
egress_id: string;
|
|
536
|
+
egress_type: string;
|
|
537
|
+
instance_ip: string;
|
|
538
|
+
started_at: Date;
|
|
539
|
+
state: string;
|
|
540
|
+
updated_at: Date;
|
|
541
|
+
stopped_at?: Date;
|
|
542
|
+
config?: EgressTaskConfig;
|
|
543
|
+
}
|
|
463
544
|
export interface CallEndedEvent {
|
|
464
545
|
call_cid: string;
|
|
465
546
|
created_at: Date;
|
|
466
547
|
call: CallResponse;
|
|
467
548
|
type: string;
|
|
549
|
+
reason?: string;
|
|
468
550
|
user?: UserResponse;
|
|
469
551
|
}
|
|
470
552
|
export interface CallFrameRecordingFailedEvent {
|
|
@@ -525,6 +607,15 @@ export interface CallLiveStartedEvent {
|
|
|
525
607
|
call: CallResponse;
|
|
526
608
|
type: string;
|
|
527
609
|
}
|
|
610
|
+
export interface CallMember {
|
|
611
|
+
created_at: Date;
|
|
612
|
+
role: string;
|
|
613
|
+
updated_at: Date;
|
|
614
|
+
user_id: string;
|
|
615
|
+
custom: Record<string, any>;
|
|
616
|
+
deleted_at?: Date;
|
|
617
|
+
user?: User;
|
|
618
|
+
}
|
|
528
619
|
export interface CallMemberAddedEvent {
|
|
529
620
|
call_cid: string;
|
|
530
621
|
created_at: Date;
|
|
@@ -564,6 +655,21 @@ export interface CallMissedEvent {
|
|
|
564
655
|
user: UserResponse;
|
|
565
656
|
type: string;
|
|
566
657
|
}
|
|
658
|
+
export interface CallModerationBlurEvent {
|
|
659
|
+
call_cid: string;
|
|
660
|
+
created_at: Date;
|
|
661
|
+
user_id: string;
|
|
662
|
+
custom: Record<string, any>;
|
|
663
|
+
type: string;
|
|
664
|
+
}
|
|
665
|
+
export interface CallModerationWarningEvent {
|
|
666
|
+
call_cid: string;
|
|
667
|
+
created_at: Date;
|
|
668
|
+
message: string;
|
|
669
|
+
user_id: string;
|
|
670
|
+
custom: Record<string, any>;
|
|
671
|
+
type: string;
|
|
672
|
+
}
|
|
567
673
|
export interface CallNotificationEvent {
|
|
568
674
|
call_cid: string;
|
|
569
675
|
created_at: Date;
|
|
@@ -573,6 +679,28 @@ export interface CallNotificationEvent {
|
|
|
573
679
|
user: UserResponse;
|
|
574
680
|
type: string;
|
|
575
681
|
}
|
|
682
|
+
export interface CallParticipant {
|
|
683
|
+
banned: boolean;
|
|
684
|
+
id: string;
|
|
685
|
+
joined_at: Date;
|
|
686
|
+
online: boolean;
|
|
687
|
+
role: string;
|
|
688
|
+
user_session_id: string;
|
|
689
|
+
custom: Record<string, any>;
|
|
690
|
+
teams_role: Record<string, string>;
|
|
691
|
+
ban_expires?: Date;
|
|
692
|
+
created_at?: Date;
|
|
693
|
+
deactivated_at?: Date;
|
|
694
|
+
deleted_at?: Date;
|
|
695
|
+
invisible?: boolean;
|
|
696
|
+
language?: string;
|
|
697
|
+
last_active?: Date;
|
|
698
|
+
last_engaged_at?: Date;
|
|
699
|
+
revoke_tokens_issued_before?: Date;
|
|
700
|
+
updated_at?: Date;
|
|
701
|
+
teams?: string[];
|
|
702
|
+
privacy_settings?: PrivacySettings;
|
|
703
|
+
}
|
|
576
704
|
export interface CallParticipantCountReport {
|
|
577
705
|
histogram: ReportByHistogramBucket[];
|
|
578
706
|
}
|
|
@@ -700,6 +828,29 @@ export interface CallRtmpBroadcastStoppedEvent {
|
|
|
700
828
|
name: string;
|
|
701
829
|
type: string;
|
|
702
830
|
}
|
|
831
|
+
export interface CallSession {
|
|
832
|
+
anonymous_participant_count: number;
|
|
833
|
+
app_pk: number;
|
|
834
|
+
call_id: string;
|
|
835
|
+
call_type: string;
|
|
836
|
+
created_at: Date;
|
|
837
|
+
session_id: string;
|
|
838
|
+
active_sf_us: SFUIDLastSeen[];
|
|
839
|
+
participants: CallParticipant[];
|
|
840
|
+
sfui_ds: string[];
|
|
841
|
+
accepted_by: Record<string, Date>;
|
|
842
|
+
missed_by: Record<string, Date>;
|
|
843
|
+
participants_count_by_role: Record<string, number>;
|
|
844
|
+
rejected_by: Record<string, Date>;
|
|
845
|
+
user_permission_overrides: Record<string, Record<string, boolean>>;
|
|
846
|
+
deleted_at?: Date;
|
|
847
|
+
ended_at?: Date;
|
|
848
|
+
live_ended_at?: Date;
|
|
849
|
+
live_started_at?: Date;
|
|
850
|
+
ring_at?: Date;
|
|
851
|
+
started_at?: Date;
|
|
852
|
+
timer_ends_at?: Date;
|
|
853
|
+
}
|
|
703
854
|
export interface CallSessionEndedEvent {
|
|
704
855
|
call_cid: string;
|
|
705
856
|
created_at: Date;
|
|
@@ -812,6 +963,7 @@ export interface CallStatsReportSummaryResponse {
|
|
|
812
963
|
export interface CallTranscription {
|
|
813
964
|
end_time: Date;
|
|
814
965
|
filename: string;
|
|
966
|
+
session_id: string;
|
|
815
967
|
start_time: Date;
|
|
816
968
|
url: string;
|
|
817
969
|
}
|
|
@@ -820,6 +972,7 @@ export interface CallTranscriptionFailedEvent {
|
|
|
820
972
|
created_at: Date;
|
|
821
973
|
egress_id: string;
|
|
822
974
|
type: string;
|
|
975
|
+
error?: string;
|
|
823
976
|
}
|
|
824
977
|
export interface CallTranscriptionReadyEvent {
|
|
825
978
|
call_cid: string;
|
|
@@ -843,7 +996,6 @@ export interface CallTranscriptionStoppedEvent {
|
|
|
843
996
|
export interface CallType {
|
|
844
997
|
app_pk: number;
|
|
845
998
|
created_at: Date;
|
|
846
|
-
enable_live_insights: boolean;
|
|
847
999
|
external_storage: string;
|
|
848
1000
|
name: string;
|
|
849
1001
|
pk: number;
|
|
@@ -1004,11 +1156,12 @@ export interface ChannelConfig {
|
|
|
1004
1156
|
updated_at: Date;
|
|
1005
1157
|
uploads: boolean;
|
|
1006
1158
|
url_enrichment: boolean;
|
|
1159
|
+
user_message_reminders: boolean;
|
|
1007
1160
|
commands: string[];
|
|
1008
1161
|
blocklist?: string;
|
|
1009
1162
|
blocklist_behavior?: 'flag' | 'block' | 'shadow_block';
|
|
1010
1163
|
partition_size?: number;
|
|
1011
|
-
partition_ttl?:
|
|
1164
|
+
partition_ttl?: number;
|
|
1012
1165
|
allowed_flag_reasons?: string[];
|
|
1013
1166
|
blocklists?: BlockListOptions[];
|
|
1014
1167
|
automod_thresholds?: Thresholds;
|
|
@@ -1036,6 +1189,7 @@ export interface ChannelConfigWithInfo {
|
|
|
1036
1189
|
updated_at: Date;
|
|
1037
1190
|
uploads: boolean;
|
|
1038
1191
|
url_enrichment: boolean;
|
|
1192
|
+
user_message_reminders: boolean;
|
|
1039
1193
|
commands: Command[];
|
|
1040
1194
|
blocklist?: string;
|
|
1041
1195
|
blocklist_behavior?: 'flag' | 'block' | 'shadow_block';
|
|
@@ -1300,6 +1454,7 @@ export interface ChannelTypeConfig {
|
|
|
1300
1454
|
updated_at: Date;
|
|
1301
1455
|
uploads: boolean;
|
|
1302
1456
|
url_enrichment: boolean;
|
|
1457
|
+
user_message_reminders: boolean;
|
|
1303
1458
|
commands: Command[];
|
|
1304
1459
|
permissions: PolicyRequest[];
|
|
1305
1460
|
grants: Record<string, string[]>;
|
|
@@ -1351,6 +1506,7 @@ export interface CheckExternalStorageResponse {
|
|
|
1351
1506
|
}
|
|
1352
1507
|
export interface CheckPushRequest {
|
|
1353
1508
|
apn_template?: string;
|
|
1509
|
+
event_type?: 'message.new' | 'message.updated' | 'reaction.new' | 'reaction.updated' | 'notification.reminder_due';
|
|
1354
1510
|
firebase_data_template?: string;
|
|
1355
1511
|
firebase_template?: string;
|
|
1356
1512
|
message_id?: string;
|
|
@@ -1362,6 +1518,7 @@ export interface CheckPushRequest {
|
|
|
1362
1518
|
}
|
|
1363
1519
|
export interface CheckPushResponse {
|
|
1364
1520
|
duration: string;
|
|
1521
|
+
event_type?: string;
|
|
1365
1522
|
rendered_apn_template?: string;
|
|
1366
1523
|
rendered_firebase_template?: string;
|
|
1367
1524
|
skip_devices?: boolean;
|
|
@@ -1442,6 +1599,10 @@ export interface Command {
|
|
|
1442
1599
|
}
|
|
1443
1600
|
export interface CommitMessageRequest {
|
|
1444
1601
|
}
|
|
1602
|
+
export interface CompositeAppSettings {
|
|
1603
|
+
json_encoded_settings?: string;
|
|
1604
|
+
url?: string;
|
|
1605
|
+
}
|
|
1445
1606
|
export interface ConfigOverrides {
|
|
1446
1607
|
commands: string[];
|
|
1447
1608
|
grants: Record<string, string[]>;
|
|
@@ -1454,6 +1615,7 @@ export interface ConfigOverrides {
|
|
|
1454
1615
|
typing_events?: boolean;
|
|
1455
1616
|
uploads?: boolean;
|
|
1456
1617
|
url_enrichment?: boolean;
|
|
1618
|
+
user_message_reminders?: boolean;
|
|
1457
1619
|
}
|
|
1458
1620
|
export interface ConfigResponse {
|
|
1459
1621
|
async: boolean;
|
|
@@ -1469,6 +1631,7 @@ export interface ConfigResponse {
|
|
|
1469
1631
|
automod_toxicity_config?: AutomodToxicityConfig;
|
|
1470
1632
|
block_list_config?: BlockListConfig;
|
|
1471
1633
|
velocity_filter_config?: VelocityFilterConfig;
|
|
1634
|
+
video_call_rule_config?: VideoCallRuleConfig;
|
|
1472
1635
|
}
|
|
1473
1636
|
export interface CountByMinuteResponse {
|
|
1474
1637
|
count: number;
|
|
@@ -1525,6 +1688,7 @@ export interface CreateChannelTypeRequest {
|
|
|
1525
1688
|
typing_events?: boolean;
|
|
1526
1689
|
uploads?: boolean;
|
|
1527
1690
|
url_enrichment?: boolean;
|
|
1691
|
+
user_message_reminders?: boolean;
|
|
1528
1692
|
blocklists?: BlockListOptions[];
|
|
1529
1693
|
commands?: string[];
|
|
1530
1694
|
permissions?: PolicyRequest[];
|
|
@@ -1554,6 +1718,7 @@ export interface CreateChannelTypeResponse {
|
|
|
1554
1718
|
updated_at: Date;
|
|
1555
1719
|
uploads: boolean;
|
|
1556
1720
|
url_enrichment: boolean;
|
|
1721
|
+
user_message_reminders: boolean;
|
|
1557
1722
|
commands: string[];
|
|
1558
1723
|
permissions: PolicyRequest[];
|
|
1559
1724
|
grants: Record<string, string[]>;
|
|
@@ -1641,6 +1806,11 @@ export interface CreatePollRequest {
|
|
|
1641
1806
|
custom?: Record<string, any>;
|
|
1642
1807
|
user?: UserRequest;
|
|
1643
1808
|
}
|
|
1809
|
+
export interface CreateReminderRequest {
|
|
1810
|
+
remind_at?: Date;
|
|
1811
|
+
user_id?: string;
|
|
1812
|
+
user?: UserRequest;
|
|
1813
|
+
}
|
|
1644
1814
|
export interface CreateRoleRequest {
|
|
1645
1815
|
name: string;
|
|
1646
1816
|
}
|
|
@@ -1789,6 +1959,9 @@ export interface DeleteReactionResponse {
|
|
|
1789
1959
|
export interface DeleteRecordingResponse {
|
|
1790
1960
|
duration: string;
|
|
1791
1961
|
}
|
|
1962
|
+
export interface DeleteReminderResponse {
|
|
1963
|
+
duration: string;
|
|
1964
|
+
}
|
|
1792
1965
|
export interface DeleteSegmentTargetsRequest {
|
|
1793
1966
|
target_ids: string[];
|
|
1794
1967
|
}
|
|
@@ -1895,6 +2068,17 @@ export interface EgressResponse {
|
|
|
1895
2068
|
frame_recording?: FrameRecordingResponse;
|
|
1896
2069
|
hls?: EgressHLSResponse;
|
|
1897
2070
|
}
|
|
2071
|
+
export interface EgressTaskConfig {
|
|
2072
|
+
egress_user?: EgressUser;
|
|
2073
|
+
frame_recording_egress_config?: FrameRecordingEgressConfig;
|
|
2074
|
+
hls_egress_config?: HLSEgressConfig;
|
|
2075
|
+
recording_egress_config?: RecordingEgressConfig;
|
|
2076
|
+
rtmp_egress_config?: RTMPEgressConfig;
|
|
2077
|
+
stt_egress_config?: STTEgressConfig;
|
|
2078
|
+
}
|
|
2079
|
+
export interface EgressUser {
|
|
2080
|
+
token?: string;
|
|
2081
|
+
}
|
|
1898
2082
|
export interface EndCallRequest {
|
|
1899
2083
|
}
|
|
1900
2084
|
export interface EndCallResponse {
|
|
@@ -1984,9 +2168,33 @@ export interface ErrorResult {
|
|
|
1984
2168
|
stacktrace?: string;
|
|
1985
2169
|
version?: string;
|
|
1986
2170
|
}
|
|
2171
|
+
export interface EventHook {
|
|
2172
|
+
created_at?: Date;
|
|
2173
|
+
enabled?: boolean;
|
|
2174
|
+
hook_type?: string;
|
|
2175
|
+
id?: string;
|
|
2176
|
+
sns_auth_type?: string;
|
|
2177
|
+
sns_key?: string;
|
|
2178
|
+
sns_region?: string;
|
|
2179
|
+
sns_role_arn?: string;
|
|
2180
|
+
sns_secret?: string;
|
|
2181
|
+
sns_topic_arn?: string;
|
|
2182
|
+
sqs_auth_type?: string;
|
|
2183
|
+
sqs_key?: string;
|
|
2184
|
+
sqs_queue_url?: string;
|
|
2185
|
+
sqs_region?: string;
|
|
2186
|
+
sqs_role_arn?: string;
|
|
2187
|
+
sqs_secret?: string;
|
|
2188
|
+
timeout_ms?: number;
|
|
2189
|
+
updated_at?: Date;
|
|
2190
|
+
webhook_url?: string;
|
|
2191
|
+
event_types?: string[];
|
|
2192
|
+
callback?: AsyncModerationCallbackConfig;
|
|
2193
|
+
}
|
|
1987
2194
|
export interface EventNotificationSettings {
|
|
1988
2195
|
enabled: boolean;
|
|
1989
2196
|
apns: APNS;
|
|
2197
|
+
fcm: FCM;
|
|
1990
2198
|
}
|
|
1991
2199
|
export interface EventRequest {
|
|
1992
2200
|
type: string;
|
|
@@ -2024,12 +2232,30 @@ export interface ExportUsersResponse {
|
|
|
2024
2232
|
duration: string;
|
|
2025
2233
|
task_id: string;
|
|
2026
2234
|
}
|
|
2235
|
+
export interface ExternalStorage {
|
|
2236
|
+
abs_account_name?: string;
|
|
2237
|
+
abs_client_id?: string;
|
|
2238
|
+
abs_client_secret?: string;
|
|
2239
|
+
abs_tenant_id?: string;
|
|
2240
|
+
bucket?: string;
|
|
2241
|
+
gcs_credentials?: string;
|
|
2242
|
+
path?: string;
|
|
2243
|
+
s3_api_key?: string;
|
|
2244
|
+
s3_custom_endpoint?: string;
|
|
2245
|
+
s3_region?: string;
|
|
2246
|
+
s3_secret_key?: string;
|
|
2247
|
+
storage_name?: string;
|
|
2248
|
+
storage_type?: number;
|
|
2249
|
+
}
|
|
2027
2250
|
export interface ExternalStorageResponse {
|
|
2028
2251
|
bucket: string;
|
|
2029
2252
|
name: string;
|
|
2030
2253
|
path: string;
|
|
2031
2254
|
type: 's3' | 'gcs' | 'abs';
|
|
2032
2255
|
}
|
|
2256
|
+
export interface FCM {
|
|
2257
|
+
data?: Record<string, any>;
|
|
2258
|
+
}
|
|
2033
2259
|
export interface FeedsModerationTemplateConfig {
|
|
2034
2260
|
config_key: string;
|
|
2035
2261
|
data_types: Record<string, string>;
|
|
@@ -2064,11 +2290,11 @@ export interface FirebaseConfig {
|
|
|
2064
2290
|
server_key?: string;
|
|
2065
2291
|
}
|
|
2066
2292
|
export interface FirebaseConfigFields {
|
|
2067
|
-
apn_template: string;
|
|
2068
|
-
data_template: string;
|
|
2069
2293
|
enabled: boolean;
|
|
2070
|
-
|
|
2294
|
+
apn_template?: string;
|
|
2071
2295
|
credentials_json?: string;
|
|
2296
|
+
data_template?: string;
|
|
2297
|
+
notification_template?: string;
|
|
2072
2298
|
server_key?: string;
|
|
2073
2299
|
}
|
|
2074
2300
|
export interface Flag {
|
|
@@ -2078,6 +2304,7 @@ export interface Flag {
|
|
|
2078
2304
|
updated_at: Date;
|
|
2079
2305
|
result: Array<Record<string, any>>;
|
|
2080
2306
|
entity_creator_id?: string;
|
|
2307
|
+
is_streamed_content?: boolean;
|
|
2081
2308
|
moderation_payload_hash?: string;
|
|
2082
2309
|
reason?: string;
|
|
2083
2310
|
review_queue_item_id?: string;
|
|
@@ -2085,6 +2312,7 @@ export interface Flag {
|
|
|
2085
2312
|
labels?: string[];
|
|
2086
2313
|
custom?: Record<string, any>;
|
|
2087
2314
|
moderation_payload?: ModerationPayload;
|
|
2315
|
+
review_queue_item?: ReviewQueueItem;
|
|
2088
2316
|
user?: User;
|
|
2089
2317
|
}
|
|
2090
2318
|
export interface FlagDetails {
|
|
@@ -2131,6 +2359,12 @@ export interface FrameRecordSettings {
|
|
|
2131
2359
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
2132
2360
|
quality?: string;
|
|
2133
2361
|
}
|
|
2362
|
+
export interface FrameRecordingEgressConfig {
|
|
2363
|
+
capture_interval_in_seconds?: number;
|
|
2364
|
+
storage_name?: string;
|
|
2365
|
+
external_storage?: ExternalStorage;
|
|
2366
|
+
quality?: Quality;
|
|
2367
|
+
}
|
|
2134
2368
|
export interface FrameRecordingResponse {
|
|
2135
2369
|
status: string;
|
|
2136
2370
|
}
|
|
@@ -2206,6 +2440,7 @@ export interface GetCallReportResponse {
|
|
|
2206
2440
|
duration: string;
|
|
2207
2441
|
session_id: string;
|
|
2208
2442
|
report: ReportResponse;
|
|
2443
|
+
video_reactions?: VideoReactionsResponse[];
|
|
2209
2444
|
chat_activity?: ChatActivityStatsResponse;
|
|
2210
2445
|
}
|
|
2211
2446
|
export interface GetCallResponse {
|
|
@@ -2253,6 +2488,7 @@ export interface GetChannelTypeResponse {
|
|
|
2253
2488
|
updated_at: Date;
|
|
2254
2489
|
uploads: boolean;
|
|
2255
2490
|
url_enrichment: boolean;
|
|
2491
|
+
user_message_reminders: boolean;
|
|
2256
2492
|
commands: Command[];
|
|
2257
2493
|
permissions: PolicyRequest[];
|
|
2258
2494
|
grants: Record<string, string[]>;
|
|
@@ -2344,6 +2580,10 @@ export interface GetOrCreateCallResponse {
|
|
|
2344
2580
|
own_capabilities: OwnCapability[];
|
|
2345
2581
|
call: CallResponse;
|
|
2346
2582
|
}
|
|
2583
|
+
export interface GetPushTemplatesResponse {
|
|
2584
|
+
duration: string;
|
|
2585
|
+
templates: PushTemplate[];
|
|
2586
|
+
}
|
|
2347
2587
|
export interface GetRateLimitsResponse {
|
|
2348
2588
|
duration: string;
|
|
2349
2589
|
android?: Record<string, LimitInfo>;
|
|
@@ -2399,6 +2639,12 @@ export interface GroupedStatsResponse {
|
|
|
2399
2639
|
name: string;
|
|
2400
2640
|
unique: number;
|
|
2401
2641
|
}
|
|
2642
|
+
export interface HLSEgressConfig {
|
|
2643
|
+
playlist_url?: string;
|
|
2644
|
+
start_unix_nano?: number;
|
|
2645
|
+
qualities?: Quality[];
|
|
2646
|
+
composite_app_settings?: CompositeAppSettings;
|
|
2647
|
+
}
|
|
2402
2648
|
export interface HLSSettings {
|
|
2403
2649
|
auto_on: boolean;
|
|
2404
2650
|
enabled: boolean;
|
|
@@ -2417,6 +2663,10 @@ export interface HLSSettingsResponse {
|
|
|
2417
2663
|
quality_tracks: string[];
|
|
2418
2664
|
layout: LayoutSettingsResponse;
|
|
2419
2665
|
}
|
|
2666
|
+
export interface HarmConfig {
|
|
2667
|
+
severity: number;
|
|
2668
|
+
action_sequences: ActionSequence[];
|
|
2669
|
+
}
|
|
2420
2670
|
export interface HideChannelRequest {
|
|
2421
2671
|
clear_history?: boolean;
|
|
2422
2672
|
user_id?: string;
|
|
@@ -2613,6 +2863,9 @@ export interface MemberAddedEvent {
|
|
|
2613
2863
|
member?: ChannelMember;
|
|
2614
2864
|
user?: User;
|
|
2615
2865
|
}
|
|
2866
|
+
export interface MemberLookup {
|
|
2867
|
+
limit: number;
|
|
2868
|
+
}
|
|
2616
2869
|
export interface MemberRemovedEvent {
|
|
2617
2870
|
channel_id: string;
|
|
2618
2871
|
channel_type: string;
|
|
@@ -2690,6 +2943,7 @@ export interface Message {
|
|
|
2690
2943
|
pinned_by?: User;
|
|
2691
2944
|
poll?: Poll;
|
|
2692
2945
|
quoted_message?: Message;
|
|
2946
|
+
reminder?: MessageReminder;
|
|
2693
2947
|
user?: User;
|
|
2694
2948
|
}
|
|
2695
2949
|
export interface MessageActionRequest {
|
|
@@ -2796,6 +3050,18 @@ export interface MessageReadEvent {
|
|
|
2796
3050
|
thread?: ThreadResponse;
|
|
2797
3051
|
user?: UserResponseCommonFields;
|
|
2798
3052
|
}
|
|
3053
|
+
export interface MessageReminder {
|
|
3054
|
+
channel_cid: string;
|
|
3055
|
+
created_at: Date;
|
|
3056
|
+
message_id: string;
|
|
3057
|
+
task_id: string;
|
|
3058
|
+
updated_at: Date;
|
|
3059
|
+
user_id: string;
|
|
3060
|
+
remind_at?: Date;
|
|
3061
|
+
channel?: Channel;
|
|
3062
|
+
message?: Message;
|
|
3063
|
+
user?: User;
|
|
3064
|
+
}
|
|
2799
3065
|
export interface MessageRequest {
|
|
2800
3066
|
html?: string;
|
|
2801
3067
|
id?: string;
|
|
@@ -2858,6 +3124,7 @@ export interface MessageResponse {
|
|
|
2858
3124
|
poll?: PollResponseData;
|
|
2859
3125
|
quoted_message?: MessageResponse;
|
|
2860
3126
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
3127
|
+
reminder?: ReminderResponseData;
|
|
2861
3128
|
}
|
|
2862
3129
|
export interface MessageStatsResponse {
|
|
2863
3130
|
count_over_time?: CountByMinuteResponse[];
|
|
@@ -2938,6 +3205,7 @@ export interface MessageWithChannelResponse {
|
|
|
2938
3205
|
poll?: PollResponseData;
|
|
2939
3206
|
quoted_message?: MessageResponse;
|
|
2940
3207
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
3208
|
+
reminder?: ReminderResponseData;
|
|
2941
3209
|
}
|
|
2942
3210
|
export interface ModerationActionConfig {
|
|
2943
3211
|
action: string;
|
|
@@ -2964,6 +3232,26 @@ export interface ModerationCustomActionEvent {
|
|
|
2964
3232
|
message?: Message;
|
|
2965
3233
|
user?: User;
|
|
2966
3234
|
}
|
|
3235
|
+
export interface ModerationDashboardPreferences {
|
|
3236
|
+
media_queue_blur_enabled?: boolean;
|
|
3237
|
+
}
|
|
3238
|
+
export interface ModerationFlagResponse {
|
|
3239
|
+
created_at: string;
|
|
3240
|
+
entity_id: string;
|
|
3241
|
+
entity_type: string;
|
|
3242
|
+
id: string;
|
|
3243
|
+
type: string;
|
|
3244
|
+
updated_at: string;
|
|
3245
|
+
entity_creator_id?: string;
|
|
3246
|
+
reason?: string;
|
|
3247
|
+
review_queue_item_id?: string;
|
|
3248
|
+
labels?: string[];
|
|
3249
|
+
result?: Array<Record<string, any>>;
|
|
3250
|
+
custom?: Record<string, any>;
|
|
3251
|
+
moderation_payload?: ModerationPayload;
|
|
3252
|
+
review_queue_item?: ReviewQueueItem;
|
|
3253
|
+
user?: UserResponse;
|
|
3254
|
+
}
|
|
2967
3255
|
export interface ModerationFlaggedEvent {
|
|
2968
3256
|
created_at: Date;
|
|
2969
3257
|
type: string;
|
|
@@ -3381,7 +3669,7 @@ export interface PublisherStatsResponse {
|
|
|
3381
3669
|
by_track?: TrackStatsResponse[];
|
|
3382
3670
|
}
|
|
3383
3671
|
export interface PushConfig {
|
|
3384
|
-
version: 'v1' | 'v2';
|
|
3672
|
+
version: 'v1' | 'v2' | 'v3';
|
|
3385
3673
|
offline_only?: boolean;
|
|
3386
3674
|
}
|
|
3387
3675
|
export interface PushNotificationFields {
|
|
@@ -3436,6 +3724,7 @@ export interface PushProvider {
|
|
|
3436
3724
|
huawei_app_secret?: string;
|
|
3437
3725
|
xiaomi_app_secret?: string;
|
|
3438
3726
|
xiaomi_package_name?: string;
|
|
3727
|
+
push_templates?: PushTemplate[];
|
|
3439
3728
|
}
|
|
3440
3729
|
export interface PushProviderResponse {
|
|
3441
3730
|
created_at: Date;
|
|
@@ -3467,6 +3756,21 @@ export interface PushProviderResponse {
|
|
|
3467
3756
|
xiaomi_app_secret?: string;
|
|
3468
3757
|
xiaomi_package_name?: string;
|
|
3469
3758
|
}
|
|
3759
|
+
export interface PushTemplate {
|
|
3760
|
+
created_at: Date;
|
|
3761
|
+
enable_push: boolean;
|
|
3762
|
+
event_type: 'message.new' | 'message.updated' | 'reaction.new' | 'notification.reminder_due';
|
|
3763
|
+
updated_at: Date;
|
|
3764
|
+
template?: string;
|
|
3765
|
+
}
|
|
3766
|
+
export interface Quality {
|
|
3767
|
+
bitdepth?: number;
|
|
3768
|
+
framerate?: number;
|
|
3769
|
+
height?: number;
|
|
3770
|
+
name?: string;
|
|
3771
|
+
video_bitrate?: number;
|
|
3772
|
+
width?: number;
|
|
3773
|
+
}
|
|
3470
3774
|
export interface QualityScoreReport {
|
|
3471
3775
|
histogram: ReportByHistogramBucket[];
|
|
3472
3776
|
}
|
|
@@ -3659,6 +3963,19 @@ export interface QueryModerationConfigsResponse {
|
|
|
3659
3963
|
next?: string;
|
|
3660
3964
|
prev?: string;
|
|
3661
3965
|
}
|
|
3966
|
+
export interface QueryModerationFlagsRequest {
|
|
3967
|
+
limit?: number;
|
|
3968
|
+
next?: string;
|
|
3969
|
+
prev?: string;
|
|
3970
|
+
sort?: SortParam[];
|
|
3971
|
+
filter?: Record<string, any>;
|
|
3972
|
+
}
|
|
3973
|
+
export interface QueryModerationFlagsResponse {
|
|
3974
|
+
duration: string;
|
|
3975
|
+
flags: ModerationFlagResponse[];
|
|
3976
|
+
next?: string;
|
|
3977
|
+
prev?: string;
|
|
3978
|
+
}
|
|
3662
3979
|
export interface QueryModerationLogsRequest {
|
|
3663
3980
|
limit?: number;
|
|
3664
3981
|
next?: string;
|
|
@@ -3709,6 +4026,21 @@ export interface QueryReactionsResponse {
|
|
|
3709
4026
|
next?: string;
|
|
3710
4027
|
prev?: string;
|
|
3711
4028
|
}
|
|
4029
|
+
export interface QueryRemindersRequest {
|
|
4030
|
+
limit?: number;
|
|
4031
|
+
next?: string;
|
|
4032
|
+
prev?: string;
|
|
4033
|
+
user_id?: string;
|
|
4034
|
+
sort?: SortParamRequest[];
|
|
4035
|
+
filter?: Record<string, any>;
|
|
4036
|
+
user?: UserRequest;
|
|
4037
|
+
}
|
|
4038
|
+
export interface QueryRemindersResponse {
|
|
4039
|
+
duration: string;
|
|
4040
|
+
reminders: ReminderResponseData[];
|
|
4041
|
+
next?: string;
|
|
4042
|
+
prev?: string;
|
|
4043
|
+
}
|
|
3712
4044
|
export interface QueryReviewQueueRequest {
|
|
3713
4045
|
limit?: number;
|
|
3714
4046
|
lock_count?: number;
|
|
@@ -3808,6 +4140,11 @@ export interface RTMPBroadcastRequest {
|
|
|
3808
4140
|
stream_key?: string;
|
|
3809
4141
|
layout?: LayoutSettingsRequest;
|
|
3810
4142
|
}
|
|
4143
|
+
export interface RTMPEgressConfig {
|
|
4144
|
+
rtmp_location?: string;
|
|
4145
|
+
composite_app_settings?: CompositeAppSettings;
|
|
4146
|
+
quality?: Quality;
|
|
4147
|
+
}
|
|
3811
4148
|
export interface RTMPIngress {
|
|
3812
4149
|
address: string;
|
|
3813
4150
|
}
|
|
@@ -3951,6 +4288,25 @@ export interface RecordSettingsResponse {
|
|
|
3951
4288
|
quality: string;
|
|
3952
4289
|
layout: LayoutSettingsResponse;
|
|
3953
4290
|
}
|
|
4291
|
+
export interface RecordingEgressConfig {
|
|
4292
|
+
audio_only?: boolean;
|
|
4293
|
+
storage_name?: string;
|
|
4294
|
+
composite_app_settings?: CompositeAppSettings;
|
|
4295
|
+
external_storage?: ExternalStorage;
|
|
4296
|
+
quality?: Quality;
|
|
4297
|
+
video_orientation_hint?: VideoOrientation;
|
|
4298
|
+
}
|
|
4299
|
+
export interface ReminderResponseData {
|
|
4300
|
+
channel_cid: string;
|
|
4301
|
+
created_at: Date;
|
|
4302
|
+
message_id: string;
|
|
4303
|
+
updated_at: Date;
|
|
4304
|
+
user_id: string;
|
|
4305
|
+
remind_at?: Date;
|
|
4306
|
+
channel?: ChannelResponse;
|
|
4307
|
+
message?: Message;
|
|
4308
|
+
user?: User;
|
|
4309
|
+
}
|
|
3954
4310
|
export interface ReportByHistogramBucket {
|
|
3955
4311
|
category: string;
|
|
3956
4312
|
count: number;
|
|
@@ -3998,6 +4354,7 @@ export interface ReviewQueueItem {
|
|
|
3998
4354
|
reviewed_at: NullTime;
|
|
3999
4355
|
activity?: EnrichedActivity;
|
|
4000
4356
|
assigned_to?: User;
|
|
4357
|
+
call?: Call;
|
|
4001
4358
|
entity_creator?: EntityCreator;
|
|
4002
4359
|
feeds_v2_activity?: EnrichedActivity;
|
|
4003
4360
|
feeds_v2_reaction?: Reaction;
|
|
@@ -4037,6 +4394,7 @@ export interface ReviewQueueItemResponse {
|
|
|
4037
4394
|
teams?: string[];
|
|
4038
4395
|
activity?: EnrichedActivity;
|
|
4039
4396
|
assigned_to?: UserResponse;
|
|
4397
|
+
call?: CallResponse;
|
|
4040
4398
|
entity_creator?: EntityCreatorResponse;
|
|
4041
4399
|
feeds_v2_activity?: EnrichedActivity;
|
|
4042
4400
|
feeds_v2_reaction?: Reaction;
|
|
@@ -4075,9 +4433,35 @@ export interface Role {
|
|
|
4075
4433
|
updated_at: Date;
|
|
4076
4434
|
scopes: string[];
|
|
4077
4435
|
}
|
|
4436
|
+
export interface RuleBuilderAction {
|
|
4437
|
+
duration?: number;
|
|
4438
|
+
ip_ban?: boolean;
|
|
4439
|
+
reason?: string;
|
|
4440
|
+
shadow_ban?: boolean;
|
|
4441
|
+
type?: string;
|
|
4442
|
+
}
|
|
4443
|
+
export interface RuleBuilderCondition {
|
|
4444
|
+
provider?: string;
|
|
4445
|
+
threshold?: number;
|
|
4446
|
+
time_window?: string;
|
|
4447
|
+
labels?: string[];
|
|
4448
|
+
}
|
|
4449
|
+
export interface RuleBuilderConfig {
|
|
4450
|
+
async?: boolean;
|
|
4451
|
+
enabled?: boolean;
|
|
4452
|
+
rules?: RuleBuilderRule[];
|
|
4453
|
+
}
|
|
4454
|
+
export interface RuleBuilderRule {
|
|
4455
|
+
enabled?: boolean;
|
|
4456
|
+
id?: string;
|
|
4457
|
+
name?: string;
|
|
4458
|
+
conditions?: RuleBuilderCondition[];
|
|
4459
|
+
action?: RuleBuilderAction;
|
|
4460
|
+
}
|
|
4078
4461
|
export interface S3Request {
|
|
4079
4462
|
s3_region: string;
|
|
4080
4463
|
s3_api_key?: string;
|
|
4464
|
+
s3_custom_endpoint_url?: string;
|
|
4081
4465
|
s3_secret?: string;
|
|
4082
4466
|
}
|
|
4083
4467
|
export interface SDKUsageReport {
|
|
@@ -4086,6 +4470,21 @@ export interface SDKUsageReport {
|
|
|
4086
4470
|
export interface SDKUsageReportResponse {
|
|
4087
4471
|
daily: DailyAggregateSDKUsageReportResponse[];
|
|
4088
4472
|
}
|
|
4473
|
+
export interface SFUIDLastSeen {
|
|
4474
|
+
id: string;
|
|
4475
|
+
last_seen: Date;
|
|
4476
|
+
process_start_time: number;
|
|
4477
|
+
}
|
|
4478
|
+
export interface STTEgressConfig {
|
|
4479
|
+
closed_captions_enabled?: boolean;
|
|
4480
|
+
language?: string;
|
|
4481
|
+
storage_name?: string;
|
|
4482
|
+
translations_enabled?: boolean;
|
|
4483
|
+
upload_transcriptions?: boolean;
|
|
4484
|
+
whisper_server_base_url?: string;
|
|
4485
|
+
translation_languages?: string[];
|
|
4486
|
+
external_storage?: ExternalStorage;
|
|
4487
|
+
}
|
|
4089
4488
|
export interface ScreensharingSettings {
|
|
4090
4489
|
access_request_enabled: boolean;
|
|
4091
4490
|
enabled: boolean;
|
|
@@ -4163,6 +4562,7 @@ export interface SearchResultMessage {
|
|
|
4163
4562
|
poll?: PollResponseData;
|
|
4164
4563
|
quoted_message?: MessageResponse;
|
|
4165
4564
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
4565
|
+
reminder?: ReminderResponseData;
|
|
4166
4566
|
}
|
|
4167
4567
|
export interface SearchWarning {
|
|
4168
4568
|
warning_code: number;
|
|
@@ -4259,6 +4659,10 @@ export interface ShowChannelRequest {
|
|
|
4259
4659
|
export interface ShowChannelResponse {
|
|
4260
4660
|
duration: string;
|
|
4261
4661
|
}
|
|
4662
|
+
export interface SortParam {
|
|
4663
|
+
direction?: number;
|
|
4664
|
+
field?: string;
|
|
4665
|
+
}
|
|
4262
4666
|
export interface SortParamRequest {
|
|
4263
4667
|
direction?: number;
|
|
4264
4668
|
field?: string;
|
|
@@ -4363,7 +4767,7 @@ export interface StopTranscriptionResponse {
|
|
|
4363
4767
|
duration: string;
|
|
4364
4768
|
}
|
|
4365
4769
|
export interface SubmitActionRequest {
|
|
4366
|
-
action_type: 'mark_reviewed' | 'delete_message' | 'delete_activity' | 'delete_reaction' | 'ban' | 'custom' | 'unban' | 'restore' | 'delete_user' | 'unblock' | 'shadow_block';
|
|
4770
|
+
action_type: 'mark_reviewed' | 'delete_message' | 'delete_activity' | 'delete_reaction' | 'ban' | 'custom' | 'unban' | 'restore' | 'delete_user' | 'unblock' | 'shadow_block' | 'kick_user' | 'end_call';
|
|
4367
4771
|
item_id: string;
|
|
4368
4772
|
user_id?: string;
|
|
4369
4773
|
ban?: BanActionRequest;
|
|
@@ -4496,6 +4900,7 @@ export interface TruncateChannelRequest {
|
|
|
4496
4900
|
skip_push?: boolean;
|
|
4497
4901
|
truncated_at?: Date;
|
|
4498
4902
|
user_id?: string;
|
|
4903
|
+
member_ids?: string[];
|
|
4499
4904
|
message?: MessageRequest;
|
|
4500
4905
|
user?: UserRequest;
|
|
4501
4906
|
}
|
|
@@ -4623,6 +5028,7 @@ export interface UpdateAppRequest {
|
|
|
4623
5028
|
sqs_url?: string;
|
|
4624
5029
|
webhook_url?: string;
|
|
4625
5030
|
allowed_flag_reasons?: string[];
|
|
5031
|
+
event_hooks?: EventHook[];
|
|
4626
5032
|
image_moderation_block_labels?: string[];
|
|
4627
5033
|
image_moderation_labels?: string[];
|
|
4628
5034
|
user_search_disallowed_roles?: string[];
|
|
@@ -4635,6 +5041,7 @@ export interface UpdateAppRequest {
|
|
|
4635
5041
|
grants?: Record<string, string[]>;
|
|
4636
5042
|
huawei_config?: HuaweiConfig;
|
|
4637
5043
|
image_upload_config?: FileUploadConfig;
|
|
5044
|
+
moderation_dashboard_preferences?: ModerationDashboardPreferences;
|
|
4638
5045
|
push_config?: PushConfig;
|
|
4639
5046
|
xiaomi_config?: XiaomiConfig;
|
|
4640
5047
|
}
|
|
@@ -4739,6 +5146,7 @@ export interface UpdateChannelTypeRequest {
|
|
|
4739
5146
|
typing_events?: boolean;
|
|
4740
5147
|
uploads?: boolean;
|
|
4741
5148
|
url_enrichment?: boolean;
|
|
5149
|
+
user_message_reminders?: boolean;
|
|
4742
5150
|
allowed_flag_reasons?: string[];
|
|
4743
5151
|
blocklists?: BlockListOptions[];
|
|
4744
5152
|
commands?: string[];
|
|
@@ -4770,6 +5178,7 @@ export interface UpdateChannelTypeResponse {
|
|
|
4770
5178
|
updated_at: Date;
|
|
4771
5179
|
uploads: boolean;
|
|
4772
5180
|
url_enrichment: boolean;
|
|
5181
|
+
user_message_reminders: boolean;
|
|
4773
5182
|
commands: string[];
|
|
4774
5183
|
permissions: PolicyRequest[];
|
|
4775
5184
|
grants: Record<string, string[]>;
|
|
@@ -4828,6 +5237,7 @@ export interface UpdateMessagePartialResponse {
|
|
|
4828
5237
|
export interface UpdateMessageRequest {
|
|
4829
5238
|
message: MessageRequest;
|
|
4830
5239
|
skip_enrich_url?: boolean;
|
|
5240
|
+
skip_push?: boolean;
|
|
4831
5241
|
}
|
|
4832
5242
|
export interface UpdateMessageResponse {
|
|
4833
5243
|
duration: string;
|
|
@@ -4862,6 +5272,15 @@ export interface UpdatePollRequest {
|
|
|
4862
5272
|
custom?: Record<string, any>;
|
|
4863
5273
|
user?: UserRequest;
|
|
4864
5274
|
}
|
|
5275
|
+
export interface UpdateReminderRequest {
|
|
5276
|
+
remind_at?: Date;
|
|
5277
|
+
user_id?: string;
|
|
5278
|
+
user?: UserRequest;
|
|
5279
|
+
}
|
|
5280
|
+
export interface UpdateReminderResponse {
|
|
5281
|
+
duration: string;
|
|
5282
|
+
reminder: ReminderResponseData;
|
|
5283
|
+
}
|
|
4865
5284
|
export interface UpdateThreadPartialRequest {
|
|
4866
5285
|
user_id?: string;
|
|
4867
5286
|
unset?: string[];
|
|
@@ -4918,8 +5337,10 @@ export interface UpsertConfigRequest {
|
|
|
4918
5337
|
block_list_config?: BlockListConfig;
|
|
4919
5338
|
bodyguard_config?: AITextConfig;
|
|
4920
5339
|
google_vision_config?: GoogleVisionConfig;
|
|
5340
|
+
rule_builder_config?: RuleBuilderConfig;
|
|
4921
5341
|
user?: UserRequest;
|
|
4922
5342
|
velocity_filter_config?: VelocityFilterConfig;
|
|
5343
|
+
video_call_rule_config?: VideoCallRuleConfig;
|
|
4923
5344
|
}
|
|
4924
5345
|
export interface UpsertConfigResponse {
|
|
4925
5346
|
duration: string;
|
|
@@ -4951,6 +5372,17 @@ export interface UpsertPushProviderResponse {
|
|
|
4951
5372
|
duration: string;
|
|
4952
5373
|
push_provider: PushProviderResponse;
|
|
4953
5374
|
}
|
|
5375
|
+
export interface UpsertPushTemplateRequest {
|
|
5376
|
+
event_type: 'message.new' | 'message.updated' | 'reaction.new' | 'notification.reminder_due';
|
|
5377
|
+
push_provider_type: 'firebase' | 'apn';
|
|
5378
|
+
enable_push?: boolean;
|
|
5379
|
+
push_provider_name?: string;
|
|
5380
|
+
template?: string;
|
|
5381
|
+
}
|
|
5382
|
+
export interface UpsertPushTemplateResponse {
|
|
5383
|
+
duration: string;
|
|
5384
|
+
template?: PushTemplate;
|
|
5385
|
+
}
|
|
4954
5386
|
export interface User {
|
|
4955
5387
|
banned: boolean;
|
|
4956
5388
|
id: string;
|
|
@@ -5189,6 +5621,23 @@ export interface VelocityFilterConfigRule {
|
|
|
5189
5621
|
url_only: boolean;
|
|
5190
5622
|
slow_spam_ban_duration?: number;
|
|
5191
5623
|
}
|
|
5624
|
+
export interface VideoCallRuleConfig {
|
|
5625
|
+
rules: Record<string, HarmConfig>;
|
|
5626
|
+
}
|
|
5627
|
+
export interface VideoEndCallRequest {
|
|
5628
|
+
}
|
|
5629
|
+
export interface VideoKickUserRequest {
|
|
5630
|
+
}
|
|
5631
|
+
export interface VideoOrientation {
|
|
5632
|
+
orientation?: number;
|
|
5633
|
+
}
|
|
5634
|
+
export interface VideoReactionOverTimeResponse {
|
|
5635
|
+
by_minute?: CountByMinuteResponse[];
|
|
5636
|
+
}
|
|
5637
|
+
export interface VideoReactionsResponse {
|
|
5638
|
+
reaction: string;
|
|
5639
|
+
count_over_time?: VideoReactionOverTimeResponse;
|
|
5640
|
+
}
|
|
5192
5641
|
export interface VideoSettings {
|
|
5193
5642
|
access_request_enabled: boolean;
|
|
5194
5643
|
camera_default_on: boolean;
|