@stream-io/node-sdk 0.7.42 → 0.7.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +277 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +277 -11
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChatApi.d.ts +5 -4
- package/dist/src/gen/common/CommonApi.d.ts +32 -1
- package/dist/src/gen/feeds/FeedApi.d.ts +1 -0
- package/dist/src/gen/feeds/FeedsApi.d.ts +9 -3
- package/dist/src/gen/models/index.d.ts +375 -50
- package/package.json +1 -1
- package/src/gen/chat/ChatApi.ts +37 -8
- package/src/gen/common/CommonApi.ts +199 -0
- package/src/gen/feeds/FeedApi.ts +1 -0
- package/src/gen/feeds/FeedsApi.ts +54 -5
- package/src/gen/model-decoders/decoders.ts +173 -2
- package/src/gen/models/index.ts +659 -85
- package/src/gen/moderation/ModerationApi.ts +2 -1
package/src/gen/models/index.ts
CHANGED
|
@@ -130,6 +130,8 @@ export interface AWSRekognitionRule {
|
|
|
130
130
|
label: string;
|
|
131
131
|
|
|
132
132
|
min_confidence: number;
|
|
133
|
+
|
|
134
|
+
subclassifications?: Record<string, boolean>;
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
export interface AcceptFeedMemberInviteRequest {
|
|
@@ -547,7 +549,7 @@ export interface ActivityResponse {
|
|
|
547
549
|
|
|
548
550
|
reaction_count: number;
|
|
549
551
|
|
|
550
|
-
restrict_replies:
|
|
552
|
+
restrict_replies: 'everyone' | 'people_i_follow' | 'nobody';
|
|
551
553
|
|
|
552
554
|
score: number;
|
|
553
555
|
|
|
@@ -595,6 +597,10 @@ export interface ActivityResponse {
|
|
|
595
597
|
|
|
596
598
|
friend_reaction_count?: number;
|
|
597
599
|
|
|
600
|
+
is_read?: boolean;
|
|
601
|
+
|
|
602
|
+
is_seen?: boolean;
|
|
603
|
+
|
|
598
604
|
is_watched?: boolean;
|
|
599
605
|
|
|
600
606
|
moderation_action?: string;
|
|
@@ -662,7 +668,14 @@ export interface ActivitySelectorConfig {
|
|
|
662
668
|
}
|
|
663
669
|
|
|
664
670
|
export interface ActivitySelectorConfigResponse {
|
|
665
|
-
type:
|
|
671
|
+
type:
|
|
672
|
+
| 'popular'
|
|
673
|
+
| 'proximity'
|
|
674
|
+
| 'following'
|
|
675
|
+
| 'current_feed'
|
|
676
|
+
| 'query'
|
|
677
|
+
| 'interest'
|
|
678
|
+
| 'follow_suggestion';
|
|
666
679
|
|
|
667
680
|
cutoff_time?: Date;
|
|
668
681
|
|
|
@@ -722,6 +735,8 @@ export interface AddActivityRequest {
|
|
|
722
735
|
|
|
723
736
|
create_notification_activity?: boolean;
|
|
724
737
|
|
|
738
|
+
enrich_own_fields?: boolean;
|
|
739
|
+
|
|
725
740
|
expires_at?: string;
|
|
726
741
|
|
|
727
742
|
id?: string;
|
|
@@ -899,6 +914,18 @@ export interface AddReactionResponse {
|
|
|
899
914
|
notification_created?: boolean;
|
|
900
915
|
}
|
|
901
916
|
|
|
917
|
+
export interface AddUserGroupMembersRequest {
|
|
918
|
+
member_ids: string[];
|
|
919
|
+
|
|
920
|
+
team_id?: string;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
export interface AddUserGroupMembersResponse {
|
|
924
|
+
duration: string;
|
|
925
|
+
|
|
926
|
+
user_group?: UserGroupResponse;
|
|
927
|
+
}
|
|
928
|
+
|
|
902
929
|
export interface AggregatedActivityResponse {
|
|
903
930
|
activity_count: number;
|
|
904
931
|
|
|
@@ -916,6 +943,10 @@ export interface AggregatedActivityResponse {
|
|
|
916
943
|
|
|
917
944
|
activities: ActivityResponse[];
|
|
918
945
|
|
|
946
|
+
is_read?: boolean;
|
|
947
|
+
|
|
948
|
+
is_seen?: boolean;
|
|
949
|
+
|
|
919
950
|
is_watched?: boolean;
|
|
920
951
|
}
|
|
921
952
|
|
|
@@ -950,12 +981,16 @@ export interface AppResponseFields {
|
|
|
950
981
|
|
|
951
982
|
max_aggregated_activities_length: number;
|
|
952
983
|
|
|
984
|
+
moderation_audio_call_moderation_enabled: boolean;
|
|
985
|
+
|
|
953
986
|
moderation_enabled: boolean;
|
|
954
987
|
|
|
955
988
|
moderation_llm_configurability_enabled: boolean;
|
|
956
989
|
|
|
957
990
|
moderation_multitenant_blocklist_enabled: boolean;
|
|
958
991
|
|
|
992
|
+
moderation_video_call_moderation_enabled: boolean;
|
|
993
|
+
|
|
959
994
|
moderation_webhook_url: string;
|
|
960
995
|
|
|
961
996
|
multi_tenant_enabled: boolean;
|
|
@@ -1762,6 +1797,22 @@ export interface CallAcceptedEvent {
|
|
|
1762
1797
|
type: string;
|
|
1763
1798
|
}
|
|
1764
1799
|
|
|
1800
|
+
export interface CallActionOptions {
|
|
1801
|
+
duration?: number;
|
|
1802
|
+
|
|
1803
|
+
flag_reason?: string;
|
|
1804
|
+
|
|
1805
|
+
kick_reason?: string;
|
|
1806
|
+
|
|
1807
|
+
mute_audio?: boolean;
|
|
1808
|
+
|
|
1809
|
+
mute_video?: boolean;
|
|
1810
|
+
|
|
1811
|
+
reason?: string;
|
|
1812
|
+
|
|
1813
|
+
warning_text?: string;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1765
1816
|
export interface CallClosedCaption {
|
|
1766
1817
|
end_time: Date;
|
|
1767
1818
|
|
|
@@ -1818,6 +1869,12 @@ export interface CallCreatedEvent {
|
|
|
1818
1869
|
type: string;
|
|
1819
1870
|
}
|
|
1820
1871
|
|
|
1872
|
+
export interface CallCustomPropertyParameters {
|
|
1873
|
+
operator?: string;
|
|
1874
|
+
|
|
1875
|
+
property_key?: string;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1821
1878
|
export interface CallDTMFEvent {
|
|
1822
1879
|
call_cid: string;
|
|
1823
1880
|
|
|
@@ -2324,6 +2381,14 @@ export interface CallRtmpBroadcastStoppedEvent {
|
|
|
2324
2381
|
type: string;
|
|
2325
2382
|
}
|
|
2326
2383
|
|
|
2384
|
+
export interface CallRuleActionSequence {
|
|
2385
|
+
violation_number?: number;
|
|
2386
|
+
|
|
2387
|
+
actions?: string[];
|
|
2388
|
+
|
|
2389
|
+
call_options?: CallActionOptions;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2327
2392
|
export interface CallSessionEndedEvent {
|
|
2328
2393
|
call_cid: string;
|
|
2329
2394
|
|
|
@@ -2668,6 +2733,10 @@ export interface CallStatsReportReadyEvent {
|
|
|
2668
2733
|
session_id: string;
|
|
2669
2734
|
|
|
2670
2735
|
type: string;
|
|
2736
|
+
|
|
2737
|
+
is_trimmed?: boolean;
|
|
2738
|
+
|
|
2739
|
+
participants_overview?: CallStatsParticipant[];
|
|
2671
2740
|
}
|
|
2672
2741
|
|
|
2673
2742
|
export interface CallStatsReportSummaryResponse {
|
|
@@ -2778,6 +2847,10 @@ export interface CallTypeResponse {
|
|
|
2778
2847
|
external_storage?: string;
|
|
2779
2848
|
}
|
|
2780
2849
|
|
|
2850
|
+
export interface CallTypeRuleParameters {
|
|
2851
|
+
call_type?: string;
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2781
2854
|
export interface CallUpdatedEvent {
|
|
2782
2855
|
call_cid: string;
|
|
2783
2856
|
|
|
@@ -2826,6 +2899,12 @@ export interface CallUserMutedEvent {
|
|
|
2826
2899
|
type: string;
|
|
2827
2900
|
}
|
|
2828
2901
|
|
|
2902
|
+
export interface CallViolationCountParameters {
|
|
2903
|
+
threshold?: number;
|
|
2904
|
+
|
|
2905
|
+
time_window?: string;
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2829
2908
|
export interface CallsPerDayReport {
|
|
2830
2909
|
count: number;
|
|
2831
2910
|
}
|
|
@@ -3943,6 +4022,14 @@ export interface ClosedCaptionEvent {
|
|
|
3943
4022
|
type: string;
|
|
3944
4023
|
}
|
|
3945
4024
|
|
|
4025
|
+
export interface ClosedCaptionRuleParameters {
|
|
4026
|
+
threshold?: number;
|
|
4027
|
+
|
|
4028
|
+
harm_labels?: string[];
|
|
4029
|
+
|
|
4030
|
+
llm_harm_labels?: Record<string, string>;
|
|
4031
|
+
}
|
|
4032
|
+
|
|
3946
4033
|
export interface CollectUserFeedbackRequest {
|
|
3947
4034
|
rating: number;
|
|
3948
4035
|
|
|
@@ -4118,7 +4205,7 @@ export interface CommentResponse {
|
|
|
4118
4205
|
|
|
4119
4206
|
score: number;
|
|
4120
4207
|
|
|
4121
|
-
status:
|
|
4208
|
+
status: 'active' | 'deleted' | 'removed' | 'hidden' | 'shadow_blocked';
|
|
4122
4209
|
|
|
4123
4210
|
updated_at: Date;
|
|
4124
4211
|
|
|
@@ -4220,6 +4307,8 @@ export interface ConfigResponse {
|
|
|
4220
4307
|
|
|
4221
4308
|
ai_image_config?: AIImageConfig;
|
|
4222
4309
|
|
|
4310
|
+
ai_image_subclassifications?: Record<string, string[]>;
|
|
4311
|
+
|
|
4223
4312
|
ai_text_config?: AITextConfig;
|
|
4224
4313
|
|
|
4225
4314
|
ai_video_config?: AIVideoConfig;
|
|
@@ -4572,6 +4661,8 @@ export interface CreateFeedViewResponse {
|
|
|
4572
4661
|
|
|
4573
4662
|
export interface CreateFeedsBatchRequest {
|
|
4574
4663
|
feeds: FeedRequest[];
|
|
4664
|
+
|
|
4665
|
+
enrich_own_fields?: boolean;
|
|
4575
4666
|
}
|
|
4576
4667
|
|
|
4577
4668
|
export interface CreateFeedsBatchResponse {
|
|
@@ -4596,6 +4687,8 @@ export interface CreateImportRequest {
|
|
|
4596
4687
|
mode: 'insert' | 'upsert';
|
|
4597
4688
|
|
|
4598
4689
|
path: string;
|
|
4690
|
+
|
|
4691
|
+
merge_custom?: boolean;
|
|
4599
4692
|
}
|
|
4600
4693
|
|
|
4601
4694
|
export interface CreateImportResponse {
|
|
@@ -4732,6 +4825,24 @@ export interface CreateSIPTrunkResponse {
|
|
|
4732
4825
|
sip_trunk?: SIPTrunkResponse;
|
|
4733
4826
|
}
|
|
4734
4827
|
|
|
4828
|
+
export interface CreateUserGroupRequest {
|
|
4829
|
+
name: string;
|
|
4830
|
+
|
|
4831
|
+
description?: string;
|
|
4832
|
+
|
|
4833
|
+
id?: string;
|
|
4834
|
+
|
|
4835
|
+
team_id?: string;
|
|
4836
|
+
|
|
4837
|
+
member_ids?: string[];
|
|
4838
|
+
}
|
|
4839
|
+
|
|
4840
|
+
export interface CreateUserGroupResponse {
|
|
4841
|
+
duration: string;
|
|
4842
|
+
|
|
4843
|
+
user_group?: UserGroupResponse;
|
|
4844
|
+
}
|
|
4845
|
+
|
|
4735
4846
|
export interface CustomActionRequestPayload {
|
|
4736
4847
|
id?: string;
|
|
4737
4848
|
|
|
@@ -4844,6 +4955,12 @@ export interface DailyMetricStatsResponse {
|
|
|
4844
4955
|
daily: DailyMetricResponse[];
|
|
4845
4956
|
}
|
|
4846
4957
|
|
|
4958
|
+
export interface DailyValue {
|
|
4959
|
+
date: string;
|
|
4960
|
+
|
|
4961
|
+
value: number;
|
|
4962
|
+
}
|
|
4963
|
+
|
|
4847
4964
|
export interface Data {
|
|
4848
4965
|
id: string;
|
|
4849
4966
|
}
|
|
@@ -4925,6 +5042,10 @@ export interface DeleteActivityReactionResponse {
|
|
|
4925
5042
|
}
|
|
4926
5043
|
|
|
4927
5044
|
export interface DeleteActivityRequestPayload {
|
|
5045
|
+
entity_id?: string;
|
|
5046
|
+
|
|
5047
|
+
entity_type?: string;
|
|
5048
|
+
|
|
4928
5049
|
hard_delete?: boolean;
|
|
4929
5050
|
|
|
4930
5051
|
reason?: string;
|
|
@@ -5001,6 +5122,10 @@ export interface DeleteCommentReactionResponse {
|
|
|
5001
5122
|
}
|
|
5002
5123
|
|
|
5003
5124
|
export interface DeleteCommentRequestPayload {
|
|
5125
|
+
entity_id?: string;
|
|
5126
|
+
|
|
5127
|
+
entity_type?: string;
|
|
5128
|
+
|
|
5004
5129
|
hard_delete?: boolean;
|
|
5005
5130
|
|
|
5006
5131
|
reason?: string;
|
|
@@ -5059,6 +5184,10 @@ export interface DeleteImportV2TaskResponse {
|
|
|
5059
5184
|
}
|
|
5060
5185
|
|
|
5061
5186
|
export interface DeleteMessageRequestPayload {
|
|
5187
|
+
entity_id?: string;
|
|
5188
|
+
|
|
5189
|
+
entity_type?: string;
|
|
5190
|
+
|
|
5062
5191
|
hard_delete?: boolean;
|
|
5063
5192
|
|
|
5064
5193
|
reason?: string;
|
|
@@ -5083,6 +5212,10 @@ export interface DeleteModerationTemplateResponse {
|
|
|
5083
5212
|
}
|
|
5084
5213
|
|
|
5085
5214
|
export interface DeleteReactionRequestPayload {
|
|
5215
|
+
entity_id?: string;
|
|
5216
|
+
|
|
5217
|
+
entity_type?: string;
|
|
5218
|
+
|
|
5086
5219
|
hard_delete?: boolean;
|
|
5087
5220
|
|
|
5088
5221
|
reason?: string;
|
|
@@ -5125,6 +5258,10 @@ export interface DeleteUserRequestPayload {
|
|
|
5125
5258
|
|
|
5126
5259
|
delete_feeds_content?: boolean;
|
|
5127
5260
|
|
|
5261
|
+
entity_id?: string;
|
|
5262
|
+
|
|
5263
|
+
entity_type?: string;
|
|
5264
|
+
|
|
5128
5265
|
hard_delete?: boolean;
|
|
5129
5266
|
|
|
5130
5267
|
mark_messages_deleted?: boolean;
|
|
@@ -5749,7 +5886,12 @@ export interface FeedGroupResponse {
|
|
|
5749
5886
|
|
|
5750
5887
|
updated_at: Date;
|
|
5751
5888
|
|
|
5752
|
-
default_visibility?:
|
|
5889
|
+
default_visibility?:
|
|
5890
|
+
| 'public'
|
|
5891
|
+
| 'visible'
|
|
5892
|
+
| 'followers'
|
|
5893
|
+
| 'members'
|
|
5894
|
+
| 'private';
|
|
5753
5895
|
|
|
5754
5896
|
deleted_at?: Date;
|
|
5755
5897
|
|
|
@@ -5770,6 +5912,22 @@ export interface FeedGroupResponse {
|
|
|
5770
5912
|
stories?: StoriesConfig;
|
|
5771
5913
|
}
|
|
5772
5914
|
|
|
5915
|
+
export interface FeedGroupRestoredEvent {
|
|
5916
|
+
created_at: Date;
|
|
5917
|
+
|
|
5918
|
+
fid: string;
|
|
5919
|
+
|
|
5920
|
+
group_id: string;
|
|
5921
|
+
|
|
5922
|
+
custom: Record<string, any>;
|
|
5923
|
+
|
|
5924
|
+
type: string;
|
|
5925
|
+
|
|
5926
|
+
feed_visibility?: string;
|
|
5927
|
+
|
|
5928
|
+
received_at?: Date;
|
|
5929
|
+
}
|
|
5930
|
+
|
|
5773
5931
|
export interface FeedInput {
|
|
5774
5932
|
description?: string;
|
|
5775
5933
|
|
|
@@ -5965,7 +6123,7 @@ export interface FeedResponse {
|
|
|
5965
6123
|
|
|
5966
6124
|
deleted_at?: Date;
|
|
5967
6125
|
|
|
5968
|
-
visibility?:
|
|
6126
|
+
visibility?: 'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
5969
6127
|
|
|
5970
6128
|
filter_tags?: string[];
|
|
5971
6129
|
|
|
@@ -6013,7 +6171,7 @@ export interface FeedSuggestionResponse {
|
|
|
6013
6171
|
|
|
6014
6172
|
recommendation_score?: number;
|
|
6015
6173
|
|
|
6016
|
-
visibility?:
|
|
6174
|
+
visibility?: 'public' | 'visible' | 'followers' | 'members' | 'private';
|
|
6017
6175
|
|
|
6018
6176
|
filter_tags?: string[];
|
|
6019
6177
|
|
|
@@ -6274,6 +6432,8 @@ export interface FlagUserOptions {
|
|
|
6274
6432
|
|
|
6275
6433
|
export interface FollowBatchRequest {
|
|
6276
6434
|
follows: FollowRequest[];
|
|
6435
|
+
|
|
6436
|
+
enrich_own_fields?: boolean;
|
|
6277
6437
|
}
|
|
6278
6438
|
|
|
6279
6439
|
export interface FollowBatchResponse {
|
|
@@ -6331,6 +6491,8 @@ export interface FollowRequest {
|
|
|
6331
6491
|
|
|
6332
6492
|
create_notification_activity?: boolean;
|
|
6333
6493
|
|
|
6494
|
+
enrich_own_fields?: boolean;
|
|
6495
|
+
|
|
6334
6496
|
push_preference?: 'all' | 'none';
|
|
6335
6497
|
|
|
6336
6498
|
skip_push?: boolean;
|
|
@@ -6743,6 +6905,8 @@ export interface GetCommandResponse {
|
|
|
6743
6905
|
export interface GetCommentRepliesResponse {
|
|
6744
6906
|
duration: string;
|
|
6745
6907
|
|
|
6908
|
+
sort: string;
|
|
6909
|
+
|
|
6746
6910
|
comments: ThreadedCommentResponse[];
|
|
6747
6911
|
|
|
6748
6912
|
next?: string;
|
|
@@ -6759,6 +6923,8 @@ export interface GetCommentResponse {
|
|
|
6759
6923
|
export interface GetCommentsResponse {
|
|
6760
6924
|
duration: string;
|
|
6761
6925
|
|
|
6926
|
+
sort: string;
|
|
6927
|
+
|
|
6762
6928
|
comments: ThreadedCommentResponse[];
|
|
6763
6929
|
|
|
6764
6930
|
next?: string;
|
|
@@ -7125,6 +7291,12 @@ export interface GetThreadResponse {
|
|
|
7125
7291
|
thread: ThreadStateResponse;
|
|
7126
7292
|
}
|
|
7127
7293
|
|
|
7294
|
+
export interface GetUserGroupResponse {
|
|
7295
|
+
duration: string;
|
|
7296
|
+
|
|
7297
|
+
user_group?: UserGroupResponse;
|
|
7298
|
+
}
|
|
7299
|
+
|
|
7128
7300
|
export interface GoLiveRequest {
|
|
7129
7301
|
recording_storage_name?: string;
|
|
7130
7302
|
|
|
@@ -7342,6 +7514,8 @@ export interface ImportV2TaskItem {
|
|
|
7342
7514
|
}
|
|
7343
7515
|
|
|
7344
7516
|
export interface ImportV2TaskSettings {
|
|
7517
|
+
merge_custom?: boolean;
|
|
7518
|
+
|
|
7345
7519
|
mode?: string;
|
|
7346
7520
|
|
|
7347
7521
|
path?: string;
|
|
@@ -7361,6 +7535,8 @@ export interface ImportV2TaskSettingsS3 {
|
|
|
7361
7535
|
|
|
7362
7536
|
export interface IndividualRecordSettings {
|
|
7363
7537
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
7538
|
+
|
|
7539
|
+
output_types?: string[];
|
|
7364
7540
|
}
|
|
7365
7541
|
|
|
7366
7542
|
export interface IndividualRecordingResponse {
|
|
@@ -7369,10 +7545,14 @@ export interface IndividualRecordingResponse {
|
|
|
7369
7545
|
|
|
7370
7546
|
export interface IndividualRecordingSettingsRequest {
|
|
7371
7547
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
7548
|
+
|
|
7549
|
+
output_types?: string[];
|
|
7372
7550
|
}
|
|
7373
7551
|
|
|
7374
7552
|
export interface IndividualRecordingSettingsResponse {
|
|
7375
7553
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
7554
|
+
|
|
7555
|
+
output_types?: string[];
|
|
7376
7556
|
}
|
|
7377
7557
|
|
|
7378
7558
|
export interface IngressAudioEncodingOptions {
|
|
@@ -7557,6 +7737,14 @@ export interface JoinCallAPIMetrics {
|
|
|
7557
7737
|
latency?: ActiveCallsLatencyStats;
|
|
7558
7738
|
}
|
|
7559
7739
|
|
|
7740
|
+
export interface KeyframeRuleParameters {
|
|
7741
|
+
min_confidence?: number;
|
|
7742
|
+
|
|
7743
|
+
threshold?: number;
|
|
7744
|
+
|
|
7745
|
+
harm_labels?: string[];
|
|
7746
|
+
}
|
|
7747
|
+
|
|
7560
7748
|
export interface KickUserRequest {
|
|
7561
7749
|
user_id: string;
|
|
7562
7750
|
|
|
@@ -7812,6 +8000,12 @@ export interface ListTranscriptionsResponse {
|
|
|
7812
8000
|
transcriptions: CallTranscription[];
|
|
7813
8001
|
}
|
|
7814
8002
|
|
|
8003
|
+
export interface ListUserGroupsResponse {
|
|
8004
|
+
duration: string;
|
|
8005
|
+
|
|
8006
|
+
user_groups: UserGroupResponse[];
|
|
8007
|
+
}
|
|
8008
|
+
|
|
7815
8009
|
export interface LocationResponse {
|
|
7816
8010
|
continent_code: string;
|
|
7817
8011
|
|
|
@@ -7865,7 +8059,31 @@ export interface MarkReadRequest {
|
|
|
7865
8059
|
export interface MarkReadResponse {
|
|
7866
8060
|
duration: string;
|
|
7867
8061
|
|
|
7868
|
-
event?:
|
|
8062
|
+
event?: MarkReadResponseEvent;
|
|
8063
|
+
}
|
|
8064
|
+
|
|
8065
|
+
export interface MarkReadResponseEvent {
|
|
8066
|
+
channel_id: string;
|
|
8067
|
+
|
|
8068
|
+
channel_type: string;
|
|
8069
|
+
|
|
8070
|
+
cid: string;
|
|
8071
|
+
|
|
8072
|
+
created_at: Date;
|
|
8073
|
+
|
|
8074
|
+
type: string;
|
|
8075
|
+
|
|
8076
|
+
channel_last_message_at?: Date;
|
|
8077
|
+
|
|
8078
|
+
last_read_message_id?: string;
|
|
8079
|
+
|
|
8080
|
+
team?: string;
|
|
8081
|
+
|
|
8082
|
+
channel?: ChannelResponse;
|
|
8083
|
+
|
|
8084
|
+
thread?: ThreadResponse;
|
|
8085
|
+
|
|
8086
|
+
user?: UserResponseCommonFields;
|
|
7869
8087
|
}
|
|
7870
8088
|
|
|
7871
8089
|
export interface MarkReviewedRequestPayload {
|
|
@@ -8285,24 +8503,32 @@ export interface MessagePaginationParams {
|
|
|
8285
8503
|
}
|
|
8286
8504
|
|
|
8287
8505
|
export interface MessageReadEvent {
|
|
8288
|
-
|
|
8506
|
+
created_at: Date;
|
|
8289
8507
|
|
|
8290
|
-
|
|
8508
|
+
custom: Record<string, any>;
|
|
8291
8509
|
|
|
8292
|
-
|
|
8510
|
+
type: string;
|
|
8293
8511
|
|
|
8294
|
-
|
|
8512
|
+
channel_id?: string;
|
|
8295
8513
|
|
|
8296
|
-
|
|
8514
|
+
channel_member_count?: number;
|
|
8297
8515
|
|
|
8298
|
-
|
|
8516
|
+
channel_message_count?: number;
|
|
8517
|
+
|
|
8518
|
+
channel_type?: string;
|
|
8519
|
+
|
|
8520
|
+
cid?: string;
|
|
8299
8521
|
|
|
8300
8522
|
last_read_message_id?: string;
|
|
8301
8523
|
|
|
8524
|
+
received_at?: Date;
|
|
8525
|
+
|
|
8302
8526
|
team?: string;
|
|
8303
8527
|
|
|
8304
8528
|
channel?: ChannelResponse;
|
|
8305
8529
|
|
|
8530
|
+
channel_custom?: Record<string, any>;
|
|
8531
|
+
|
|
8306
8532
|
thread?: ThreadResponse;
|
|
8307
8533
|
|
|
8308
8534
|
user?: UserResponseCommonFields;
|
|
@@ -8315,6 +8541,8 @@ export interface MessageRequest {
|
|
|
8315
8541
|
|
|
8316
8542
|
mentioned_channel?: boolean;
|
|
8317
8543
|
|
|
8544
|
+
mentioned_here?: boolean;
|
|
8545
|
+
|
|
8318
8546
|
mml?: string;
|
|
8319
8547
|
|
|
8320
8548
|
parent_id?: string;
|
|
@@ -8341,6 +8569,8 @@ export interface MessageRequest {
|
|
|
8341
8569
|
|
|
8342
8570
|
attachments?: Attachment[];
|
|
8343
8571
|
|
|
8572
|
+
mentioned_roles?: string[];
|
|
8573
|
+
|
|
8344
8574
|
mentioned_users?: string[];
|
|
8345
8575
|
|
|
8346
8576
|
restricted_visibility?: string[];
|
|
@@ -8365,6 +8595,8 @@ export interface MessageResponse {
|
|
|
8365
8595
|
|
|
8366
8596
|
mentioned_channel: boolean;
|
|
8367
8597
|
|
|
8598
|
+
mentioned_here: boolean;
|
|
8599
|
+
|
|
8368
8600
|
pinned: boolean;
|
|
8369
8601
|
|
|
8370
8602
|
reply_count: number;
|
|
@@ -8419,6 +8651,8 @@ export interface MessageResponse {
|
|
|
8419
8651
|
|
|
8420
8652
|
show_in_channel?: boolean;
|
|
8421
8653
|
|
|
8654
|
+
mentioned_roles?: string[];
|
|
8655
|
+
|
|
8422
8656
|
thread_participants?: UserResponse[];
|
|
8423
8657
|
|
|
8424
8658
|
draft?: DraftResponse;
|
|
@@ -8545,6 +8779,8 @@ export interface MessageWithChannelResponse {
|
|
|
8545
8779
|
|
|
8546
8780
|
mentioned_channel: boolean;
|
|
8547
8781
|
|
|
8782
|
+
mentioned_here: boolean;
|
|
8783
|
+
|
|
8548
8784
|
pinned: boolean;
|
|
8549
8785
|
|
|
8550
8786
|
reply_count: number;
|
|
@@ -8601,6 +8837,8 @@ export interface MessageWithChannelResponse {
|
|
|
8601
8837
|
|
|
8602
8838
|
show_in_channel?: boolean;
|
|
8603
8839
|
|
|
8840
|
+
mentioned_roles?: string[];
|
|
8841
|
+
|
|
8604
8842
|
thread_participants?: UserResponse[];
|
|
8605
8843
|
|
|
8606
8844
|
draft?: DraftResponse;
|
|
@@ -8634,6 +8872,12 @@ export interface MetricDescriptor {
|
|
|
8634
8872
|
unit?: string;
|
|
8635
8873
|
}
|
|
8636
8874
|
|
|
8875
|
+
export interface MetricStats {
|
|
8876
|
+
total: number;
|
|
8877
|
+
|
|
8878
|
+
daily?: DailyValue[];
|
|
8879
|
+
}
|
|
8880
|
+
|
|
8637
8881
|
export interface MetricThreshold {
|
|
8638
8882
|
level: string;
|
|
8639
8883
|
|
|
@@ -8854,6 +9098,16 @@ export interface ModerationResponse {
|
|
|
8854
9098
|
toxic: number;
|
|
8855
9099
|
}
|
|
8856
9100
|
|
|
9101
|
+
export interface ModerationRuleInfo {
|
|
9102
|
+
description: string;
|
|
9103
|
+
|
|
9104
|
+
id: string;
|
|
9105
|
+
|
|
9106
|
+
name: string;
|
|
9107
|
+
|
|
9108
|
+
type: string;
|
|
9109
|
+
}
|
|
9110
|
+
|
|
8857
9111
|
export interface ModerationRuleV2Response {
|
|
8858
9112
|
created_at: Date;
|
|
8859
9113
|
|
|
@@ -8873,15 +9127,41 @@ export interface ModerationRuleV2Response {
|
|
|
8873
9127
|
|
|
8874
9128
|
config_keys: string[];
|
|
8875
9129
|
|
|
8876
|
-
action: RuleBuilderAction;
|
|
8877
|
-
|
|
8878
9130
|
cooldown_period?: string;
|
|
8879
9131
|
|
|
8880
9132
|
logic?: string;
|
|
8881
9133
|
|
|
9134
|
+
action_sequences?: CallRuleActionSequence[];
|
|
9135
|
+
|
|
8882
9136
|
conditions?: RuleBuilderCondition[];
|
|
8883
9137
|
|
|
8884
9138
|
groups?: RuleBuilderConditionGroup[];
|
|
9139
|
+
|
|
9140
|
+
action?: RuleBuilderAction;
|
|
9141
|
+
}
|
|
9142
|
+
|
|
9143
|
+
export interface ModerationRulesTriggeredEvent {
|
|
9144
|
+
created_at: Date;
|
|
9145
|
+
|
|
9146
|
+
entity_id: string;
|
|
9147
|
+
|
|
9148
|
+
entity_type: string;
|
|
9149
|
+
|
|
9150
|
+
user_id: string;
|
|
9151
|
+
|
|
9152
|
+
triggered_actions: string[];
|
|
9153
|
+
|
|
9154
|
+
custom: Record<string, any>;
|
|
9155
|
+
|
|
9156
|
+
rule: ModerationRuleInfo;
|
|
9157
|
+
|
|
9158
|
+
type: string;
|
|
9159
|
+
|
|
9160
|
+
received_at?: Date;
|
|
9161
|
+
|
|
9162
|
+
review_queue_item_id?: string;
|
|
9163
|
+
|
|
9164
|
+
violation_number?: number;
|
|
8885
9165
|
}
|
|
8886
9166
|
|
|
8887
9167
|
export interface ModerationV2Response {
|
|
@@ -8895,6 +9175,8 @@ export interface ModerationV2Response {
|
|
|
8895
9175
|
|
|
8896
9176
|
semantic_filter_matched?: string;
|
|
8897
9177
|
|
|
9178
|
+
blocklists_matched?: string[];
|
|
9179
|
+
|
|
8898
9180
|
image_harms?: string[];
|
|
8899
9181
|
|
|
8900
9182
|
text_harms?: string[];
|
|
@@ -9573,6 +9855,8 @@ export interface PermissionRequestEvent {
|
|
|
9573
9855
|
}
|
|
9574
9856
|
|
|
9575
9857
|
export interface PinActivityRequest {
|
|
9858
|
+
enrich_own_fields?: boolean;
|
|
9859
|
+
|
|
9576
9860
|
user_id?: string;
|
|
9577
9861
|
|
|
9578
9862
|
user?: UserRequest;
|
|
@@ -10107,6 +10391,8 @@ export interface QualityScoreReportResponse {
|
|
|
10107
10391
|
}
|
|
10108
10392
|
|
|
10109
10393
|
export interface QueryActivitiesRequest {
|
|
10394
|
+
enrich_own_fields?: boolean;
|
|
10395
|
+
|
|
10110
10396
|
include_expired_activities?: boolean;
|
|
10111
10397
|
|
|
10112
10398
|
include_private_activities?: boolean;
|
|
@@ -10255,6 +10541,8 @@ export interface QueryBookmarkFoldersResponse {
|
|
|
10255
10541
|
}
|
|
10256
10542
|
|
|
10257
10543
|
export interface QueryBookmarksRequest {
|
|
10544
|
+
enrich_own_fields?: boolean;
|
|
10545
|
+
|
|
10258
10546
|
limit?: number;
|
|
10259
10547
|
|
|
10260
10548
|
next?: string;
|
|
@@ -10623,6 +10911,8 @@ export interface QueryFeedModerationTemplatesResponse {
|
|
|
10623
10911
|
}
|
|
10624
10912
|
|
|
10625
10913
|
export interface QueryFeedsRequest {
|
|
10914
|
+
enrich_own_fields?: boolean;
|
|
10915
|
+
|
|
10626
10916
|
limit?: number;
|
|
10627
10917
|
|
|
10628
10918
|
next?: string;
|
|
@@ -10885,6 +11175,10 @@ export interface QueryModerationRulesRequest {
|
|
|
10885
11175
|
export interface QueryModerationRulesResponse {
|
|
10886
11176
|
duration: string;
|
|
10887
11177
|
|
|
11178
|
+
closed_caption_labels: string[];
|
|
11179
|
+
|
|
11180
|
+
keyframe_labels: string[];
|
|
11181
|
+
|
|
10888
11182
|
rules: ModerationRuleV2Response[];
|
|
10889
11183
|
|
|
10890
11184
|
default_llm_labels: Record<string, string>;
|
|
@@ -10895,6 +11189,8 @@ export interface QueryModerationRulesResponse {
|
|
|
10895
11189
|
}
|
|
10896
11190
|
|
|
10897
11191
|
export interface QueryPinnedActivitiesRequest {
|
|
11192
|
+
enrich_own_fields?: boolean;
|
|
11193
|
+
|
|
10898
11194
|
limit?: number;
|
|
10899
11195
|
|
|
10900
11196
|
next?: string;
|
|
@@ -11086,6 +11382,26 @@ export interface QuerySegmentsResponse {
|
|
|
11086
11382
|
prev?: string;
|
|
11087
11383
|
}
|
|
11088
11384
|
|
|
11385
|
+
export interface QueryTeamUsageStatsRequest {
|
|
11386
|
+
end_date?: string;
|
|
11387
|
+
|
|
11388
|
+
limit?: number;
|
|
11389
|
+
|
|
11390
|
+
month?: string;
|
|
11391
|
+
|
|
11392
|
+
next?: string;
|
|
11393
|
+
|
|
11394
|
+
start_date?: string;
|
|
11395
|
+
}
|
|
11396
|
+
|
|
11397
|
+
export interface QueryTeamUsageStatsResponse {
|
|
11398
|
+
duration: string;
|
|
11399
|
+
|
|
11400
|
+
teams: TeamUsageStats[];
|
|
11401
|
+
|
|
11402
|
+
next?: string;
|
|
11403
|
+
}
|
|
11404
|
+
|
|
11089
11405
|
export interface QueryThreadsRequest {
|
|
11090
11406
|
limit?: number;
|
|
11091
11407
|
|
|
@@ -11480,6 +11796,10 @@ export interface ReadCollectionsResponse {
|
|
|
11480
11796
|
duration: string;
|
|
11481
11797
|
|
|
11482
11798
|
collections: CollectionResponse[];
|
|
11799
|
+
|
|
11800
|
+
next?: string;
|
|
11801
|
+
|
|
11802
|
+
prev?: string;
|
|
11483
11803
|
}
|
|
11484
11804
|
|
|
11485
11805
|
export interface ReadReceiptsResponse {
|
|
@@ -11668,6 +11988,12 @@ export interface ReminderUpdatedEvent {
|
|
|
11668
11988
|
reminder?: ReminderResponseData;
|
|
11669
11989
|
}
|
|
11670
11990
|
|
|
11991
|
+
export interface RemoveUserGroupMembersResponse {
|
|
11992
|
+
duration: string;
|
|
11993
|
+
|
|
11994
|
+
user_group?: UserGroupResponse;
|
|
11995
|
+
}
|
|
11996
|
+
|
|
11671
11997
|
export interface RepliesMeta {
|
|
11672
11998
|
depth_truncated: boolean;
|
|
11673
11999
|
|
|
@@ -11746,7 +12072,15 @@ export interface RestoreActivityResponse {
|
|
|
11746
12072
|
activity: ActivityResponse;
|
|
11747
12073
|
}
|
|
11748
12074
|
|
|
11749
|
-
export interface
|
|
12075
|
+
export interface RestoreFeedGroupRequest {}
|
|
12076
|
+
|
|
12077
|
+
export interface RestoreFeedGroupResponse {
|
|
12078
|
+
duration: string;
|
|
12079
|
+
|
|
12080
|
+
feed_group: FeedGroupResponse;
|
|
12081
|
+
}
|
|
12082
|
+
|
|
12083
|
+
export interface RestoreUsersRequest {
|
|
11750
12084
|
user_ids: string[];
|
|
11751
12085
|
}
|
|
11752
12086
|
|
|
@@ -11899,7 +12233,7 @@ export interface Role {
|
|
|
11899
12233
|
}
|
|
11900
12234
|
|
|
11901
12235
|
export interface RuleBuilderAction {
|
|
11902
|
-
type
|
|
12236
|
+
type?:
|
|
11903
12237
|
| 'ban_user'
|
|
11904
12238
|
| 'flag_user'
|
|
11905
12239
|
| 'flag_content'
|
|
@@ -11907,10 +12241,21 @@ export interface RuleBuilderAction {
|
|
|
11907
12241
|
| 'shadow_content'
|
|
11908
12242
|
| 'bounce_flag_content'
|
|
11909
12243
|
| 'bounce_content'
|
|
11910
|
-
| 'bounce_remove_content'
|
|
12244
|
+
| 'bounce_remove_content'
|
|
12245
|
+
| 'mute_video'
|
|
12246
|
+
| 'mute_audio'
|
|
12247
|
+
| 'blur'
|
|
12248
|
+
| 'call_blur'
|
|
12249
|
+
| 'end_call'
|
|
12250
|
+
| 'kick_user'
|
|
12251
|
+
| 'warning'
|
|
12252
|
+
| 'call_warning'
|
|
12253
|
+
| 'webhook_only';
|
|
11911
12254
|
|
|
11912
12255
|
ban_options?: BanOptions;
|
|
11913
12256
|
|
|
12257
|
+
call_options?: CallActionOptions;
|
|
12258
|
+
|
|
11914
12259
|
flag_user_options?: FlagUserOptions;
|
|
11915
12260
|
}
|
|
11916
12261
|
|
|
@@ -11919,6 +12264,14 @@ export interface RuleBuilderCondition {
|
|
|
11919
12264
|
|
|
11920
12265
|
type?: string;
|
|
11921
12266
|
|
|
12267
|
+
call_custom_property_params?: CallCustomPropertyParameters;
|
|
12268
|
+
|
|
12269
|
+
call_type_rule_params?: CallTypeRuleParameters;
|
|
12270
|
+
|
|
12271
|
+
call_violation_count_params?: CallViolationCountParameters;
|
|
12272
|
+
|
|
12273
|
+
closed_caption_rule_params?: ClosedCaptionRuleParameters;
|
|
12274
|
+
|
|
11922
12275
|
content_count_rule_params?: ContentCountRuleParameters;
|
|
11923
12276
|
|
|
11924
12277
|
content_flag_count_rule_params?: FlagCountRuleParameters;
|
|
@@ -11927,6 +12280,8 @@ export interface RuleBuilderCondition {
|
|
|
11927
12280
|
|
|
11928
12281
|
image_rule_params?: ImageRuleParameters;
|
|
11929
12282
|
|
|
12283
|
+
keyframe_rule_params?: KeyframeRuleParameters;
|
|
12284
|
+
|
|
11930
12285
|
text_content_params?: TextContentParameters;
|
|
11931
12286
|
|
|
11932
12287
|
text_rule_params?: TextRuleParameters;
|
|
@@ -11963,17 +12318,19 @@ export interface RuleBuilderConfig {
|
|
|
11963
12318
|
export interface RuleBuilderRule {
|
|
11964
12319
|
rule_type: string;
|
|
11965
12320
|
|
|
11966
|
-
action: RuleBuilderAction;
|
|
11967
|
-
|
|
11968
12321
|
cooldown_period?: string;
|
|
11969
12322
|
|
|
11970
12323
|
id?: string;
|
|
11971
12324
|
|
|
11972
12325
|
logic?: string;
|
|
11973
12326
|
|
|
12327
|
+
action_sequences?: CallRuleActionSequence[];
|
|
12328
|
+
|
|
11974
12329
|
conditions?: RuleBuilderCondition[];
|
|
11975
12330
|
|
|
11976
12331
|
groups?: RuleBuilderConditionGroup[];
|
|
12332
|
+
|
|
12333
|
+
action?: RuleBuilderAction;
|
|
11977
12334
|
}
|
|
11978
12335
|
|
|
11979
12336
|
export interface S3Request {
|
|
@@ -12261,6 +12618,8 @@ export interface SearchResultMessage {
|
|
|
12261
12618
|
|
|
12262
12619
|
mentioned_channel: boolean;
|
|
12263
12620
|
|
|
12621
|
+
mentioned_here: boolean;
|
|
12622
|
+
|
|
12264
12623
|
pinned: boolean;
|
|
12265
12624
|
|
|
12266
12625
|
reply_count: number;
|
|
@@ -12315,6 +12674,8 @@ export interface SearchResultMessage {
|
|
|
12315
12674
|
|
|
12316
12675
|
show_in_channel?: boolean;
|
|
12317
12676
|
|
|
12677
|
+
mentioned_roles?: string[];
|
|
12678
|
+
|
|
12318
12679
|
thread_participants?: UserResponse[];
|
|
12319
12680
|
|
|
12320
12681
|
channel?: ChannelResponse;
|
|
@@ -12342,6 +12703,12 @@ export interface SearchResultMessage {
|
|
|
12342
12703
|
shared_location?: SharedLocationResponseData;
|
|
12343
12704
|
}
|
|
12344
12705
|
|
|
12706
|
+
export interface SearchUserGroupsResponse {
|
|
12707
|
+
duration: string;
|
|
12708
|
+
|
|
12709
|
+
user_groups: UserGroupResponse[];
|
|
12710
|
+
}
|
|
12711
|
+
|
|
12345
12712
|
export interface SearchWarning {
|
|
12346
12713
|
warning_code: number;
|
|
12347
12714
|
|
|
@@ -13002,6 +13369,42 @@ export interface TargetResolution {
|
|
|
13002
13369
|
width: number;
|
|
13003
13370
|
}
|
|
13004
13371
|
|
|
13372
|
+
export interface TeamUsageStats {
|
|
13373
|
+
team: string;
|
|
13374
|
+
|
|
13375
|
+
concurrent_connections: MetricStats;
|
|
13376
|
+
|
|
13377
|
+
concurrent_users: MetricStats;
|
|
13378
|
+
|
|
13379
|
+
image_moderations_daily: MetricStats;
|
|
13380
|
+
|
|
13381
|
+
messages_daily: MetricStats;
|
|
13382
|
+
|
|
13383
|
+
messages_last_24_hours: MetricStats;
|
|
13384
|
+
|
|
13385
|
+
messages_last_30_days: MetricStats;
|
|
13386
|
+
|
|
13387
|
+
messages_month_to_date: MetricStats;
|
|
13388
|
+
|
|
13389
|
+
messages_total: MetricStats;
|
|
13390
|
+
|
|
13391
|
+
translations_daily: MetricStats;
|
|
13392
|
+
|
|
13393
|
+
users_daily: MetricStats;
|
|
13394
|
+
|
|
13395
|
+
users_engaged_last_30_days: MetricStats;
|
|
13396
|
+
|
|
13397
|
+
users_engaged_month_to_date: MetricStats;
|
|
13398
|
+
|
|
13399
|
+
users_last_24_hours: MetricStats;
|
|
13400
|
+
|
|
13401
|
+
users_last_30_days: MetricStats;
|
|
13402
|
+
|
|
13403
|
+
users_month_to_date: MetricStats;
|
|
13404
|
+
|
|
13405
|
+
users_total: MetricStats;
|
|
13406
|
+
}
|
|
13407
|
+
|
|
13005
13408
|
export interface TextContentParameters {
|
|
13006
13409
|
contains_url?: boolean;
|
|
13007
13410
|
|
|
@@ -13167,7 +13570,7 @@ export interface ThreadedCommentResponse {
|
|
|
13167
13570
|
|
|
13168
13571
|
score: number;
|
|
13169
13572
|
|
|
13170
|
-
status:
|
|
13573
|
+
status: 'active' | 'deleted' | 'removed' | 'hidden' | 'shadow_blocked';
|
|
13171
13574
|
|
|
13172
13575
|
updated_at: Date;
|
|
13173
13576
|
|
|
@@ -13528,10 +13931,22 @@ export interface UnblockedUserEvent {
|
|
|
13528
13931
|
type: string;
|
|
13529
13932
|
}
|
|
13530
13933
|
|
|
13934
|
+
export interface UndeleteMessageRequest {
|
|
13935
|
+
undeleted_by: string;
|
|
13936
|
+
}
|
|
13937
|
+
|
|
13938
|
+
export interface UndeleteMessageResponse {
|
|
13939
|
+
duration: string;
|
|
13940
|
+
|
|
13941
|
+
message: MessageResponse;
|
|
13942
|
+
}
|
|
13943
|
+
|
|
13531
13944
|
export interface UnfollowBatchRequest {
|
|
13532
13945
|
follows: FollowPair[];
|
|
13533
13946
|
|
|
13534
13947
|
delete_notification_activity?: boolean;
|
|
13948
|
+
|
|
13949
|
+
enrich_own_fields?: boolean;
|
|
13535
13950
|
}
|
|
13536
13951
|
|
|
13537
13952
|
export interface UnfollowBatchResponse {
|
|
@@ -13665,6 +14080,8 @@ export interface UpdateActivityPartialChangeRequest {
|
|
|
13665
14080
|
export interface UpdateActivityPartialRequest {
|
|
13666
14081
|
copy_custom_to_notification?: boolean;
|
|
13667
14082
|
|
|
14083
|
+
enrich_own_fields?: boolean;
|
|
14084
|
+
|
|
13668
14085
|
handle_mention_notifications?: boolean;
|
|
13669
14086
|
|
|
13670
14087
|
run_activity_processors?: boolean;
|
|
@@ -13687,6 +14104,8 @@ export interface UpdateActivityPartialResponse {
|
|
|
13687
14104
|
export interface UpdateActivityRequest {
|
|
13688
14105
|
copy_custom_to_notification?: boolean;
|
|
13689
14106
|
|
|
14107
|
+
enrich_own_fields?: boolean;
|
|
14108
|
+
|
|
13690
14109
|
expires_at?: Date;
|
|
13691
14110
|
|
|
13692
14111
|
handle_mention_notifications?: boolean;
|
|
@@ -13765,6 +14184,8 @@ export interface UpdateAppRequest {
|
|
|
13765
14184
|
|
|
13766
14185
|
migrate_permissions_to_v2?: boolean;
|
|
13767
14186
|
|
|
14187
|
+
moderation_analytics_enabled?: boolean;
|
|
14188
|
+
|
|
13768
14189
|
moderation_enabled?: boolean;
|
|
13769
14190
|
|
|
13770
14191
|
moderation_webhook_url?: string;
|
|
@@ -14302,6 +14723,8 @@ export interface UpdateFeedRequest {
|
|
|
14302
14723
|
|
|
14303
14724
|
description?: string;
|
|
14304
14725
|
|
|
14726
|
+
enrich_own_fields?: boolean;
|
|
14727
|
+
|
|
14305
14728
|
name?: string;
|
|
14306
14729
|
|
|
14307
14730
|
filter_tags?: string[];
|
|
@@ -14348,6 +14771,8 @@ export interface UpdateFollowRequest {
|
|
|
14348
14771
|
|
|
14349
14772
|
create_notification_activity?: boolean;
|
|
14350
14773
|
|
|
14774
|
+
enrich_own_fields?: boolean;
|
|
14775
|
+
|
|
14351
14776
|
follower_role?: string;
|
|
14352
14777
|
|
|
14353
14778
|
push_preference?: 'all' | 'none';
|
|
@@ -14561,6 +14986,20 @@ export interface UpdateThreadPartialResponse {
|
|
|
14561
14986
|
thread: ThreadResponse;
|
|
14562
14987
|
}
|
|
14563
14988
|
|
|
14989
|
+
export interface UpdateUserGroupRequest {
|
|
14990
|
+
description?: string;
|
|
14991
|
+
|
|
14992
|
+
name?: string;
|
|
14993
|
+
|
|
14994
|
+
team_id?: string;
|
|
14995
|
+
}
|
|
14996
|
+
|
|
14997
|
+
export interface UpdateUserGroupResponse {
|
|
14998
|
+
duration: string;
|
|
14999
|
+
|
|
15000
|
+
user_group?: UserGroupResponse;
|
|
15001
|
+
}
|
|
15002
|
+
|
|
14564
15003
|
export interface UpdateUserPartialRequest {
|
|
14565
15004
|
id: string;
|
|
14566
15005
|
|
|
@@ -14647,6 +15086,8 @@ export interface UploadChannelResponse {
|
|
|
14647
15086
|
|
|
14648
15087
|
export interface UpsertActivitiesRequest {
|
|
14649
15088
|
activities: ActivityRequest[];
|
|
15089
|
+
|
|
15090
|
+
enrich_own_fields?: boolean;
|
|
14650
15091
|
}
|
|
14651
15092
|
|
|
14652
15093
|
export interface UpsertActivitiesResponse {
|
|
@@ -14718,8 +15159,6 @@ export interface UpsertModerationRuleRequest {
|
|
|
14718
15159
|
|
|
14719
15160
|
rule_type: string;
|
|
14720
15161
|
|
|
14721
|
-
action: RuleBuilderAction;
|
|
14722
|
-
|
|
14723
15162
|
cooldown_period?: string;
|
|
14724
15163
|
|
|
14725
15164
|
description?: string;
|
|
@@ -14730,11 +15169,15 @@ export interface UpsertModerationRuleRequest {
|
|
|
14730
15169
|
|
|
14731
15170
|
team?: string;
|
|
14732
15171
|
|
|
15172
|
+
action_sequences?: CallRuleActionSequence[];
|
|
15173
|
+
|
|
14733
15174
|
conditions?: RuleBuilderCondition[];
|
|
14734
15175
|
|
|
14735
15176
|
config_keys?: string[];
|
|
14736
15177
|
|
|
14737
15178
|
groups?: RuleBuilderConditionGroup[];
|
|
15179
|
+
|
|
15180
|
+
action?: RuleBuilderAction;
|
|
14738
15181
|
}
|
|
14739
15182
|
|
|
14740
15183
|
export interface UpsertModerationRuleResponse {
|
|
@@ -14958,6 +15401,130 @@ export interface UserFlaggedEvent {
|
|
|
14958
15401
|
target_user?: UserResponseCommonFields;
|
|
14959
15402
|
}
|
|
14960
15403
|
|
|
15404
|
+
export interface UserGroup {
|
|
15405
|
+
app_pk: number;
|
|
15406
|
+
|
|
15407
|
+
created_at: Date;
|
|
15408
|
+
|
|
15409
|
+
id: string;
|
|
15410
|
+
|
|
15411
|
+
name: string;
|
|
15412
|
+
|
|
15413
|
+
updated_at: Date;
|
|
15414
|
+
|
|
15415
|
+
created_by?: string;
|
|
15416
|
+
|
|
15417
|
+
description?: string;
|
|
15418
|
+
|
|
15419
|
+
team_id?: string;
|
|
15420
|
+
|
|
15421
|
+
members?: UserGroupMember[];
|
|
15422
|
+
}
|
|
15423
|
+
|
|
15424
|
+
export interface UserGroupCreatedEvent {
|
|
15425
|
+
created_at: Date;
|
|
15426
|
+
|
|
15427
|
+
custom: Record<string, any>;
|
|
15428
|
+
|
|
15429
|
+
type: string;
|
|
15430
|
+
|
|
15431
|
+
received_at?: Date;
|
|
15432
|
+
|
|
15433
|
+
user?: UserResponseCommonFields;
|
|
15434
|
+
|
|
15435
|
+
user_group?: UserGroup;
|
|
15436
|
+
}
|
|
15437
|
+
|
|
15438
|
+
export interface UserGroupDeletedEvent {
|
|
15439
|
+
created_at: Date;
|
|
15440
|
+
|
|
15441
|
+
custom: Record<string, any>;
|
|
15442
|
+
|
|
15443
|
+
type: string;
|
|
15444
|
+
|
|
15445
|
+
received_at?: Date;
|
|
15446
|
+
|
|
15447
|
+
user?: UserResponseCommonFields;
|
|
15448
|
+
|
|
15449
|
+
user_group?: UserGroup;
|
|
15450
|
+
}
|
|
15451
|
+
|
|
15452
|
+
export interface UserGroupMember {
|
|
15453
|
+
app_pk: number;
|
|
15454
|
+
|
|
15455
|
+
created_at: Date;
|
|
15456
|
+
|
|
15457
|
+
group_id: string;
|
|
15458
|
+
|
|
15459
|
+
is_admin: boolean;
|
|
15460
|
+
|
|
15461
|
+
user_id: string;
|
|
15462
|
+
}
|
|
15463
|
+
|
|
15464
|
+
export interface UserGroupMemberAddedEvent {
|
|
15465
|
+
created_at: Date;
|
|
15466
|
+
|
|
15467
|
+
members: string[];
|
|
15468
|
+
|
|
15469
|
+
custom: Record<string, any>;
|
|
15470
|
+
|
|
15471
|
+
type: string;
|
|
15472
|
+
|
|
15473
|
+
received_at?: Date;
|
|
15474
|
+
|
|
15475
|
+
user?: UserResponseCommonFields;
|
|
15476
|
+
|
|
15477
|
+
user_group?: UserGroup;
|
|
15478
|
+
}
|
|
15479
|
+
|
|
15480
|
+
export interface UserGroupMemberRemovedEvent {
|
|
15481
|
+
created_at: Date;
|
|
15482
|
+
|
|
15483
|
+
members: string[];
|
|
15484
|
+
|
|
15485
|
+
custom: Record<string, any>;
|
|
15486
|
+
|
|
15487
|
+
type: string;
|
|
15488
|
+
|
|
15489
|
+
received_at?: Date;
|
|
15490
|
+
|
|
15491
|
+
user?: UserResponseCommonFields;
|
|
15492
|
+
|
|
15493
|
+
user_group?: UserGroup;
|
|
15494
|
+
}
|
|
15495
|
+
|
|
15496
|
+
export interface UserGroupResponse {
|
|
15497
|
+
created_at: Date;
|
|
15498
|
+
|
|
15499
|
+
id: string;
|
|
15500
|
+
|
|
15501
|
+
name: string;
|
|
15502
|
+
|
|
15503
|
+
updated_at: Date;
|
|
15504
|
+
|
|
15505
|
+
created_by?: string;
|
|
15506
|
+
|
|
15507
|
+
description?: string;
|
|
15508
|
+
|
|
15509
|
+
team_id?: string;
|
|
15510
|
+
|
|
15511
|
+
members?: UserGroupMember[];
|
|
15512
|
+
}
|
|
15513
|
+
|
|
15514
|
+
export interface UserGroupUpdatedEvent {
|
|
15515
|
+
created_at: Date;
|
|
15516
|
+
|
|
15517
|
+
custom: Record<string, any>;
|
|
15518
|
+
|
|
15519
|
+
type: string;
|
|
15520
|
+
|
|
15521
|
+
received_at?: Date;
|
|
15522
|
+
|
|
15523
|
+
user?: UserResponseCommonFields;
|
|
15524
|
+
|
|
15525
|
+
user_group?: UserGroup;
|
|
15526
|
+
}
|
|
15527
|
+
|
|
14961
15528
|
export interface UserIdenticalContentCountParameters {
|
|
14962
15529
|
threshold?: number;
|
|
14963
15530
|
|
|
@@ -15406,67 +15973,7 @@ export interface VoteData {
|
|
|
15406
15973
|
option_id?: string;
|
|
15407
15974
|
}
|
|
15408
15975
|
|
|
15409
|
-
export
|
|
15410
|
-
address: string;
|
|
15411
|
-
}
|
|
15412
|
-
|
|
15413
|
-
export interface WSEvent {
|
|
15414
|
-
created_at: Date;
|
|
15415
|
-
|
|
15416
|
-
type: string;
|
|
15417
|
-
|
|
15418
|
-
custom: Record<string, any>;
|
|
15419
|
-
|
|
15420
|
-
automoderation?: boolean;
|
|
15421
|
-
|
|
15422
|
-
channel_id?: string;
|
|
15423
|
-
|
|
15424
|
-
channel_last_message_at?: Date;
|
|
15425
|
-
|
|
15426
|
-
channel_type?: string;
|
|
15427
|
-
|
|
15428
|
-
cid?: string;
|
|
15429
|
-
|
|
15430
|
-
connection_id?: string;
|
|
15431
|
-
|
|
15432
|
-
parent_id?: string;
|
|
15433
|
-
|
|
15434
|
-
reason?: string;
|
|
15435
|
-
|
|
15436
|
-
team?: string;
|
|
15437
|
-
|
|
15438
|
-
thread_id?: string;
|
|
15439
|
-
|
|
15440
|
-
user_id?: string;
|
|
15441
|
-
|
|
15442
|
-
watcher_count?: number;
|
|
15443
|
-
|
|
15444
|
-
automoderation_scores?: ModerationResponse;
|
|
15445
|
-
|
|
15446
|
-
channel?: ChannelResponse;
|
|
15447
|
-
|
|
15448
|
-
created_by?: UserResponse;
|
|
15449
|
-
|
|
15450
|
-
me?: OwnUserResponse;
|
|
15451
|
-
|
|
15452
|
-
member?: ChannelMemberResponse;
|
|
15453
|
-
|
|
15454
|
-
message?: MessageResponse;
|
|
15455
|
-
|
|
15456
|
-
message_update?: MessageUpdate;
|
|
15457
|
-
|
|
15458
|
-
poll?: PollResponseData;
|
|
15459
|
-
|
|
15460
|
-
poll_vote?: PollVoteResponseData;
|
|
15461
|
-
|
|
15462
|
-
reaction?: ReactionResponse;
|
|
15463
|
-
|
|
15464
|
-
thread?: ThreadResponse;
|
|
15465
|
-
|
|
15466
|
-
user?: UserResponse;
|
|
15467
|
-
}
|
|
15468
|
-
|
|
15469
|
-
export type WebhookEvent =
|
|
15976
|
+
export type WHEvent =
|
|
15470
15977
|
| ({ type: '*' } & CustomEvent)
|
|
15471
15978
|
| ({ type: 'appeal.accepted' } & AppealAcceptedEvent)
|
|
15472
15979
|
| ({ type: 'appeal.created' } & AppealCreatedEvent)
|
|
@@ -15594,6 +16101,7 @@ export type WebhookEvent =
|
|
|
15594
16101
|
| ({ type: 'feeds.feed.updated' } & FeedUpdatedEvent)
|
|
15595
16102
|
| ({ type: 'feeds.feed_group.changed' } & FeedGroupChangedEvent)
|
|
15596
16103
|
| ({ type: 'feeds.feed_group.deleted' } & FeedGroupDeletedEvent)
|
|
16104
|
+
| ({ type: 'feeds.feed_group.restored' } & FeedGroupRestoredEvent)
|
|
15597
16105
|
| ({ type: 'feeds.feed_member.added' } & FeedMemberAddedEvent)
|
|
15598
16106
|
| ({ type: 'feeds.feed_member.removed' } & FeedMemberRemovedEvent)
|
|
15599
16107
|
| ({ type: 'feeds.feed_member.updated' } & FeedMemberUpdatedEvent)
|
|
@@ -15621,6 +16129,7 @@ export type WebhookEvent =
|
|
|
15621
16129
|
| ({ type: 'moderation.flagged' } & ModerationFlaggedEvent)
|
|
15622
16130
|
| ({ type: 'moderation.mark_reviewed' } & ModerationMarkReviewedEvent)
|
|
15623
16131
|
| ({ type: 'moderation_check.completed' } & ModerationCheckCompletedEvent)
|
|
16132
|
+
| ({ type: 'moderation_rule.triggered' } & ModerationRulesTriggeredEvent)
|
|
15624
16133
|
| ({ type: 'notification.mark_unread' } & NotificationMarkUnreadEvent)
|
|
15625
16134
|
| ({ type: 'notification.reminder_due' } & ReminderNotificationEvent)
|
|
15626
16135
|
| ({
|
|
@@ -15645,7 +16154,72 @@ export type WebhookEvent =
|
|
|
15645
16154
|
| ({ type: 'user.unbanned' } & UserUnbannedEvent)
|
|
15646
16155
|
| ({ type: 'user.unmuted' } & UserUnmutedEvent)
|
|
15647
16156
|
| ({ type: 'user.unread_message_reminder' } & UserUnreadReminderEvent)
|
|
15648
|
-
| ({ type: 'user.updated' } & UserUpdatedEvent)
|
|
16157
|
+
| ({ type: 'user.updated' } & UserUpdatedEvent)
|
|
16158
|
+
| ({ type: 'user_group.created' } & UserGroupCreatedEvent)
|
|
16159
|
+
| ({ type: 'user_group.deleted' } & UserGroupDeletedEvent)
|
|
16160
|
+
| ({ type: 'user_group.member_added' } & UserGroupMemberAddedEvent)
|
|
16161
|
+
| ({ type: 'user_group.member_removed' } & UserGroupMemberRemovedEvent)
|
|
16162
|
+
| ({ type: 'user_group.updated' } & UserGroupUpdatedEvent);
|
|
16163
|
+
|
|
16164
|
+
export interface WHIPIngress {
|
|
16165
|
+
address: string;
|
|
16166
|
+
}
|
|
16167
|
+
|
|
16168
|
+
export interface WSEvent {
|
|
16169
|
+
created_at: Date;
|
|
16170
|
+
|
|
16171
|
+
type: string;
|
|
16172
|
+
|
|
16173
|
+
custom: Record<string, any>;
|
|
16174
|
+
|
|
16175
|
+
automoderation?: boolean;
|
|
16176
|
+
|
|
16177
|
+
channel_id?: string;
|
|
16178
|
+
|
|
16179
|
+
channel_last_message_at?: Date;
|
|
16180
|
+
|
|
16181
|
+
channel_type?: string;
|
|
16182
|
+
|
|
16183
|
+
cid?: string;
|
|
16184
|
+
|
|
16185
|
+
connection_id?: string;
|
|
16186
|
+
|
|
16187
|
+
parent_id?: string;
|
|
16188
|
+
|
|
16189
|
+
reason?: string;
|
|
16190
|
+
|
|
16191
|
+
team?: string;
|
|
16192
|
+
|
|
16193
|
+
thread_id?: string;
|
|
16194
|
+
|
|
16195
|
+
user_id?: string;
|
|
16196
|
+
|
|
16197
|
+
watcher_count?: number;
|
|
16198
|
+
|
|
16199
|
+
automoderation_scores?: ModerationResponse;
|
|
16200
|
+
|
|
16201
|
+
channel?: ChannelResponse;
|
|
16202
|
+
|
|
16203
|
+
created_by?: UserResponse;
|
|
16204
|
+
|
|
16205
|
+
me?: OwnUserResponse;
|
|
16206
|
+
|
|
16207
|
+
member?: ChannelMemberResponse;
|
|
16208
|
+
|
|
16209
|
+
message?: MessageResponse;
|
|
16210
|
+
|
|
16211
|
+
message_update?: MessageUpdate;
|
|
16212
|
+
|
|
16213
|
+
poll?: PollResponseData;
|
|
16214
|
+
|
|
16215
|
+
poll_vote?: PollVoteResponseData;
|
|
16216
|
+
|
|
16217
|
+
reaction?: ReactionResponse;
|
|
16218
|
+
|
|
16219
|
+
thread?: ThreadResponse;
|
|
16220
|
+
|
|
16221
|
+
user?: UserResponse;
|
|
16222
|
+
}
|
|
15649
16223
|
|
|
15650
16224
|
export interface WrappedUnreadCountsResponse {
|
|
15651
16225
|
duration: string;
|