@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
|
@@ -30,6 +30,7 @@ export interface AWSRekognitionRule {
|
|
|
30
30
|
action: 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
|
|
31
31
|
label: string;
|
|
32
32
|
min_confidence: number;
|
|
33
|
+
subclassifications?: Record<string, boolean>;
|
|
33
34
|
}
|
|
34
35
|
export interface AcceptFeedMemberInviteRequest {
|
|
35
36
|
}
|
|
@@ -253,25 +254,27 @@ export interface ActivityResponse {
|
|
|
253
254
|
own_reactions: FeedsReactionResponse[];
|
|
254
255
|
collections: Record<string, EnrichedCollectionResponse>;
|
|
255
256
|
custom: Record<string, any>;
|
|
256
|
-
reaction_groups: Record<string,
|
|
257
|
+
reaction_groups: Record<string, FeedsReactionGroupResponse>;
|
|
257
258
|
search_data: Record<string, any>;
|
|
258
259
|
user: UserResponse;
|
|
259
260
|
deleted_at?: Date;
|
|
260
261
|
edited_at?: Date;
|
|
261
262
|
expires_at?: Date;
|
|
263
|
+
friend_reaction_count?: number;
|
|
264
|
+
is_read?: boolean;
|
|
265
|
+
is_seen?: boolean;
|
|
262
266
|
is_watched?: boolean;
|
|
263
267
|
moderation_action?: string;
|
|
264
268
|
selector_source?: string;
|
|
265
269
|
text?: string;
|
|
266
270
|
visibility_tag?: string;
|
|
271
|
+
friend_reactions?: FeedsReactionResponse[];
|
|
267
272
|
current_feed?: FeedResponse;
|
|
268
273
|
location?: ActivityLocation;
|
|
269
274
|
moderation?: ModerationV2Response;
|
|
270
275
|
notification_context?: NotificationContext;
|
|
271
276
|
parent?: ActivityResponse;
|
|
272
277
|
poll?: PollResponseData;
|
|
273
|
-
friend_reactions?: FeedsReactionResponse[];
|
|
274
|
-
friend_reaction_count?: number;
|
|
275
278
|
}
|
|
276
279
|
export interface ActivityRestoredEvent {
|
|
277
280
|
created_at: Date;
|
|
@@ -409,6 +412,14 @@ export interface AddReactionResponse {
|
|
|
409
412
|
reaction: FeedsReactionResponse;
|
|
410
413
|
notification_created?: boolean;
|
|
411
414
|
}
|
|
415
|
+
export interface AddUserGroupMembersRequest {
|
|
416
|
+
member_ids: string[];
|
|
417
|
+
team_id?: string;
|
|
418
|
+
}
|
|
419
|
+
export interface AddUserGroupMembersResponse {
|
|
420
|
+
duration: string;
|
|
421
|
+
user_group?: UserGroupResponse;
|
|
422
|
+
}
|
|
412
423
|
export interface AggregatedActivityResponse {
|
|
413
424
|
activity_count: number;
|
|
414
425
|
created_at: Date;
|
|
@@ -418,6 +429,8 @@ export interface AggregatedActivityResponse {
|
|
|
418
429
|
user_count: number;
|
|
419
430
|
user_count_truncated: boolean;
|
|
420
431
|
activities: ActivityResponse[];
|
|
432
|
+
is_read?: boolean;
|
|
433
|
+
is_seen?: boolean;
|
|
421
434
|
is_watched?: boolean;
|
|
422
435
|
}
|
|
423
436
|
export interface AggregationConfig {
|
|
@@ -533,23 +546,23 @@ export interface BackstageSettingsResponse {
|
|
|
533
546
|
enabled: boolean;
|
|
534
547
|
join_ahead_time_seconds?: number;
|
|
535
548
|
}
|
|
536
|
-
export interface
|
|
537
|
-
created_at: Date;
|
|
538
|
-
shadow: boolean;
|
|
539
|
-
expires?: Date;
|
|
540
|
-
reason?: string;
|
|
541
|
-
channel?: Channel;
|
|
542
|
-
created_by?: User;
|
|
543
|
-
target?: User;
|
|
544
|
-
}
|
|
545
|
-
export interface BanActionRequest {
|
|
549
|
+
export interface BanActionRequestPayload {
|
|
546
550
|
channel_ban_only?: boolean;
|
|
547
551
|
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
548
552
|
ip_ban?: boolean;
|
|
549
553
|
reason?: string;
|
|
550
554
|
shadow?: boolean;
|
|
555
|
+
target_user_id?: string;
|
|
551
556
|
timeout?: number;
|
|
552
557
|
}
|
|
558
|
+
export interface BanInfoResponse {
|
|
559
|
+
created_at: Date;
|
|
560
|
+
expires?: Date;
|
|
561
|
+
reason?: string;
|
|
562
|
+
shadow?: boolean;
|
|
563
|
+
created_by?: UserResponse;
|
|
564
|
+
user?: UserResponse;
|
|
565
|
+
}
|
|
553
566
|
export interface BanOptions {
|
|
554
567
|
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
555
568
|
duration?: number;
|
|
@@ -571,7 +584,7 @@ export interface BanRequest {
|
|
|
571
584
|
export interface BanResponse {
|
|
572
585
|
duration: string;
|
|
573
586
|
}
|
|
574
|
-
export interface
|
|
587
|
+
export interface BlockActionRequestPayload {
|
|
575
588
|
reason?: string;
|
|
576
589
|
}
|
|
577
590
|
export interface BlockListConfig {
|
|
@@ -685,6 +698,19 @@ export interface BroadcastSettingsResponse {
|
|
|
685
698
|
hls: HLSSettingsResponse;
|
|
686
699
|
rtmp: RTMPSettingsResponse;
|
|
687
700
|
}
|
|
701
|
+
export interface CallActionOptions {
|
|
702
|
+
duration?: number;
|
|
703
|
+
flag_reason?: string;
|
|
704
|
+
kick_reason?: string;
|
|
705
|
+
mute_audio?: boolean;
|
|
706
|
+
mute_video?: boolean;
|
|
707
|
+
reason?: string;
|
|
708
|
+
warning_text?: string;
|
|
709
|
+
}
|
|
710
|
+
export interface CallCustomPropertyParameters {
|
|
711
|
+
operator?: string;
|
|
712
|
+
property_key?: string;
|
|
713
|
+
}
|
|
688
714
|
export interface CallIngressResponse {
|
|
689
715
|
rtmp: RTMPIngress;
|
|
690
716
|
srt: SRTIngress;
|
|
@@ -723,6 +749,11 @@ export interface CallResponse {
|
|
|
723
749
|
session?: CallSessionResponse;
|
|
724
750
|
thumbnails?: ThumbnailResponse;
|
|
725
751
|
}
|
|
752
|
+
export interface CallRuleActionSequence {
|
|
753
|
+
violation_number?: number;
|
|
754
|
+
actions?: string[];
|
|
755
|
+
call_options?: CallActionOptions;
|
|
756
|
+
}
|
|
726
757
|
export interface CallSessionResponse {
|
|
727
758
|
anonymous_participant_count: number;
|
|
728
759
|
id: string;
|
|
@@ -755,75 +786,16 @@ export interface CallSettingsResponse {
|
|
|
755
786
|
video: VideoSettingsResponse;
|
|
756
787
|
ingress?: IngressSettingsResponse;
|
|
757
788
|
}
|
|
789
|
+
export interface CallTypeRuleParameters {
|
|
790
|
+
call_type?: string;
|
|
791
|
+
}
|
|
792
|
+
export interface CallViolationCountParameters {
|
|
793
|
+
threshold?: number;
|
|
794
|
+
time_window?: string;
|
|
795
|
+
}
|
|
758
796
|
export interface CastPollVoteRequest {
|
|
759
797
|
vote?: VoteData;
|
|
760
798
|
}
|
|
761
|
-
export interface Channel {
|
|
762
|
-
auto_translation_language: string;
|
|
763
|
-
cid: string;
|
|
764
|
-
created_at: Date;
|
|
765
|
-
disabled: boolean;
|
|
766
|
-
frozen: boolean;
|
|
767
|
-
id: string;
|
|
768
|
-
type: string;
|
|
769
|
-
updated_at: Date;
|
|
770
|
-
custom: Record<string, any>;
|
|
771
|
-
auto_translation_enabled?: boolean;
|
|
772
|
-
cooldown?: number;
|
|
773
|
-
deleted_at?: Date;
|
|
774
|
-
last_campaigns?: string;
|
|
775
|
-
last_message_at?: Date;
|
|
776
|
-
member_count?: number;
|
|
777
|
-
message_count?: number;
|
|
778
|
-
message_count_updated_at?: Date;
|
|
779
|
-
team?: string;
|
|
780
|
-
active_live_locations?: SharedLocation[];
|
|
781
|
-
filter_tags?: string[];
|
|
782
|
-
invites?: ChannelMember[];
|
|
783
|
-
members?: ChannelMember[];
|
|
784
|
-
config?: ChannelConfig;
|
|
785
|
-
config_overrides?: ConfigOverrides;
|
|
786
|
-
created_by?: User;
|
|
787
|
-
members_lookup?: Record<string, ChannelMemberLookup>;
|
|
788
|
-
truncated_by?: User;
|
|
789
|
-
}
|
|
790
|
-
export interface ChannelConfig {
|
|
791
|
-
automod: 'disabled' | 'simple' | 'AI';
|
|
792
|
-
automod_behavior: 'flag' | 'block' | 'shadow_block';
|
|
793
|
-
connect_events: boolean;
|
|
794
|
-
count_messages: boolean;
|
|
795
|
-
created_at: Date;
|
|
796
|
-
custom_events: boolean;
|
|
797
|
-
delivery_events: boolean;
|
|
798
|
-
mark_messages_pending: boolean;
|
|
799
|
-
max_message_length: number;
|
|
800
|
-
mutes: boolean;
|
|
801
|
-
name: string;
|
|
802
|
-
polls: boolean;
|
|
803
|
-
push_level: string;
|
|
804
|
-
push_notifications: boolean;
|
|
805
|
-
quotes: boolean;
|
|
806
|
-
reactions: boolean;
|
|
807
|
-
read_events: boolean;
|
|
808
|
-
reminders: boolean;
|
|
809
|
-
replies: boolean;
|
|
810
|
-
search: boolean;
|
|
811
|
-
shared_locations: boolean;
|
|
812
|
-
skip_last_msg_update_for_system_msgs: boolean;
|
|
813
|
-
typing_events: boolean;
|
|
814
|
-
updated_at: Date;
|
|
815
|
-
uploads: boolean;
|
|
816
|
-
url_enrichment: boolean;
|
|
817
|
-
user_message_reminders: boolean;
|
|
818
|
-
commands: string[];
|
|
819
|
-
blocklist?: string;
|
|
820
|
-
blocklist_behavior?: 'flag' | 'block' | 'shadow_block';
|
|
821
|
-
partition_size?: number;
|
|
822
|
-
partition_ttl?: number;
|
|
823
|
-
allowed_flag_reasons?: string[];
|
|
824
|
-
blocklists?: BlockListOptions[];
|
|
825
|
-
automod_thresholds?: Thresholds;
|
|
826
|
-
}
|
|
827
799
|
export interface ChannelConfigWithInfo {
|
|
828
800
|
automod: 'disabled' | 'simple' | 'AI';
|
|
829
801
|
automod_behavior: 'flag' | 'block' | 'shadow_block';
|
|
@@ -862,41 +834,6 @@ export interface ChannelConfigWithInfo {
|
|
|
862
834
|
automod_thresholds?: Thresholds;
|
|
863
835
|
grants?: Record<string, string[]>;
|
|
864
836
|
}
|
|
865
|
-
export interface ChannelMember {
|
|
866
|
-
banned: boolean;
|
|
867
|
-
channel_role: string;
|
|
868
|
-
created_at: Date;
|
|
869
|
-
is_global_banned: boolean;
|
|
870
|
-
notifications_muted: boolean;
|
|
871
|
-
shadow_banned: boolean;
|
|
872
|
-
updated_at: Date;
|
|
873
|
-
custom: Record<string, any>;
|
|
874
|
-
archived_at?: Date;
|
|
875
|
-
ban_expires?: Date;
|
|
876
|
-
blocked?: boolean;
|
|
877
|
-
deleted_at?: Date;
|
|
878
|
-
hidden?: boolean;
|
|
879
|
-
invite_accepted_at?: Date;
|
|
880
|
-
invite_rejected_at?: Date;
|
|
881
|
-
invited?: boolean;
|
|
882
|
-
is_moderator?: boolean;
|
|
883
|
-
pinned_at?: Date;
|
|
884
|
-
status?: string;
|
|
885
|
-
user_id?: string;
|
|
886
|
-
deleted_messages?: string[];
|
|
887
|
-
channel?: DenormalizedChannelFields;
|
|
888
|
-
user?: User;
|
|
889
|
-
}
|
|
890
|
-
export interface ChannelMemberLookup {
|
|
891
|
-
archived: boolean;
|
|
892
|
-
banned: boolean;
|
|
893
|
-
blocked: boolean;
|
|
894
|
-
hidden: boolean;
|
|
895
|
-
pinned: boolean;
|
|
896
|
-
archived_at?: Date;
|
|
897
|
-
ban_expires?: Date;
|
|
898
|
-
pinned_at?: Date;
|
|
899
|
-
}
|
|
900
837
|
export interface ChannelMemberResponse {
|
|
901
838
|
banned: boolean;
|
|
902
839
|
channel_role: string;
|
|
@@ -913,7 +850,7 @@ export interface ChannelMemberResponse {
|
|
|
913
850
|
invited?: boolean;
|
|
914
851
|
is_moderator?: boolean;
|
|
915
852
|
pinned_at?: Date;
|
|
916
|
-
role?:
|
|
853
|
+
role?: string;
|
|
917
854
|
status?: string;
|
|
918
855
|
user_id?: string;
|
|
919
856
|
deleted_messages?: string[];
|
|
@@ -966,7 +903,7 @@ export declare const ChannelOwnCapability: {
|
|
|
966
903
|
readonly UPLOAD_FILE: "upload-file";
|
|
967
904
|
};
|
|
968
905
|
export type ChannelOwnCapability = (typeof ChannelOwnCapability)[keyof typeof ChannelOwnCapability];
|
|
969
|
-
export interface
|
|
906
|
+
export interface ChannelPushPreferencesResponse {
|
|
970
907
|
chat_level?: string;
|
|
971
908
|
disabled_until?: Date;
|
|
972
909
|
}
|
|
@@ -1000,6 +937,11 @@ export interface ChannelResponse {
|
|
|
1000
937
|
created_by?: UserResponse;
|
|
1001
938
|
truncated_by?: UserResponse;
|
|
1002
939
|
}
|
|
940
|
+
export interface ClosedCaptionRuleParameters {
|
|
941
|
+
threshold?: number;
|
|
942
|
+
harm_labels?: string[];
|
|
943
|
+
llm_harm_labels?: Record<string, string>;
|
|
944
|
+
}
|
|
1003
945
|
export interface CollectionRequest {
|
|
1004
946
|
name: string;
|
|
1005
947
|
custom: Record<string, any>;
|
|
@@ -1086,7 +1028,7 @@ export interface CommentResponse {
|
|
|
1086
1028
|
reaction_count: number;
|
|
1087
1029
|
reply_count: number;
|
|
1088
1030
|
score: number;
|
|
1089
|
-
status:
|
|
1031
|
+
status: 'active' | 'deleted' | 'removed' | 'hidden' | 'shadow_blocked';
|
|
1090
1032
|
updated_at: Date;
|
|
1091
1033
|
upvote_count: number;
|
|
1092
1034
|
mentioned_users: UserResponse[];
|
|
@@ -1101,7 +1043,7 @@ export interface CommentResponse {
|
|
|
1101
1043
|
latest_reactions?: FeedsReactionResponse[];
|
|
1102
1044
|
custom?: Record<string, any>;
|
|
1103
1045
|
moderation?: ModerationV2Response;
|
|
1104
|
-
reaction_groups?: Record<string,
|
|
1046
|
+
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
1105
1047
|
}
|
|
1106
1048
|
export interface CommentUpdatedEvent {
|
|
1107
1049
|
created_at: Date;
|
|
@@ -1116,23 +1058,6 @@ export interface CommentUpdatedEvent {
|
|
|
1116
1058
|
export interface CompositeRecordingResponse {
|
|
1117
1059
|
status: string;
|
|
1118
1060
|
}
|
|
1119
|
-
export interface ConfigOverrides {
|
|
1120
|
-
commands: string[];
|
|
1121
|
-
grants: Record<string, string[]>;
|
|
1122
|
-
blocklist?: string;
|
|
1123
|
-
blocklist_behavior?: 'flag' | 'block';
|
|
1124
|
-
count_messages?: boolean;
|
|
1125
|
-
max_message_length?: number;
|
|
1126
|
-
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
1127
|
-
quotes?: boolean;
|
|
1128
|
-
reactions?: boolean;
|
|
1129
|
-
replies?: boolean;
|
|
1130
|
-
shared_locations?: boolean;
|
|
1131
|
-
typing_events?: boolean;
|
|
1132
|
-
uploads?: boolean;
|
|
1133
|
-
url_enrichment?: boolean;
|
|
1134
|
-
user_message_reminders?: boolean;
|
|
1135
|
-
}
|
|
1136
1061
|
export interface ConfigResponse {
|
|
1137
1062
|
async: boolean;
|
|
1138
1063
|
created_at: Date;
|
|
@@ -1141,6 +1066,7 @@ export interface ConfigResponse {
|
|
|
1141
1066
|
updated_at: Date;
|
|
1142
1067
|
supported_video_call_harm_types: string[];
|
|
1143
1068
|
ai_image_config?: AIImageConfig;
|
|
1069
|
+
ai_image_subclassifications?: Record<string, string[]>;
|
|
1144
1070
|
ai_text_config?: AITextConfig;
|
|
1145
1071
|
ai_video_config?: AIVideoConfig;
|
|
1146
1072
|
automod_platform_circumvention_config?: AutomodPlatformCircumventionConfig;
|
|
@@ -1221,7 +1147,18 @@ export interface CreatePollRequest {
|
|
|
1221
1147
|
options?: PollOptionInput[];
|
|
1222
1148
|
custom?: Record<string, any>;
|
|
1223
1149
|
}
|
|
1224
|
-
export interface
|
|
1150
|
+
export interface CreateUserGroupRequest {
|
|
1151
|
+
name: string;
|
|
1152
|
+
description?: string;
|
|
1153
|
+
id?: string;
|
|
1154
|
+
team_id?: string;
|
|
1155
|
+
member_ids?: string[];
|
|
1156
|
+
}
|
|
1157
|
+
export interface CreateUserGroupResponse {
|
|
1158
|
+
duration: string;
|
|
1159
|
+
user_group?: UserGroupResponse;
|
|
1160
|
+
}
|
|
1161
|
+
export interface CustomActionRequestPayload {
|
|
1225
1162
|
id?: string;
|
|
1226
1163
|
options?: Record<string, any>;
|
|
1227
1164
|
}
|
|
@@ -1250,7 +1187,9 @@ export interface DeleteActivityReactionResponse {
|
|
|
1250
1187
|
activity: ActivityResponse;
|
|
1251
1188
|
reaction: FeedsReactionResponse;
|
|
1252
1189
|
}
|
|
1253
|
-
export interface
|
|
1190
|
+
export interface DeleteActivityRequestPayload {
|
|
1191
|
+
entity_id?: string;
|
|
1192
|
+
entity_type?: string;
|
|
1254
1193
|
hard_delete?: boolean;
|
|
1255
1194
|
reason?: string;
|
|
1256
1195
|
}
|
|
@@ -1272,7 +1211,9 @@ export interface DeleteCommentReactionResponse {
|
|
|
1272
1211
|
comment: CommentResponse;
|
|
1273
1212
|
reaction: FeedsReactionResponse;
|
|
1274
1213
|
}
|
|
1275
|
-
export interface
|
|
1214
|
+
export interface DeleteCommentRequestPayload {
|
|
1215
|
+
entity_id?: string;
|
|
1216
|
+
entity_type?: string;
|
|
1276
1217
|
hard_delete?: boolean;
|
|
1277
1218
|
reason?: string;
|
|
1278
1219
|
}
|
|
@@ -1285,53 +1226,33 @@ export interface DeleteFeedResponse {
|
|
|
1285
1226
|
duration: string;
|
|
1286
1227
|
task_id: string;
|
|
1287
1228
|
}
|
|
1288
|
-
export interface
|
|
1229
|
+
export interface DeleteMessageRequestPayload {
|
|
1230
|
+
entity_id?: string;
|
|
1231
|
+
entity_type?: string;
|
|
1289
1232
|
hard_delete?: boolean;
|
|
1290
1233
|
reason?: string;
|
|
1291
1234
|
}
|
|
1292
1235
|
export interface DeleteModerationConfigResponse {
|
|
1293
1236
|
duration: string;
|
|
1294
1237
|
}
|
|
1295
|
-
export interface
|
|
1238
|
+
export interface DeleteReactionRequestPayload {
|
|
1239
|
+
entity_id?: string;
|
|
1240
|
+
entity_type?: string;
|
|
1296
1241
|
hard_delete?: boolean;
|
|
1297
1242
|
reason?: string;
|
|
1298
1243
|
}
|
|
1299
|
-
export interface
|
|
1244
|
+
export interface DeleteUserRequestPayload {
|
|
1300
1245
|
delete_conversation_channels?: boolean;
|
|
1301
1246
|
delete_feeds_content?: boolean;
|
|
1247
|
+
entity_id?: string;
|
|
1248
|
+
entity_type?: string;
|
|
1302
1249
|
hard_delete?: boolean;
|
|
1303
1250
|
mark_messages_deleted?: boolean;
|
|
1304
1251
|
reason?: string;
|
|
1305
1252
|
}
|
|
1306
|
-
export interface DeliveryReceipts {
|
|
1307
|
-
enabled: boolean;
|
|
1308
|
-
}
|
|
1309
1253
|
export interface DeliveryReceiptsResponse {
|
|
1310
1254
|
enabled: boolean;
|
|
1311
1255
|
}
|
|
1312
|
-
export interface DenormalizedChannelFields {
|
|
1313
|
-
created_at?: string;
|
|
1314
|
-
created_by_id?: string;
|
|
1315
|
-
disabled?: boolean;
|
|
1316
|
-
frozen?: boolean;
|
|
1317
|
-
id?: string;
|
|
1318
|
-
last_message_at?: string;
|
|
1319
|
-
member_count?: number;
|
|
1320
|
-
team?: string;
|
|
1321
|
-
type?: string;
|
|
1322
|
-
updated_at?: string;
|
|
1323
|
-
custom?: Record<string, any>;
|
|
1324
|
-
}
|
|
1325
|
-
export interface Device {
|
|
1326
|
-
created_at: Date;
|
|
1327
|
-
id: string;
|
|
1328
|
-
push_provider: 'firebase' | 'apn' | 'huawei' | 'xiaomi';
|
|
1329
|
-
user_id: string;
|
|
1330
|
-
disabled?: boolean;
|
|
1331
|
-
disabled_reason?: string;
|
|
1332
|
-
push_provider_name?: string;
|
|
1333
|
-
voip?: boolean;
|
|
1334
|
-
}
|
|
1335
1256
|
export interface DeviceResponse {
|
|
1336
1257
|
created_at: Date;
|
|
1337
1258
|
id: string;
|
|
@@ -1523,6 +1444,15 @@ export interface FeedGroupDeletedEvent {
|
|
|
1523
1444
|
feed_visibility?: string;
|
|
1524
1445
|
received_at?: Date;
|
|
1525
1446
|
}
|
|
1447
|
+
export interface FeedGroupRestoredEvent {
|
|
1448
|
+
created_at: Date;
|
|
1449
|
+
fid: string;
|
|
1450
|
+
group_id: string;
|
|
1451
|
+
custom: Record<string, any>;
|
|
1452
|
+
type: string;
|
|
1453
|
+
feed_visibility?: string;
|
|
1454
|
+
received_at?: Date;
|
|
1455
|
+
}
|
|
1526
1456
|
export interface FeedInput {
|
|
1527
1457
|
description?: string;
|
|
1528
1458
|
name?: string;
|
|
@@ -1643,7 +1573,7 @@ export interface FeedResponse {
|
|
|
1643
1573
|
updated_at: Date;
|
|
1644
1574
|
created_by: UserResponse;
|
|
1645
1575
|
deleted_at?: Date;
|
|
1646
|
-
visibility?:
|
|
1576
|
+
visibility?: 'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
1647
1577
|
filter_tags?: string[];
|
|
1648
1578
|
own_capabilities?: FeedOwnCapability[];
|
|
1649
1579
|
own_followings?: FollowResponse[];
|
|
@@ -1668,7 +1598,7 @@ export interface FeedSuggestionResponse {
|
|
|
1668
1598
|
deleted_at?: Date;
|
|
1669
1599
|
reason?: string;
|
|
1670
1600
|
recommendation_score?: number;
|
|
1671
|
-
visibility?:
|
|
1601
|
+
visibility?: 'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
1672
1602
|
filter_tags?: string[];
|
|
1673
1603
|
own_capabilities?: FeedOwnCapability[];
|
|
1674
1604
|
own_followings?: FollowResponse[];
|
|
@@ -1699,11 +1629,17 @@ export interface FeedsPreferences {
|
|
|
1699
1629
|
export interface FeedsPreferencesResponse {
|
|
1700
1630
|
comment?: string;
|
|
1701
1631
|
comment_reaction?: string;
|
|
1632
|
+
comment_reply?: string;
|
|
1702
1633
|
follow?: string;
|
|
1703
1634
|
mention?: string;
|
|
1704
1635
|
reaction?: string;
|
|
1705
1636
|
custom_activity_types?: Record<string, string>;
|
|
1706
1637
|
}
|
|
1638
|
+
export interface FeedsReactionGroupResponse {
|
|
1639
|
+
count: number;
|
|
1640
|
+
first_reaction_at: Date;
|
|
1641
|
+
last_reaction_at: Date;
|
|
1642
|
+
}
|
|
1707
1643
|
export interface FeedsReactionResponse {
|
|
1708
1644
|
activity_id: string;
|
|
1709
1645
|
created_at: Date;
|
|
@@ -1882,6 +1818,7 @@ export interface GetBlockedUsersResponse {
|
|
|
1882
1818
|
}
|
|
1883
1819
|
export interface GetCommentRepliesResponse {
|
|
1884
1820
|
duration: string;
|
|
1821
|
+
sort: string;
|
|
1885
1822
|
comments: ThreadedCommentResponse[];
|
|
1886
1823
|
next?: string;
|
|
1887
1824
|
prev?: string;
|
|
@@ -1892,6 +1829,7 @@ export interface GetCommentResponse {
|
|
|
1892
1829
|
}
|
|
1893
1830
|
export interface GetCommentsResponse {
|
|
1894
1831
|
duration: string;
|
|
1832
|
+
sort: string;
|
|
1895
1833
|
comments: ThreadedCommentResponse[];
|
|
1896
1834
|
next?: string;
|
|
1897
1835
|
prev?: string;
|
|
@@ -1943,14 +1881,9 @@ export interface GetOrCreateFeedRequest {
|
|
|
1943
1881
|
filter?: Record<string, any>;
|
|
1944
1882
|
followers_pagination?: PagerRequest;
|
|
1945
1883
|
following_pagination?: PagerRequest;
|
|
1884
|
+
friend_reactions_options?: FriendReactionsOptions;
|
|
1946
1885
|
interest_weights?: Record<string, number>;
|
|
1947
1886
|
member_pagination?: PagerRequest;
|
|
1948
|
-
friend_reactions_options?: FriendReactionsOptions;
|
|
1949
|
-
}
|
|
1950
|
-
export interface FriendReactionsOptions {
|
|
1951
|
-
enabled?: boolean;
|
|
1952
|
-
type?: 'following' | 'mutual';
|
|
1953
|
-
limit?: number;
|
|
1954
1887
|
}
|
|
1955
1888
|
export interface GetOrCreateFeedResponse {
|
|
1956
1889
|
created: boolean;
|
|
@@ -1969,6 +1902,10 @@ export interface GetOrCreateFeedResponse {
|
|
|
1969
1902
|
member_pagination?: PagerResponse;
|
|
1970
1903
|
notification_status?: NotificationStatusResponse;
|
|
1971
1904
|
}
|
|
1905
|
+
export interface GetUserGroupResponse {
|
|
1906
|
+
duration: string;
|
|
1907
|
+
user_group?: UserGroupResponse;
|
|
1908
|
+
}
|
|
1972
1909
|
export interface GoogleVisionConfig {
|
|
1973
1910
|
enabled?: boolean;
|
|
1974
1911
|
}
|
|
@@ -2009,9 +1946,9 @@ export interface ImageRuleParameters {
|
|
|
2009
1946
|
harm_labels?: string[];
|
|
2010
1947
|
}
|
|
2011
1948
|
export interface ImageSize {
|
|
2012
|
-
crop?:
|
|
1949
|
+
crop?: string;
|
|
2013
1950
|
height?: number;
|
|
2014
|
-
resize?:
|
|
1951
|
+
resize?: string;
|
|
2015
1952
|
width?: number;
|
|
2016
1953
|
}
|
|
2017
1954
|
export interface ImageUploadRequest {
|
|
@@ -2039,6 +1976,7 @@ export interface IndividualRecordingResponse {
|
|
|
2039
1976
|
}
|
|
2040
1977
|
export interface IndividualRecordingSettingsResponse {
|
|
2041
1978
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
1979
|
+
output_types?: string[];
|
|
2042
1980
|
}
|
|
2043
1981
|
export interface IngressAudioEncodingResponse {
|
|
2044
1982
|
bitrate: number;
|
|
@@ -2066,6 +2004,11 @@ export interface IngressVideoLayerResponse {
|
|
|
2066
2004
|
max_dimension: number;
|
|
2067
2005
|
min_dimension: number;
|
|
2068
2006
|
}
|
|
2007
|
+
export interface KeyframeRuleParameters {
|
|
2008
|
+
min_confidence?: number;
|
|
2009
|
+
threshold?: number;
|
|
2010
|
+
harm_labels?: string[];
|
|
2011
|
+
}
|
|
2069
2012
|
export interface LLMConfig {
|
|
2070
2013
|
enabled: boolean;
|
|
2071
2014
|
rules: LLMRule[];
|
|
@@ -2097,6 +2040,10 @@ export interface ListDevicesResponse {
|
|
|
2097
2040
|
duration: string;
|
|
2098
2041
|
devices: DeviceResponse[];
|
|
2099
2042
|
}
|
|
2043
|
+
export interface ListUserGroupsResponse {
|
|
2044
|
+
duration: string;
|
|
2045
|
+
user_groups: UserGroupResponse[];
|
|
2046
|
+
}
|
|
2100
2047
|
export interface MarkActivityRequest {
|
|
2101
2048
|
mark_all_read?: boolean;
|
|
2102
2049
|
mark_all_seen?: boolean;
|
|
@@ -2104,7 +2051,7 @@ export interface MarkActivityRequest {
|
|
|
2104
2051
|
mark_seen?: string[];
|
|
2105
2052
|
mark_watched?: string[];
|
|
2106
2053
|
}
|
|
2107
|
-
export interface
|
|
2054
|
+
export interface MarkReviewedRequestPayload {
|
|
2108
2055
|
content_to_mark_as_reviewed_limit?: number;
|
|
2109
2056
|
decision_reason?: string;
|
|
2110
2057
|
disable_marking_content_as_reviewed?: boolean;
|
|
@@ -2119,65 +2066,6 @@ export interface MembershipLevelResponse {
|
|
|
2119
2066
|
description?: string;
|
|
2120
2067
|
custom?: Record<string, any>;
|
|
2121
2068
|
}
|
|
2122
|
-
export interface Message {
|
|
2123
|
-
cid: string;
|
|
2124
|
-
created_at: Date;
|
|
2125
|
-
deleted_reply_count: number;
|
|
2126
|
-
html: string;
|
|
2127
|
-
id: string;
|
|
2128
|
-
mentioned_channel: boolean;
|
|
2129
|
-
pinned: boolean;
|
|
2130
|
-
reply_count: number;
|
|
2131
|
-
shadowed: boolean;
|
|
2132
|
-
silent: boolean;
|
|
2133
|
-
text: string;
|
|
2134
|
-
type: string;
|
|
2135
|
-
updated_at: Date;
|
|
2136
|
-
attachments: Attachment[];
|
|
2137
|
-
latest_reactions: Reaction[];
|
|
2138
|
-
mentioned_users: User[];
|
|
2139
|
-
own_reactions: Reaction[];
|
|
2140
|
-
restricted_visibility: string[];
|
|
2141
|
-
custom: Record<string, any>;
|
|
2142
|
-
reaction_counts: Record<string, number>;
|
|
2143
|
-
reaction_groups: Record<string, ReactionGroupResponse>;
|
|
2144
|
-
reaction_scores: Record<string, number>;
|
|
2145
|
-
before_message_send_failed?: boolean;
|
|
2146
|
-
command?: string;
|
|
2147
|
-
deleted_at?: Date;
|
|
2148
|
-
deleted_for_me?: boolean;
|
|
2149
|
-
message_text_updated_at?: Date;
|
|
2150
|
-
mml?: string;
|
|
2151
|
-
parent_id?: string;
|
|
2152
|
-
pin_expires?: Date;
|
|
2153
|
-
pinned_at?: Date;
|
|
2154
|
-
poll_id?: string;
|
|
2155
|
-
quoted_message_id?: string;
|
|
2156
|
-
show_in_channel?: boolean;
|
|
2157
|
-
thread_participants?: User[];
|
|
2158
|
-
i18n?: Record<string, string>;
|
|
2159
|
-
image_labels?: Record<string, string[]>;
|
|
2160
|
-
member?: ChannelMember;
|
|
2161
|
-
moderation?: ModerationV2Response;
|
|
2162
|
-
pinned_by?: User;
|
|
2163
|
-
poll?: Poll;
|
|
2164
|
-
quoted_message?: Message;
|
|
2165
|
-
reminder?: MessageReminder;
|
|
2166
|
-
shared_location?: SharedLocation;
|
|
2167
|
-
user?: User;
|
|
2168
|
-
}
|
|
2169
|
-
export interface MessageReminder {
|
|
2170
|
-
channel_cid: string;
|
|
2171
|
-
created_at: Date;
|
|
2172
|
-
message_id: string;
|
|
2173
|
-
task_id: string;
|
|
2174
|
-
updated_at: Date;
|
|
2175
|
-
user_id: string;
|
|
2176
|
-
remind_at?: Date;
|
|
2177
|
-
channel?: Channel;
|
|
2178
|
-
message?: Message;
|
|
2179
|
-
user?: User;
|
|
2180
|
-
}
|
|
2181
2069
|
export interface MessageResponse {
|
|
2182
2070
|
cid: string;
|
|
2183
2071
|
created_at: Date;
|
|
@@ -2185,12 +2073,13 @@ export interface MessageResponse {
|
|
|
2185
2073
|
html: string;
|
|
2186
2074
|
id: string;
|
|
2187
2075
|
mentioned_channel: boolean;
|
|
2076
|
+
mentioned_here: boolean;
|
|
2188
2077
|
pinned: boolean;
|
|
2189
2078
|
reply_count: number;
|
|
2190
2079
|
shadowed: boolean;
|
|
2191
2080
|
silent: boolean;
|
|
2192
2081
|
text: string;
|
|
2193
|
-
type:
|
|
2082
|
+
type: string;
|
|
2194
2083
|
updated_at: Date;
|
|
2195
2084
|
attachments: Attachment[];
|
|
2196
2085
|
latest_reactions: ReactionResponse[];
|
|
@@ -2212,6 +2101,7 @@ export interface MessageResponse {
|
|
|
2212
2101
|
poll_id?: string;
|
|
2213
2102
|
quoted_message_id?: string;
|
|
2214
2103
|
show_in_channel?: boolean;
|
|
2104
|
+
mentioned_roles?: string[];
|
|
2215
2105
|
thread_participants?: UserResponse[];
|
|
2216
2106
|
draft?: DraftResponse;
|
|
2217
2107
|
i18n?: Record<string, string>;
|
|
@@ -2225,13 +2115,13 @@ export interface MessageResponse {
|
|
|
2225
2115
|
reminder?: ReminderResponseData;
|
|
2226
2116
|
shared_location?: SharedLocationResponseData;
|
|
2227
2117
|
}
|
|
2228
|
-
export interface
|
|
2118
|
+
export interface ModerationActionConfigResponse {
|
|
2229
2119
|
action: string;
|
|
2230
2120
|
description: string;
|
|
2231
2121
|
entity_type: string;
|
|
2232
2122
|
icon: string;
|
|
2233
2123
|
order: number;
|
|
2234
|
-
custom
|
|
2124
|
+
custom?: Record<string, any>;
|
|
2235
2125
|
}
|
|
2236
2126
|
export interface ModerationCustomActionEvent {
|
|
2237
2127
|
action_id: string;
|
|
@@ -2256,16 +2146,17 @@ export interface ModerationFlagResponse {
|
|
|
2256
2146
|
review_queue_item_id?: string;
|
|
2257
2147
|
labels?: string[];
|
|
2258
2148
|
custom?: Record<string, any>;
|
|
2259
|
-
moderation_payload?:
|
|
2149
|
+
moderation_payload?: ModerationPayloadResponse;
|
|
2260
2150
|
review_queue_item?: ReviewQueueItemResponse;
|
|
2261
2151
|
user?: UserResponse;
|
|
2262
2152
|
}
|
|
2263
2153
|
export interface ModerationFlaggedEvent {
|
|
2154
|
+
content_type: string;
|
|
2264
2155
|
created_at: Date;
|
|
2156
|
+
object_id: string;
|
|
2157
|
+
custom: Record<string, any>;
|
|
2265
2158
|
type: string;
|
|
2266
|
-
|
|
2267
|
-
object_id?: string;
|
|
2268
|
-
user?: User;
|
|
2159
|
+
received_at?: Date;
|
|
2269
2160
|
}
|
|
2270
2161
|
export interface ModerationMarkReviewedEvent {
|
|
2271
2162
|
created_at: Date;
|
|
@@ -2281,12 +2172,19 @@ export interface ModerationPayload {
|
|
|
2281
2172
|
videos?: string[];
|
|
2282
2173
|
custom?: Record<string, any>;
|
|
2283
2174
|
}
|
|
2175
|
+
export interface ModerationPayloadResponse {
|
|
2176
|
+
images?: string[];
|
|
2177
|
+
texts?: string[];
|
|
2178
|
+
videos?: string[];
|
|
2179
|
+
custom?: Record<string, any>;
|
|
2180
|
+
}
|
|
2284
2181
|
export interface ModerationV2Response {
|
|
2285
2182
|
action: string;
|
|
2286
2183
|
original_text: string;
|
|
2287
2184
|
blocklist_matched?: string;
|
|
2288
2185
|
platform_circumvented?: boolean;
|
|
2289
2186
|
semantic_filter_matched?: string;
|
|
2187
|
+
blocklists_matched?: string[];
|
|
2290
2188
|
image_harms?: string[];
|
|
2291
2189
|
text_harms?: string[];
|
|
2292
2190
|
}
|
|
@@ -2296,9 +2194,9 @@ export interface MuteRequest {
|
|
|
2296
2194
|
}
|
|
2297
2195
|
export interface MuteResponse {
|
|
2298
2196
|
duration: string;
|
|
2299
|
-
mutes?:
|
|
2197
|
+
mutes?: UserMuteResponse[];
|
|
2300
2198
|
non_existing_users?: string[];
|
|
2301
|
-
own_user?:
|
|
2199
|
+
own_user?: OwnUserResponse;
|
|
2302
2200
|
}
|
|
2303
2201
|
export interface NoiseCancellationSettings {
|
|
2304
2202
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
@@ -2374,36 +2272,6 @@ export interface OwnBatchResponse {
|
|
|
2374
2272
|
duration: string;
|
|
2375
2273
|
data: Record<string, FeedOwnData>;
|
|
2376
2274
|
}
|
|
2377
|
-
export interface OwnUser {
|
|
2378
|
-
banned: boolean;
|
|
2379
|
-
created_at: Date;
|
|
2380
|
-
id: string;
|
|
2381
|
-
language: string;
|
|
2382
|
-
online: boolean;
|
|
2383
|
-
role: string;
|
|
2384
|
-
total_unread_count: number;
|
|
2385
|
-
unread_channels: number;
|
|
2386
|
-
unread_count: number;
|
|
2387
|
-
unread_threads: number;
|
|
2388
|
-
updated_at: Date;
|
|
2389
|
-
channel_mutes: ChannelMute[];
|
|
2390
|
-
devices: Device[];
|
|
2391
|
-
mutes: UserMute[];
|
|
2392
|
-
custom: Record<string, any>;
|
|
2393
|
-
total_unread_count_by_team: Record<string, number>;
|
|
2394
|
-
avg_response_time?: number;
|
|
2395
|
-
deactivated_at?: Date;
|
|
2396
|
-
deleted_at?: Date;
|
|
2397
|
-
invisible?: boolean;
|
|
2398
|
-
last_active?: Date;
|
|
2399
|
-
last_engaged_at?: Date;
|
|
2400
|
-
blocked_user_ids?: string[];
|
|
2401
|
-
latest_hidden_channels?: string[];
|
|
2402
|
-
teams?: string[];
|
|
2403
|
-
privacy_settings?: PrivacySettings;
|
|
2404
|
-
push_preferences?: PushPreferences;
|
|
2405
|
-
teams_role?: Record<string, string>;
|
|
2406
|
-
}
|
|
2407
2275
|
export interface OwnUserResponse {
|
|
2408
2276
|
banned: boolean;
|
|
2409
2277
|
created_at: Date;
|
|
@@ -2454,29 +2322,6 @@ export interface PinActivityResponse {
|
|
|
2454
2322
|
user_id: string;
|
|
2455
2323
|
activity: ActivityResponse;
|
|
2456
2324
|
}
|
|
2457
|
-
export interface Poll {
|
|
2458
|
-
allow_answers: boolean;
|
|
2459
|
-
allow_user_suggested_options: boolean;
|
|
2460
|
-
answers_count: number;
|
|
2461
|
-
created_at: Date;
|
|
2462
|
-
created_by_id: string;
|
|
2463
|
-
description: string;
|
|
2464
|
-
enforce_unique_vote: boolean;
|
|
2465
|
-
id: string;
|
|
2466
|
-
name: string;
|
|
2467
|
-
updated_at: Date;
|
|
2468
|
-
vote_count: number;
|
|
2469
|
-
latest_answers: PollVote[];
|
|
2470
|
-
options: PollOption[];
|
|
2471
|
-
own_votes: PollVote[];
|
|
2472
|
-
custom: Record<string, any>;
|
|
2473
|
-
latest_votes_by_option: Record<string, PollVote[]>;
|
|
2474
|
-
vote_counts_by_option: Record<string, number>;
|
|
2475
|
-
is_closed?: boolean;
|
|
2476
|
-
max_votes_allowed?: number;
|
|
2477
|
-
voting_visibility?: string;
|
|
2478
|
-
created_by?: User;
|
|
2479
|
-
}
|
|
2480
2325
|
export interface PollClosedFeedEvent {
|
|
2481
2326
|
created_at: Date;
|
|
2482
2327
|
fid: string;
|
|
@@ -2495,11 +2340,6 @@ export interface PollDeletedFeedEvent {
|
|
|
2495
2340
|
feed_visibility?: string;
|
|
2496
2341
|
received_at?: Date;
|
|
2497
2342
|
}
|
|
2498
|
-
export interface PollOption {
|
|
2499
|
-
id: string;
|
|
2500
|
-
text: string;
|
|
2501
|
-
custom: Record<string, any>;
|
|
2502
|
-
}
|
|
2503
2343
|
export interface PollOptionInput {
|
|
2504
2344
|
text?: string;
|
|
2505
2345
|
custom?: Record<string, any>;
|
|
@@ -2554,17 +2394,6 @@ export interface PollUpdatedFeedEvent {
|
|
|
2554
2394
|
feed_visibility?: string;
|
|
2555
2395
|
received_at?: Date;
|
|
2556
2396
|
}
|
|
2557
|
-
export interface PollVote {
|
|
2558
|
-
created_at: Date;
|
|
2559
|
-
id: string;
|
|
2560
|
-
option_id: string;
|
|
2561
|
-
poll_id: string;
|
|
2562
|
-
updated_at: Date;
|
|
2563
|
-
answer_text?: string;
|
|
2564
|
-
is_answer?: boolean;
|
|
2565
|
-
user_id?: string;
|
|
2566
|
-
user?: User;
|
|
2567
|
-
}
|
|
2568
2397
|
export interface PollVoteCastedFeedEvent {
|
|
2569
2398
|
created_at: Date;
|
|
2570
2399
|
fid: string;
|
|
@@ -2617,11 +2446,6 @@ export interface PollVotesResponse {
|
|
|
2617
2446
|
next?: string;
|
|
2618
2447
|
prev?: string;
|
|
2619
2448
|
}
|
|
2620
|
-
export interface PrivacySettings {
|
|
2621
|
-
delivery_receipts?: DeliveryReceipts;
|
|
2622
|
-
read_receipts?: ReadReceipts;
|
|
2623
|
-
typing_indicators?: TypingIndicators;
|
|
2624
|
-
}
|
|
2625
2449
|
export interface PrivacySettingsResponse {
|
|
2626
2450
|
delivery_receipts?: DeliveryReceiptsResponse;
|
|
2627
2451
|
read_receipts?: ReadReceiptsResponse;
|
|
@@ -2641,13 +2465,6 @@ export interface PushPreferenceInput {
|
|
|
2641
2465
|
user_id?: string;
|
|
2642
2466
|
feeds_preferences?: FeedsPreferences;
|
|
2643
2467
|
}
|
|
2644
|
-
export interface PushPreferences {
|
|
2645
|
-
call_level?: string;
|
|
2646
|
-
chat_level?: string;
|
|
2647
|
-
disabled_until?: Date;
|
|
2648
|
-
feeds_level?: string;
|
|
2649
|
-
feeds_preferences?: FeedsPreferences;
|
|
2650
|
-
}
|
|
2651
2468
|
export interface PushPreferencesResponse {
|
|
2652
2469
|
call_level?: string;
|
|
2653
2470
|
chat_level?: string;
|
|
@@ -2846,7 +2663,7 @@ export interface QueryReviewQueueRequest {
|
|
|
2846
2663
|
export interface QueryReviewQueueResponse {
|
|
2847
2664
|
duration: string;
|
|
2848
2665
|
items: ReviewQueueItemResponse[];
|
|
2849
|
-
action_config: Record<string,
|
|
2666
|
+
action_config: Record<string, ModerationActionConfigResponse[]>;
|
|
2850
2667
|
stats: Record<string, any>;
|
|
2851
2668
|
next?: string;
|
|
2852
2669
|
prev?: string;
|
|
@@ -2921,9 +2738,8 @@ export interface ReactionResponse {
|
|
|
2921
2738
|
export interface ReadCollectionsResponse {
|
|
2922
2739
|
duration: string;
|
|
2923
2740
|
collections: CollectionResponse[];
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
enabled: boolean;
|
|
2741
|
+
next?: string;
|
|
2742
|
+
prev?: string;
|
|
2927
2743
|
}
|
|
2928
2744
|
export interface ReadReceiptsResponse {
|
|
2929
2745
|
enabled: boolean;
|
|
@@ -2933,7 +2749,7 @@ export interface RecordSettingsResponse {
|
|
|
2933
2749
|
mode: string;
|
|
2934
2750
|
quality: string;
|
|
2935
2751
|
}
|
|
2936
|
-
export interface
|
|
2752
|
+
export interface RejectAppealRequestPayload {
|
|
2937
2753
|
decision_reason: string;
|
|
2938
2754
|
}
|
|
2939
2755
|
export interface RejectFeedMemberInviteRequest {
|
|
@@ -2961,6 +2777,10 @@ export interface ReminderResponseData {
|
|
|
2961
2777
|
message?: MessageResponse;
|
|
2962
2778
|
user?: UserResponse;
|
|
2963
2779
|
}
|
|
2780
|
+
export interface RemoveUserGroupMembersResponse {
|
|
2781
|
+
duration: string;
|
|
2782
|
+
user_group?: UserGroupResponse;
|
|
2783
|
+
}
|
|
2964
2784
|
export interface RepliesMeta {
|
|
2965
2785
|
depth_truncated: boolean;
|
|
2966
2786
|
has_more: boolean;
|
|
@@ -2970,7 +2790,7 @@ export interface RepliesMeta {
|
|
|
2970
2790
|
export interface Response {
|
|
2971
2791
|
duration: string;
|
|
2972
2792
|
}
|
|
2973
|
-
export interface
|
|
2793
|
+
export interface RestoreActionRequestPayload {
|
|
2974
2794
|
decision_reason?: string;
|
|
2975
2795
|
}
|
|
2976
2796
|
export interface RestoreActivityRequest {
|
|
@@ -2993,7 +2813,7 @@ export interface ReviewQueueItemResponse {
|
|
|
2993
2813
|
status: string;
|
|
2994
2814
|
updated_at: Date;
|
|
2995
2815
|
actions: ActionLogResponse[];
|
|
2996
|
-
bans:
|
|
2816
|
+
bans: BanInfoResponse[];
|
|
2997
2817
|
flags: ModerationFlagResponse[];
|
|
2998
2818
|
languages: string[];
|
|
2999
2819
|
completed_at?: Date;
|
|
@@ -3011,7 +2831,7 @@ export interface ReviewQueueItemResponse {
|
|
|
3011
2831
|
feeds_v3_activity?: ActivityResponse;
|
|
3012
2832
|
feeds_v3_comment?: CommentResponse;
|
|
3013
2833
|
message?: MessageResponse;
|
|
3014
|
-
moderation_payload?:
|
|
2834
|
+
moderation_payload?: ModerationPayloadResponse;
|
|
3015
2835
|
reaction?: Reaction;
|
|
3016
2836
|
}
|
|
3017
2837
|
export interface RingSettingsResponse {
|
|
@@ -3020,17 +2840,23 @@ export interface RingSettingsResponse {
|
|
|
3020
2840
|
missed_call_timeout_ms: number;
|
|
3021
2841
|
}
|
|
3022
2842
|
export interface RuleBuilderAction {
|
|
3023
|
-
type
|
|
2843
|
+
type?: 'ban_user' | 'flag_user' | 'flag_content' | 'block_content' | 'shadow_content' | 'bounce_flag_content' | 'bounce_content' | 'bounce_remove_content' | 'mute_video' | 'mute_audio' | 'blur' | 'call_blur' | 'end_call' | 'kick_user' | 'warning' | 'call_warning' | 'webhook_only';
|
|
3024
2844
|
ban_options?: BanOptions;
|
|
2845
|
+
call_options?: CallActionOptions;
|
|
3025
2846
|
flag_user_options?: FlagUserOptions;
|
|
3026
2847
|
}
|
|
3027
2848
|
export interface RuleBuilderCondition {
|
|
3028
2849
|
confidence?: number;
|
|
3029
2850
|
type?: string;
|
|
2851
|
+
call_custom_property_params?: CallCustomPropertyParameters;
|
|
2852
|
+
call_type_rule_params?: CallTypeRuleParameters;
|
|
2853
|
+
call_violation_count_params?: CallViolationCountParameters;
|
|
2854
|
+
closed_caption_rule_params?: ClosedCaptionRuleParameters;
|
|
3030
2855
|
content_count_rule_params?: ContentCountRuleParameters;
|
|
3031
2856
|
content_flag_count_rule_params?: FlagCountRuleParameters;
|
|
3032
2857
|
image_content_params?: ImageContentParameters;
|
|
3033
2858
|
image_rule_params?: ImageRuleParameters;
|
|
2859
|
+
keyframe_rule_params?: KeyframeRuleParameters;
|
|
3034
2860
|
text_content_params?: TextContentParameters;
|
|
3035
2861
|
text_rule_params?: TextRuleParameters;
|
|
3036
2862
|
user_created_within_params?: UserCreatedWithinParameters;
|
|
@@ -3052,12 +2878,13 @@ export interface RuleBuilderConfig {
|
|
|
3052
2878
|
}
|
|
3053
2879
|
export interface RuleBuilderRule {
|
|
3054
2880
|
rule_type: string;
|
|
3055
|
-
action: RuleBuilderAction;
|
|
3056
2881
|
cooldown_period?: string;
|
|
3057
2882
|
id?: string;
|
|
3058
2883
|
logic?: string;
|
|
2884
|
+
action_sequences?: CallRuleActionSequence[];
|
|
3059
2885
|
conditions?: RuleBuilderCondition[];
|
|
3060
2886
|
groups?: RuleBuilderConditionGroup[];
|
|
2887
|
+
action?: RuleBuilderAction;
|
|
3061
2888
|
}
|
|
3062
2889
|
export interface SRTIngress {
|
|
3063
2890
|
address: string;
|
|
@@ -3067,25 +2894,16 @@ export interface ScreensharingSettingsResponse {
|
|
|
3067
2894
|
enabled: boolean;
|
|
3068
2895
|
target_resolution?: TargetResolution;
|
|
3069
2896
|
}
|
|
2897
|
+
export interface SearchUserGroupsResponse {
|
|
2898
|
+
duration: string;
|
|
2899
|
+
user_groups: UserGroupResponse[];
|
|
2900
|
+
}
|
|
3070
2901
|
export interface SessionSettingsResponse {
|
|
3071
2902
|
inactivity_timeout_seconds: number;
|
|
3072
2903
|
}
|
|
3073
|
-
export interface
|
|
2904
|
+
export interface ShadowBlockActionRequestPayload {
|
|
3074
2905
|
reason?: string;
|
|
3075
2906
|
}
|
|
3076
|
-
export interface SharedLocation {
|
|
3077
|
-
channel_cid: string;
|
|
3078
|
-
created_at: Date;
|
|
3079
|
-
created_by_device_id: string;
|
|
3080
|
-
message_id: string;
|
|
3081
|
-
updated_at: Date;
|
|
3082
|
-
user_id: string;
|
|
3083
|
-
end_at?: Date;
|
|
3084
|
-
latitude?: number;
|
|
3085
|
-
longitude?: number;
|
|
3086
|
-
channel?: Channel;
|
|
3087
|
-
message?: Message;
|
|
3088
|
-
}
|
|
3089
2907
|
export interface SharedLocationResponse {
|
|
3090
2908
|
channel_cid: string;
|
|
3091
2909
|
created_at: Date;
|
|
@@ -3130,7 +2948,7 @@ export interface SortParam {
|
|
|
3130
2948
|
export interface SortParamRequest {
|
|
3131
2949
|
direction?: number;
|
|
3132
2950
|
field?: string;
|
|
3133
|
-
type?:
|
|
2951
|
+
type?: string;
|
|
3134
2952
|
}
|
|
3135
2953
|
export interface SpeechSegmentConfig {
|
|
3136
2954
|
max_speech_caption_ms?: number;
|
|
@@ -3152,23 +2970,24 @@ export interface StoriesFeedUpdatedEvent {
|
|
|
3152
2970
|
user?: UserResponseCommonFields;
|
|
3153
2971
|
}
|
|
3154
2972
|
export interface SubmitActionRequest {
|
|
3155
|
-
action_type: 'mark_reviewed' | 'delete_message' | 'delete_activity' | 'delete_comment' | 'delete_reaction' | 'ban' | 'custom' | 'unban' | 'restore' | 'delete_user' | 'unblock' | 'block' | 'shadow_block' | 'unmask' | 'kick_user' | 'end_call' | 'reject_appeal';
|
|
2973
|
+
action_type: 'flag' | 'mark_reviewed' | 'delete_message' | 'delete_activity' | 'delete_comment' | 'delete_reaction' | 'ban' | 'custom' | 'unban' | 'restore' | 'delete_user' | 'unblock' | 'block' | 'shadow_block' | 'unmask' | 'kick_user' | 'end_call' | 'reject_appeal';
|
|
3156
2974
|
appeal_id?: string;
|
|
3157
2975
|
item_id?: string;
|
|
3158
|
-
ban?:
|
|
3159
|
-
block?:
|
|
3160
|
-
custom?:
|
|
3161
|
-
delete_activity?:
|
|
3162
|
-
delete_comment?:
|
|
3163
|
-
delete_message?:
|
|
3164
|
-
delete_reaction?:
|
|
3165
|
-
delete_user?:
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
2976
|
+
ban?: BanActionRequestPayload;
|
|
2977
|
+
block?: BlockActionRequestPayload;
|
|
2978
|
+
custom?: CustomActionRequestPayload;
|
|
2979
|
+
delete_activity?: DeleteActivityRequestPayload;
|
|
2980
|
+
delete_comment?: DeleteCommentRequestPayload;
|
|
2981
|
+
delete_message?: DeleteMessageRequestPayload;
|
|
2982
|
+
delete_reaction?: DeleteReactionRequestPayload;
|
|
2983
|
+
delete_user?: DeleteUserRequestPayload;
|
|
2984
|
+
flag?: FlagRequest;
|
|
2985
|
+
mark_reviewed?: MarkReviewedRequestPayload;
|
|
2986
|
+
reject_appeal?: RejectAppealRequestPayload;
|
|
2987
|
+
restore?: RestoreActionRequestPayload;
|
|
2988
|
+
shadow_block?: ShadowBlockActionRequestPayload;
|
|
2989
|
+
unban?: UnbanActionRequestPayload;
|
|
2990
|
+
unblock?: UnblockActionRequestPayload;
|
|
3172
2991
|
}
|
|
3173
2992
|
export interface SubmitActionResponse {
|
|
3174
2993
|
duration: string;
|
|
@@ -3208,7 +3027,7 @@ export interface ThreadedCommentResponse {
|
|
|
3208
3027
|
reaction_count: number;
|
|
3209
3028
|
reply_count: number;
|
|
3210
3029
|
score: number;
|
|
3211
|
-
status:
|
|
3030
|
+
status: 'active' | 'deleted' | 'removed' | 'hidden' | 'shadow_blocked';
|
|
3212
3031
|
updated_at: Date;
|
|
3213
3032
|
upvote_count: number;
|
|
3214
3033
|
mentioned_users: UserResponse[];
|
|
@@ -3225,7 +3044,7 @@ export interface ThreadedCommentResponse {
|
|
|
3225
3044
|
custom?: Record<string, any>;
|
|
3226
3045
|
meta?: RepliesMeta;
|
|
3227
3046
|
moderation?: ModerationV2Response;
|
|
3228
|
-
reaction_groups?: Record<string,
|
|
3047
|
+
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
3229
3048
|
}
|
|
3230
3049
|
export interface Thresholds {
|
|
3231
3050
|
explicit?: LabelThresholds;
|
|
@@ -3251,16 +3070,14 @@ export interface TranslationSettings {
|
|
|
3251
3070
|
enabled: boolean;
|
|
3252
3071
|
languages: string[];
|
|
3253
3072
|
}
|
|
3254
|
-
export interface TypingIndicators {
|
|
3255
|
-
enabled: boolean;
|
|
3256
|
-
}
|
|
3257
3073
|
export interface TypingIndicatorsResponse {
|
|
3258
3074
|
enabled: boolean;
|
|
3259
3075
|
}
|
|
3260
|
-
export interface
|
|
3076
|
+
export interface UnbanActionRequestPayload {
|
|
3077
|
+
channel_cid?: string;
|
|
3261
3078
|
decision_reason?: string;
|
|
3262
3079
|
}
|
|
3263
|
-
export interface
|
|
3080
|
+
export interface UnblockActionRequestPayload {
|
|
3264
3081
|
decision_reason?: string;
|
|
3265
3082
|
}
|
|
3266
3083
|
export interface UnblockUsersRequest {
|
|
@@ -3317,6 +3134,7 @@ export interface UpdateActivityRequest {
|
|
|
3317
3134
|
mentioned_user_ids?: string[];
|
|
3318
3135
|
custom?: Record<string, any>;
|
|
3319
3136
|
location?: ActivityLocation;
|
|
3137
|
+
search_data?: Record<string, any>;
|
|
3320
3138
|
}
|
|
3321
3139
|
export interface UpdateActivityResponse {
|
|
3322
3140
|
duration: string;
|
|
@@ -3441,6 +3259,15 @@ export interface UpdatePollRequest {
|
|
|
3441
3259
|
options?: PollOptionRequest[];
|
|
3442
3260
|
custom?: Record<string, any>;
|
|
3443
3261
|
}
|
|
3262
|
+
export interface UpdateUserGroupRequest {
|
|
3263
|
+
description?: string;
|
|
3264
|
+
name?: string;
|
|
3265
|
+
team_id?: string;
|
|
3266
|
+
}
|
|
3267
|
+
export interface UpdateUserGroupResponse {
|
|
3268
|
+
duration: string;
|
|
3269
|
+
user_group?: UserGroupResponse;
|
|
3270
|
+
}
|
|
3444
3271
|
export interface UpdateUserPartialRequest {
|
|
3445
3272
|
id: string;
|
|
3446
3273
|
unset?: string[];
|
|
@@ -3493,42 +3320,31 @@ export interface UpsertPushPreferencesRequest {
|
|
|
3493
3320
|
}
|
|
3494
3321
|
export interface UpsertPushPreferencesResponse {
|
|
3495
3322
|
duration: string;
|
|
3496
|
-
user_channel_preferences: Record<string, Record<string,
|
|
3497
|
-
user_preferences: Record<string,
|
|
3323
|
+
user_channel_preferences: Record<string, Record<string, ChannelPushPreferencesResponse | null>>;
|
|
3324
|
+
user_preferences: Record<string, PushPreferencesResponse>;
|
|
3498
3325
|
}
|
|
3499
3326
|
export interface User {
|
|
3500
|
-
banned: boolean;
|
|
3501
3327
|
id: string;
|
|
3502
|
-
|
|
3503
|
-
role: string;
|
|
3504
|
-
custom: Record<string, any>;
|
|
3505
|
-
teams_role: Record<string, string>;
|
|
3506
|
-
avg_response_time?: number;
|
|
3507
|
-
ban_expires?: Date;
|
|
3508
|
-
created_at?: Date;
|
|
3509
|
-
deactivated_at?: Date;
|
|
3510
|
-
deleted_at?: Date;
|
|
3511
|
-
invisible?: boolean;
|
|
3512
|
-
language?: string;
|
|
3513
|
-
last_active?: Date;
|
|
3514
|
-
last_engaged_at?: Date;
|
|
3515
|
-
revoke_tokens_issued_before?: Date;
|
|
3516
|
-
updated_at?: Date;
|
|
3517
|
-
teams?: string[];
|
|
3518
|
-
privacy_settings?: PrivacySettings;
|
|
3328
|
+
data?: Record<string, any>;
|
|
3519
3329
|
}
|
|
3520
3330
|
export interface UserBannedEvent {
|
|
3521
|
-
channel_id: string;
|
|
3522
|
-
channel_type: string;
|
|
3523
|
-
cid: string;
|
|
3524
3331
|
created_at: Date;
|
|
3525
|
-
|
|
3526
|
-
|
|
3332
|
+
custom: Record<string, any>;
|
|
3333
|
+
user: UserResponseCommonFields;
|
|
3527
3334
|
type: string;
|
|
3335
|
+
channel_id?: string;
|
|
3336
|
+
channel_member_count?: number;
|
|
3337
|
+
channel_message_count?: number;
|
|
3338
|
+
channel_type?: string;
|
|
3339
|
+
cid?: string;
|
|
3528
3340
|
expiration?: Date;
|
|
3529
3341
|
reason?: string;
|
|
3342
|
+
received_at?: Date;
|
|
3343
|
+
shadow?: boolean;
|
|
3530
3344
|
team?: string;
|
|
3531
|
-
|
|
3345
|
+
total_bans?: number;
|
|
3346
|
+
channel_custom?: Record<string, any>;
|
|
3347
|
+
created_by?: UserResponseCommonFields;
|
|
3532
3348
|
}
|
|
3533
3349
|
export interface UserCreatedWithinParameters {
|
|
3534
3350
|
max_age?: string;
|
|
@@ -3539,20 +3355,32 @@ export interface UserCustomPropertyParameters {
|
|
|
3539
3355
|
}
|
|
3540
3356
|
export interface UserDeactivatedEvent {
|
|
3541
3357
|
created_at: Date;
|
|
3542
|
-
|
|
3358
|
+
custom: Record<string, any>;
|
|
3359
|
+
user: UserResponseCommonFields;
|
|
3543
3360
|
type: string;
|
|
3544
|
-
|
|
3361
|
+
received_at?: Date;
|
|
3362
|
+
created_by?: UserResponseCommonFields;
|
|
3545
3363
|
}
|
|
3546
|
-
export interface
|
|
3547
|
-
|
|
3548
|
-
|
|
3364
|
+
export interface UserGroupMember {
|
|
3365
|
+
app_pk: number;
|
|
3366
|
+
created_at: Date;
|
|
3367
|
+
group_id: string;
|
|
3368
|
+
is_admin: boolean;
|
|
3369
|
+
user_id: string;
|
|
3549
3370
|
}
|
|
3550
|
-
export interface
|
|
3371
|
+
export interface UserGroupResponse {
|
|
3551
3372
|
created_at: Date;
|
|
3373
|
+
id: string;
|
|
3374
|
+
name: string;
|
|
3552
3375
|
updated_at: Date;
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3376
|
+
created_by?: string;
|
|
3377
|
+
description?: string;
|
|
3378
|
+
team_id?: string;
|
|
3379
|
+
members?: UserGroupMember[];
|
|
3380
|
+
}
|
|
3381
|
+
export interface UserIdenticalContentCountParameters {
|
|
3382
|
+
threshold?: number;
|
|
3383
|
+
time_window?: string;
|
|
3556
3384
|
}
|
|
3557
3385
|
export interface UserMuteResponse {
|
|
3558
3386
|
created_at: Date;
|
|
@@ -3561,17 +3389,13 @@ export interface UserMuteResponse {
|
|
|
3561
3389
|
target?: UserResponse;
|
|
3562
3390
|
user?: UserResponse;
|
|
3563
3391
|
}
|
|
3564
|
-
export interface UserMutedEvent {
|
|
3565
|
-
created_at: Date;
|
|
3566
|
-
type: string;
|
|
3567
|
-
target_user?: string;
|
|
3568
|
-
target_users?: string[];
|
|
3569
|
-
user?: User;
|
|
3570
|
-
}
|
|
3571
3392
|
export interface UserReactivatedEvent {
|
|
3572
3393
|
created_at: Date;
|
|
3394
|
+
custom: Record<string, any>;
|
|
3395
|
+
user: UserResponseCommonFields;
|
|
3573
3396
|
type: string;
|
|
3574
|
-
|
|
3397
|
+
received_at?: Date;
|
|
3398
|
+
created_by?: UserResponseCommonFields;
|
|
3575
3399
|
}
|
|
3576
3400
|
export interface UserRequest {
|
|
3577
3401
|
id: string;
|
|
@@ -3651,6 +3475,22 @@ export interface UserRoleParameters {
|
|
|
3651
3475
|
export interface UserRuleParameters {
|
|
3652
3476
|
max_age?: string;
|
|
3653
3477
|
}
|
|
3478
|
+
export interface UserUnbannedEvent {
|
|
3479
|
+
created_at: Date;
|
|
3480
|
+
custom: Record<string, any>;
|
|
3481
|
+
user: UserResponseCommonFields;
|
|
3482
|
+
type: string;
|
|
3483
|
+
channel_id?: string;
|
|
3484
|
+
channel_member_count?: number;
|
|
3485
|
+
channel_message_count?: number;
|
|
3486
|
+
channel_type?: string;
|
|
3487
|
+
cid?: string;
|
|
3488
|
+
received_at?: Date;
|
|
3489
|
+
shadow?: boolean;
|
|
3490
|
+
team?: string;
|
|
3491
|
+
channel_custom?: Record<string, any>;
|
|
3492
|
+
created_by?: UserResponseCommonFields;
|
|
3493
|
+
}
|
|
3654
3494
|
export interface UserUpdatedEvent {
|
|
3655
3495
|
created_at: Date;
|
|
3656
3496
|
custom: Record<string, any>;
|
|
@@ -3691,9 +3531,9 @@ export interface VideoCallRuleConfig {
|
|
|
3691
3531
|
export interface VideoContentParameters {
|
|
3692
3532
|
harm_labels?: string[];
|
|
3693
3533
|
}
|
|
3694
|
-
export interface
|
|
3534
|
+
export interface VideoEndCallRequestPayload {
|
|
3695
3535
|
}
|
|
3696
|
-
export interface
|
|
3536
|
+
export interface VideoKickUserRequestPayload {
|
|
3697
3537
|
}
|
|
3698
3538
|
export interface VideoRuleParameters {
|
|
3699
3539
|
threshold?: number;
|
|
@@ -3778,6 +3618,8 @@ export type WSClientEvent = ({
|
|
|
3778
3618
|
} & FeedGroupChangedEvent) | ({
|
|
3779
3619
|
type: 'feeds.feed_group.deleted';
|
|
3780
3620
|
} & FeedGroupDeletedEvent) | ({
|
|
3621
|
+
type: 'feeds.feed_group.restored';
|
|
3622
|
+
} & FeedGroupRestoredEvent) | ({
|
|
3781
3623
|
type: 'feeds.feed_member.added';
|
|
3782
3624
|
} & FeedMemberAddedEvent) | ({
|
|
3783
3625
|
type: 'feeds.feed_member.removed';
|
|
@@ -3810,8 +3652,18 @@ export type WSClientEvent = ({
|
|
|
3810
3652
|
} & HealthCheckEvent) | ({
|
|
3811
3653
|
type: 'moderation.custom_action';
|
|
3812
3654
|
} & ModerationCustomActionEvent) | ({
|
|
3655
|
+
type: 'moderation.flagged';
|
|
3656
|
+
} & ModerationFlaggedEvent) | ({
|
|
3813
3657
|
type: 'moderation.mark_reviewed';
|
|
3814
3658
|
} & ModerationMarkReviewedEvent) | ({
|
|
3659
|
+
type: 'user.banned';
|
|
3660
|
+
} & UserBannedEvent) | ({
|
|
3661
|
+
type: 'user.deactivated';
|
|
3662
|
+
} & UserDeactivatedEvent) | ({
|
|
3663
|
+
type: 'user.reactivated';
|
|
3664
|
+
} & UserReactivatedEvent) | ({
|
|
3665
|
+
type: 'user.unbanned';
|
|
3666
|
+
} & UserUnbannedEvent) | ({
|
|
3815
3667
|
type: 'user.updated';
|
|
3816
3668
|
} & UserUpdatedEvent);
|
|
3817
3669
|
export type WSEvent = ({
|
|
@@ -3873,6 +3725,8 @@ export type WSEvent = ({
|
|
|
3873
3725
|
} & FeedGroupChangedEvent) | ({
|
|
3874
3726
|
type: 'feeds.feed_group.deleted';
|
|
3875
3727
|
} & FeedGroupDeletedEvent) | ({
|
|
3728
|
+
type: 'feeds.feed_group.restored';
|
|
3729
|
+
} & FeedGroupRestoredEvent) | ({
|
|
3876
3730
|
type: 'feeds.feed_member.added';
|
|
3877
3731
|
} & FeedMemberAddedEvent) | ({
|
|
3878
3732
|
type: 'feeds.feed_member.removed';
|
|
@@ -3913,10 +3767,10 @@ export type WSEvent = ({
|
|
|
3913
3767
|
} & UserBannedEvent) | ({
|
|
3914
3768
|
type: 'user.deactivated';
|
|
3915
3769
|
} & UserDeactivatedEvent) | ({
|
|
3916
|
-
type: 'user.muted';
|
|
3917
|
-
} & UserMutedEvent) | ({
|
|
3918
3770
|
type: 'user.reactivated';
|
|
3919
3771
|
} & UserReactivatedEvent) | ({
|
|
3772
|
+
type: 'user.unbanned';
|
|
3773
|
+
} & UserUnbannedEvent) | ({
|
|
3920
3774
|
type: 'user.updated';
|
|
3921
3775
|
} & UserUpdatedEvent);
|
|
3922
3776
|
//# sourceMappingURL=index.d.ts.map
|