@stream-io/feeds-client 0.3.48 → 0.3.50
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 +20 -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-D-EFo20w.mjs → feeds-client-BHpmg4_E.mjs} +270 -176
- package/dist/feeds-client-BHpmg4_E.mjs.map +1 -0
- package/dist/{feeds-client-DuJuJuEJ.js → feeds-client-CKxvuiKz.js} +270 -176
- package/dist/feeds-client-CKxvuiKz.js.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/common/Poll.d.ts +7 -3
- 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 +3 -1
- package/dist/types/feed/event-handlers/activity-updater.d.ts.map +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 +7 -3
- package/dist/types/feeds-client/feeds-client.d.ts.map +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts +34 -3
- 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 +276 -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 +16 -15
- package/src/feed/event-handlers/comment/handle-comment-added.ts +14 -2
- package/src/feed/feed.ts +25 -9
- package/src/feeds-client/feeds-client.ts +28 -1
- package/src/gen/feeds/FeedsApi.ts +200 -2
- package/src/gen/model-decoders/decoders.ts +95 -230
- package/src/gen/model-decoders/event-decoder-mapping.ts +6 -2
- package/src/gen/models/index.ts +443 -746
- 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-D-EFo20w.mjs.map +0 -1
- package/dist/feeds-client-DuJuJuEJ.js.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,12 @@ export interface ActivityResponse {
|
|
|
469
471
|
|
|
470
472
|
expires_at?: Date;
|
|
471
473
|
|
|
474
|
+
friend_reaction_count?: number;
|
|
475
|
+
|
|
476
|
+
is_read?: boolean;
|
|
477
|
+
|
|
478
|
+
is_seen?: boolean;
|
|
479
|
+
|
|
472
480
|
is_watched?: boolean;
|
|
473
481
|
|
|
474
482
|
moderation_action?: string;
|
|
@@ -479,6 +487,8 @@ export interface ActivityResponse {
|
|
|
479
487
|
|
|
480
488
|
visibility_tag?: string;
|
|
481
489
|
|
|
490
|
+
friend_reactions?: FeedsReactionResponse[];
|
|
491
|
+
|
|
482
492
|
current_feed?: FeedResponse;
|
|
483
493
|
|
|
484
494
|
location?: ActivityLocation;
|
|
@@ -490,10 +500,6 @@ export interface ActivityResponse {
|
|
|
490
500
|
parent?: ActivityResponse;
|
|
491
501
|
|
|
492
502
|
poll?: PollResponseData;
|
|
493
|
-
|
|
494
|
-
friend_reactions?: FeedsReactionResponse[];
|
|
495
|
-
|
|
496
|
-
friend_reaction_count?: number;
|
|
497
503
|
}
|
|
498
504
|
|
|
499
505
|
export interface ActivityRestoredEvent {
|
|
@@ -734,6 +740,18 @@ export interface AddReactionResponse {
|
|
|
734
740
|
notification_created?: boolean;
|
|
735
741
|
}
|
|
736
742
|
|
|
743
|
+
export interface AddUserGroupMembersRequest {
|
|
744
|
+
member_ids: string[];
|
|
745
|
+
|
|
746
|
+
team_id?: string;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
export interface AddUserGroupMembersResponse {
|
|
750
|
+
duration: string;
|
|
751
|
+
|
|
752
|
+
user_group?: UserGroupResponse;
|
|
753
|
+
}
|
|
754
|
+
|
|
737
755
|
export interface AggregatedActivityResponse {
|
|
738
756
|
activity_count: number;
|
|
739
757
|
|
|
@@ -751,6 +769,10 @@ export interface AggregatedActivityResponse {
|
|
|
751
769
|
|
|
752
770
|
activities: ActivityResponse[];
|
|
753
771
|
|
|
772
|
+
is_read?: boolean;
|
|
773
|
+
|
|
774
|
+
is_seen?: boolean;
|
|
775
|
+
|
|
754
776
|
is_watched?: boolean;
|
|
755
777
|
}
|
|
756
778
|
|
|
@@ -956,34 +978,34 @@ export interface BackstageSettingsResponse {
|
|
|
956
978
|
join_ahead_time_seconds?: number;
|
|
957
979
|
}
|
|
958
980
|
|
|
959
|
-
export interface
|
|
960
|
-
|
|
981
|
+
export interface BanActionRequestPayload {
|
|
982
|
+
channel_ban_only?: boolean;
|
|
961
983
|
|
|
962
|
-
|
|
984
|
+
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
963
985
|
|
|
964
|
-
|
|
986
|
+
ip_ban?: boolean;
|
|
965
987
|
|
|
966
988
|
reason?: string;
|
|
967
989
|
|
|
968
|
-
|
|
990
|
+
shadow?: boolean;
|
|
969
991
|
|
|
970
|
-
|
|
992
|
+
target_user_id?: string;
|
|
971
993
|
|
|
972
|
-
|
|
994
|
+
timeout?: number;
|
|
973
995
|
}
|
|
974
996
|
|
|
975
|
-
export interface
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
997
|
+
export interface BanInfoResponse {
|
|
998
|
+
created_at: Date;
|
|
979
999
|
|
|
980
|
-
|
|
1000
|
+
expires?: Date;
|
|
981
1001
|
|
|
982
1002
|
reason?: string;
|
|
983
1003
|
|
|
984
1004
|
shadow?: boolean;
|
|
985
1005
|
|
|
986
|
-
|
|
1006
|
+
created_by?: UserResponse;
|
|
1007
|
+
|
|
1008
|
+
user?: UserResponse;
|
|
987
1009
|
}
|
|
988
1010
|
|
|
989
1011
|
export interface BanOptions {
|
|
@@ -1022,7 +1044,7 @@ export interface BanResponse {
|
|
|
1022
1044
|
duration: string;
|
|
1023
1045
|
}
|
|
1024
1046
|
|
|
1025
|
-
export interface
|
|
1047
|
+
export interface BlockActionRequestPayload {
|
|
1026
1048
|
reason?: string;
|
|
1027
1049
|
}
|
|
1028
1050
|
|
|
@@ -1233,6 +1255,28 @@ export interface BroadcastSettingsResponse {
|
|
|
1233
1255
|
rtmp: RTMPSettingsResponse;
|
|
1234
1256
|
}
|
|
1235
1257
|
|
|
1258
|
+
export interface CallActionOptions {
|
|
1259
|
+
duration?: number;
|
|
1260
|
+
|
|
1261
|
+
flag_reason?: string;
|
|
1262
|
+
|
|
1263
|
+
kick_reason?: string;
|
|
1264
|
+
|
|
1265
|
+
mute_audio?: boolean;
|
|
1266
|
+
|
|
1267
|
+
mute_video?: boolean;
|
|
1268
|
+
|
|
1269
|
+
reason?: string;
|
|
1270
|
+
|
|
1271
|
+
warning_text?: string;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
export interface CallCustomPropertyParameters {
|
|
1275
|
+
operator?: string;
|
|
1276
|
+
|
|
1277
|
+
property_key?: string;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1236
1280
|
export interface CallIngressResponse {
|
|
1237
1281
|
rtmp: RTMPIngress;
|
|
1238
1282
|
|
|
@@ -1303,6 +1347,14 @@ export interface CallResponse {
|
|
|
1303
1347
|
thumbnails?: ThumbnailResponse;
|
|
1304
1348
|
}
|
|
1305
1349
|
|
|
1350
|
+
export interface CallRuleActionSequence {
|
|
1351
|
+
violation_number?: number;
|
|
1352
|
+
|
|
1353
|
+
actions?: string[];
|
|
1354
|
+
|
|
1355
|
+
call_options?: CallActionOptions;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1306
1358
|
export interface CallSessionResponse {
|
|
1307
1359
|
anonymous_participant_count: number;
|
|
1308
1360
|
|
|
@@ -1363,136 +1415,18 @@ export interface CallSettingsResponse {
|
|
|
1363
1415
|
ingress?: IngressSettingsResponse;
|
|
1364
1416
|
}
|
|
1365
1417
|
|
|
1366
|
-
export interface
|
|
1367
|
-
|
|
1418
|
+
export interface CallTypeRuleParameters {
|
|
1419
|
+
call_type?: string;
|
|
1368
1420
|
}
|
|
1369
1421
|
|
|
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>;
|
|
1422
|
+
export interface CallViolationCountParameters {
|
|
1423
|
+
threshold?: number;
|
|
1422
1424
|
|
|
1423
|
-
|
|
1425
|
+
time_window?: string;
|
|
1424
1426
|
}
|
|
1425
1427
|
|
|
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;
|
|
1428
|
+
export interface CastPollVoteRequest {
|
|
1429
|
+
vote?: VoteData;
|
|
1496
1430
|
}
|
|
1497
1431
|
|
|
1498
1432
|
export interface ChannelConfigWithInfo {
|
|
@@ -1569,72 +1503,6 @@ export interface ChannelConfigWithInfo {
|
|
|
1569
1503
|
grants?: Record<string, string[]>;
|
|
1570
1504
|
}
|
|
1571
1505
|
|
|
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
1506
|
export interface ChannelMemberResponse {
|
|
1639
1507
|
banned: boolean;
|
|
1640
1508
|
|
|
@@ -1666,7 +1534,7 @@ export interface ChannelMemberResponse {
|
|
|
1666
1534
|
|
|
1667
1535
|
pinned_at?: Date;
|
|
1668
1536
|
|
|
1669
|
-
role?:
|
|
1537
|
+
role?: string;
|
|
1670
1538
|
|
|
1671
1539
|
status?: string;
|
|
1672
1540
|
|
|
@@ -1732,7 +1600,7 @@ export const ChannelOwnCapability = {
|
|
|
1732
1600
|
export type ChannelOwnCapability =
|
|
1733
1601
|
(typeof ChannelOwnCapability)[keyof typeof ChannelOwnCapability];
|
|
1734
1602
|
|
|
1735
|
-
export interface
|
|
1603
|
+
export interface ChannelPushPreferencesResponse {
|
|
1736
1604
|
chat_level?: string;
|
|
1737
1605
|
|
|
1738
1606
|
disabled_until?: Date;
|
|
@@ -1796,6 +1664,14 @@ export interface ChannelResponse {
|
|
|
1796
1664
|
truncated_by?: UserResponse;
|
|
1797
1665
|
}
|
|
1798
1666
|
|
|
1667
|
+
export interface ClosedCaptionRuleParameters {
|
|
1668
|
+
threshold?: number;
|
|
1669
|
+
|
|
1670
|
+
harm_labels?: string[];
|
|
1671
|
+
|
|
1672
|
+
llm_harm_labels?: Record<string, string>;
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1799
1675
|
export interface CollectionRequest {
|
|
1800
1676
|
name: string;
|
|
1801
1677
|
|
|
@@ -1951,7 +1827,7 @@ export interface CommentResponse {
|
|
|
1951
1827
|
|
|
1952
1828
|
score: number;
|
|
1953
1829
|
|
|
1954
|
-
status:
|
|
1830
|
+
status: 'active' | 'deleted' | 'removed' | 'hidden' | 'shadow_blocked';
|
|
1955
1831
|
|
|
1956
1832
|
updated_at: Date;
|
|
1957
1833
|
|
|
@@ -1981,7 +1857,7 @@ export interface CommentResponse {
|
|
|
1981
1857
|
|
|
1982
1858
|
moderation?: ModerationV2Response;
|
|
1983
1859
|
|
|
1984
|
-
reaction_groups?: Record<string,
|
|
1860
|
+
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
1985
1861
|
}
|
|
1986
1862
|
|
|
1987
1863
|
export interface CommentUpdatedEvent {
|
|
@@ -2006,64 +1882,34 @@ export interface CompositeRecordingResponse {
|
|
|
2006
1882
|
status: string;
|
|
2007
1883
|
}
|
|
2008
1884
|
|
|
2009
|
-
export interface
|
|
2010
|
-
|
|
1885
|
+
export interface ConfigResponse {
|
|
1886
|
+
async: boolean;
|
|
2011
1887
|
|
|
2012
|
-
|
|
1888
|
+
created_at: Date;
|
|
2013
1889
|
|
|
2014
|
-
|
|
1890
|
+
key: string;
|
|
2015
1891
|
|
|
2016
|
-
|
|
1892
|
+
team: string;
|
|
2017
1893
|
|
|
2018
|
-
|
|
1894
|
+
updated_at: Date;
|
|
2019
1895
|
|
|
2020
|
-
|
|
1896
|
+
supported_video_call_harm_types: string[];
|
|
2021
1897
|
|
|
2022
|
-
|
|
1898
|
+
ai_image_config?: AIImageConfig;
|
|
2023
1899
|
|
|
2024
|
-
|
|
1900
|
+
ai_image_subclassifications?: Record<string, string[]>;
|
|
2025
1901
|
|
|
2026
|
-
|
|
1902
|
+
ai_text_config?: AITextConfig;
|
|
2027
1903
|
|
|
2028
|
-
|
|
1904
|
+
ai_video_config?: AIVideoConfig;
|
|
2029
1905
|
|
|
2030
|
-
|
|
1906
|
+
automod_platform_circumvention_config?: AutomodPlatformCircumventionConfig;
|
|
2031
1907
|
|
|
2032
|
-
|
|
1908
|
+
automod_semantic_filters_config?: AutomodSemanticFiltersConfig;
|
|
2033
1909
|
|
|
2034
|
-
|
|
1910
|
+
automod_toxicity_config?: AutomodToxicityConfig;
|
|
2035
1911
|
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
user_message_reminders?: boolean;
|
|
2039
|
-
}
|
|
2040
|
-
|
|
2041
|
-
export interface ConfigResponse {
|
|
2042
|
-
async: boolean;
|
|
2043
|
-
|
|
2044
|
-
created_at: Date;
|
|
2045
|
-
|
|
2046
|
-
key: string;
|
|
2047
|
-
|
|
2048
|
-
team: string;
|
|
2049
|
-
|
|
2050
|
-
updated_at: Date;
|
|
2051
|
-
|
|
2052
|
-
supported_video_call_harm_types: string[];
|
|
2053
|
-
|
|
2054
|
-
ai_image_config?: AIImageConfig;
|
|
2055
|
-
|
|
2056
|
-
ai_text_config?: AITextConfig;
|
|
2057
|
-
|
|
2058
|
-
ai_video_config?: AIVideoConfig;
|
|
2059
|
-
|
|
2060
|
-
automod_platform_circumvention_config?: AutomodPlatformCircumventionConfig;
|
|
2061
|
-
|
|
2062
|
-
automod_semantic_filters_config?: AutomodSemanticFiltersConfig;
|
|
2063
|
-
|
|
2064
|
-
automod_toxicity_config?: AutomodToxicityConfig;
|
|
2065
|
-
|
|
2066
|
-
block_list_config?: BlockListConfig;
|
|
1912
|
+
block_list_config?: BlockListConfig;
|
|
2067
1913
|
|
|
2068
1914
|
llm_config?: LLMConfig;
|
|
2069
1915
|
|
|
@@ -2192,7 +2038,25 @@ export interface CreatePollRequest {
|
|
|
2192
2038
|
custom?: Record<string, any>;
|
|
2193
2039
|
}
|
|
2194
2040
|
|
|
2195
|
-
export interface
|
|
2041
|
+
export interface CreateUserGroupRequest {
|
|
2042
|
+
name: string;
|
|
2043
|
+
|
|
2044
|
+
description?: string;
|
|
2045
|
+
|
|
2046
|
+
id?: string;
|
|
2047
|
+
|
|
2048
|
+
team_id?: string;
|
|
2049
|
+
|
|
2050
|
+
member_ids?: string[];
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
export interface CreateUserGroupResponse {
|
|
2054
|
+
duration: string;
|
|
2055
|
+
|
|
2056
|
+
user_group?: UserGroupResponse;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
export interface CustomActionRequestPayload {
|
|
2196
2060
|
id?: string;
|
|
2197
2061
|
|
|
2198
2062
|
options?: Record<string, any>;
|
|
@@ -2238,7 +2102,11 @@ export interface DeleteActivityReactionResponse {
|
|
|
2238
2102
|
reaction: FeedsReactionResponse;
|
|
2239
2103
|
}
|
|
2240
2104
|
|
|
2241
|
-
export interface
|
|
2105
|
+
export interface DeleteActivityRequestPayload {
|
|
2106
|
+
entity_id?: string;
|
|
2107
|
+
|
|
2108
|
+
entity_type?: string;
|
|
2109
|
+
|
|
2242
2110
|
hard_delete?: boolean;
|
|
2243
2111
|
|
|
2244
2112
|
reason?: string;
|
|
@@ -2270,7 +2138,11 @@ export interface DeleteCommentReactionResponse {
|
|
|
2270
2138
|
reaction: FeedsReactionResponse;
|
|
2271
2139
|
}
|
|
2272
2140
|
|
|
2273
|
-
export interface
|
|
2141
|
+
export interface DeleteCommentRequestPayload {
|
|
2142
|
+
entity_id?: string;
|
|
2143
|
+
|
|
2144
|
+
entity_type?: string;
|
|
2145
|
+
|
|
2274
2146
|
hard_delete?: boolean;
|
|
2275
2147
|
|
|
2276
2148
|
reason?: string;
|
|
@@ -2290,7 +2162,11 @@ export interface DeleteFeedResponse {
|
|
|
2290
2162
|
task_id: string;
|
|
2291
2163
|
}
|
|
2292
2164
|
|
|
2293
|
-
export interface
|
|
2165
|
+
export interface DeleteMessageRequestPayload {
|
|
2166
|
+
entity_id?: string;
|
|
2167
|
+
|
|
2168
|
+
entity_type?: string;
|
|
2169
|
+
|
|
2294
2170
|
hard_delete?: boolean;
|
|
2295
2171
|
|
|
2296
2172
|
reason?: string;
|
|
@@ -2300,17 +2176,25 @@ export interface DeleteModerationConfigResponse {
|
|
|
2300
2176
|
duration: string;
|
|
2301
2177
|
}
|
|
2302
2178
|
|
|
2303
|
-
export interface
|
|
2179
|
+
export interface DeleteReactionRequestPayload {
|
|
2180
|
+
entity_id?: string;
|
|
2181
|
+
|
|
2182
|
+
entity_type?: string;
|
|
2183
|
+
|
|
2304
2184
|
hard_delete?: boolean;
|
|
2305
2185
|
|
|
2306
2186
|
reason?: string;
|
|
2307
2187
|
}
|
|
2308
2188
|
|
|
2309
|
-
export interface
|
|
2189
|
+
export interface DeleteUserRequestPayload {
|
|
2310
2190
|
delete_conversation_channels?: boolean;
|
|
2311
2191
|
|
|
2312
2192
|
delete_feeds_content?: boolean;
|
|
2313
2193
|
|
|
2194
|
+
entity_id?: string;
|
|
2195
|
+
|
|
2196
|
+
entity_type?: string;
|
|
2197
|
+
|
|
2314
2198
|
hard_delete?: boolean;
|
|
2315
2199
|
|
|
2316
2200
|
mark_messages_deleted?: boolean;
|
|
@@ -2318,56 +2202,10 @@ export interface DeleteUserRequest {
|
|
|
2318
2202
|
reason?: string;
|
|
2319
2203
|
}
|
|
2320
2204
|
|
|
2321
|
-
export interface DeliveryReceipts {
|
|
2322
|
-
enabled: boolean;
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
2205
|
export interface DeliveryReceiptsResponse {
|
|
2326
2206
|
enabled: boolean;
|
|
2327
2207
|
}
|
|
2328
2208
|
|
|
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
2209
|
export interface DeviceResponse {
|
|
2372
2210
|
created_at: Date;
|
|
2373
2211
|
|
|
@@ -2718,6 +2556,22 @@ export interface FeedGroupDeletedEvent {
|
|
|
2718
2556
|
received_at?: Date;
|
|
2719
2557
|
}
|
|
2720
2558
|
|
|
2559
|
+
export interface FeedGroupRestoredEvent {
|
|
2560
|
+
created_at: Date;
|
|
2561
|
+
|
|
2562
|
+
fid: string;
|
|
2563
|
+
|
|
2564
|
+
group_id: string;
|
|
2565
|
+
|
|
2566
|
+
custom: Record<string, any>;
|
|
2567
|
+
|
|
2568
|
+
type: string;
|
|
2569
|
+
|
|
2570
|
+
feed_visibility?: string;
|
|
2571
|
+
|
|
2572
|
+
received_at?: Date;
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2721
2575
|
export interface FeedInput {
|
|
2722
2576
|
description?: string;
|
|
2723
2577
|
|
|
@@ -2912,7 +2766,7 @@ export interface FeedResponse {
|
|
|
2912
2766
|
|
|
2913
2767
|
deleted_at?: Date;
|
|
2914
2768
|
|
|
2915
|
-
visibility?:
|
|
2769
|
+
visibility?: 'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
2916
2770
|
|
|
2917
2771
|
filter_tags?: string[];
|
|
2918
2772
|
|
|
@@ -2960,7 +2814,7 @@ export interface FeedSuggestionResponse {
|
|
|
2960
2814
|
|
|
2961
2815
|
recommendation_score?: number;
|
|
2962
2816
|
|
|
2963
|
-
visibility?:
|
|
2817
|
+
visibility?: 'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
2964
2818
|
|
|
2965
2819
|
filter_tags?: string[];
|
|
2966
2820
|
|
|
@@ -3016,6 +2870,8 @@ export interface FeedsPreferencesResponse {
|
|
|
3016
2870
|
|
|
3017
2871
|
comment_reaction?: string;
|
|
3018
2872
|
|
|
2873
|
+
comment_reply?: string;
|
|
2874
|
+
|
|
3019
2875
|
follow?: string;
|
|
3020
2876
|
|
|
3021
2877
|
mention?: string;
|
|
@@ -3025,6 +2881,14 @@ export interface FeedsPreferencesResponse {
|
|
|
3025
2881
|
custom_activity_types?: Record<string, string>;
|
|
3026
2882
|
}
|
|
3027
2883
|
|
|
2884
|
+
export interface FeedsReactionGroupResponse {
|
|
2885
|
+
count: number;
|
|
2886
|
+
|
|
2887
|
+
first_reaction_at: Date;
|
|
2888
|
+
|
|
2889
|
+
last_reaction_at: Date;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
3028
2892
|
export interface FeedsReactionResponse {
|
|
3029
2893
|
activity_id: string;
|
|
3030
2894
|
|
|
@@ -3326,6 +3190,8 @@ export interface GetBlockedUsersResponse {
|
|
|
3326
3190
|
export interface GetCommentRepliesResponse {
|
|
3327
3191
|
duration: string;
|
|
3328
3192
|
|
|
3193
|
+
sort: string;
|
|
3194
|
+
|
|
3329
3195
|
comments: ThreadedCommentResponse[];
|
|
3330
3196
|
|
|
3331
3197
|
next?: string;
|
|
@@ -3342,6 +3208,8 @@ export interface GetCommentResponse {
|
|
|
3342
3208
|
export interface GetCommentsResponse {
|
|
3343
3209
|
duration: string;
|
|
3344
3210
|
|
|
3211
|
+
sort: string;
|
|
3212
|
+
|
|
3345
3213
|
comments: ThreadedCommentResponse[];
|
|
3346
3214
|
|
|
3347
3215
|
next?: string;
|
|
@@ -3436,17 +3304,11 @@ export interface GetOrCreateFeedRequest {
|
|
|
3436
3304
|
|
|
3437
3305
|
following_pagination?: PagerRequest;
|
|
3438
3306
|
|
|
3307
|
+
friend_reactions_options?: FriendReactionsOptions;
|
|
3308
|
+
|
|
3439
3309
|
interest_weights?: Record<string, number>;
|
|
3440
3310
|
|
|
3441
3311
|
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
3312
|
}
|
|
3451
3313
|
|
|
3452
3314
|
export interface GetOrCreateFeedResponse {
|
|
@@ -3481,6 +3343,12 @@ export interface GetOrCreateFeedResponse {
|
|
|
3481
3343
|
notification_status?: NotificationStatusResponse;
|
|
3482
3344
|
}
|
|
3483
3345
|
|
|
3346
|
+
export interface GetUserGroupResponse {
|
|
3347
|
+
duration: string;
|
|
3348
|
+
|
|
3349
|
+
user_group?: UserGroupResponse;
|
|
3350
|
+
}
|
|
3351
|
+
|
|
3484
3352
|
export interface GoogleVisionConfig {
|
|
3485
3353
|
enabled?: boolean;
|
|
3486
3354
|
}
|
|
@@ -3546,11 +3414,11 @@ export interface ImageRuleParameters {
|
|
|
3546
3414
|
}
|
|
3547
3415
|
|
|
3548
3416
|
export interface ImageSize {
|
|
3549
|
-
crop?:
|
|
3417
|
+
crop?: string;
|
|
3550
3418
|
|
|
3551
3419
|
height?: number;
|
|
3552
3420
|
|
|
3553
|
-
resize?:
|
|
3421
|
+
resize?: string;
|
|
3554
3422
|
|
|
3555
3423
|
width?: number;
|
|
3556
3424
|
}
|
|
@@ -3595,6 +3463,8 @@ export interface IndividualRecordingResponse {
|
|
|
3595
3463
|
|
|
3596
3464
|
export interface IndividualRecordingSettingsResponse {
|
|
3597
3465
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
3466
|
+
|
|
3467
|
+
output_types?: string[];
|
|
3598
3468
|
}
|
|
3599
3469
|
|
|
3600
3470
|
export interface IngressAudioEncodingResponse {
|
|
@@ -3639,6 +3509,14 @@ export interface IngressVideoLayerResponse {
|
|
|
3639
3509
|
min_dimension: number;
|
|
3640
3510
|
}
|
|
3641
3511
|
|
|
3512
|
+
export interface KeyframeRuleParameters {
|
|
3513
|
+
min_confidence?: number;
|
|
3514
|
+
|
|
3515
|
+
threshold?: number;
|
|
3516
|
+
|
|
3517
|
+
harm_labels?: string[];
|
|
3518
|
+
}
|
|
3519
|
+
|
|
3642
3520
|
export interface LLMConfig {
|
|
3643
3521
|
enabled: boolean;
|
|
3644
3522
|
|
|
@@ -3696,6 +3574,12 @@ export interface ListDevicesResponse {
|
|
|
3696
3574
|
devices: DeviceResponse[];
|
|
3697
3575
|
}
|
|
3698
3576
|
|
|
3577
|
+
export interface ListUserGroupsResponse {
|
|
3578
|
+
duration: string;
|
|
3579
|
+
|
|
3580
|
+
user_groups: UserGroupResponse[];
|
|
3581
|
+
}
|
|
3582
|
+
|
|
3699
3583
|
export interface MarkActivityRequest {
|
|
3700
3584
|
mark_all_read?: boolean;
|
|
3701
3585
|
|
|
@@ -3708,7 +3592,7 @@ export interface MarkActivityRequest {
|
|
|
3708
3592
|
mark_watched?: string[];
|
|
3709
3593
|
}
|
|
3710
3594
|
|
|
3711
|
-
export interface
|
|
3595
|
+
export interface MarkReviewedRequestPayload {
|
|
3712
3596
|
content_to_mark_as_reviewed_limit?: number;
|
|
3713
3597
|
|
|
3714
3598
|
decision_reason?: string;
|
|
@@ -3734,120 +3618,6 @@ export interface MembershipLevelResponse {
|
|
|
3734
3618
|
custom?: Record<string, any>;
|
|
3735
3619
|
}
|
|
3736
3620
|
|
|
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
3621
|
export interface MessageResponse {
|
|
3852
3622
|
cid: string;
|
|
3853
3623
|
|
|
@@ -3861,6 +3631,8 @@ export interface MessageResponse {
|
|
|
3861
3631
|
|
|
3862
3632
|
mentioned_channel: boolean;
|
|
3863
3633
|
|
|
3634
|
+
mentioned_here: boolean;
|
|
3635
|
+
|
|
3864
3636
|
pinned: boolean;
|
|
3865
3637
|
|
|
3866
3638
|
reply_count: number;
|
|
@@ -3871,7 +3643,7 @@ export interface MessageResponse {
|
|
|
3871
3643
|
|
|
3872
3644
|
text: string;
|
|
3873
3645
|
|
|
3874
|
-
type:
|
|
3646
|
+
type: string;
|
|
3875
3647
|
|
|
3876
3648
|
updated_at: Date;
|
|
3877
3649
|
|
|
@@ -3915,6 +3687,8 @@ export interface MessageResponse {
|
|
|
3915
3687
|
|
|
3916
3688
|
show_in_channel?: boolean;
|
|
3917
3689
|
|
|
3690
|
+
mentioned_roles?: string[];
|
|
3691
|
+
|
|
3918
3692
|
thread_participants?: UserResponse[];
|
|
3919
3693
|
|
|
3920
3694
|
draft?: DraftResponse;
|
|
@@ -3940,7 +3714,7 @@ export interface MessageResponse {
|
|
|
3940
3714
|
shared_location?: SharedLocationResponseData;
|
|
3941
3715
|
}
|
|
3942
3716
|
|
|
3943
|
-
export interface
|
|
3717
|
+
export interface ModerationActionConfigResponse {
|
|
3944
3718
|
action: string;
|
|
3945
3719
|
|
|
3946
3720
|
description: string;
|
|
@@ -3951,7 +3725,7 @@ export interface ModerationActionConfig {
|
|
|
3951
3725
|
|
|
3952
3726
|
order: number;
|
|
3953
3727
|
|
|
3954
|
-
custom
|
|
3728
|
+
custom?: Record<string, any>;
|
|
3955
3729
|
}
|
|
3956
3730
|
|
|
3957
3731
|
export interface ModerationCustomActionEvent {
|
|
@@ -3997,7 +3771,7 @@ export interface ModerationFlagResponse {
|
|
|
3997
3771
|
|
|
3998
3772
|
custom?: Record<string, any>;
|
|
3999
3773
|
|
|
4000
|
-
moderation_payload?:
|
|
3774
|
+
moderation_payload?: ModerationPayloadResponse;
|
|
4001
3775
|
|
|
4002
3776
|
review_queue_item?: ReviewQueueItemResponse;
|
|
4003
3777
|
|
|
@@ -4005,15 +3779,17 @@ export interface ModerationFlagResponse {
|
|
|
4005
3779
|
}
|
|
4006
3780
|
|
|
4007
3781
|
export interface ModerationFlaggedEvent {
|
|
3782
|
+
content_type: string;
|
|
3783
|
+
|
|
4008
3784
|
created_at: Date;
|
|
4009
3785
|
|
|
4010
|
-
|
|
3786
|
+
object_id: string;
|
|
4011
3787
|
|
|
4012
|
-
|
|
3788
|
+
custom: Record<string, any>;
|
|
4013
3789
|
|
|
4014
|
-
|
|
3790
|
+
type: string;
|
|
4015
3791
|
|
|
4016
|
-
|
|
3792
|
+
received_at?: Date;
|
|
4017
3793
|
}
|
|
4018
3794
|
|
|
4019
3795
|
export interface ModerationMarkReviewedEvent {
|
|
@@ -4040,6 +3816,16 @@ export interface ModerationPayload {
|
|
|
4040
3816
|
custom?: Record<string, any>;
|
|
4041
3817
|
}
|
|
4042
3818
|
|
|
3819
|
+
export interface ModerationPayloadResponse {
|
|
3820
|
+
images?: string[];
|
|
3821
|
+
|
|
3822
|
+
texts?: string[];
|
|
3823
|
+
|
|
3824
|
+
videos?: string[];
|
|
3825
|
+
|
|
3826
|
+
custom?: Record<string, any>;
|
|
3827
|
+
}
|
|
3828
|
+
|
|
4043
3829
|
export interface ModerationV2Response {
|
|
4044
3830
|
action: string;
|
|
4045
3831
|
|
|
@@ -4051,6 +3837,8 @@ export interface ModerationV2Response {
|
|
|
4051
3837
|
|
|
4052
3838
|
semantic_filter_matched?: string;
|
|
4053
3839
|
|
|
3840
|
+
blocklists_matched?: string[];
|
|
3841
|
+
|
|
4054
3842
|
image_harms?: string[];
|
|
4055
3843
|
|
|
4056
3844
|
text_harms?: string[];
|
|
@@ -4065,11 +3853,11 @@ export interface MuteRequest {
|
|
|
4065
3853
|
export interface MuteResponse {
|
|
4066
3854
|
duration: string;
|
|
4067
3855
|
|
|
4068
|
-
mutes?:
|
|
3856
|
+
mutes?: UserMuteResponse[];
|
|
4069
3857
|
|
|
4070
3858
|
non_existing_users?: string[];
|
|
4071
3859
|
|
|
4072
|
-
own_user?:
|
|
3860
|
+
own_user?: OwnUserResponse;
|
|
4073
3861
|
}
|
|
4074
3862
|
|
|
4075
3863
|
export interface NoiseCancellationSettings {
|
|
@@ -4200,64 +3988,6 @@ export interface OwnBatchResponse {
|
|
|
4200
3988
|
data: Record<string, FeedOwnData>;
|
|
4201
3989
|
}
|
|
4202
3990
|
|
|
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;
|
|
4255
|
-
|
|
4256
|
-
push_preferences?: PushPreferences;
|
|
4257
|
-
|
|
4258
|
-
teams_role?: Record<string, string>;
|
|
4259
|
-
}
|
|
4260
|
-
|
|
4261
3991
|
export interface OwnUserResponse {
|
|
4262
3992
|
banned: boolean;
|
|
4263
3993
|
|
|
@@ -4311,85 +4041,41 @@ export interface OwnUserResponse {
|
|
|
4311
4041
|
|
|
4312
4042
|
latest_hidden_channels?: string[];
|
|
4313
4043
|
|
|
4314
|
-
privacy_settings?: PrivacySettingsResponse;
|
|
4315
|
-
|
|
4316
|
-
push_preferences?: PushPreferencesResponse;
|
|
4317
|
-
|
|
4318
|
-
teams_role?: Record<string, string>;
|
|
4319
|
-
|
|
4320
|
-
total_unread_count_by_team?: Record<string, number>;
|
|
4321
|
-
}
|
|
4322
|
-
|
|
4323
|
-
export interface PagerRequest {
|
|
4324
|
-
limit?: number;
|
|
4325
|
-
|
|
4326
|
-
next?: string;
|
|
4327
|
-
|
|
4328
|
-
prev?: string;
|
|
4329
|
-
}
|
|
4330
|
-
|
|
4331
|
-
export interface PagerResponse {
|
|
4332
|
-
next?: string;
|
|
4333
|
-
|
|
4334
|
-
prev?: string;
|
|
4335
|
-
}
|
|
4336
|
-
|
|
4337
|
-
export interface PinActivityRequest {}
|
|
4338
|
-
|
|
4339
|
-
export interface PinActivityResponse {
|
|
4340
|
-
created_at: Date;
|
|
4341
|
-
|
|
4342
|
-
duration: string;
|
|
4343
|
-
|
|
4344
|
-
feed: string;
|
|
4345
|
-
|
|
4346
|
-
user_id: string;
|
|
4347
|
-
|
|
4348
|
-
activity: ActivityResponse;
|
|
4349
|
-
}
|
|
4350
|
-
|
|
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;
|
|
4044
|
+
privacy_settings?: PrivacySettingsResponse;
|
|
4365
4045
|
|
|
4366
|
-
|
|
4046
|
+
push_preferences?: PushPreferencesResponse;
|
|
4367
4047
|
|
|
4368
|
-
|
|
4048
|
+
teams_role?: Record<string, string>;
|
|
4369
4049
|
|
|
4370
|
-
|
|
4050
|
+
total_unread_count_by_team?: Record<string, number>;
|
|
4051
|
+
}
|
|
4371
4052
|
|
|
4372
|
-
|
|
4053
|
+
export interface PagerRequest {
|
|
4054
|
+
limit?: number;
|
|
4373
4055
|
|
|
4374
|
-
|
|
4056
|
+
next?: string;
|
|
4375
4057
|
|
|
4376
|
-
|
|
4058
|
+
prev?: string;
|
|
4059
|
+
}
|
|
4377
4060
|
|
|
4378
|
-
|
|
4061
|
+
export interface PagerResponse {
|
|
4062
|
+
next?: string;
|
|
4379
4063
|
|
|
4380
|
-
|
|
4064
|
+
prev?: string;
|
|
4065
|
+
}
|
|
4381
4066
|
|
|
4382
|
-
|
|
4067
|
+
export interface PinActivityRequest {}
|
|
4383
4068
|
|
|
4384
|
-
|
|
4069
|
+
export interface PinActivityResponse {
|
|
4070
|
+
created_at: Date;
|
|
4385
4071
|
|
|
4386
|
-
|
|
4072
|
+
duration: string;
|
|
4387
4073
|
|
|
4388
|
-
|
|
4074
|
+
feed: string;
|
|
4389
4075
|
|
|
4390
|
-
|
|
4076
|
+
user_id: string;
|
|
4391
4077
|
|
|
4392
|
-
|
|
4078
|
+
activity: ActivityResponse;
|
|
4393
4079
|
}
|
|
4394
4080
|
|
|
4395
4081
|
export interface PollClosedFeedEvent {
|
|
@@ -4424,14 +4110,6 @@ export interface PollDeletedFeedEvent {
|
|
|
4424
4110
|
received_at?: Date;
|
|
4425
4111
|
}
|
|
4426
4112
|
|
|
4427
|
-
export interface PollOption {
|
|
4428
|
-
id: string;
|
|
4429
|
-
|
|
4430
|
-
text: string;
|
|
4431
|
-
|
|
4432
|
-
custom: Record<string, any>;
|
|
4433
|
-
}
|
|
4434
|
-
|
|
4435
4113
|
export interface PollOptionInput {
|
|
4436
4114
|
text?: string;
|
|
4437
4115
|
|
|
@@ -4526,26 +4204,6 @@ export interface PollUpdatedFeedEvent {
|
|
|
4526
4204
|
received_at?: Date;
|
|
4527
4205
|
}
|
|
4528
4206
|
|
|
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
4207
|
export interface PollVoteCastedFeedEvent {
|
|
4550
4208
|
created_at: Date;
|
|
4551
4209
|
|
|
@@ -4638,14 +4296,6 @@ export interface PollVotesResponse {
|
|
|
4638
4296
|
prev?: string;
|
|
4639
4297
|
}
|
|
4640
4298
|
|
|
4641
|
-
export interface PrivacySettings {
|
|
4642
|
-
delivery_receipts?: DeliveryReceipts;
|
|
4643
|
-
|
|
4644
|
-
read_receipts?: ReadReceipts;
|
|
4645
|
-
|
|
4646
|
-
typing_indicators?: TypingIndicators;
|
|
4647
|
-
}
|
|
4648
|
-
|
|
4649
4299
|
export interface PrivacySettingsResponse {
|
|
4650
4300
|
delivery_receipts?: DeliveryReceiptsResponse;
|
|
4651
4301
|
|
|
@@ -4684,18 +4334,6 @@ export interface PushPreferenceInput {
|
|
|
4684
4334
|
feeds_preferences?: FeedsPreferences;
|
|
4685
4335
|
}
|
|
4686
4336
|
|
|
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
4337
|
export interface PushPreferencesResponse {
|
|
4700
4338
|
call_level?: string;
|
|
4701
4339
|
|
|
@@ -5033,7 +4671,7 @@ export interface QueryReviewQueueResponse {
|
|
|
5033
4671
|
|
|
5034
4672
|
items: ReviewQueueItemResponse[];
|
|
5035
4673
|
|
|
5036
|
-
action_config: Record<string,
|
|
4674
|
+
action_config: Record<string, ModerationActionConfigResponse[]>;
|
|
5037
4675
|
|
|
5038
4676
|
stats: Record<string, any>;
|
|
5039
4677
|
|
|
@@ -5160,10 +4798,10 @@ export interface ReadCollectionsResponse {
|
|
|
5160
4798
|
duration: string;
|
|
5161
4799
|
|
|
5162
4800
|
collections: CollectionResponse[];
|
|
5163
|
-
}
|
|
5164
4801
|
|
|
5165
|
-
|
|
5166
|
-
|
|
4802
|
+
next?: string;
|
|
4803
|
+
|
|
4804
|
+
prev?: string;
|
|
5167
4805
|
}
|
|
5168
4806
|
|
|
5169
4807
|
export interface ReadReceiptsResponse {
|
|
@@ -5178,7 +4816,7 @@ export interface RecordSettingsResponse {
|
|
|
5178
4816
|
quality: string;
|
|
5179
4817
|
}
|
|
5180
4818
|
|
|
5181
|
-
export interface
|
|
4819
|
+
export interface RejectAppealRequestPayload {
|
|
5182
4820
|
decision_reason: string;
|
|
5183
4821
|
}
|
|
5184
4822
|
|
|
@@ -5222,6 +4860,12 @@ export interface ReminderResponseData {
|
|
|
5222
4860
|
user?: UserResponse;
|
|
5223
4861
|
}
|
|
5224
4862
|
|
|
4863
|
+
export interface RemoveUserGroupMembersResponse {
|
|
4864
|
+
duration: string;
|
|
4865
|
+
|
|
4866
|
+
user_group?: UserGroupResponse;
|
|
4867
|
+
}
|
|
4868
|
+
|
|
5225
4869
|
export interface RepliesMeta {
|
|
5226
4870
|
depth_truncated: boolean;
|
|
5227
4871
|
|
|
@@ -5236,7 +4880,7 @@ export interface Response {
|
|
|
5236
4880
|
duration: string;
|
|
5237
4881
|
}
|
|
5238
4882
|
|
|
5239
|
-
export interface
|
|
4883
|
+
export interface RestoreActionRequestPayload {
|
|
5240
4884
|
decision_reason?: string;
|
|
5241
4885
|
}
|
|
5242
4886
|
|
|
@@ -5275,7 +4919,7 @@ export interface ReviewQueueItemResponse {
|
|
|
5275
4919
|
|
|
5276
4920
|
actions: ActionLogResponse[];
|
|
5277
4921
|
|
|
5278
|
-
bans:
|
|
4922
|
+
bans: BanInfoResponse[];
|
|
5279
4923
|
|
|
5280
4924
|
flags: ModerationFlagResponse[];
|
|
5281
4925
|
|
|
@@ -5311,7 +4955,7 @@ export interface ReviewQueueItemResponse {
|
|
|
5311
4955
|
|
|
5312
4956
|
message?: MessageResponse;
|
|
5313
4957
|
|
|
5314
|
-
moderation_payload?:
|
|
4958
|
+
moderation_payload?: ModerationPayloadResponse;
|
|
5315
4959
|
|
|
5316
4960
|
reaction?: Reaction;
|
|
5317
4961
|
}
|
|
@@ -5325,7 +4969,7 @@ export interface RingSettingsResponse {
|
|
|
5325
4969
|
}
|
|
5326
4970
|
|
|
5327
4971
|
export interface RuleBuilderAction {
|
|
5328
|
-
type
|
|
4972
|
+
type?:
|
|
5329
4973
|
| 'ban_user'
|
|
5330
4974
|
| 'flag_user'
|
|
5331
4975
|
| 'flag_content'
|
|
@@ -5333,10 +4977,21 @@ export interface RuleBuilderAction {
|
|
|
5333
4977
|
| 'shadow_content'
|
|
5334
4978
|
| 'bounce_flag_content'
|
|
5335
4979
|
| 'bounce_content'
|
|
5336
|
-
| 'bounce_remove_content'
|
|
4980
|
+
| 'bounce_remove_content'
|
|
4981
|
+
| 'mute_video'
|
|
4982
|
+
| 'mute_audio'
|
|
4983
|
+
| 'blur'
|
|
4984
|
+
| 'call_blur'
|
|
4985
|
+
| 'end_call'
|
|
4986
|
+
| 'kick_user'
|
|
4987
|
+
| 'warning'
|
|
4988
|
+
| 'call_warning'
|
|
4989
|
+
| 'webhook_only';
|
|
5337
4990
|
|
|
5338
4991
|
ban_options?: BanOptions;
|
|
5339
4992
|
|
|
4993
|
+
call_options?: CallActionOptions;
|
|
4994
|
+
|
|
5340
4995
|
flag_user_options?: FlagUserOptions;
|
|
5341
4996
|
}
|
|
5342
4997
|
|
|
@@ -5345,6 +5000,14 @@ export interface RuleBuilderCondition {
|
|
|
5345
5000
|
|
|
5346
5001
|
type?: string;
|
|
5347
5002
|
|
|
5003
|
+
call_custom_property_params?: CallCustomPropertyParameters;
|
|
5004
|
+
|
|
5005
|
+
call_type_rule_params?: CallTypeRuleParameters;
|
|
5006
|
+
|
|
5007
|
+
call_violation_count_params?: CallViolationCountParameters;
|
|
5008
|
+
|
|
5009
|
+
closed_caption_rule_params?: ClosedCaptionRuleParameters;
|
|
5010
|
+
|
|
5348
5011
|
content_count_rule_params?: ContentCountRuleParameters;
|
|
5349
5012
|
|
|
5350
5013
|
content_flag_count_rule_params?: FlagCountRuleParameters;
|
|
@@ -5353,6 +5016,8 @@ export interface RuleBuilderCondition {
|
|
|
5353
5016
|
|
|
5354
5017
|
image_rule_params?: ImageRuleParameters;
|
|
5355
5018
|
|
|
5019
|
+
keyframe_rule_params?: KeyframeRuleParameters;
|
|
5020
|
+
|
|
5356
5021
|
text_content_params?: TextContentParameters;
|
|
5357
5022
|
|
|
5358
5023
|
text_rule_params?: TextRuleParameters;
|
|
@@ -5389,17 +5054,19 @@ export interface RuleBuilderConfig {
|
|
|
5389
5054
|
export interface RuleBuilderRule {
|
|
5390
5055
|
rule_type: string;
|
|
5391
5056
|
|
|
5392
|
-
action: RuleBuilderAction;
|
|
5393
|
-
|
|
5394
5057
|
cooldown_period?: string;
|
|
5395
5058
|
|
|
5396
5059
|
id?: string;
|
|
5397
5060
|
|
|
5398
5061
|
logic?: string;
|
|
5399
5062
|
|
|
5063
|
+
action_sequences?: CallRuleActionSequence[];
|
|
5064
|
+
|
|
5400
5065
|
conditions?: RuleBuilderCondition[];
|
|
5401
5066
|
|
|
5402
5067
|
groups?: RuleBuilderConditionGroup[];
|
|
5068
|
+
|
|
5069
|
+
action?: RuleBuilderAction;
|
|
5403
5070
|
}
|
|
5404
5071
|
|
|
5405
5072
|
export interface SRTIngress {
|
|
@@ -5414,38 +5081,20 @@ export interface ScreensharingSettingsResponse {
|
|
|
5414
5081
|
target_resolution?: TargetResolution;
|
|
5415
5082
|
}
|
|
5416
5083
|
|
|
5084
|
+
export interface SearchUserGroupsResponse {
|
|
5085
|
+
duration: string;
|
|
5086
|
+
|
|
5087
|
+
user_groups: UserGroupResponse[];
|
|
5088
|
+
}
|
|
5089
|
+
|
|
5417
5090
|
export interface SessionSettingsResponse {
|
|
5418
5091
|
inactivity_timeout_seconds: number;
|
|
5419
5092
|
}
|
|
5420
5093
|
|
|
5421
|
-
export interface
|
|
5094
|
+
export interface ShadowBlockActionRequestPayload {
|
|
5422
5095
|
reason?: string;
|
|
5423
5096
|
}
|
|
5424
5097
|
|
|
5425
|
-
export interface SharedLocation {
|
|
5426
|
-
channel_cid: string;
|
|
5427
|
-
|
|
5428
|
-
created_at: Date;
|
|
5429
|
-
|
|
5430
|
-
created_by_device_id: string;
|
|
5431
|
-
|
|
5432
|
-
message_id: string;
|
|
5433
|
-
|
|
5434
|
-
updated_at: Date;
|
|
5435
|
-
|
|
5436
|
-
user_id: string;
|
|
5437
|
-
|
|
5438
|
-
end_at?: Date;
|
|
5439
|
-
|
|
5440
|
-
latitude?: number;
|
|
5441
|
-
|
|
5442
|
-
longitude?: number;
|
|
5443
|
-
|
|
5444
|
-
channel?: Channel;
|
|
5445
|
-
|
|
5446
|
-
message?: Message;
|
|
5447
|
-
}
|
|
5448
|
-
|
|
5449
5098
|
export interface SharedLocationResponse {
|
|
5450
5099
|
channel_cid: string;
|
|
5451
5100
|
|
|
@@ -5523,7 +5172,7 @@ export interface SortParamRequest {
|
|
|
5523
5172
|
|
|
5524
5173
|
field?: string;
|
|
5525
5174
|
|
|
5526
|
-
type?:
|
|
5175
|
+
type?: string;
|
|
5527
5176
|
}
|
|
5528
5177
|
|
|
5529
5178
|
export interface SpeechSegmentConfig {
|
|
@@ -5560,6 +5209,7 @@ export interface StoriesFeedUpdatedEvent {
|
|
|
5560
5209
|
|
|
5561
5210
|
export interface SubmitActionRequest {
|
|
5562
5211
|
action_type:
|
|
5212
|
+
| 'flag'
|
|
5563
5213
|
| 'mark_reviewed'
|
|
5564
5214
|
| 'delete_message'
|
|
5565
5215
|
| 'delete_activity'
|
|
@@ -5582,33 +5232,35 @@ export interface SubmitActionRequest {
|
|
|
5582
5232
|
|
|
5583
5233
|
item_id?: string;
|
|
5584
5234
|
|
|
5585
|
-
ban?:
|
|
5235
|
+
ban?: BanActionRequestPayload;
|
|
5236
|
+
|
|
5237
|
+
block?: BlockActionRequestPayload;
|
|
5586
5238
|
|
|
5587
|
-
|
|
5239
|
+
custom?: CustomActionRequestPayload;
|
|
5588
5240
|
|
|
5589
|
-
|
|
5241
|
+
delete_activity?: DeleteActivityRequestPayload;
|
|
5590
5242
|
|
|
5591
|
-
|
|
5243
|
+
delete_comment?: DeleteCommentRequestPayload;
|
|
5592
5244
|
|
|
5593
|
-
|
|
5245
|
+
delete_message?: DeleteMessageRequestPayload;
|
|
5594
5246
|
|
|
5595
|
-
|
|
5247
|
+
delete_reaction?: DeleteReactionRequestPayload;
|
|
5596
5248
|
|
|
5597
|
-
|
|
5249
|
+
delete_user?: DeleteUserRequestPayload;
|
|
5598
5250
|
|
|
5599
|
-
|
|
5251
|
+
flag?: FlagRequest;
|
|
5600
5252
|
|
|
5601
|
-
mark_reviewed?:
|
|
5253
|
+
mark_reviewed?: MarkReviewedRequestPayload;
|
|
5602
5254
|
|
|
5603
|
-
reject_appeal?:
|
|
5255
|
+
reject_appeal?: RejectAppealRequestPayload;
|
|
5604
5256
|
|
|
5605
|
-
restore?:
|
|
5257
|
+
restore?: RestoreActionRequestPayload;
|
|
5606
5258
|
|
|
5607
|
-
shadow_block?:
|
|
5259
|
+
shadow_block?: ShadowBlockActionRequestPayload;
|
|
5608
5260
|
|
|
5609
|
-
unban?:
|
|
5261
|
+
unban?: UnbanActionRequestPayload;
|
|
5610
5262
|
|
|
5611
|
-
unblock?:
|
|
5263
|
+
unblock?: UnblockActionRequestPayload;
|
|
5612
5264
|
}
|
|
5613
5265
|
|
|
5614
5266
|
export interface SubmitActionResponse {
|
|
@@ -5678,7 +5330,7 @@ export interface ThreadedCommentResponse {
|
|
|
5678
5330
|
|
|
5679
5331
|
score: number;
|
|
5680
5332
|
|
|
5681
|
-
status:
|
|
5333
|
+
status: 'active' | 'deleted' | 'removed' | 'hidden' | 'shadow_blocked';
|
|
5682
5334
|
|
|
5683
5335
|
updated_at: Date;
|
|
5684
5336
|
|
|
@@ -5712,7 +5364,7 @@ export interface ThreadedCommentResponse {
|
|
|
5712
5364
|
|
|
5713
5365
|
moderation?: ModerationV2Response;
|
|
5714
5366
|
|
|
5715
|
-
reaction_groups?: Record<string,
|
|
5367
|
+
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
5716
5368
|
}
|
|
5717
5369
|
|
|
5718
5370
|
export interface Thresholds {
|
|
@@ -5788,19 +5440,17 @@ export interface TranslationSettings {
|
|
|
5788
5440
|
languages: string[];
|
|
5789
5441
|
}
|
|
5790
5442
|
|
|
5791
|
-
export interface TypingIndicators {
|
|
5792
|
-
enabled: boolean;
|
|
5793
|
-
}
|
|
5794
|
-
|
|
5795
5443
|
export interface TypingIndicatorsResponse {
|
|
5796
5444
|
enabled: boolean;
|
|
5797
5445
|
}
|
|
5798
5446
|
|
|
5799
|
-
export interface
|
|
5447
|
+
export interface UnbanActionRequestPayload {
|
|
5448
|
+
channel_cid?: string;
|
|
5449
|
+
|
|
5800
5450
|
decision_reason?: string;
|
|
5801
5451
|
}
|
|
5802
5452
|
|
|
5803
|
-
export interface
|
|
5453
|
+
export interface UnblockActionRequestPayload {
|
|
5804
5454
|
decision_reason?: string;
|
|
5805
5455
|
}
|
|
5806
5456
|
|
|
@@ -5894,6 +5544,8 @@ export interface UpdateActivityRequest {
|
|
|
5894
5544
|
custom?: Record<string, any>;
|
|
5895
5545
|
|
|
5896
5546
|
location?: ActivityLocation;
|
|
5547
|
+
|
|
5548
|
+
search_data?: Record<string, any>;
|
|
5897
5549
|
}
|
|
5898
5550
|
|
|
5899
5551
|
export interface UpdateActivityResponse {
|
|
@@ -6098,6 +5750,20 @@ export interface UpdatePollRequest {
|
|
|
6098
5750
|
custom?: Record<string, any>;
|
|
6099
5751
|
}
|
|
6100
5752
|
|
|
5753
|
+
export interface UpdateUserGroupRequest {
|
|
5754
|
+
description?: string;
|
|
5755
|
+
|
|
5756
|
+
name?: string;
|
|
5757
|
+
|
|
5758
|
+
team_id?: string;
|
|
5759
|
+
}
|
|
5760
|
+
|
|
5761
|
+
export interface UpdateUserGroupResponse {
|
|
5762
|
+
duration: string;
|
|
5763
|
+
|
|
5764
|
+
user_group?: UserGroupResponse;
|
|
5765
|
+
}
|
|
5766
|
+
|
|
6101
5767
|
export interface UpdateUserPartialRequest {
|
|
6102
5768
|
id: string;
|
|
6103
5769
|
|
|
@@ -6185,74 +5851,52 @@ export interface UpsertPushPreferencesResponse {
|
|
|
6185
5851
|
|
|
6186
5852
|
user_channel_preferences: Record<
|
|
6187
5853
|
string,
|
|
6188
|
-
Record<string,
|
|
5854
|
+
Record<string, ChannelPushPreferencesResponse | null>
|
|
6189
5855
|
>;
|
|
6190
5856
|
|
|
6191
|
-
user_preferences: Record<string,
|
|
5857
|
+
user_preferences: Record<string, PushPreferencesResponse>;
|
|
6192
5858
|
}
|
|
6193
5859
|
|
|
6194
5860
|
export interface User {
|
|
6195
|
-
banned: boolean;
|
|
6196
|
-
|
|
6197
5861
|
id: string;
|
|
6198
5862
|
|
|
6199
|
-
|
|
5863
|
+
data?: Record<string, any>;
|
|
5864
|
+
}
|
|
6200
5865
|
|
|
6201
|
-
|
|
5866
|
+
export interface UserBannedEvent {
|
|
5867
|
+
created_at: Date;
|
|
6202
5868
|
|
|
6203
5869
|
custom: Record<string, any>;
|
|
6204
5870
|
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
avg_response_time?: number;
|
|
6208
|
-
|
|
6209
|
-
ban_expires?: Date;
|
|
6210
|
-
|
|
6211
|
-
created_at?: Date;
|
|
6212
|
-
|
|
6213
|
-
deactivated_at?: Date;
|
|
6214
|
-
|
|
6215
|
-
deleted_at?: Date;
|
|
6216
|
-
|
|
6217
|
-
invisible?: boolean;
|
|
6218
|
-
|
|
6219
|
-
language?: string;
|
|
6220
|
-
|
|
6221
|
-
last_active?: Date;
|
|
6222
|
-
|
|
6223
|
-
last_engaged_at?: Date;
|
|
6224
|
-
|
|
6225
|
-
revoke_tokens_issued_before?: Date;
|
|
5871
|
+
user: UserResponseCommonFields;
|
|
6226
5872
|
|
|
6227
|
-
|
|
5873
|
+
type: string;
|
|
6228
5874
|
|
|
6229
|
-
|
|
5875
|
+
channel_id?: string;
|
|
6230
5876
|
|
|
6231
|
-
|
|
6232
|
-
}
|
|
5877
|
+
channel_member_count?: number;
|
|
6233
5878
|
|
|
6234
|
-
|
|
6235
|
-
channel_id: string;
|
|
5879
|
+
channel_message_count?: number;
|
|
6236
5880
|
|
|
6237
|
-
channel_type
|
|
5881
|
+
channel_type?: string;
|
|
6238
5882
|
|
|
6239
|
-
cid
|
|
5883
|
+
cid?: string;
|
|
6240
5884
|
|
|
6241
|
-
|
|
5885
|
+
expiration?: Date;
|
|
6242
5886
|
|
|
6243
|
-
|
|
5887
|
+
reason?: string;
|
|
6244
5888
|
|
|
6245
|
-
|
|
5889
|
+
received_at?: Date;
|
|
6246
5890
|
|
|
6247
|
-
|
|
5891
|
+
shadow?: boolean;
|
|
6248
5892
|
|
|
6249
|
-
|
|
5893
|
+
team?: string;
|
|
6250
5894
|
|
|
6251
|
-
|
|
5895
|
+
total_bans?: number;
|
|
6252
5896
|
|
|
6253
|
-
|
|
5897
|
+
channel_custom?: Record<string, any>;
|
|
6254
5898
|
|
|
6255
|
-
|
|
5899
|
+
created_by?: UserResponseCommonFields;
|
|
6256
5900
|
}
|
|
6257
5901
|
|
|
6258
5902
|
export interface UserCreatedWithinParameters {
|
|
@@ -6268,29 +5912,51 @@ export interface UserCustomPropertyParameters {
|
|
|
6268
5912
|
export interface UserDeactivatedEvent {
|
|
6269
5913
|
created_at: Date;
|
|
6270
5914
|
|
|
6271
|
-
|
|
5915
|
+
custom: Record<string, any>;
|
|
5916
|
+
|
|
5917
|
+
user: UserResponseCommonFields;
|
|
6272
5918
|
|
|
6273
5919
|
type: string;
|
|
6274
5920
|
|
|
6275
|
-
|
|
5921
|
+
received_at?: Date;
|
|
5922
|
+
|
|
5923
|
+
created_by?: UserResponseCommonFields;
|
|
6276
5924
|
}
|
|
6277
5925
|
|
|
6278
|
-
export interface
|
|
6279
|
-
|
|
5926
|
+
export interface UserGroupMember {
|
|
5927
|
+
app_pk: number;
|
|
6280
5928
|
|
|
6281
|
-
|
|
5929
|
+
created_at: Date;
|
|
5930
|
+
|
|
5931
|
+
group_id: string;
|
|
5932
|
+
|
|
5933
|
+
is_admin: boolean;
|
|
5934
|
+
|
|
5935
|
+
user_id: string;
|
|
6282
5936
|
}
|
|
6283
5937
|
|
|
6284
|
-
export interface
|
|
5938
|
+
export interface UserGroupResponse {
|
|
6285
5939
|
created_at: Date;
|
|
6286
5940
|
|
|
5941
|
+
id: string;
|
|
5942
|
+
|
|
5943
|
+
name: string;
|
|
5944
|
+
|
|
6287
5945
|
updated_at: Date;
|
|
6288
5946
|
|
|
6289
|
-
|
|
5947
|
+
created_by?: string;
|
|
6290
5948
|
|
|
6291
|
-
|
|
5949
|
+
description?: string;
|
|
6292
5950
|
|
|
6293
|
-
|
|
5951
|
+
team_id?: string;
|
|
5952
|
+
|
|
5953
|
+
members?: UserGroupMember[];
|
|
5954
|
+
}
|
|
5955
|
+
|
|
5956
|
+
export interface UserIdenticalContentCountParameters {
|
|
5957
|
+
threshold?: number;
|
|
5958
|
+
|
|
5959
|
+
time_window?: string;
|
|
6294
5960
|
}
|
|
6295
5961
|
|
|
6296
5962
|
export interface UserMuteResponse {
|
|
@@ -6305,24 +5971,18 @@ export interface UserMuteResponse {
|
|
|
6305
5971
|
user?: UserResponse;
|
|
6306
5972
|
}
|
|
6307
5973
|
|
|
6308
|
-
export interface
|
|
5974
|
+
export interface UserReactivatedEvent {
|
|
6309
5975
|
created_at: Date;
|
|
6310
5976
|
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
target_user?: string;
|
|
6314
|
-
|
|
6315
|
-
target_users?: string[];
|
|
6316
|
-
|
|
6317
|
-
user?: User;
|
|
6318
|
-
}
|
|
5977
|
+
custom: Record<string, any>;
|
|
6319
5978
|
|
|
6320
|
-
|
|
6321
|
-
created_at: Date;
|
|
5979
|
+
user: UserResponseCommonFields;
|
|
6322
5980
|
|
|
6323
5981
|
type: string;
|
|
6324
5982
|
|
|
6325
|
-
|
|
5983
|
+
received_at?: Date;
|
|
5984
|
+
|
|
5985
|
+
created_by?: UserResponseCommonFields;
|
|
6326
5986
|
}
|
|
6327
5987
|
|
|
6328
5988
|
export interface UserRequest {
|
|
@@ -6469,6 +6129,36 @@ export interface UserRuleParameters {
|
|
|
6469
6129
|
max_age?: string;
|
|
6470
6130
|
}
|
|
6471
6131
|
|
|
6132
|
+
export interface UserUnbannedEvent {
|
|
6133
|
+
created_at: Date;
|
|
6134
|
+
|
|
6135
|
+
custom: Record<string, any>;
|
|
6136
|
+
|
|
6137
|
+
user: UserResponseCommonFields;
|
|
6138
|
+
|
|
6139
|
+
type: string;
|
|
6140
|
+
|
|
6141
|
+
channel_id?: string;
|
|
6142
|
+
|
|
6143
|
+
channel_member_count?: number;
|
|
6144
|
+
|
|
6145
|
+
channel_message_count?: number;
|
|
6146
|
+
|
|
6147
|
+
channel_type?: string;
|
|
6148
|
+
|
|
6149
|
+
cid?: string;
|
|
6150
|
+
|
|
6151
|
+
received_at?: Date;
|
|
6152
|
+
|
|
6153
|
+
shadow?: boolean;
|
|
6154
|
+
|
|
6155
|
+
team?: string;
|
|
6156
|
+
|
|
6157
|
+
channel_custom?: Record<string, any>;
|
|
6158
|
+
|
|
6159
|
+
created_by?: UserResponseCommonFields;
|
|
6160
|
+
}
|
|
6161
|
+
|
|
6472
6162
|
export interface UserUpdatedEvent {
|
|
6473
6163
|
created_at: Date;
|
|
6474
6164
|
|
|
@@ -6539,9 +6229,9 @@ export interface VideoContentParameters {
|
|
|
6539
6229
|
harm_labels?: string[];
|
|
6540
6230
|
}
|
|
6541
6231
|
|
|
6542
|
-
export interface
|
|
6232
|
+
export interface VideoEndCallRequestPayload {}
|
|
6543
6233
|
|
|
6544
|
-
export interface
|
|
6234
|
+
export interface VideoKickUserRequestPayload {}
|
|
6545
6235
|
|
|
6546
6236
|
export interface VideoRuleParameters {
|
|
6547
6237
|
threshold?: number;
|
|
@@ -6613,6 +6303,7 @@ export type WSClientEvent =
|
|
|
6613
6303
|
| ({ type: 'feeds.feed.updated' } & FeedUpdatedEvent)
|
|
6614
6304
|
| ({ type: 'feeds.feed_group.changed' } & FeedGroupChangedEvent)
|
|
6615
6305
|
| ({ type: 'feeds.feed_group.deleted' } & FeedGroupDeletedEvent)
|
|
6306
|
+
| ({ type: 'feeds.feed_group.restored' } & FeedGroupRestoredEvent)
|
|
6616
6307
|
| ({ type: 'feeds.feed_member.added' } & FeedMemberAddedEvent)
|
|
6617
6308
|
| ({ type: 'feeds.feed_member.removed' } & FeedMemberRemovedEvent)
|
|
6618
6309
|
| ({ type: 'feeds.feed_member.updated' } & FeedMemberUpdatedEvent)
|
|
@@ -6629,7 +6320,12 @@ export type WSClientEvent =
|
|
|
6629
6320
|
| ({ type: 'feeds.stories_feed.updated' } & StoriesFeedUpdatedEvent)
|
|
6630
6321
|
| ({ type: 'health.check' } & HealthCheckEvent)
|
|
6631
6322
|
| ({ type: 'moderation.custom_action' } & ModerationCustomActionEvent)
|
|
6323
|
+
| ({ type: 'moderation.flagged' } & ModerationFlaggedEvent)
|
|
6632
6324
|
| ({ type: 'moderation.mark_reviewed' } & ModerationMarkReviewedEvent)
|
|
6325
|
+
| ({ type: 'user.banned' } & UserBannedEvent)
|
|
6326
|
+
| ({ type: 'user.deactivated' } & UserDeactivatedEvent)
|
|
6327
|
+
| ({ type: 'user.reactivated' } & UserReactivatedEvent)
|
|
6328
|
+
| ({ type: 'user.unbanned' } & UserUnbannedEvent)
|
|
6633
6329
|
| ({ type: 'user.updated' } & UserUpdatedEvent);
|
|
6634
6330
|
|
|
6635
6331
|
export type WSEvent =
|
|
@@ -6664,6 +6360,7 @@ export type WSEvent =
|
|
|
6664
6360
|
| ({ type: 'feeds.feed.updated' } & FeedUpdatedEvent)
|
|
6665
6361
|
| ({ type: 'feeds.feed_group.changed' } & FeedGroupChangedEvent)
|
|
6666
6362
|
| ({ type: 'feeds.feed_group.deleted' } & FeedGroupDeletedEvent)
|
|
6363
|
+
| ({ type: 'feeds.feed_group.restored' } & FeedGroupRestoredEvent)
|
|
6667
6364
|
| ({ type: 'feeds.feed_member.added' } & FeedMemberAddedEvent)
|
|
6668
6365
|
| ({ type: 'feeds.feed_member.removed' } & FeedMemberRemovedEvent)
|
|
6669
6366
|
| ({ type: 'feeds.feed_member.updated' } & FeedMemberUpdatedEvent)
|
|
@@ -6684,6 +6381,6 @@ export type WSEvent =
|
|
|
6684
6381
|
| ({ type: 'moderation.mark_reviewed' } & ModerationMarkReviewedEvent)
|
|
6685
6382
|
| ({ type: 'user.banned' } & UserBannedEvent)
|
|
6686
6383
|
| ({ type: 'user.deactivated' } & UserDeactivatedEvent)
|
|
6687
|
-
| ({ type: 'user.muted' } & UserMutedEvent)
|
|
6688
6384
|
| ({ type: 'user.reactivated' } & UserReactivatedEvent)
|
|
6385
|
+
| ({ type: 'user.unbanned' } & UserUnbannedEvent)
|
|
6689
6386
|
| ({ type: 'user.updated' } & UserUpdatedEvent);
|