@stream-io/feeds-client 0.3.47 → 0.3.49
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/index.js.map +1 -1
- package/dist/cjs/react-bindings.js +1 -1
- package/dist/es/index.mjs +2 -2
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/react-bindings.mjs +1 -1
- package/dist/{feeds-client-ykIZW9Hi.mjs → feeds-client-B9b7zUcW.mjs} +182 -196
- package/dist/feeds-client-B9b7zUcW.mjs.map +1 -0
- package/dist/{feeds-client-CxjZlEtX.js → feeds-client-BDvUG9yF.js} +182 -196
- package/dist/feeds-client-BDvUG9yF.js.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/common/Poll.d.ts +15 -6
- package/dist/types/common/Poll.d.ts.map +1 -1
- package/dist/types/common/real-time/StableWSConnection.d.ts +3 -3
- package/dist/types/common/real-time/StableWSConnection.d.ts.map +1 -1
- package/dist/types/feed/event-handlers/activity-updater.d.ts +1 -1
- package/dist/types/feed/event-handlers/comment/handle-comment-added.d.ts.map +1 -1
- package/dist/types/feed/feed.d.ts +2 -2
- package/dist/types/feed/feed.d.ts.map +1 -1
- package/dist/types/feeds-client/feeds-client.d.ts +17 -3
- package/dist/types/feeds-client/feeds-client.d.ts.map +1 -1
- package/dist/types/gen/feeds/FeedApi.d.ts +2 -1
- package/dist/types/gen/feeds/FeedApi.d.ts.map +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts +5 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts.map +1 -1
- package/dist/types/gen/model-decoders/event-decoder-mapping.d.ts.map +1 -1
- package/dist/types/gen/models/index.d.ts +209 -422
- package/dist/types/gen/models/index.d.ts.map +1 -1
- package/dist/types/gen/moderation/ModerationApi.d.ts.map +1 -1
- package/dist/types/types.d.ts +2 -2
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils/constants.d.ts +1 -1
- package/package.json +1 -1
- package/src/common/Poll.ts +59 -40
- package/src/feed/event-handlers/comment/handle-comment-added.ts +14 -2
- package/src/feed/feed.ts +24 -9
- package/src/feeds-client/feeds-client.ts +70 -1
- package/src/gen/feeds/FeedApi.ts +12 -0
- package/src/gen/feeds/FeedsApi.ts +37 -0
- package/src/gen/model-decoders/decoders.ts +47 -251
- package/src/gen/model-decoders/event-decoder-mapping.ts +3 -2
- package/src/gen/models/index.ts +314 -723
- package/src/gen/moderation/ModerationApi.ts +1 -0
- package/src/test-utils/response-generators.ts +3 -2
- package/src/types.ts +2 -2
- package/src/utils/constants.ts +1 -1
- package/dist/feeds-client-CxjZlEtX.js.map +0 -1
- package/dist/feeds-client-ykIZW9Hi.mjs.map +0 -1
package/src/gen/models/index.ts
CHANGED
|
@@ -58,6 +58,8 @@ export interface AWSRekognitionRule {
|
|
|
58
58
|
label: string;
|
|
59
59
|
|
|
60
60
|
min_confidence: number;
|
|
61
|
+
|
|
62
|
+
subclassifications?: Record<string, boolean>;
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
export interface AcceptFeedMemberInviteRequest {}
|
|
@@ -457,7 +459,7 @@ export interface ActivityResponse {
|
|
|
457
459
|
|
|
458
460
|
custom: Record<string, any>;
|
|
459
461
|
|
|
460
|
-
reaction_groups: Record<string,
|
|
462
|
+
reaction_groups: Record<string, FeedsReactionGroupResponse>;
|
|
461
463
|
|
|
462
464
|
search_data: Record<string, any>;
|
|
463
465
|
|
|
@@ -469,6 +471,8 @@ export interface ActivityResponse {
|
|
|
469
471
|
|
|
470
472
|
expires_at?: Date;
|
|
471
473
|
|
|
474
|
+
friend_reaction_count?: number;
|
|
475
|
+
|
|
472
476
|
is_watched?: boolean;
|
|
473
477
|
|
|
474
478
|
moderation_action?: string;
|
|
@@ -479,6 +483,8 @@ export interface ActivityResponse {
|
|
|
479
483
|
|
|
480
484
|
visibility_tag?: string;
|
|
481
485
|
|
|
486
|
+
friend_reactions?: FeedsReactionResponse[];
|
|
487
|
+
|
|
482
488
|
current_feed?: FeedResponse;
|
|
483
489
|
|
|
484
490
|
location?: ActivityLocation;
|
|
@@ -490,10 +496,6 @@ export interface ActivityResponse {
|
|
|
490
496
|
parent?: ActivityResponse;
|
|
491
497
|
|
|
492
498
|
poll?: PollResponseData;
|
|
493
|
-
|
|
494
|
-
friend_reactions?: FeedsReactionResponse[];
|
|
495
|
-
|
|
496
|
-
friend_reaction_count?: number;
|
|
497
499
|
}
|
|
498
500
|
|
|
499
501
|
export interface ActivityRestoredEvent {
|
|
@@ -956,34 +958,34 @@ export interface BackstageSettingsResponse {
|
|
|
956
958
|
join_ahead_time_seconds?: number;
|
|
957
959
|
}
|
|
958
960
|
|
|
959
|
-
export interface
|
|
960
|
-
|
|
961
|
+
export interface BanActionRequestPayload {
|
|
962
|
+
channel_ban_only?: boolean;
|
|
961
963
|
|
|
962
|
-
|
|
964
|
+
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
963
965
|
|
|
964
|
-
|
|
966
|
+
ip_ban?: boolean;
|
|
965
967
|
|
|
966
968
|
reason?: string;
|
|
967
969
|
|
|
968
|
-
|
|
970
|
+
shadow?: boolean;
|
|
969
971
|
|
|
970
|
-
|
|
972
|
+
target_user_id?: string;
|
|
971
973
|
|
|
972
|
-
|
|
974
|
+
timeout?: number;
|
|
973
975
|
}
|
|
974
976
|
|
|
975
|
-
export interface
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
977
|
+
export interface BanInfoResponse {
|
|
978
|
+
created_at: Date;
|
|
979
979
|
|
|
980
|
-
|
|
980
|
+
expires?: Date;
|
|
981
981
|
|
|
982
982
|
reason?: string;
|
|
983
983
|
|
|
984
984
|
shadow?: boolean;
|
|
985
985
|
|
|
986
|
-
|
|
986
|
+
created_by?: UserResponse;
|
|
987
|
+
|
|
988
|
+
user?: UserResponse;
|
|
987
989
|
}
|
|
988
990
|
|
|
989
991
|
export interface BanOptions {
|
|
@@ -1022,7 +1024,7 @@ export interface BanResponse {
|
|
|
1022
1024
|
duration: string;
|
|
1023
1025
|
}
|
|
1024
1026
|
|
|
1025
|
-
export interface
|
|
1027
|
+
export interface BlockActionRequestPayload {
|
|
1026
1028
|
reason?: string;
|
|
1027
1029
|
}
|
|
1028
1030
|
|
|
@@ -1233,6 +1235,28 @@ export interface BroadcastSettingsResponse {
|
|
|
1233
1235
|
rtmp: RTMPSettingsResponse;
|
|
1234
1236
|
}
|
|
1235
1237
|
|
|
1238
|
+
export interface CallActionOptions {
|
|
1239
|
+
duration?: number;
|
|
1240
|
+
|
|
1241
|
+
flag_reason?: string;
|
|
1242
|
+
|
|
1243
|
+
kick_reason?: string;
|
|
1244
|
+
|
|
1245
|
+
mute_audio?: boolean;
|
|
1246
|
+
|
|
1247
|
+
mute_video?: boolean;
|
|
1248
|
+
|
|
1249
|
+
reason?: string;
|
|
1250
|
+
|
|
1251
|
+
warning_text?: string;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
export interface CallCustomPropertyParameters {
|
|
1255
|
+
operator?: string;
|
|
1256
|
+
|
|
1257
|
+
property_key?: string;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1236
1260
|
export interface CallIngressResponse {
|
|
1237
1261
|
rtmp: RTMPIngress;
|
|
1238
1262
|
|
|
@@ -1303,6 +1327,14 @@ export interface CallResponse {
|
|
|
1303
1327
|
thumbnails?: ThumbnailResponse;
|
|
1304
1328
|
}
|
|
1305
1329
|
|
|
1330
|
+
export interface CallRuleActionSequence {
|
|
1331
|
+
violation_number?: number;
|
|
1332
|
+
|
|
1333
|
+
actions?: string[];
|
|
1334
|
+
|
|
1335
|
+
call_options?: CallActionOptions;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1306
1338
|
export interface CallSessionResponse {
|
|
1307
1339
|
anonymous_participant_count: number;
|
|
1308
1340
|
|
|
@@ -1363,136 +1395,18 @@ export interface CallSettingsResponse {
|
|
|
1363
1395
|
ingress?: IngressSettingsResponse;
|
|
1364
1396
|
}
|
|
1365
1397
|
|
|
1366
|
-
export interface
|
|
1367
|
-
|
|
1398
|
+
export interface CallTypeRuleParameters {
|
|
1399
|
+
call_type?: string;
|
|
1368
1400
|
}
|
|
1369
1401
|
|
|
1370
|
-
export interface
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
cid: string;
|
|
1374
|
-
|
|
1375
|
-
created_at: Date;
|
|
1376
|
-
|
|
1377
|
-
disabled: boolean;
|
|
1378
|
-
|
|
1379
|
-
frozen: boolean;
|
|
1380
|
-
|
|
1381
|
-
id: string;
|
|
1382
|
-
|
|
1383
|
-
type: string;
|
|
1384
|
-
|
|
1385
|
-
updated_at: Date;
|
|
1386
|
-
|
|
1387
|
-
custom: Record<string, any>;
|
|
1388
|
-
|
|
1389
|
-
auto_translation_enabled?: boolean;
|
|
1390
|
-
|
|
1391
|
-
cooldown?: number;
|
|
1392
|
-
|
|
1393
|
-
deleted_at?: Date;
|
|
1394
|
-
|
|
1395
|
-
last_campaigns?: string;
|
|
1396
|
-
|
|
1397
|
-
last_message_at?: Date;
|
|
1398
|
-
|
|
1399
|
-
member_count?: number;
|
|
1400
|
-
|
|
1401
|
-
message_count?: number;
|
|
1402
|
-
|
|
1403
|
-
message_count_updated_at?: Date;
|
|
1404
|
-
|
|
1405
|
-
team?: string;
|
|
1406
|
-
|
|
1407
|
-
active_live_locations?: SharedLocation[];
|
|
1408
|
-
|
|
1409
|
-
filter_tags?: string[];
|
|
1410
|
-
|
|
1411
|
-
invites?: ChannelMember[];
|
|
1412
|
-
|
|
1413
|
-
members?: ChannelMember[];
|
|
1414
|
-
|
|
1415
|
-
config?: ChannelConfig;
|
|
1416
|
-
|
|
1417
|
-
config_overrides?: ConfigOverrides;
|
|
1418
|
-
|
|
1419
|
-
created_by?: User;
|
|
1420
|
-
|
|
1421
|
-
members_lookup?: Record<string, ChannelMemberLookup>;
|
|
1402
|
+
export interface CallViolationCountParameters {
|
|
1403
|
+
threshold?: number;
|
|
1422
1404
|
|
|
1423
|
-
|
|
1405
|
+
time_window?: string;
|
|
1424
1406
|
}
|
|
1425
1407
|
|
|
1426
|
-
export interface
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
automod_behavior: 'flag' | 'block' | 'shadow_block';
|
|
1430
|
-
|
|
1431
|
-
connect_events: boolean;
|
|
1432
|
-
|
|
1433
|
-
count_messages: boolean;
|
|
1434
|
-
|
|
1435
|
-
created_at: Date;
|
|
1436
|
-
|
|
1437
|
-
custom_events: boolean;
|
|
1438
|
-
|
|
1439
|
-
delivery_events: boolean;
|
|
1440
|
-
|
|
1441
|
-
mark_messages_pending: boolean;
|
|
1442
|
-
|
|
1443
|
-
max_message_length: number;
|
|
1444
|
-
|
|
1445
|
-
mutes: boolean;
|
|
1446
|
-
|
|
1447
|
-
name: string;
|
|
1448
|
-
|
|
1449
|
-
polls: boolean;
|
|
1450
|
-
|
|
1451
|
-
push_level: string;
|
|
1452
|
-
|
|
1453
|
-
push_notifications: boolean;
|
|
1454
|
-
|
|
1455
|
-
quotes: boolean;
|
|
1456
|
-
|
|
1457
|
-
reactions: boolean;
|
|
1458
|
-
|
|
1459
|
-
read_events: boolean;
|
|
1460
|
-
|
|
1461
|
-
reminders: boolean;
|
|
1462
|
-
|
|
1463
|
-
replies: boolean;
|
|
1464
|
-
|
|
1465
|
-
search: boolean;
|
|
1466
|
-
|
|
1467
|
-
shared_locations: boolean;
|
|
1468
|
-
|
|
1469
|
-
skip_last_msg_update_for_system_msgs: boolean;
|
|
1470
|
-
|
|
1471
|
-
typing_events: boolean;
|
|
1472
|
-
|
|
1473
|
-
updated_at: Date;
|
|
1474
|
-
|
|
1475
|
-
uploads: boolean;
|
|
1476
|
-
|
|
1477
|
-
url_enrichment: boolean;
|
|
1478
|
-
|
|
1479
|
-
user_message_reminders: boolean;
|
|
1480
|
-
|
|
1481
|
-
commands: string[];
|
|
1482
|
-
|
|
1483
|
-
blocklist?: string;
|
|
1484
|
-
|
|
1485
|
-
blocklist_behavior?: 'flag' | 'block' | 'shadow_block';
|
|
1486
|
-
|
|
1487
|
-
partition_size?: number;
|
|
1488
|
-
|
|
1489
|
-
partition_ttl?: number;
|
|
1490
|
-
|
|
1491
|
-
allowed_flag_reasons?: string[];
|
|
1492
|
-
|
|
1493
|
-
blocklists?: BlockListOptions[];
|
|
1494
|
-
|
|
1495
|
-
automod_thresholds?: Thresholds;
|
|
1408
|
+
export interface CastPollVoteRequest {
|
|
1409
|
+
vote?: VoteData;
|
|
1496
1410
|
}
|
|
1497
1411
|
|
|
1498
1412
|
export interface ChannelConfigWithInfo {
|
|
@@ -1569,72 +1483,6 @@ export interface ChannelConfigWithInfo {
|
|
|
1569
1483
|
grants?: Record<string, string[]>;
|
|
1570
1484
|
}
|
|
1571
1485
|
|
|
1572
|
-
export interface ChannelMember {
|
|
1573
|
-
banned: boolean;
|
|
1574
|
-
|
|
1575
|
-
channel_role: string;
|
|
1576
|
-
|
|
1577
|
-
created_at: Date;
|
|
1578
|
-
|
|
1579
|
-
is_global_banned: boolean;
|
|
1580
|
-
|
|
1581
|
-
notifications_muted: boolean;
|
|
1582
|
-
|
|
1583
|
-
shadow_banned: boolean;
|
|
1584
|
-
|
|
1585
|
-
updated_at: Date;
|
|
1586
|
-
|
|
1587
|
-
custom: Record<string, any>;
|
|
1588
|
-
|
|
1589
|
-
archived_at?: Date;
|
|
1590
|
-
|
|
1591
|
-
ban_expires?: Date;
|
|
1592
|
-
|
|
1593
|
-
blocked?: boolean;
|
|
1594
|
-
|
|
1595
|
-
deleted_at?: Date;
|
|
1596
|
-
|
|
1597
|
-
hidden?: boolean;
|
|
1598
|
-
|
|
1599
|
-
invite_accepted_at?: Date;
|
|
1600
|
-
|
|
1601
|
-
invite_rejected_at?: Date;
|
|
1602
|
-
|
|
1603
|
-
invited?: boolean;
|
|
1604
|
-
|
|
1605
|
-
is_moderator?: boolean;
|
|
1606
|
-
|
|
1607
|
-
pinned_at?: Date;
|
|
1608
|
-
|
|
1609
|
-
status?: string;
|
|
1610
|
-
|
|
1611
|
-
user_id?: string;
|
|
1612
|
-
|
|
1613
|
-
deleted_messages?: string[];
|
|
1614
|
-
|
|
1615
|
-
channel?: DenormalizedChannelFields;
|
|
1616
|
-
|
|
1617
|
-
user?: User;
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
|
-
export interface ChannelMemberLookup {
|
|
1621
|
-
archived: boolean;
|
|
1622
|
-
|
|
1623
|
-
banned: boolean;
|
|
1624
|
-
|
|
1625
|
-
blocked: boolean;
|
|
1626
|
-
|
|
1627
|
-
hidden: boolean;
|
|
1628
|
-
|
|
1629
|
-
pinned: boolean;
|
|
1630
|
-
|
|
1631
|
-
archived_at?: Date;
|
|
1632
|
-
|
|
1633
|
-
ban_expires?: Date;
|
|
1634
|
-
|
|
1635
|
-
pinned_at?: Date;
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
1486
|
export interface ChannelMemberResponse {
|
|
1639
1487
|
banned: boolean;
|
|
1640
1488
|
|
|
@@ -1666,7 +1514,7 @@ export interface ChannelMemberResponse {
|
|
|
1666
1514
|
|
|
1667
1515
|
pinned_at?: Date;
|
|
1668
1516
|
|
|
1669
|
-
role?:
|
|
1517
|
+
role?: string;
|
|
1670
1518
|
|
|
1671
1519
|
status?: string;
|
|
1672
1520
|
|
|
@@ -1732,7 +1580,7 @@ export const ChannelOwnCapability = {
|
|
|
1732
1580
|
export type ChannelOwnCapability =
|
|
1733
1581
|
(typeof ChannelOwnCapability)[keyof typeof ChannelOwnCapability];
|
|
1734
1582
|
|
|
1735
|
-
export interface
|
|
1583
|
+
export interface ChannelPushPreferencesResponse {
|
|
1736
1584
|
chat_level?: string;
|
|
1737
1585
|
|
|
1738
1586
|
disabled_until?: Date;
|
|
@@ -1796,6 +1644,14 @@ export interface ChannelResponse {
|
|
|
1796
1644
|
truncated_by?: UserResponse;
|
|
1797
1645
|
}
|
|
1798
1646
|
|
|
1647
|
+
export interface ClosedCaptionRuleParameters {
|
|
1648
|
+
threshold?: number;
|
|
1649
|
+
|
|
1650
|
+
harm_labels?: string[];
|
|
1651
|
+
|
|
1652
|
+
llm_harm_labels?: Record<string, string>;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1799
1655
|
export interface CollectionRequest {
|
|
1800
1656
|
name: string;
|
|
1801
1657
|
|
|
@@ -1951,7 +1807,7 @@ export interface CommentResponse {
|
|
|
1951
1807
|
|
|
1952
1808
|
score: number;
|
|
1953
1809
|
|
|
1954
|
-
status:
|
|
1810
|
+
status: 'active' | 'deleted' | 'removed' | 'hidden' | 'shadow_blocked';
|
|
1955
1811
|
|
|
1956
1812
|
updated_at: Date;
|
|
1957
1813
|
|
|
@@ -1981,7 +1837,7 @@ export interface CommentResponse {
|
|
|
1981
1837
|
|
|
1982
1838
|
moderation?: ModerationV2Response;
|
|
1983
1839
|
|
|
1984
|
-
reaction_groups?: Record<string,
|
|
1840
|
+
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
1985
1841
|
}
|
|
1986
1842
|
|
|
1987
1843
|
export interface CommentUpdatedEvent {
|
|
@@ -2006,38 +1862,6 @@ export interface CompositeRecordingResponse {
|
|
|
2006
1862
|
status: string;
|
|
2007
1863
|
}
|
|
2008
1864
|
|
|
2009
|
-
export interface ConfigOverrides {
|
|
2010
|
-
commands: string[];
|
|
2011
|
-
|
|
2012
|
-
grants: Record<string, string[]>;
|
|
2013
|
-
|
|
2014
|
-
blocklist?: string;
|
|
2015
|
-
|
|
2016
|
-
blocklist_behavior?: 'flag' | 'block';
|
|
2017
|
-
|
|
2018
|
-
count_messages?: boolean;
|
|
2019
|
-
|
|
2020
|
-
max_message_length?: number;
|
|
2021
|
-
|
|
2022
|
-
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
2023
|
-
|
|
2024
|
-
quotes?: boolean;
|
|
2025
|
-
|
|
2026
|
-
reactions?: boolean;
|
|
2027
|
-
|
|
2028
|
-
replies?: boolean;
|
|
2029
|
-
|
|
2030
|
-
shared_locations?: boolean;
|
|
2031
|
-
|
|
2032
|
-
typing_events?: boolean;
|
|
2033
|
-
|
|
2034
|
-
uploads?: boolean;
|
|
2035
|
-
|
|
2036
|
-
url_enrichment?: boolean;
|
|
2037
|
-
|
|
2038
|
-
user_message_reminders?: boolean;
|
|
2039
|
-
}
|
|
2040
|
-
|
|
2041
1865
|
export interface ConfigResponse {
|
|
2042
1866
|
async: boolean;
|
|
2043
1867
|
|
|
@@ -2053,6 +1877,8 @@ export interface ConfigResponse {
|
|
|
2053
1877
|
|
|
2054
1878
|
ai_image_config?: AIImageConfig;
|
|
2055
1879
|
|
|
1880
|
+
ai_image_subclassifications?: Record<string, string[]>;
|
|
1881
|
+
|
|
2056
1882
|
ai_text_config?: AITextConfig;
|
|
2057
1883
|
|
|
2058
1884
|
ai_video_config?: AIVideoConfig;
|
|
@@ -2192,7 +2018,7 @@ export interface CreatePollRequest {
|
|
|
2192
2018
|
custom?: Record<string, any>;
|
|
2193
2019
|
}
|
|
2194
2020
|
|
|
2195
|
-
export interface
|
|
2021
|
+
export interface CustomActionRequestPayload {
|
|
2196
2022
|
id?: string;
|
|
2197
2023
|
|
|
2198
2024
|
options?: Record<string, any>;
|
|
@@ -2238,7 +2064,11 @@ export interface DeleteActivityReactionResponse {
|
|
|
2238
2064
|
reaction: FeedsReactionResponse;
|
|
2239
2065
|
}
|
|
2240
2066
|
|
|
2241
|
-
export interface
|
|
2067
|
+
export interface DeleteActivityRequestPayload {
|
|
2068
|
+
entity_id?: string;
|
|
2069
|
+
|
|
2070
|
+
entity_type?: string;
|
|
2071
|
+
|
|
2242
2072
|
hard_delete?: boolean;
|
|
2243
2073
|
|
|
2244
2074
|
reason?: string;
|
|
@@ -2270,7 +2100,11 @@ export interface DeleteCommentReactionResponse {
|
|
|
2270
2100
|
reaction: FeedsReactionResponse;
|
|
2271
2101
|
}
|
|
2272
2102
|
|
|
2273
|
-
export interface
|
|
2103
|
+
export interface DeleteCommentRequestPayload {
|
|
2104
|
+
entity_id?: string;
|
|
2105
|
+
|
|
2106
|
+
entity_type?: string;
|
|
2107
|
+
|
|
2274
2108
|
hard_delete?: boolean;
|
|
2275
2109
|
|
|
2276
2110
|
reason?: string;
|
|
@@ -2290,7 +2124,11 @@ export interface DeleteFeedResponse {
|
|
|
2290
2124
|
task_id: string;
|
|
2291
2125
|
}
|
|
2292
2126
|
|
|
2293
|
-
export interface
|
|
2127
|
+
export interface DeleteMessageRequestPayload {
|
|
2128
|
+
entity_id?: string;
|
|
2129
|
+
|
|
2130
|
+
entity_type?: string;
|
|
2131
|
+
|
|
2294
2132
|
hard_delete?: boolean;
|
|
2295
2133
|
|
|
2296
2134
|
reason?: string;
|
|
@@ -2300,17 +2138,25 @@ export interface DeleteModerationConfigResponse {
|
|
|
2300
2138
|
duration: string;
|
|
2301
2139
|
}
|
|
2302
2140
|
|
|
2303
|
-
export interface
|
|
2141
|
+
export interface DeleteReactionRequestPayload {
|
|
2142
|
+
entity_id?: string;
|
|
2143
|
+
|
|
2144
|
+
entity_type?: string;
|
|
2145
|
+
|
|
2304
2146
|
hard_delete?: boolean;
|
|
2305
2147
|
|
|
2306
2148
|
reason?: string;
|
|
2307
2149
|
}
|
|
2308
2150
|
|
|
2309
|
-
export interface
|
|
2151
|
+
export interface DeleteUserRequestPayload {
|
|
2310
2152
|
delete_conversation_channels?: boolean;
|
|
2311
2153
|
|
|
2312
2154
|
delete_feeds_content?: boolean;
|
|
2313
2155
|
|
|
2156
|
+
entity_id?: string;
|
|
2157
|
+
|
|
2158
|
+
entity_type?: string;
|
|
2159
|
+
|
|
2314
2160
|
hard_delete?: boolean;
|
|
2315
2161
|
|
|
2316
2162
|
mark_messages_deleted?: boolean;
|
|
@@ -2318,56 +2164,10 @@ export interface DeleteUserRequest {
|
|
|
2318
2164
|
reason?: string;
|
|
2319
2165
|
}
|
|
2320
2166
|
|
|
2321
|
-
export interface DeliveryReceipts {
|
|
2322
|
-
enabled: boolean;
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
2167
|
export interface DeliveryReceiptsResponse {
|
|
2326
2168
|
enabled: boolean;
|
|
2327
2169
|
}
|
|
2328
2170
|
|
|
2329
|
-
export interface DenormalizedChannelFields {
|
|
2330
|
-
created_at?: string;
|
|
2331
|
-
|
|
2332
|
-
created_by_id?: string;
|
|
2333
|
-
|
|
2334
|
-
disabled?: boolean;
|
|
2335
|
-
|
|
2336
|
-
frozen?: boolean;
|
|
2337
|
-
|
|
2338
|
-
id?: string;
|
|
2339
|
-
|
|
2340
|
-
last_message_at?: string;
|
|
2341
|
-
|
|
2342
|
-
member_count?: number;
|
|
2343
|
-
|
|
2344
|
-
team?: string;
|
|
2345
|
-
|
|
2346
|
-
type?: string;
|
|
2347
|
-
|
|
2348
|
-
updated_at?: string;
|
|
2349
|
-
|
|
2350
|
-
custom?: Record<string, any>;
|
|
2351
|
-
}
|
|
2352
|
-
|
|
2353
|
-
export interface Device {
|
|
2354
|
-
created_at: Date;
|
|
2355
|
-
|
|
2356
|
-
id: string;
|
|
2357
|
-
|
|
2358
|
-
push_provider: 'firebase' | 'apn' | 'huawei' | 'xiaomi';
|
|
2359
|
-
|
|
2360
|
-
user_id: string;
|
|
2361
|
-
|
|
2362
|
-
disabled?: boolean;
|
|
2363
|
-
|
|
2364
|
-
disabled_reason?: string;
|
|
2365
|
-
|
|
2366
|
-
push_provider_name?: string;
|
|
2367
|
-
|
|
2368
|
-
voip?: boolean;
|
|
2369
|
-
}
|
|
2370
|
-
|
|
2371
2171
|
export interface DeviceResponse {
|
|
2372
2172
|
created_at: Date;
|
|
2373
2173
|
|
|
@@ -2912,7 +2712,7 @@ export interface FeedResponse {
|
|
|
2912
2712
|
|
|
2913
2713
|
deleted_at?: Date;
|
|
2914
2714
|
|
|
2915
|
-
visibility?:
|
|
2715
|
+
visibility?: 'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
2916
2716
|
|
|
2917
2717
|
filter_tags?: string[];
|
|
2918
2718
|
|
|
@@ -2960,7 +2760,7 @@ export interface FeedSuggestionResponse {
|
|
|
2960
2760
|
|
|
2961
2761
|
recommendation_score?: number;
|
|
2962
2762
|
|
|
2963
|
-
visibility?:
|
|
2763
|
+
visibility?: 'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
2964
2764
|
|
|
2965
2765
|
filter_tags?: string[];
|
|
2966
2766
|
|
|
@@ -3016,6 +2816,8 @@ export interface FeedsPreferencesResponse {
|
|
|
3016
2816
|
|
|
3017
2817
|
comment_reaction?: string;
|
|
3018
2818
|
|
|
2819
|
+
comment_reply?: string;
|
|
2820
|
+
|
|
3019
2821
|
follow?: string;
|
|
3020
2822
|
|
|
3021
2823
|
mention?: string;
|
|
@@ -3025,6 +2827,14 @@ export interface FeedsPreferencesResponse {
|
|
|
3025
2827
|
custom_activity_types?: Record<string, string>;
|
|
3026
2828
|
}
|
|
3027
2829
|
|
|
2830
|
+
export interface FeedsReactionGroupResponse {
|
|
2831
|
+
count: number;
|
|
2832
|
+
|
|
2833
|
+
first_reaction_at: Date;
|
|
2834
|
+
|
|
2835
|
+
last_reaction_at: Date;
|
|
2836
|
+
}
|
|
2837
|
+
|
|
3028
2838
|
export interface FeedsReactionResponse {
|
|
3029
2839
|
activity_id: string;
|
|
3030
2840
|
|
|
@@ -3326,6 +3136,8 @@ export interface GetBlockedUsersResponse {
|
|
|
3326
3136
|
export interface GetCommentRepliesResponse {
|
|
3327
3137
|
duration: string;
|
|
3328
3138
|
|
|
3139
|
+
sort: string;
|
|
3140
|
+
|
|
3329
3141
|
comments: ThreadedCommentResponse[];
|
|
3330
3142
|
|
|
3331
3143
|
next?: string;
|
|
@@ -3342,6 +3154,8 @@ export interface GetCommentResponse {
|
|
|
3342
3154
|
export interface GetCommentsResponse {
|
|
3343
3155
|
duration: string;
|
|
3344
3156
|
|
|
3157
|
+
sort: string;
|
|
3158
|
+
|
|
3345
3159
|
comments: ThreadedCommentResponse[];
|
|
3346
3160
|
|
|
3347
3161
|
next?: string;
|
|
@@ -3436,17 +3250,11 @@ export interface GetOrCreateFeedRequest {
|
|
|
3436
3250
|
|
|
3437
3251
|
following_pagination?: PagerRequest;
|
|
3438
3252
|
|
|
3253
|
+
friend_reactions_options?: FriendReactionsOptions;
|
|
3254
|
+
|
|
3439
3255
|
interest_weights?: Record<string, number>;
|
|
3440
3256
|
|
|
3441
3257
|
member_pagination?: PagerRequest;
|
|
3442
|
-
|
|
3443
|
-
friend_reactions_options?: FriendReactionsOptions;
|
|
3444
|
-
}
|
|
3445
|
-
|
|
3446
|
-
export interface FriendReactionsOptions {
|
|
3447
|
-
enabled?: boolean;
|
|
3448
|
-
type?: 'following' | 'mutual';
|
|
3449
|
-
limit?: number;
|
|
3450
3258
|
}
|
|
3451
3259
|
|
|
3452
3260
|
export interface GetOrCreateFeedResponse {
|
|
@@ -3546,11 +3354,11 @@ export interface ImageRuleParameters {
|
|
|
3546
3354
|
}
|
|
3547
3355
|
|
|
3548
3356
|
export interface ImageSize {
|
|
3549
|
-
crop?:
|
|
3357
|
+
crop?: string;
|
|
3550
3358
|
|
|
3551
3359
|
height?: number;
|
|
3552
3360
|
|
|
3553
|
-
resize?:
|
|
3361
|
+
resize?: string;
|
|
3554
3362
|
|
|
3555
3363
|
width?: number;
|
|
3556
3364
|
}
|
|
@@ -3595,6 +3403,8 @@ export interface IndividualRecordingResponse {
|
|
|
3595
3403
|
|
|
3596
3404
|
export interface IndividualRecordingSettingsResponse {
|
|
3597
3405
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
3406
|
+
|
|
3407
|
+
output_types?: string[];
|
|
3598
3408
|
}
|
|
3599
3409
|
|
|
3600
3410
|
export interface IngressAudioEncodingResponse {
|
|
@@ -3639,6 +3449,14 @@ export interface IngressVideoLayerResponse {
|
|
|
3639
3449
|
min_dimension: number;
|
|
3640
3450
|
}
|
|
3641
3451
|
|
|
3452
|
+
export interface KeyframeRuleParameters {
|
|
3453
|
+
min_confidence?: number;
|
|
3454
|
+
|
|
3455
|
+
threshold?: number;
|
|
3456
|
+
|
|
3457
|
+
harm_labels?: string[];
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3642
3460
|
export interface LLMConfig {
|
|
3643
3461
|
enabled: boolean;
|
|
3644
3462
|
|
|
@@ -3708,7 +3526,7 @@ export interface MarkActivityRequest {
|
|
|
3708
3526
|
mark_watched?: string[];
|
|
3709
3527
|
}
|
|
3710
3528
|
|
|
3711
|
-
export interface
|
|
3529
|
+
export interface MarkReviewedRequestPayload {
|
|
3712
3530
|
content_to_mark_as_reviewed_limit?: number;
|
|
3713
3531
|
|
|
3714
3532
|
decision_reason?: string;
|
|
@@ -3734,120 +3552,6 @@ export interface MembershipLevelResponse {
|
|
|
3734
3552
|
custom?: Record<string, any>;
|
|
3735
3553
|
}
|
|
3736
3554
|
|
|
3737
|
-
export interface Message {
|
|
3738
|
-
cid: string;
|
|
3739
|
-
|
|
3740
|
-
created_at: Date;
|
|
3741
|
-
|
|
3742
|
-
deleted_reply_count: number;
|
|
3743
|
-
|
|
3744
|
-
html: string;
|
|
3745
|
-
|
|
3746
|
-
id: string;
|
|
3747
|
-
|
|
3748
|
-
mentioned_channel: boolean;
|
|
3749
|
-
|
|
3750
|
-
pinned: boolean;
|
|
3751
|
-
|
|
3752
|
-
reply_count: number;
|
|
3753
|
-
|
|
3754
|
-
shadowed: boolean;
|
|
3755
|
-
|
|
3756
|
-
silent: boolean;
|
|
3757
|
-
|
|
3758
|
-
text: string;
|
|
3759
|
-
|
|
3760
|
-
type: string;
|
|
3761
|
-
|
|
3762
|
-
updated_at: Date;
|
|
3763
|
-
|
|
3764
|
-
attachments: Attachment[];
|
|
3765
|
-
|
|
3766
|
-
latest_reactions: Reaction[];
|
|
3767
|
-
|
|
3768
|
-
mentioned_users: User[];
|
|
3769
|
-
|
|
3770
|
-
own_reactions: Reaction[];
|
|
3771
|
-
|
|
3772
|
-
restricted_visibility: string[];
|
|
3773
|
-
|
|
3774
|
-
custom: Record<string, any>;
|
|
3775
|
-
|
|
3776
|
-
reaction_counts: Record<string, number>;
|
|
3777
|
-
|
|
3778
|
-
reaction_groups: Record<string, ReactionGroupResponse>;
|
|
3779
|
-
|
|
3780
|
-
reaction_scores: Record<string, number>;
|
|
3781
|
-
|
|
3782
|
-
before_message_send_failed?: boolean;
|
|
3783
|
-
|
|
3784
|
-
command?: string;
|
|
3785
|
-
|
|
3786
|
-
deleted_at?: Date;
|
|
3787
|
-
|
|
3788
|
-
deleted_for_me?: boolean;
|
|
3789
|
-
|
|
3790
|
-
message_text_updated_at?: Date;
|
|
3791
|
-
|
|
3792
|
-
mml?: string;
|
|
3793
|
-
|
|
3794
|
-
parent_id?: string;
|
|
3795
|
-
|
|
3796
|
-
pin_expires?: Date;
|
|
3797
|
-
|
|
3798
|
-
pinned_at?: Date;
|
|
3799
|
-
|
|
3800
|
-
poll_id?: string;
|
|
3801
|
-
|
|
3802
|
-
quoted_message_id?: string;
|
|
3803
|
-
|
|
3804
|
-
show_in_channel?: boolean;
|
|
3805
|
-
|
|
3806
|
-
thread_participants?: User[];
|
|
3807
|
-
|
|
3808
|
-
i18n?: Record<string, string>;
|
|
3809
|
-
|
|
3810
|
-
image_labels?: Record<string, string[]>;
|
|
3811
|
-
|
|
3812
|
-
member?: ChannelMember;
|
|
3813
|
-
|
|
3814
|
-
moderation?: ModerationV2Response;
|
|
3815
|
-
|
|
3816
|
-
pinned_by?: User;
|
|
3817
|
-
|
|
3818
|
-
poll?: Poll;
|
|
3819
|
-
|
|
3820
|
-
quoted_message?: Message;
|
|
3821
|
-
|
|
3822
|
-
reminder?: MessageReminder;
|
|
3823
|
-
|
|
3824
|
-
shared_location?: SharedLocation;
|
|
3825
|
-
|
|
3826
|
-
user?: User;
|
|
3827
|
-
}
|
|
3828
|
-
|
|
3829
|
-
export interface MessageReminder {
|
|
3830
|
-
channel_cid: string;
|
|
3831
|
-
|
|
3832
|
-
created_at: Date;
|
|
3833
|
-
|
|
3834
|
-
message_id: string;
|
|
3835
|
-
|
|
3836
|
-
task_id: string;
|
|
3837
|
-
|
|
3838
|
-
updated_at: Date;
|
|
3839
|
-
|
|
3840
|
-
user_id: string;
|
|
3841
|
-
|
|
3842
|
-
remind_at?: Date;
|
|
3843
|
-
|
|
3844
|
-
channel?: Channel;
|
|
3845
|
-
|
|
3846
|
-
message?: Message;
|
|
3847
|
-
|
|
3848
|
-
user?: User;
|
|
3849
|
-
}
|
|
3850
|
-
|
|
3851
3555
|
export interface MessageResponse {
|
|
3852
3556
|
cid: string;
|
|
3853
3557
|
|
|
@@ -3861,6 +3565,8 @@ export interface MessageResponse {
|
|
|
3861
3565
|
|
|
3862
3566
|
mentioned_channel: boolean;
|
|
3863
3567
|
|
|
3568
|
+
mentioned_here: boolean;
|
|
3569
|
+
|
|
3864
3570
|
pinned: boolean;
|
|
3865
3571
|
|
|
3866
3572
|
reply_count: number;
|
|
@@ -3871,7 +3577,7 @@ export interface MessageResponse {
|
|
|
3871
3577
|
|
|
3872
3578
|
text: string;
|
|
3873
3579
|
|
|
3874
|
-
type:
|
|
3580
|
+
type: string;
|
|
3875
3581
|
|
|
3876
3582
|
updated_at: Date;
|
|
3877
3583
|
|
|
@@ -3915,6 +3621,8 @@ export interface MessageResponse {
|
|
|
3915
3621
|
|
|
3916
3622
|
show_in_channel?: boolean;
|
|
3917
3623
|
|
|
3624
|
+
mentioned_roles?: string[];
|
|
3625
|
+
|
|
3918
3626
|
thread_participants?: UserResponse[];
|
|
3919
3627
|
|
|
3920
3628
|
draft?: DraftResponse;
|
|
@@ -3940,7 +3648,7 @@ export interface MessageResponse {
|
|
|
3940
3648
|
shared_location?: SharedLocationResponseData;
|
|
3941
3649
|
}
|
|
3942
3650
|
|
|
3943
|
-
export interface
|
|
3651
|
+
export interface ModerationActionConfigResponse {
|
|
3944
3652
|
action: string;
|
|
3945
3653
|
|
|
3946
3654
|
description: string;
|
|
@@ -3951,7 +3659,7 @@ export interface ModerationActionConfig {
|
|
|
3951
3659
|
|
|
3952
3660
|
order: number;
|
|
3953
3661
|
|
|
3954
|
-
custom
|
|
3662
|
+
custom?: Record<string, any>;
|
|
3955
3663
|
}
|
|
3956
3664
|
|
|
3957
3665
|
export interface ModerationCustomActionEvent {
|
|
@@ -3997,7 +3705,7 @@ export interface ModerationFlagResponse {
|
|
|
3997
3705
|
|
|
3998
3706
|
custom?: Record<string, any>;
|
|
3999
3707
|
|
|
4000
|
-
moderation_payload?:
|
|
3708
|
+
moderation_payload?: ModerationPayloadResponse;
|
|
4001
3709
|
|
|
4002
3710
|
review_queue_item?: ReviewQueueItemResponse;
|
|
4003
3711
|
|
|
@@ -4005,15 +3713,17 @@ export interface ModerationFlagResponse {
|
|
|
4005
3713
|
}
|
|
4006
3714
|
|
|
4007
3715
|
export interface ModerationFlaggedEvent {
|
|
3716
|
+
content_type: string;
|
|
3717
|
+
|
|
4008
3718
|
created_at: Date;
|
|
4009
3719
|
|
|
4010
|
-
|
|
3720
|
+
object_id: string;
|
|
4011
3721
|
|
|
4012
|
-
|
|
3722
|
+
custom: Record<string, any>;
|
|
4013
3723
|
|
|
4014
|
-
|
|
3724
|
+
type: string;
|
|
4015
3725
|
|
|
4016
|
-
|
|
3726
|
+
received_at?: Date;
|
|
4017
3727
|
}
|
|
4018
3728
|
|
|
4019
3729
|
export interface ModerationMarkReviewedEvent {
|
|
@@ -4040,6 +3750,16 @@ export interface ModerationPayload {
|
|
|
4040
3750
|
custom?: Record<string, any>;
|
|
4041
3751
|
}
|
|
4042
3752
|
|
|
3753
|
+
export interface ModerationPayloadResponse {
|
|
3754
|
+
images?: string[];
|
|
3755
|
+
|
|
3756
|
+
texts?: string[];
|
|
3757
|
+
|
|
3758
|
+
videos?: string[];
|
|
3759
|
+
|
|
3760
|
+
custom?: Record<string, any>;
|
|
3761
|
+
}
|
|
3762
|
+
|
|
4043
3763
|
export interface ModerationV2Response {
|
|
4044
3764
|
action: string;
|
|
4045
3765
|
|
|
@@ -4051,6 +3771,8 @@ export interface ModerationV2Response {
|
|
|
4051
3771
|
|
|
4052
3772
|
semantic_filter_matched?: string;
|
|
4053
3773
|
|
|
3774
|
+
blocklists_matched?: string[];
|
|
3775
|
+
|
|
4054
3776
|
image_harms?: string[];
|
|
4055
3777
|
|
|
4056
3778
|
text_harms?: string[];
|
|
@@ -4065,11 +3787,11 @@ export interface MuteRequest {
|
|
|
4065
3787
|
export interface MuteResponse {
|
|
4066
3788
|
duration: string;
|
|
4067
3789
|
|
|
4068
|
-
mutes?:
|
|
3790
|
+
mutes?: UserMuteResponse[];
|
|
4069
3791
|
|
|
4070
3792
|
non_existing_users?: string[];
|
|
4071
3793
|
|
|
4072
|
-
own_user?:
|
|
3794
|
+
own_user?: OwnUserResponse;
|
|
4073
3795
|
}
|
|
4074
3796
|
|
|
4075
3797
|
export interface NoiseCancellationSettings {
|
|
@@ -4191,71 +3913,13 @@ export interface OnlyUserID {
|
|
|
4191
3913
|
export interface OwnBatchRequest {
|
|
4192
3914
|
feeds: string[];
|
|
4193
3915
|
|
|
4194
|
-
fields?: string[];
|
|
4195
|
-
}
|
|
4196
|
-
|
|
4197
|
-
export interface OwnBatchResponse {
|
|
4198
|
-
duration: string;
|
|
4199
|
-
|
|
4200
|
-
data: Record<string, FeedOwnData>;
|
|
4201
|
-
}
|
|
4202
|
-
|
|
4203
|
-
export interface OwnUser {
|
|
4204
|
-
banned: boolean;
|
|
4205
|
-
|
|
4206
|
-
created_at: Date;
|
|
4207
|
-
|
|
4208
|
-
id: string;
|
|
4209
|
-
|
|
4210
|
-
language: string;
|
|
4211
|
-
|
|
4212
|
-
online: boolean;
|
|
4213
|
-
|
|
4214
|
-
role: string;
|
|
4215
|
-
|
|
4216
|
-
total_unread_count: number;
|
|
4217
|
-
|
|
4218
|
-
unread_channels: number;
|
|
4219
|
-
|
|
4220
|
-
unread_count: number;
|
|
4221
|
-
|
|
4222
|
-
unread_threads: number;
|
|
4223
|
-
|
|
4224
|
-
updated_at: Date;
|
|
4225
|
-
|
|
4226
|
-
channel_mutes: ChannelMute[];
|
|
4227
|
-
|
|
4228
|
-
devices: Device[];
|
|
4229
|
-
|
|
4230
|
-
mutes: UserMute[];
|
|
4231
|
-
|
|
4232
|
-
custom: Record<string, any>;
|
|
4233
|
-
|
|
4234
|
-
total_unread_count_by_team: Record<string, number>;
|
|
4235
|
-
|
|
4236
|
-
avg_response_time?: number;
|
|
4237
|
-
|
|
4238
|
-
deactivated_at?: Date;
|
|
4239
|
-
|
|
4240
|
-
deleted_at?: Date;
|
|
4241
|
-
|
|
4242
|
-
invisible?: boolean;
|
|
4243
|
-
|
|
4244
|
-
last_active?: Date;
|
|
4245
|
-
|
|
4246
|
-
last_engaged_at?: Date;
|
|
4247
|
-
|
|
4248
|
-
blocked_user_ids?: string[];
|
|
4249
|
-
|
|
4250
|
-
latest_hidden_channels?: string[];
|
|
4251
|
-
|
|
4252
|
-
teams?: string[];
|
|
4253
|
-
|
|
4254
|
-
privacy_settings?: PrivacySettings;
|
|
3916
|
+
fields?: string[];
|
|
3917
|
+
}
|
|
4255
3918
|
|
|
4256
|
-
|
|
3919
|
+
export interface OwnBatchResponse {
|
|
3920
|
+
duration: string;
|
|
4257
3921
|
|
|
4258
|
-
|
|
3922
|
+
data: Record<string, FeedOwnData>;
|
|
4259
3923
|
}
|
|
4260
3924
|
|
|
4261
3925
|
export interface OwnUserResponse {
|
|
@@ -4348,50 +4012,6 @@ export interface PinActivityResponse {
|
|
|
4348
4012
|
activity: ActivityResponse;
|
|
4349
4013
|
}
|
|
4350
4014
|
|
|
4351
|
-
export interface Poll {
|
|
4352
|
-
allow_answers: boolean;
|
|
4353
|
-
|
|
4354
|
-
allow_user_suggested_options: boolean;
|
|
4355
|
-
|
|
4356
|
-
answers_count: number;
|
|
4357
|
-
|
|
4358
|
-
created_at: Date;
|
|
4359
|
-
|
|
4360
|
-
created_by_id: string;
|
|
4361
|
-
|
|
4362
|
-
description: string;
|
|
4363
|
-
|
|
4364
|
-
enforce_unique_vote: boolean;
|
|
4365
|
-
|
|
4366
|
-
id: string;
|
|
4367
|
-
|
|
4368
|
-
name: string;
|
|
4369
|
-
|
|
4370
|
-
updated_at: Date;
|
|
4371
|
-
|
|
4372
|
-
vote_count: number;
|
|
4373
|
-
|
|
4374
|
-
latest_answers: PollVote[];
|
|
4375
|
-
|
|
4376
|
-
options: PollOption[];
|
|
4377
|
-
|
|
4378
|
-
own_votes: PollVote[];
|
|
4379
|
-
|
|
4380
|
-
custom: Record<string, any>;
|
|
4381
|
-
|
|
4382
|
-
latest_votes_by_option: Record<string, PollVote[]>;
|
|
4383
|
-
|
|
4384
|
-
vote_counts_by_option: Record<string, number>;
|
|
4385
|
-
|
|
4386
|
-
is_closed?: boolean;
|
|
4387
|
-
|
|
4388
|
-
max_votes_allowed?: number;
|
|
4389
|
-
|
|
4390
|
-
voting_visibility?: string;
|
|
4391
|
-
|
|
4392
|
-
created_by?: User;
|
|
4393
|
-
}
|
|
4394
|
-
|
|
4395
4015
|
export interface PollClosedFeedEvent {
|
|
4396
4016
|
created_at: Date;
|
|
4397
4017
|
|
|
@@ -4424,14 +4044,6 @@ export interface PollDeletedFeedEvent {
|
|
|
4424
4044
|
received_at?: Date;
|
|
4425
4045
|
}
|
|
4426
4046
|
|
|
4427
|
-
export interface PollOption {
|
|
4428
|
-
id: string;
|
|
4429
|
-
|
|
4430
|
-
text: string;
|
|
4431
|
-
|
|
4432
|
-
custom: Record<string, any>;
|
|
4433
|
-
}
|
|
4434
|
-
|
|
4435
4047
|
export interface PollOptionInput {
|
|
4436
4048
|
text?: string;
|
|
4437
4049
|
|
|
@@ -4526,26 +4138,6 @@ export interface PollUpdatedFeedEvent {
|
|
|
4526
4138
|
received_at?: Date;
|
|
4527
4139
|
}
|
|
4528
4140
|
|
|
4529
|
-
export interface PollVote {
|
|
4530
|
-
created_at: Date;
|
|
4531
|
-
|
|
4532
|
-
id: string;
|
|
4533
|
-
|
|
4534
|
-
option_id: string;
|
|
4535
|
-
|
|
4536
|
-
poll_id: string;
|
|
4537
|
-
|
|
4538
|
-
updated_at: Date;
|
|
4539
|
-
|
|
4540
|
-
answer_text?: string;
|
|
4541
|
-
|
|
4542
|
-
is_answer?: boolean;
|
|
4543
|
-
|
|
4544
|
-
user_id?: string;
|
|
4545
|
-
|
|
4546
|
-
user?: User;
|
|
4547
|
-
}
|
|
4548
|
-
|
|
4549
4141
|
export interface PollVoteCastedFeedEvent {
|
|
4550
4142
|
created_at: Date;
|
|
4551
4143
|
|
|
@@ -4638,14 +4230,6 @@ export interface PollVotesResponse {
|
|
|
4638
4230
|
prev?: string;
|
|
4639
4231
|
}
|
|
4640
4232
|
|
|
4641
|
-
export interface PrivacySettings {
|
|
4642
|
-
delivery_receipts?: DeliveryReceipts;
|
|
4643
|
-
|
|
4644
|
-
read_receipts?: ReadReceipts;
|
|
4645
|
-
|
|
4646
|
-
typing_indicators?: TypingIndicators;
|
|
4647
|
-
}
|
|
4648
|
-
|
|
4649
4233
|
export interface PrivacySettingsResponse {
|
|
4650
4234
|
delivery_receipts?: DeliveryReceiptsResponse;
|
|
4651
4235
|
|
|
@@ -4684,18 +4268,6 @@ export interface PushPreferenceInput {
|
|
|
4684
4268
|
feeds_preferences?: FeedsPreferences;
|
|
4685
4269
|
}
|
|
4686
4270
|
|
|
4687
|
-
export interface PushPreferences {
|
|
4688
|
-
call_level?: string;
|
|
4689
|
-
|
|
4690
|
-
chat_level?: string;
|
|
4691
|
-
|
|
4692
|
-
disabled_until?: Date;
|
|
4693
|
-
|
|
4694
|
-
feeds_level?: string;
|
|
4695
|
-
|
|
4696
|
-
feeds_preferences?: FeedsPreferences;
|
|
4697
|
-
}
|
|
4698
|
-
|
|
4699
4271
|
export interface PushPreferencesResponse {
|
|
4700
4272
|
call_level?: string;
|
|
4701
4273
|
|
|
@@ -4952,6 +4524,28 @@ export interface QueryModerationConfigsResponse {
|
|
|
4952
4524
|
prev?: string;
|
|
4953
4525
|
}
|
|
4954
4526
|
|
|
4527
|
+
export interface QueryPinnedActivitiesRequest {
|
|
4528
|
+
limit?: number;
|
|
4529
|
+
|
|
4530
|
+
next?: string;
|
|
4531
|
+
|
|
4532
|
+
prev?: string;
|
|
4533
|
+
|
|
4534
|
+
sort?: SortParamRequest[];
|
|
4535
|
+
|
|
4536
|
+
filter?: Record<string, any>;
|
|
4537
|
+
}
|
|
4538
|
+
|
|
4539
|
+
export interface QueryPinnedActivitiesResponse {
|
|
4540
|
+
duration: string;
|
|
4541
|
+
|
|
4542
|
+
pinned_activities: ActivityPinResponse[];
|
|
4543
|
+
|
|
4544
|
+
next?: string;
|
|
4545
|
+
|
|
4546
|
+
prev?: string;
|
|
4547
|
+
}
|
|
4548
|
+
|
|
4955
4549
|
export interface QueryPollVotesRequest {
|
|
4956
4550
|
limit?: number;
|
|
4957
4551
|
|
|
@@ -5011,7 +4605,7 @@ export interface QueryReviewQueueResponse {
|
|
|
5011
4605
|
|
|
5012
4606
|
items: ReviewQueueItemResponse[];
|
|
5013
4607
|
|
|
5014
|
-
action_config: Record<string,
|
|
4608
|
+
action_config: Record<string, ModerationActionConfigResponse[]>;
|
|
5015
4609
|
|
|
5016
4610
|
stats: Record<string, any>;
|
|
5017
4611
|
|
|
@@ -5140,10 +4734,6 @@ export interface ReadCollectionsResponse {
|
|
|
5140
4734
|
collections: CollectionResponse[];
|
|
5141
4735
|
}
|
|
5142
4736
|
|
|
5143
|
-
export interface ReadReceipts {
|
|
5144
|
-
enabled: boolean;
|
|
5145
|
-
}
|
|
5146
|
-
|
|
5147
4737
|
export interface ReadReceiptsResponse {
|
|
5148
4738
|
enabled: boolean;
|
|
5149
4739
|
}
|
|
@@ -5156,7 +4746,7 @@ export interface RecordSettingsResponse {
|
|
|
5156
4746
|
quality: string;
|
|
5157
4747
|
}
|
|
5158
4748
|
|
|
5159
|
-
export interface
|
|
4749
|
+
export interface RejectAppealRequestPayload {
|
|
5160
4750
|
decision_reason: string;
|
|
5161
4751
|
}
|
|
5162
4752
|
|
|
@@ -5214,7 +4804,7 @@ export interface Response {
|
|
|
5214
4804
|
duration: string;
|
|
5215
4805
|
}
|
|
5216
4806
|
|
|
5217
|
-
export interface
|
|
4807
|
+
export interface RestoreActionRequestPayload {
|
|
5218
4808
|
decision_reason?: string;
|
|
5219
4809
|
}
|
|
5220
4810
|
|
|
@@ -5253,7 +4843,7 @@ export interface ReviewQueueItemResponse {
|
|
|
5253
4843
|
|
|
5254
4844
|
actions: ActionLogResponse[];
|
|
5255
4845
|
|
|
5256
|
-
bans:
|
|
4846
|
+
bans: BanInfoResponse[];
|
|
5257
4847
|
|
|
5258
4848
|
flags: ModerationFlagResponse[];
|
|
5259
4849
|
|
|
@@ -5289,7 +4879,7 @@ export interface ReviewQueueItemResponse {
|
|
|
5289
4879
|
|
|
5290
4880
|
message?: MessageResponse;
|
|
5291
4881
|
|
|
5292
|
-
moderation_payload?:
|
|
4882
|
+
moderation_payload?: ModerationPayloadResponse;
|
|
5293
4883
|
|
|
5294
4884
|
reaction?: Reaction;
|
|
5295
4885
|
}
|
|
@@ -5303,7 +4893,7 @@ export interface RingSettingsResponse {
|
|
|
5303
4893
|
}
|
|
5304
4894
|
|
|
5305
4895
|
export interface RuleBuilderAction {
|
|
5306
|
-
type
|
|
4896
|
+
type?:
|
|
5307
4897
|
| 'ban_user'
|
|
5308
4898
|
| 'flag_user'
|
|
5309
4899
|
| 'flag_content'
|
|
@@ -5311,10 +4901,21 @@ export interface RuleBuilderAction {
|
|
|
5311
4901
|
| 'shadow_content'
|
|
5312
4902
|
| 'bounce_flag_content'
|
|
5313
4903
|
| 'bounce_content'
|
|
5314
|
-
| 'bounce_remove_content'
|
|
4904
|
+
| 'bounce_remove_content'
|
|
4905
|
+
| 'mute_video'
|
|
4906
|
+
| 'mute_audio'
|
|
4907
|
+
| 'blur'
|
|
4908
|
+
| 'call_blur'
|
|
4909
|
+
| 'end_call'
|
|
4910
|
+
| 'kick_user'
|
|
4911
|
+
| 'warning'
|
|
4912
|
+
| 'call_warning'
|
|
4913
|
+
| 'webhook_only';
|
|
5315
4914
|
|
|
5316
4915
|
ban_options?: BanOptions;
|
|
5317
4916
|
|
|
4917
|
+
call_options?: CallActionOptions;
|
|
4918
|
+
|
|
5318
4919
|
flag_user_options?: FlagUserOptions;
|
|
5319
4920
|
}
|
|
5320
4921
|
|
|
@@ -5323,6 +4924,14 @@ export interface RuleBuilderCondition {
|
|
|
5323
4924
|
|
|
5324
4925
|
type?: string;
|
|
5325
4926
|
|
|
4927
|
+
call_custom_property_params?: CallCustomPropertyParameters;
|
|
4928
|
+
|
|
4929
|
+
call_type_rule_params?: CallTypeRuleParameters;
|
|
4930
|
+
|
|
4931
|
+
call_violation_count_params?: CallViolationCountParameters;
|
|
4932
|
+
|
|
4933
|
+
closed_caption_rule_params?: ClosedCaptionRuleParameters;
|
|
4934
|
+
|
|
5326
4935
|
content_count_rule_params?: ContentCountRuleParameters;
|
|
5327
4936
|
|
|
5328
4937
|
content_flag_count_rule_params?: FlagCountRuleParameters;
|
|
@@ -5331,6 +4940,8 @@ export interface RuleBuilderCondition {
|
|
|
5331
4940
|
|
|
5332
4941
|
image_rule_params?: ImageRuleParameters;
|
|
5333
4942
|
|
|
4943
|
+
keyframe_rule_params?: KeyframeRuleParameters;
|
|
4944
|
+
|
|
5334
4945
|
text_content_params?: TextContentParameters;
|
|
5335
4946
|
|
|
5336
4947
|
text_rule_params?: TextRuleParameters;
|
|
@@ -5367,17 +4978,19 @@ export interface RuleBuilderConfig {
|
|
|
5367
4978
|
export interface RuleBuilderRule {
|
|
5368
4979
|
rule_type: string;
|
|
5369
4980
|
|
|
5370
|
-
action: RuleBuilderAction;
|
|
5371
|
-
|
|
5372
4981
|
cooldown_period?: string;
|
|
5373
4982
|
|
|
5374
4983
|
id?: string;
|
|
5375
4984
|
|
|
5376
4985
|
logic?: string;
|
|
5377
4986
|
|
|
4987
|
+
action_sequences?: CallRuleActionSequence[];
|
|
4988
|
+
|
|
5378
4989
|
conditions?: RuleBuilderCondition[];
|
|
5379
4990
|
|
|
5380
4991
|
groups?: RuleBuilderConditionGroup[];
|
|
4992
|
+
|
|
4993
|
+
action?: RuleBuilderAction;
|
|
5381
4994
|
}
|
|
5382
4995
|
|
|
5383
4996
|
export interface SRTIngress {
|
|
@@ -5396,34 +5009,10 @@ export interface SessionSettingsResponse {
|
|
|
5396
5009
|
inactivity_timeout_seconds: number;
|
|
5397
5010
|
}
|
|
5398
5011
|
|
|
5399
|
-
export interface
|
|
5012
|
+
export interface ShadowBlockActionRequestPayload {
|
|
5400
5013
|
reason?: string;
|
|
5401
5014
|
}
|
|
5402
5015
|
|
|
5403
|
-
export interface SharedLocation {
|
|
5404
|
-
channel_cid: string;
|
|
5405
|
-
|
|
5406
|
-
created_at: Date;
|
|
5407
|
-
|
|
5408
|
-
created_by_device_id: string;
|
|
5409
|
-
|
|
5410
|
-
message_id: string;
|
|
5411
|
-
|
|
5412
|
-
updated_at: Date;
|
|
5413
|
-
|
|
5414
|
-
user_id: string;
|
|
5415
|
-
|
|
5416
|
-
end_at?: Date;
|
|
5417
|
-
|
|
5418
|
-
latitude?: number;
|
|
5419
|
-
|
|
5420
|
-
longitude?: number;
|
|
5421
|
-
|
|
5422
|
-
channel?: Channel;
|
|
5423
|
-
|
|
5424
|
-
message?: Message;
|
|
5425
|
-
}
|
|
5426
|
-
|
|
5427
5016
|
export interface SharedLocationResponse {
|
|
5428
5017
|
channel_cid: string;
|
|
5429
5018
|
|
|
@@ -5501,7 +5090,7 @@ export interface SortParamRequest {
|
|
|
5501
5090
|
|
|
5502
5091
|
field?: string;
|
|
5503
5092
|
|
|
5504
|
-
type?:
|
|
5093
|
+
type?: string;
|
|
5505
5094
|
}
|
|
5506
5095
|
|
|
5507
5096
|
export interface SpeechSegmentConfig {
|
|
@@ -5538,6 +5127,7 @@ export interface StoriesFeedUpdatedEvent {
|
|
|
5538
5127
|
|
|
5539
5128
|
export interface SubmitActionRequest {
|
|
5540
5129
|
action_type:
|
|
5130
|
+
| 'flag'
|
|
5541
5131
|
| 'mark_reviewed'
|
|
5542
5132
|
| 'delete_message'
|
|
5543
5133
|
| 'delete_activity'
|
|
@@ -5560,33 +5150,35 @@ export interface SubmitActionRequest {
|
|
|
5560
5150
|
|
|
5561
5151
|
item_id?: string;
|
|
5562
5152
|
|
|
5563
|
-
ban?:
|
|
5153
|
+
ban?: BanActionRequestPayload;
|
|
5154
|
+
|
|
5155
|
+
block?: BlockActionRequestPayload;
|
|
5564
5156
|
|
|
5565
|
-
|
|
5157
|
+
custom?: CustomActionRequestPayload;
|
|
5566
5158
|
|
|
5567
|
-
|
|
5159
|
+
delete_activity?: DeleteActivityRequestPayload;
|
|
5568
5160
|
|
|
5569
|
-
|
|
5161
|
+
delete_comment?: DeleteCommentRequestPayload;
|
|
5570
5162
|
|
|
5571
|
-
|
|
5163
|
+
delete_message?: DeleteMessageRequestPayload;
|
|
5572
5164
|
|
|
5573
|
-
|
|
5165
|
+
delete_reaction?: DeleteReactionRequestPayload;
|
|
5574
5166
|
|
|
5575
|
-
|
|
5167
|
+
delete_user?: DeleteUserRequestPayload;
|
|
5576
5168
|
|
|
5577
|
-
|
|
5169
|
+
flag?: FlagRequest;
|
|
5578
5170
|
|
|
5579
|
-
mark_reviewed?:
|
|
5171
|
+
mark_reviewed?: MarkReviewedRequestPayload;
|
|
5580
5172
|
|
|
5581
|
-
reject_appeal?:
|
|
5173
|
+
reject_appeal?: RejectAppealRequestPayload;
|
|
5582
5174
|
|
|
5583
|
-
restore?:
|
|
5175
|
+
restore?: RestoreActionRequestPayload;
|
|
5584
5176
|
|
|
5585
|
-
shadow_block?:
|
|
5177
|
+
shadow_block?: ShadowBlockActionRequestPayload;
|
|
5586
5178
|
|
|
5587
|
-
unban?:
|
|
5179
|
+
unban?: UnbanActionRequestPayload;
|
|
5588
5180
|
|
|
5589
|
-
unblock?:
|
|
5181
|
+
unblock?: UnblockActionRequestPayload;
|
|
5590
5182
|
}
|
|
5591
5183
|
|
|
5592
5184
|
export interface SubmitActionResponse {
|
|
@@ -5656,7 +5248,7 @@ export interface ThreadedCommentResponse {
|
|
|
5656
5248
|
|
|
5657
5249
|
score: number;
|
|
5658
5250
|
|
|
5659
|
-
status:
|
|
5251
|
+
status: 'active' | 'deleted' | 'removed' | 'hidden' | 'shadow_blocked';
|
|
5660
5252
|
|
|
5661
5253
|
updated_at: Date;
|
|
5662
5254
|
|
|
@@ -5690,7 +5282,7 @@ export interface ThreadedCommentResponse {
|
|
|
5690
5282
|
|
|
5691
5283
|
moderation?: ModerationV2Response;
|
|
5692
5284
|
|
|
5693
|
-
reaction_groups?: Record<string,
|
|
5285
|
+
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
5694
5286
|
}
|
|
5695
5287
|
|
|
5696
5288
|
export interface Thresholds {
|
|
@@ -5766,19 +5358,17 @@ export interface TranslationSettings {
|
|
|
5766
5358
|
languages: string[];
|
|
5767
5359
|
}
|
|
5768
5360
|
|
|
5769
|
-
export interface TypingIndicators {
|
|
5770
|
-
enabled: boolean;
|
|
5771
|
-
}
|
|
5772
|
-
|
|
5773
5361
|
export interface TypingIndicatorsResponse {
|
|
5774
5362
|
enabled: boolean;
|
|
5775
5363
|
}
|
|
5776
5364
|
|
|
5777
|
-
export interface
|
|
5365
|
+
export interface UnbanActionRequestPayload {
|
|
5366
|
+
channel_cid?: string;
|
|
5367
|
+
|
|
5778
5368
|
decision_reason?: string;
|
|
5779
5369
|
}
|
|
5780
5370
|
|
|
5781
|
-
export interface
|
|
5371
|
+
export interface UnblockActionRequestPayload {
|
|
5782
5372
|
decision_reason?: string;
|
|
5783
5373
|
}
|
|
5784
5374
|
|
|
@@ -5872,6 +5462,8 @@ export interface UpdateActivityRequest {
|
|
|
5872
5462
|
custom?: Record<string, any>;
|
|
5873
5463
|
|
|
5874
5464
|
location?: ActivityLocation;
|
|
5465
|
+
|
|
5466
|
+
search_data?: Record<string, any>;
|
|
5875
5467
|
}
|
|
5876
5468
|
|
|
5877
5469
|
export interface UpdateActivityResponse {
|
|
@@ -6163,74 +5755,52 @@ export interface UpsertPushPreferencesResponse {
|
|
|
6163
5755
|
|
|
6164
5756
|
user_channel_preferences: Record<
|
|
6165
5757
|
string,
|
|
6166
|
-
Record<string,
|
|
5758
|
+
Record<string, ChannelPushPreferencesResponse | null>
|
|
6167
5759
|
>;
|
|
6168
5760
|
|
|
6169
|
-
user_preferences: Record<string,
|
|
5761
|
+
user_preferences: Record<string, PushPreferencesResponse>;
|
|
6170
5762
|
}
|
|
6171
5763
|
|
|
6172
5764
|
export interface User {
|
|
6173
|
-
banned: boolean;
|
|
6174
|
-
|
|
6175
5765
|
id: string;
|
|
6176
5766
|
|
|
6177
|
-
|
|
5767
|
+
data?: Record<string, any>;
|
|
5768
|
+
}
|
|
6178
5769
|
|
|
6179
|
-
|
|
5770
|
+
export interface UserBannedEvent {
|
|
5771
|
+
created_at: Date;
|
|
6180
5772
|
|
|
6181
5773
|
custom: Record<string, any>;
|
|
6182
5774
|
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
avg_response_time?: number;
|
|
6186
|
-
|
|
6187
|
-
ban_expires?: Date;
|
|
6188
|
-
|
|
6189
|
-
created_at?: Date;
|
|
6190
|
-
|
|
6191
|
-
deactivated_at?: Date;
|
|
6192
|
-
|
|
6193
|
-
deleted_at?: Date;
|
|
6194
|
-
|
|
6195
|
-
invisible?: boolean;
|
|
6196
|
-
|
|
6197
|
-
language?: string;
|
|
6198
|
-
|
|
6199
|
-
last_active?: Date;
|
|
6200
|
-
|
|
6201
|
-
last_engaged_at?: Date;
|
|
6202
|
-
|
|
6203
|
-
revoke_tokens_issued_before?: Date;
|
|
5775
|
+
user: UserResponseCommonFields;
|
|
6204
5776
|
|
|
6205
|
-
|
|
5777
|
+
type: string;
|
|
6206
5778
|
|
|
6207
|
-
|
|
5779
|
+
channel_id?: string;
|
|
6208
5780
|
|
|
6209
|
-
|
|
6210
|
-
}
|
|
5781
|
+
channel_member_count?: number;
|
|
6211
5782
|
|
|
6212
|
-
|
|
6213
|
-
channel_id: string;
|
|
5783
|
+
channel_message_count?: number;
|
|
6214
5784
|
|
|
6215
|
-
channel_type
|
|
5785
|
+
channel_type?: string;
|
|
6216
5786
|
|
|
6217
|
-
cid
|
|
5787
|
+
cid?: string;
|
|
6218
5788
|
|
|
6219
|
-
|
|
5789
|
+
expiration?: Date;
|
|
6220
5790
|
|
|
6221
|
-
|
|
5791
|
+
reason?: string;
|
|
6222
5792
|
|
|
6223
|
-
|
|
5793
|
+
received_at?: Date;
|
|
6224
5794
|
|
|
6225
|
-
|
|
5795
|
+
shadow?: boolean;
|
|
6226
5796
|
|
|
6227
|
-
|
|
5797
|
+
team?: string;
|
|
6228
5798
|
|
|
6229
|
-
|
|
5799
|
+
total_bans?: number;
|
|
6230
5800
|
|
|
6231
|
-
|
|
5801
|
+
channel_custom?: Record<string, any>;
|
|
6232
5802
|
|
|
6233
|
-
|
|
5803
|
+
created_by?: UserResponseCommonFields;
|
|
6234
5804
|
}
|
|
6235
5805
|
|
|
6236
5806
|
export interface UserCreatedWithinParameters {
|
|
@@ -6246,11 +5816,15 @@ export interface UserCustomPropertyParameters {
|
|
|
6246
5816
|
export interface UserDeactivatedEvent {
|
|
6247
5817
|
created_at: Date;
|
|
6248
5818
|
|
|
6249
|
-
|
|
5819
|
+
custom: Record<string, any>;
|
|
5820
|
+
|
|
5821
|
+
user: UserResponseCommonFields;
|
|
6250
5822
|
|
|
6251
5823
|
type: string;
|
|
6252
5824
|
|
|
6253
|
-
|
|
5825
|
+
received_at?: Date;
|
|
5826
|
+
|
|
5827
|
+
created_by?: UserResponseCommonFields;
|
|
6254
5828
|
}
|
|
6255
5829
|
|
|
6256
5830
|
export interface UserIdenticalContentCountParameters {
|
|
@@ -6259,18 +5833,6 @@ export interface UserIdenticalContentCountParameters {
|
|
|
6259
5833
|
time_window?: string;
|
|
6260
5834
|
}
|
|
6261
5835
|
|
|
6262
|
-
export interface UserMute {
|
|
6263
|
-
created_at: Date;
|
|
6264
|
-
|
|
6265
|
-
updated_at: Date;
|
|
6266
|
-
|
|
6267
|
-
expires?: Date;
|
|
6268
|
-
|
|
6269
|
-
target?: User;
|
|
6270
|
-
|
|
6271
|
-
user?: User;
|
|
6272
|
-
}
|
|
6273
|
-
|
|
6274
5836
|
export interface UserMuteResponse {
|
|
6275
5837
|
created_at: Date;
|
|
6276
5838
|
|
|
@@ -6283,24 +5845,18 @@ export interface UserMuteResponse {
|
|
|
6283
5845
|
user?: UserResponse;
|
|
6284
5846
|
}
|
|
6285
5847
|
|
|
6286
|
-
export interface
|
|
5848
|
+
export interface UserReactivatedEvent {
|
|
6287
5849
|
created_at: Date;
|
|
6288
5850
|
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
target_user?: string;
|
|
6292
|
-
|
|
6293
|
-
target_users?: string[];
|
|
6294
|
-
|
|
6295
|
-
user?: User;
|
|
6296
|
-
}
|
|
5851
|
+
custom: Record<string, any>;
|
|
6297
5852
|
|
|
6298
|
-
|
|
6299
|
-
created_at: Date;
|
|
5853
|
+
user: UserResponseCommonFields;
|
|
6300
5854
|
|
|
6301
5855
|
type: string;
|
|
6302
5856
|
|
|
6303
|
-
|
|
5857
|
+
received_at?: Date;
|
|
5858
|
+
|
|
5859
|
+
created_by?: UserResponseCommonFields;
|
|
6304
5860
|
}
|
|
6305
5861
|
|
|
6306
5862
|
export interface UserRequest {
|
|
@@ -6447,6 +6003,36 @@ export interface UserRuleParameters {
|
|
|
6447
6003
|
max_age?: string;
|
|
6448
6004
|
}
|
|
6449
6005
|
|
|
6006
|
+
export interface UserUnbannedEvent {
|
|
6007
|
+
created_at: Date;
|
|
6008
|
+
|
|
6009
|
+
custom: Record<string, any>;
|
|
6010
|
+
|
|
6011
|
+
user: UserResponseCommonFields;
|
|
6012
|
+
|
|
6013
|
+
type: string;
|
|
6014
|
+
|
|
6015
|
+
channel_id?: string;
|
|
6016
|
+
|
|
6017
|
+
channel_member_count?: number;
|
|
6018
|
+
|
|
6019
|
+
channel_message_count?: number;
|
|
6020
|
+
|
|
6021
|
+
channel_type?: string;
|
|
6022
|
+
|
|
6023
|
+
cid?: string;
|
|
6024
|
+
|
|
6025
|
+
received_at?: Date;
|
|
6026
|
+
|
|
6027
|
+
shadow?: boolean;
|
|
6028
|
+
|
|
6029
|
+
team?: string;
|
|
6030
|
+
|
|
6031
|
+
channel_custom?: Record<string, any>;
|
|
6032
|
+
|
|
6033
|
+
created_by?: UserResponseCommonFields;
|
|
6034
|
+
}
|
|
6035
|
+
|
|
6450
6036
|
export interface UserUpdatedEvent {
|
|
6451
6037
|
created_at: Date;
|
|
6452
6038
|
|
|
@@ -6517,9 +6103,9 @@ export interface VideoContentParameters {
|
|
|
6517
6103
|
harm_labels?: string[];
|
|
6518
6104
|
}
|
|
6519
6105
|
|
|
6520
|
-
export interface
|
|
6106
|
+
export interface VideoEndCallRequestPayload {}
|
|
6521
6107
|
|
|
6522
|
-
export interface
|
|
6108
|
+
export interface VideoKickUserRequestPayload {}
|
|
6523
6109
|
|
|
6524
6110
|
export interface VideoRuleParameters {
|
|
6525
6111
|
threshold?: number;
|
|
@@ -6607,7 +6193,12 @@ export type WSClientEvent =
|
|
|
6607
6193
|
| ({ type: 'feeds.stories_feed.updated' } & StoriesFeedUpdatedEvent)
|
|
6608
6194
|
| ({ type: 'health.check' } & HealthCheckEvent)
|
|
6609
6195
|
| ({ type: 'moderation.custom_action' } & ModerationCustomActionEvent)
|
|
6196
|
+
| ({ type: 'moderation.flagged' } & ModerationFlaggedEvent)
|
|
6610
6197
|
| ({ type: 'moderation.mark_reviewed' } & ModerationMarkReviewedEvent)
|
|
6198
|
+
| ({ type: 'user.banned' } & UserBannedEvent)
|
|
6199
|
+
| ({ type: 'user.deactivated' } & UserDeactivatedEvent)
|
|
6200
|
+
| ({ type: 'user.reactivated' } & UserReactivatedEvent)
|
|
6201
|
+
| ({ type: 'user.unbanned' } & UserUnbannedEvent)
|
|
6611
6202
|
| ({ type: 'user.updated' } & UserUpdatedEvent);
|
|
6612
6203
|
|
|
6613
6204
|
export type WSEvent =
|
|
@@ -6662,6 +6253,6 @@ export type WSEvent =
|
|
|
6662
6253
|
| ({ type: 'moderation.mark_reviewed' } & ModerationMarkReviewedEvent)
|
|
6663
6254
|
| ({ type: 'user.banned' } & UserBannedEvent)
|
|
6664
6255
|
| ({ type: 'user.deactivated' } & UserDeactivatedEvent)
|
|
6665
|
-
| ({ type: 'user.muted' } & UserMutedEvent)
|
|
6666
6256
|
| ({ type: 'user.reactivated' } & UserReactivatedEvent)
|
|
6257
|
+
| ({ type: 'user.unbanned' } & UserUnbannedEvent)
|
|
6667
6258
|
| ({ type: 'user.updated' } & UserUpdatedEvent);
|