@stream-io/node-sdk 0.7.40 → 0.7.41
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 +280 -268
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +280 -268
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChatApi.d.ts +4 -4
- package/dist/src/gen/feeds/FeedsApi.d.ts +2 -1
- package/dist/src/gen/models/index.d.ts +705 -572
- package/dist/src/gen/video/CallApi.d.ts +14 -3
- package/dist/src/gen/video/VideoApi.d.ts +20 -9
- package/package.json +1 -1
- package/src/gen/chat/ChatApi.ts +14 -10
- package/src/gen/feeds/FeedsApi.ts +36 -0
- package/src/gen/model-decoders/decoders.ts +266 -306
- package/src/gen/models/index.ts +1178 -918
- package/src/gen/moderation/ModerationApi.ts +1 -0
- package/src/gen/video/CallApi.ts +35 -20
- package/src/gen/video/VideoApi.ts +98 -52
package/src/gen/models/index.ts
CHANGED
|
@@ -104,6 +104,20 @@ export interface APNS {
|
|
|
104
104
|
data?: Record<string, any>;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
+
export interface APNSPayload {
|
|
108
|
+
body?: string;
|
|
109
|
+
|
|
110
|
+
content_available?: number;
|
|
111
|
+
|
|
112
|
+
mutable_content?: number;
|
|
113
|
+
|
|
114
|
+
sound?: string;
|
|
115
|
+
|
|
116
|
+
title?: string;
|
|
117
|
+
|
|
118
|
+
data?: Record<string, any>;
|
|
119
|
+
}
|
|
120
|
+
|
|
107
121
|
export interface AWSRekognitionRule {
|
|
108
122
|
action:
|
|
109
123
|
| 'flag'
|
|
@@ -356,24 +370,6 @@ export interface ActivityMarkEvent {
|
|
|
356
370
|
user?: UserResponseCommonFields;
|
|
357
371
|
}
|
|
358
372
|
|
|
359
|
-
export interface ActivityMarkedEvent {
|
|
360
|
-
all_read: boolean;
|
|
361
|
-
|
|
362
|
-
all_seen: boolean;
|
|
363
|
-
|
|
364
|
-
created_at: Date;
|
|
365
|
-
|
|
366
|
-
feed_id: string;
|
|
367
|
-
|
|
368
|
-
user_id: string;
|
|
369
|
-
|
|
370
|
-
type: string;
|
|
371
|
-
|
|
372
|
-
marked_read?: string[];
|
|
373
|
-
|
|
374
|
-
marked_watched?: string[];
|
|
375
|
-
}
|
|
376
|
-
|
|
377
373
|
export interface ActivityPinResponse {
|
|
378
374
|
created_at: Date;
|
|
379
375
|
|
|
@@ -491,6 +487,8 @@ export interface ActivityRequest {
|
|
|
491
487
|
|
|
492
488
|
feeds: string[];
|
|
493
489
|
|
|
490
|
+
copy_custom_to_notification?: boolean;
|
|
491
|
+
|
|
494
492
|
create_notification_activity?: boolean;
|
|
495
493
|
|
|
496
494
|
expires_at?: string;
|
|
@@ -583,7 +581,7 @@ export interface ActivityResponse {
|
|
|
583
581
|
|
|
584
582
|
custom: Record<string, any>;
|
|
585
583
|
|
|
586
|
-
reaction_groups: Record<string,
|
|
584
|
+
reaction_groups: Record<string, FeedsReactionGroupResponse>;
|
|
587
585
|
|
|
588
586
|
search_data: Record<string, any>;
|
|
589
587
|
|
|
@@ -595,6 +593,8 @@ export interface ActivityResponse {
|
|
|
595
593
|
|
|
596
594
|
expires_at?: Date;
|
|
597
595
|
|
|
596
|
+
friend_reaction_count?: number;
|
|
597
|
+
|
|
598
598
|
is_watched?: boolean;
|
|
599
599
|
|
|
600
600
|
moderation_action?: string;
|
|
@@ -605,6 +605,8 @@ export interface ActivityResponse {
|
|
|
605
605
|
|
|
606
606
|
visibility_tag?: string;
|
|
607
607
|
|
|
608
|
+
friend_reactions?: FeedsReactionResponse[];
|
|
609
|
+
|
|
608
610
|
current_feed?: FeedResponse;
|
|
609
611
|
|
|
610
612
|
location?: ActivityLocation;
|
|
@@ -716,6 +718,8 @@ export interface AddActivityRequest {
|
|
|
716
718
|
|
|
717
719
|
feeds: string[];
|
|
718
720
|
|
|
721
|
+
copy_custom_to_notification?: boolean;
|
|
722
|
+
|
|
719
723
|
create_notification_activity?: boolean;
|
|
720
724
|
|
|
721
725
|
expires_at?: string;
|
|
@@ -786,6 +790,8 @@ export interface AddBookmarkResponse {
|
|
|
786
790
|
export interface AddCommentReactionRequest {
|
|
787
791
|
type: string;
|
|
788
792
|
|
|
793
|
+
copy_custom_to_notification?: boolean;
|
|
794
|
+
|
|
789
795
|
create_notification_activity?: boolean;
|
|
790
796
|
|
|
791
797
|
enforce_unique?: boolean;
|
|
@@ -812,6 +818,8 @@ export interface AddCommentReactionResponse {
|
|
|
812
818
|
export interface AddCommentRequest {
|
|
813
819
|
comment?: string;
|
|
814
820
|
|
|
821
|
+
copy_custom_to_notification?: boolean;
|
|
822
|
+
|
|
815
823
|
create_notification_activity?: boolean;
|
|
816
824
|
|
|
817
825
|
id?: string;
|
|
@@ -866,6 +874,8 @@ export interface AddFolderRequest {
|
|
|
866
874
|
export interface AddReactionRequest {
|
|
867
875
|
type: string;
|
|
868
876
|
|
|
877
|
+
copy_custom_to_notification?: boolean;
|
|
878
|
+
|
|
869
879
|
create_notification_activity?: boolean;
|
|
870
880
|
|
|
871
881
|
enforce_unique?: boolean;
|
|
@@ -913,12 +923,6 @@ export interface AggregationConfig {
|
|
|
913
923
|
format?: string;
|
|
914
924
|
}
|
|
915
925
|
|
|
916
|
-
export interface AnyEvent {
|
|
917
|
-
created_at: Date;
|
|
918
|
-
|
|
919
|
-
type: string;
|
|
920
|
-
}
|
|
921
|
-
|
|
922
926
|
export interface AppResponseFields {
|
|
923
927
|
allow_multi_user_devices: boolean;
|
|
924
928
|
|
|
@@ -946,8 +950,6 @@ export interface AppResponseFields {
|
|
|
946
950
|
|
|
947
951
|
max_aggregated_activities_length: number;
|
|
948
952
|
|
|
949
|
-
moderation_bulk_submit_action_enabled: boolean;
|
|
950
|
-
|
|
951
953
|
moderation_enabled: boolean;
|
|
952
954
|
|
|
953
955
|
moderation_llm_configurability_enabled: boolean;
|
|
@@ -1307,14 +1309,14 @@ export interface AudioSettingsResponse {
|
|
|
1307
1309
|
noise_cancellation?: NoiseCancellationSettings;
|
|
1308
1310
|
}
|
|
1309
1311
|
|
|
1310
|
-
export interface
|
|
1312
|
+
export interface AutomodDetailsResponse {
|
|
1311
1313
|
action?: string;
|
|
1312
1314
|
|
|
1313
1315
|
original_message_type?: string;
|
|
1314
1316
|
|
|
1315
1317
|
image_labels?: string[];
|
|
1316
1318
|
|
|
1317
|
-
message_details?:
|
|
1319
|
+
message_details?: FlagMessageDetailsResponse;
|
|
1318
1320
|
|
|
1319
1321
|
result?: MessageModerationResult;
|
|
1320
1322
|
}
|
|
@@ -1393,34 +1395,34 @@ export interface BackstageSettingsResponse {
|
|
|
1393
1395
|
join_ahead_time_seconds?: number;
|
|
1394
1396
|
}
|
|
1395
1397
|
|
|
1396
|
-
export interface
|
|
1397
|
-
|
|
1398
|
+
export interface BanActionRequestPayload {
|
|
1399
|
+
channel_ban_only?: boolean;
|
|
1398
1400
|
|
|
1399
|
-
|
|
1401
|
+
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
1400
1402
|
|
|
1401
|
-
|
|
1403
|
+
ip_ban?: boolean;
|
|
1402
1404
|
|
|
1403
1405
|
reason?: string;
|
|
1404
1406
|
|
|
1405
|
-
|
|
1407
|
+
shadow?: boolean;
|
|
1406
1408
|
|
|
1407
|
-
|
|
1409
|
+
target_user_id?: string;
|
|
1408
1410
|
|
|
1409
|
-
|
|
1411
|
+
timeout?: number;
|
|
1410
1412
|
}
|
|
1411
1413
|
|
|
1412
|
-
export interface
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
1414
|
+
export interface BanInfoResponse {
|
|
1415
|
+
created_at: Date;
|
|
1416
1416
|
|
|
1417
|
-
|
|
1417
|
+
expires?: Date;
|
|
1418
1418
|
|
|
1419
1419
|
reason?: string;
|
|
1420
1420
|
|
|
1421
1421
|
shadow?: boolean;
|
|
1422
1422
|
|
|
1423
|
-
|
|
1423
|
+
created_by?: UserResponse;
|
|
1424
|
+
|
|
1425
|
+
user?: UserResponse;
|
|
1424
1426
|
}
|
|
1425
1427
|
|
|
1426
1428
|
export interface BanOptions {
|
|
@@ -1471,7 +1473,7 @@ export interface BanResponse {
|
|
|
1471
1473
|
user?: UserResponse;
|
|
1472
1474
|
}
|
|
1473
1475
|
|
|
1474
|
-
export interface
|
|
1476
|
+
export interface BlockActionRequestPayload {
|
|
1475
1477
|
reason?: string;
|
|
1476
1478
|
}
|
|
1477
1479
|
|
|
@@ -1816,6 +1818,24 @@ export interface CallCreatedEvent {
|
|
|
1816
1818
|
type: string;
|
|
1817
1819
|
}
|
|
1818
1820
|
|
|
1821
|
+
export interface CallDTMFEvent {
|
|
1822
|
+
call_cid: string;
|
|
1823
|
+
|
|
1824
|
+
created_at: Date;
|
|
1825
|
+
|
|
1826
|
+
digit: string;
|
|
1827
|
+
|
|
1828
|
+
duration_ms: number;
|
|
1829
|
+
|
|
1830
|
+
seq_number: number;
|
|
1831
|
+
|
|
1832
|
+
timestamp: Date;
|
|
1833
|
+
|
|
1834
|
+
user: UserResponse;
|
|
1835
|
+
|
|
1836
|
+
type: string;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1819
1839
|
export interface CallDeletedEvent {
|
|
1820
1840
|
call_cid: string;
|
|
1821
1841
|
|
|
@@ -2093,7 +2113,7 @@ export interface CallReactionEvent {
|
|
|
2093
2113
|
|
|
2094
2114
|
created_at: Date;
|
|
2095
2115
|
|
|
2096
|
-
reaction:
|
|
2116
|
+
reaction: VideoReactionResponse;
|
|
2097
2117
|
|
|
2098
2118
|
type: string;
|
|
2099
2119
|
}
|
|
@@ -2751,7 +2771,7 @@ export interface CallTypeResponse {
|
|
|
2751
2771
|
|
|
2752
2772
|
grants: Record<string, string[]>;
|
|
2753
2773
|
|
|
2754
|
-
notification_settings:
|
|
2774
|
+
notification_settings: NotificationSettingsResponse;
|
|
2755
2775
|
|
|
2756
2776
|
settings: CallSettingsResponse;
|
|
2757
2777
|
|
|
@@ -2944,62 +2964,6 @@ export interface CastPollVoteRequest {
|
|
|
2944
2964
|
vote?: VoteData;
|
|
2945
2965
|
}
|
|
2946
2966
|
|
|
2947
|
-
export interface Channel {
|
|
2948
|
-
auto_translation_language: string;
|
|
2949
|
-
|
|
2950
|
-
cid: string;
|
|
2951
|
-
|
|
2952
|
-
created_at: Date;
|
|
2953
|
-
|
|
2954
|
-
disabled: boolean;
|
|
2955
|
-
|
|
2956
|
-
frozen: boolean;
|
|
2957
|
-
|
|
2958
|
-
id: string;
|
|
2959
|
-
|
|
2960
|
-
type: string;
|
|
2961
|
-
|
|
2962
|
-
updated_at: Date;
|
|
2963
|
-
|
|
2964
|
-
custom: Record<string, any>;
|
|
2965
|
-
|
|
2966
|
-
auto_translation_enabled?: boolean;
|
|
2967
|
-
|
|
2968
|
-
cooldown?: number;
|
|
2969
|
-
|
|
2970
|
-
deleted_at?: Date;
|
|
2971
|
-
|
|
2972
|
-
last_campaigns?: string;
|
|
2973
|
-
|
|
2974
|
-
last_message_at?: Date;
|
|
2975
|
-
|
|
2976
|
-
member_count?: number;
|
|
2977
|
-
|
|
2978
|
-
message_count?: number;
|
|
2979
|
-
|
|
2980
|
-
message_count_updated_at?: Date;
|
|
2981
|
-
|
|
2982
|
-
team?: string;
|
|
2983
|
-
|
|
2984
|
-
active_live_locations?: SharedLocation[];
|
|
2985
|
-
|
|
2986
|
-
filter_tags?: string[];
|
|
2987
|
-
|
|
2988
|
-
invites?: ChannelMember[];
|
|
2989
|
-
|
|
2990
|
-
members?: ChannelMember[];
|
|
2991
|
-
|
|
2992
|
-
config?: ChannelConfig;
|
|
2993
|
-
|
|
2994
|
-
config_overrides?: ConfigOverrides;
|
|
2995
|
-
|
|
2996
|
-
created_by?: User;
|
|
2997
|
-
|
|
2998
|
-
members_lookup?: Record<string, ChannelMemberLookup>;
|
|
2999
|
-
|
|
3000
|
-
truncated_by?: User;
|
|
3001
|
-
}
|
|
3002
|
-
|
|
3003
2967
|
export interface ChannelBatchCompletedEvent {
|
|
3004
2968
|
batch_created_at: Date;
|
|
3005
2969
|
|
|
@@ -3111,6 +3075,8 @@ export interface ChannelConfig {
|
|
|
3111
3075
|
|
|
3112
3076
|
partition_ttl?: string;
|
|
3113
3077
|
|
|
3078
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
3079
|
+
|
|
3114
3080
|
allowed_flag_reasons?: string[];
|
|
3115
3081
|
|
|
3116
3082
|
blocklists?: BlockListOptions[];
|
|
@@ -3181,6 +3147,8 @@ export interface ChannelConfigWithInfo {
|
|
|
3181
3147
|
|
|
3182
3148
|
partition_ttl?: string;
|
|
3183
3149
|
|
|
3150
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
3151
|
+
|
|
3184
3152
|
allowed_flag_reasons?: string[];
|
|
3185
3153
|
|
|
3186
3154
|
blocklists?: BlockListOptions[];
|
|
@@ -3193,25 +3161,57 @@ export interface ChannelConfigWithInfo {
|
|
|
3193
3161
|
export interface ChannelCreatedEvent {
|
|
3194
3162
|
created_at: Date;
|
|
3195
3163
|
|
|
3164
|
+
channel: ChannelResponse;
|
|
3165
|
+
|
|
3166
|
+
custom: Record<string, any>;
|
|
3167
|
+
|
|
3196
3168
|
type: string;
|
|
3197
|
-
}
|
|
3198
3169
|
|
|
3199
|
-
|
|
3200
|
-
channel_id: string;
|
|
3170
|
+
channel_id?: string;
|
|
3201
3171
|
|
|
3202
|
-
channel_member_count
|
|
3172
|
+
channel_member_count?: number;
|
|
3203
3173
|
|
|
3204
|
-
|
|
3174
|
+
channel_message_count?: number;
|
|
3205
3175
|
|
|
3206
|
-
|
|
3176
|
+
channel_type?: string;
|
|
3177
|
+
|
|
3178
|
+
cid?: string;
|
|
3179
|
+
|
|
3180
|
+
received_at?: Date;
|
|
3181
|
+
|
|
3182
|
+
team?: string;
|
|
3207
3183
|
|
|
3184
|
+
channel_custom?: Record<string, any>;
|
|
3185
|
+
|
|
3186
|
+
user?: UserResponseCommonFields;
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
export interface ChannelDeletedEvent {
|
|
3208
3190
|
created_at: Date;
|
|
3209
3191
|
|
|
3192
|
+
channel: ChannelResponse;
|
|
3193
|
+
|
|
3194
|
+
custom: Record<string, any>;
|
|
3195
|
+
|
|
3210
3196
|
type: string;
|
|
3211
3197
|
|
|
3198
|
+
channel_id?: string;
|
|
3199
|
+
|
|
3200
|
+
channel_member_count?: number;
|
|
3201
|
+
|
|
3202
|
+
channel_message_count?: number;
|
|
3203
|
+
|
|
3204
|
+
channel_type?: string;
|
|
3205
|
+
|
|
3206
|
+
cid?: string;
|
|
3207
|
+
|
|
3208
|
+
received_at?: Date;
|
|
3209
|
+
|
|
3212
3210
|
team?: string;
|
|
3213
3211
|
|
|
3214
|
-
|
|
3212
|
+
channel_custom?: Record<string, any>;
|
|
3213
|
+
|
|
3214
|
+
user?: UserResponseCommonFields;
|
|
3215
3215
|
}
|
|
3216
3216
|
|
|
3217
3217
|
export interface ChannelExport {
|
|
@@ -3227,15 +3227,19 @@ export interface ChannelExport {
|
|
|
3227
3227
|
}
|
|
3228
3228
|
|
|
3229
3229
|
export interface ChannelFrozenEvent {
|
|
3230
|
-
|
|
3230
|
+
created_at: Date;
|
|
3231
3231
|
|
|
3232
|
-
|
|
3232
|
+
custom: Record<string, any>;
|
|
3233
3233
|
|
|
3234
|
-
|
|
3234
|
+
type: string;
|
|
3235
3235
|
|
|
3236
|
-
|
|
3236
|
+
channel_id?: string;
|
|
3237
3237
|
|
|
3238
|
-
|
|
3238
|
+
channel_type?: string;
|
|
3239
|
+
|
|
3240
|
+
cid?: string;
|
|
3241
|
+
|
|
3242
|
+
received_at?: Date;
|
|
3239
3243
|
}
|
|
3240
3244
|
|
|
3241
3245
|
export interface ChannelGetOrCreateRequest {
|
|
@@ -3255,23 +3259,33 @@ export interface ChannelGetOrCreateRequest {
|
|
|
3255
3259
|
}
|
|
3256
3260
|
|
|
3257
3261
|
export interface ChannelHiddenEvent {
|
|
3258
|
-
|
|
3262
|
+
clear_history: boolean;
|
|
3259
3263
|
|
|
3260
|
-
|
|
3264
|
+
created_at: Date;
|
|
3261
3265
|
|
|
3262
|
-
|
|
3266
|
+
channel: ChannelResponse;
|
|
3263
3267
|
|
|
3264
|
-
|
|
3268
|
+
custom: Record<string, any>;
|
|
3265
3269
|
|
|
3266
|
-
|
|
3270
|
+
type: string;
|
|
3267
3271
|
|
|
3268
|
-
|
|
3272
|
+
channel_id?: string;
|
|
3269
3273
|
|
|
3270
|
-
|
|
3274
|
+
channel_member_count?: number;
|
|
3271
3275
|
|
|
3272
|
-
|
|
3276
|
+
channel_message_count?: number;
|
|
3273
3277
|
|
|
3274
|
-
|
|
3278
|
+
channel_type?: string;
|
|
3279
|
+
|
|
3280
|
+
cid?: string;
|
|
3281
|
+
|
|
3282
|
+
received_at?: Date;
|
|
3283
|
+
|
|
3284
|
+
team?: string;
|
|
3285
|
+
|
|
3286
|
+
channel_custom?: Record<string, any>;
|
|
3287
|
+
|
|
3288
|
+
user?: UserResponseCommonFields;
|
|
3275
3289
|
}
|
|
3276
3290
|
|
|
3277
3291
|
export interface ChannelInput {
|
|
@@ -3313,33 +3327,47 @@ export interface ChannelInputRequest {
|
|
|
3313
3327
|
|
|
3314
3328
|
team?: string;
|
|
3315
3329
|
|
|
3316
|
-
invites?:
|
|
3330
|
+
invites?: ChannelMemberRequest[];
|
|
3317
3331
|
|
|
3318
|
-
members?:
|
|
3332
|
+
members?: ChannelMemberRequest[];
|
|
3319
3333
|
|
|
3320
|
-
config_overrides?:
|
|
3334
|
+
config_overrides?: ConfigOverridesRequest;
|
|
3321
3335
|
|
|
3322
|
-
created_by?:
|
|
3336
|
+
created_by?: UserRequest;
|
|
3323
3337
|
|
|
3324
3338
|
custom?: Record<string, any>;
|
|
3325
3339
|
}
|
|
3326
3340
|
|
|
3327
|
-
export interface
|
|
3328
|
-
|
|
3341
|
+
export interface ChannelMemberRequest {
|
|
3342
|
+
user_id: string;
|
|
3329
3343
|
|
|
3330
|
-
|
|
3344
|
+
channel_role?: string;
|
|
3331
3345
|
|
|
3332
|
-
|
|
3346
|
+
custom?: Record<string, any>;
|
|
3333
3347
|
|
|
3334
|
-
|
|
3348
|
+
user?: UserResponse;
|
|
3349
|
+
}
|
|
3335
3350
|
|
|
3336
|
-
|
|
3351
|
+
export interface ChannelMemberResponse {
|
|
3352
|
+
banned: boolean;
|
|
3337
3353
|
|
|
3338
|
-
|
|
3354
|
+
channel_role: string;
|
|
3339
3355
|
|
|
3340
|
-
|
|
3356
|
+
created_at: Date;
|
|
3341
3357
|
|
|
3342
|
-
|
|
3358
|
+
notifications_muted: boolean;
|
|
3359
|
+
|
|
3360
|
+
shadow_banned: boolean;
|
|
3361
|
+
|
|
3362
|
+
updated_at: Date;
|
|
3363
|
+
|
|
3364
|
+
custom: Record<string, any>;
|
|
3365
|
+
|
|
3366
|
+
archived_at?: Date;
|
|
3367
|
+
|
|
3368
|
+
ban_expires?: Date;
|
|
3369
|
+
|
|
3370
|
+
deleted_at?: Date;
|
|
3343
3371
|
|
|
3344
3372
|
invite_accepted_at?: Date;
|
|
3345
3373
|
|
|
@@ -3347,123 +3375,53 @@ export interface ChannelMember {
|
|
|
3347
3375
|
|
|
3348
3376
|
invited?: boolean;
|
|
3349
3377
|
|
|
3350
|
-
is_global_banned?: boolean;
|
|
3351
|
-
|
|
3352
3378
|
is_moderator?: boolean;
|
|
3353
3379
|
|
|
3354
|
-
notifications_muted?: boolean;
|
|
3355
|
-
|
|
3356
3380
|
pinned_at?: Date;
|
|
3357
3381
|
|
|
3358
|
-
|
|
3382
|
+
role?: string;
|
|
3359
3383
|
|
|
3360
3384
|
status?: string;
|
|
3361
3385
|
|
|
3362
|
-
updated_at?: Date;
|
|
3363
|
-
|
|
3364
3386
|
user_id?: string;
|
|
3365
3387
|
|
|
3366
3388
|
deleted_messages?: string[];
|
|
3367
3389
|
|
|
3368
|
-
|
|
3390
|
+
user?: UserResponse;
|
|
3391
|
+
}
|
|
3369
3392
|
|
|
3370
|
-
|
|
3393
|
+
export interface ChannelMessagesResponse {
|
|
3394
|
+
messages: MessageResponse[];
|
|
3371
3395
|
|
|
3372
|
-
|
|
3396
|
+
channel: ChannelResponse;
|
|
3373
3397
|
}
|
|
3374
3398
|
|
|
3375
|
-
export interface
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
banned: boolean;
|
|
3399
|
+
export interface ChannelMute {
|
|
3400
|
+
created_at: Date;
|
|
3379
3401
|
|
|
3380
|
-
|
|
3402
|
+
updated_at: Date;
|
|
3381
3403
|
|
|
3382
|
-
|
|
3404
|
+
expires?: Date;
|
|
3383
3405
|
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
archived_at?: Date;
|
|
3387
|
-
|
|
3388
|
-
ban_expires?: Date;
|
|
3389
|
-
|
|
3390
|
-
pinned_at?: Date;
|
|
3391
|
-
}
|
|
3392
|
-
|
|
3393
|
-
export interface ChannelMemberRequest {
|
|
3394
|
-
user_id: string;
|
|
3395
|
-
|
|
3396
|
-
channel_role?: string;
|
|
3397
|
-
|
|
3398
|
-
custom?: Record<string, any>;
|
|
3406
|
+
channel?: ChannelResponse;
|
|
3399
3407
|
|
|
3400
3408
|
user?: UserResponse;
|
|
3401
3409
|
}
|
|
3402
3410
|
|
|
3403
|
-
export interface
|
|
3404
|
-
banned: boolean;
|
|
3405
|
-
|
|
3406
|
-
channel_role: string;
|
|
3407
|
-
|
|
3411
|
+
export interface ChannelMutedEvent {
|
|
3408
3412
|
created_at: Date;
|
|
3409
3413
|
|
|
3410
|
-
notifications_muted: boolean;
|
|
3411
|
-
|
|
3412
|
-
shadow_banned: boolean;
|
|
3413
|
-
|
|
3414
|
-
updated_at: Date;
|
|
3415
|
-
|
|
3416
3414
|
custom: Record<string, any>;
|
|
3417
3415
|
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
ban_expires?: Date;
|
|
3421
|
-
|
|
3422
|
-
deleted_at?: Date;
|
|
3423
|
-
|
|
3424
|
-
invite_accepted_at?: Date;
|
|
3425
|
-
|
|
3426
|
-
invite_rejected_at?: Date;
|
|
3427
|
-
|
|
3428
|
-
invited?: boolean;
|
|
3429
|
-
|
|
3430
|
-
is_moderator?: boolean;
|
|
3431
|
-
|
|
3432
|
-
pinned_at?: Date;
|
|
3433
|
-
|
|
3434
|
-
role?: 'member' | 'moderator' | 'admin' | 'owner';
|
|
3435
|
-
|
|
3436
|
-
status?: string;
|
|
3437
|
-
|
|
3438
|
-
user_id?: string;
|
|
3439
|
-
|
|
3440
|
-
deleted_messages?: string[];
|
|
3441
|
-
|
|
3442
|
-
user?: UserResponse;
|
|
3443
|
-
}
|
|
3444
|
-
|
|
3445
|
-
export interface ChannelMessages {
|
|
3446
|
-
messages: Message[];
|
|
3447
|
-
|
|
3448
|
-
channel?: ChannelResponse;
|
|
3449
|
-
}
|
|
3450
|
-
|
|
3451
|
-
export interface ChannelMute {
|
|
3452
|
-
created_at: Date;
|
|
3453
|
-
|
|
3454
|
-
updated_at: Date;
|
|
3455
|
-
|
|
3456
|
-
expires?: Date;
|
|
3416
|
+
type: string;
|
|
3457
3417
|
|
|
3458
|
-
|
|
3418
|
+
received_at?: Date;
|
|
3459
3419
|
|
|
3460
|
-
|
|
3461
|
-
}
|
|
3420
|
+
mutes?: ChannelMute[];
|
|
3462
3421
|
|
|
3463
|
-
|
|
3464
|
-
created_at: Date;
|
|
3422
|
+
mute?: ChannelMute;
|
|
3465
3423
|
|
|
3466
|
-
|
|
3424
|
+
user?: UserResponseCommonFields;
|
|
3467
3425
|
}
|
|
3468
3426
|
|
|
3469
3427
|
export const ChannelOwnCapability = {
|
|
@@ -3510,12 +3468,6 @@ export const ChannelOwnCapability = {
|
|
|
3510
3468
|
export type ChannelOwnCapability =
|
|
3511
3469
|
(typeof ChannelOwnCapability)[keyof typeof ChannelOwnCapability];
|
|
3512
3470
|
|
|
3513
|
-
export interface ChannelPushPreferences {
|
|
3514
|
-
chat_level?: string;
|
|
3515
|
-
|
|
3516
|
-
disabled_until?: Date;
|
|
3517
|
-
}
|
|
3518
|
-
|
|
3519
3471
|
export interface ChannelPushPreferencesResponse {
|
|
3520
3472
|
chat_level?: string;
|
|
3521
3473
|
|
|
@@ -3647,19 +3599,35 @@ export interface ChannelStateResponseFields {
|
|
|
3647
3599
|
}
|
|
3648
3600
|
|
|
3649
3601
|
export interface ChannelTruncatedEvent {
|
|
3650
|
-
|
|
3602
|
+
created_at: Date;
|
|
3651
3603
|
|
|
3652
|
-
|
|
3604
|
+
channel: ChannelResponse;
|
|
3653
3605
|
|
|
3654
|
-
|
|
3606
|
+
custom: Record<string, any>;
|
|
3655
3607
|
|
|
3656
|
-
|
|
3608
|
+
type: string;
|
|
3657
3609
|
|
|
3658
|
-
|
|
3610
|
+
channel_id?: string;
|
|
3659
3611
|
|
|
3660
|
-
|
|
3612
|
+
channel_member_count?: number;
|
|
3661
3613
|
|
|
3662
|
-
|
|
3614
|
+
channel_message_count?: number;
|
|
3615
|
+
|
|
3616
|
+
channel_type?: string;
|
|
3617
|
+
|
|
3618
|
+
cid?: string;
|
|
3619
|
+
|
|
3620
|
+
message_id?: string;
|
|
3621
|
+
|
|
3622
|
+
received_at?: Date;
|
|
3623
|
+
|
|
3624
|
+
team?: string;
|
|
3625
|
+
|
|
3626
|
+
channel_custom?: Record<string, any>;
|
|
3627
|
+
|
|
3628
|
+
message?: MessageResponse;
|
|
3629
|
+
|
|
3630
|
+
user?: UserResponseCommonFields;
|
|
3663
3631
|
}
|
|
3664
3632
|
|
|
3665
3633
|
export interface ChannelTypeConfig {
|
|
@@ -3729,6 +3697,8 @@ export interface ChannelTypeConfig {
|
|
|
3729
3697
|
|
|
3730
3698
|
partition_ttl?: string;
|
|
3731
3699
|
|
|
3700
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
3701
|
+
|
|
3732
3702
|
allowed_flag_reasons?: string[];
|
|
3733
3703
|
|
|
3734
3704
|
blocklists?: BlockListOptions[];
|
|
@@ -3737,57 +3707,95 @@ export interface ChannelTypeConfig {
|
|
|
3737
3707
|
}
|
|
3738
3708
|
|
|
3739
3709
|
export interface ChannelUnFrozenEvent {
|
|
3740
|
-
|
|
3710
|
+
created_at: Date;
|
|
3741
3711
|
|
|
3742
|
-
|
|
3712
|
+
custom: Record<string, any>;
|
|
3743
3713
|
|
|
3744
|
-
|
|
3714
|
+
type: string;
|
|
3745
3715
|
|
|
3746
|
-
|
|
3716
|
+
channel_id?: string;
|
|
3747
3717
|
|
|
3748
|
-
|
|
3718
|
+
channel_type?: string;
|
|
3719
|
+
|
|
3720
|
+
cid?: string;
|
|
3721
|
+
|
|
3722
|
+
received_at?: Date;
|
|
3749
3723
|
}
|
|
3750
3724
|
|
|
3751
3725
|
export interface ChannelUnmutedEvent {
|
|
3752
3726
|
created_at: Date;
|
|
3753
3727
|
|
|
3728
|
+
custom: Record<string, any>;
|
|
3729
|
+
|
|
3754
3730
|
type: string;
|
|
3755
|
-
}
|
|
3756
3731
|
|
|
3757
|
-
|
|
3758
|
-
channel_id: string;
|
|
3732
|
+
received_at?: Date;
|
|
3759
3733
|
|
|
3760
|
-
|
|
3734
|
+
mutes?: ChannelMute[];
|
|
3761
3735
|
|
|
3762
|
-
|
|
3736
|
+
mute?: ChannelMute;
|
|
3763
3737
|
|
|
3764
|
-
|
|
3738
|
+
user?: UserResponseCommonFields;
|
|
3739
|
+
}
|
|
3765
3740
|
|
|
3741
|
+
export interface ChannelUpdatedEvent {
|
|
3766
3742
|
created_at: Date;
|
|
3767
3743
|
|
|
3744
|
+
channel: ChannelResponse;
|
|
3745
|
+
|
|
3746
|
+
custom: Record<string, any>;
|
|
3747
|
+
|
|
3768
3748
|
type: string;
|
|
3769
3749
|
|
|
3750
|
+
channel_id?: string;
|
|
3751
|
+
|
|
3752
|
+
channel_member_count?: number;
|
|
3753
|
+
|
|
3754
|
+
channel_message_count?: number;
|
|
3755
|
+
|
|
3756
|
+
channel_type?: string;
|
|
3757
|
+
|
|
3758
|
+
cid?: string;
|
|
3759
|
+
|
|
3760
|
+
message_id?: string;
|
|
3761
|
+
|
|
3762
|
+
received_at?: Date;
|
|
3763
|
+
|
|
3770
3764
|
team?: string;
|
|
3771
3765
|
|
|
3772
|
-
|
|
3766
|
+
channel_custom?: Record<string, any>;
|
|
3773
3767
|
|
|
3774
|
-
message?:
|
|
3768
|
+
message?: MessageResponse;
|
|
3775
3769
|
|
|
3776
|
-
user?:
|
|
3770
|
+
user?: UserResponseCommonFields;
|
|
3777
3771
|
}
|
|
3778
3772
|
|
|
3779
3773
|
export interface ChannelVisibleEvent {
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
channel_type: string;
|
|
3774
|
+
created_at: Date;
|
|
3783
3775
|
|
|
3784
|
-
|
|
3776
|
+
channel: ChannelResponse;
|
|
3785
3777
|
|
|
3786
|
-
|
|
3778
|
+
custom: Record<string, any>;
|
|
3787
3779
|
|
|
3788
3780
|
type: string;
|
|
3789
3781
|
|
|
3790
|
-
|
|
3782
|
+
channel_id?: string;
|
|
3783
|
+
|
|
3784
|
+
channel_member_count?: number;
|
|
3785
|
+
|
|
3786
|
+
channel_message_count?: number;
|
|
3787
|
+
|
|
3788
|
+
channel_type?: string;
|
|
3789
|
+
|
|
3790
|
+
cid?: string;
|
|
3791
|
+
|
|
3792
|
+
received_at?: Date;
|
|
3793
|
+
|
|
3794
|
+
team?: string;
|
|
3795
|
+
|
|
3796
|
+
channel_custom?: Record<string, any>;
|
|
3797
|
+
|
|
3798
|
+
user?: UserResponseCommonFields;
|
|
3791
3799
|
}
|
|
3792
3800
|
|
|
3793
3801
|
export interface ChatActivityStatsResponse {
|
|
@@ -3818,7 +3826,7 @@ export interface CheckPushRequest {
|
|
|
3818
3826
|
|
|
3819
3827
|
push_provider_name?: string;
|
|
3820
3828
|
|
|
3821
|
-
push_provider_type?:
|
|
3829
|
+
push_provider_type?: string;
|
|
3822
3830
|
|
|
3823
3831
|
skip_devices?: boolean;
|
|
3824
3832
|
|
|
@@ -3892,7 +3900,7 @@ export interface CheckSNSRequest {
|
|
|
3892
3900
|
export interface CheckSNSResponse {
|
|
3893
3901
|
duration: string;
|
|
3894
3902
|
|
|
3895
|
-
status:
|
|
3903
|
+
status: string;
|
|
3896
3904
|
|
|
3897
3905
|
error?: string;
|
|
3898
3906
|
|
|
@@ -3910,7 +3918,7 @@ export interface CheckSQSRequest {
|
|
|
3910
3918
|
export interface CheckSQSResponse {
|
|
3911
3919
|
duration: string;
|
|
3912
3920
|
|
|
3913
|
-
status:
|
|
3921
|
+
status: string;
|
|
3914
3922
|
|
|
3915
3923
|
error?: string;
|
|
3916
3924
|
|
|
@@ -4140,7 +4148,7 @@ export interface CommentResponse {
|
|
|
4140
4148
|
|
|
4141
4149
|
moderation?: ModerationV2Response;
|
|
4142
4150
|
|
|
4143
|
-
reaction_groups?: Record<string,
|
|
4151
|
+
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
4144
4152
|
}
|
|
4145
4153
|
|
|
4146
4154
|
export interface CommentUpdatedEvent {
|
|
@@ -4167,7 +4175,7 @@ export interface CompositeRecordingResponse {
|
|
|
4167
4175
|
status: string;
|
|
4168
4176
|
}
|
|
4169
4177
|
|
|
4170
|
-
export interface
|
|
4178
|
+
export interface ConfigOverridesRequest {
|
|
4171
4179
|
blocklist?: string;
|
|
4172
4180
|
|
|
4173
4181
|
blocklist_behavior?: 'flag' | 'block';
|
|
@@ -4237,7 +4245,7 @@ export interface ContentCountRuleParameters {
|
|
|
4237
4245
|
time_window?: string;
|
|
4238
4246
|
}
|
|
4239
4247
|
|
|
4240
|
-
export interface
|
|
4248
|
+
export interface CoordinatesResponse {
|
|
4241
4249
|
latitude: number;
|
|
4242
4250
|
|
|
4243
4251
|
longitude: number;
|
|
@@ -4282,7 +4290,7 @@ export interface CreateCallTypeRequest {
|
|
|
4282
4290
|
|
|
4283
4291
|
grants?: Record<string, string[]>;
|
|
4284
4292
|
|
|
4285
|
-
notification_settings?:
|
|
4293
|
+
notification_settings?: NotificationSettingsRequest;
|
|
4286
4294
|
|
|
4287
4295
|
settings?: CallSettingsRequest;
|
|
4288
4296
|
}
|
|
@@ -4298,7 +4306,7 @@ export interface CreateCallTypeResponse {
|
|
|
4298
4306
|
|
|
4299
4307
|
grants: Record<string, string[]>;
|
|
4300
4308
|
|
|
4301
|
-
notification_settings:
|
|
4309
|
+
notification_settings: NotificationSettingsResponse;
|
|
4302
4310
|
|
|
4303
4311
|
settings: CallSettingsResponse;
|
|
4304
4312
|
|
|
@@ -4328,7 +4336,7 @@ export interface CreateChannelTypeRequest {
|
|
|
4328
4336
|
|
|
4329
4337
|
mark_messages_pending?: boolean;
|
|
4330
4338
|
|
|
4331
|
-
message_retention?:
|
|
4339
|
+
message_retention?: string;
|
|
4332
4340
|
|
|
4333
4341
|
mutes?: boolean;
|
|
4334
4342
|
|
|
@@ -4338,6 +4346,8 @@ export interface CreateChannelTypeRequest {
|
|
|
4338
4346
|
|
|
4339
4347
|
polls?: boolean;
|
|
4340
4348
|
|
|
4349
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
4350
|
+
|
|
4341
4351
|
push_notifications?: boolean;
|
|
4342
4352
|
|
|
4343
4353
|
reactions?: boolean;
|
|
@@ -4438,6 +4448,8 @@ export interface CreateChannelTypeResponse {
|
|
|
4438
4448
|
|
|
4439
4449
|
partition_ttl?: string;
|
|
4440
4450
|
|
|
4451
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
4452
|
+
|
|
4441
4453
|
allowed_flag_reasons?: string[];
|
|
4442
4454
|
|
|
4443
4455
|
blocklists?: BlockListOptions[];
|
|
@@ -4720,7 +4732,7 @@ export interface CreateSIPTrunkResponse {
|
|
|
4720
4732
|
sip_trunk?: SIPTrunkResponse;
|
|
4721
4733
|
}
|
|
4722
4734
|
|
|
4723
|
-
export interface
|
|
4735
|
+
export interface CustomActionRequestPayload {
|
|
4724
4736
|
id?: string;
|
|
4725
4737
|
|
|
4726
4738
|
options?: Record<string, any>;
|
|
@@ -4747,7 +4759,7 @@ export interface CustomCheckRequest {
|
|
|
4747
4759
|
|
|
4748
4760
|
user_id?: string;
|
|
4749
4761
|
|
|
4750
|
-
moderation_payload?:
|
|
4762
|
+
moderation_payload?: ModerationPayloadRequest;
|
|
4751
4763
|
|
|
4752
4764
|
user?: UserRequest;
|
|
4753
4765
|
}
|
|
@@ -4762,6 +4774,16 @@ export interface CustomCheckResponse {
|
|
|
4762
4774
|
item?: ReviewQueueItemResponse;
|
|
4763
4775
|
}
|
|
4764
4776
|
|
|
4777
|
+
export interface CustomEvent {
|
|
4778
|
+
created_at: Date;
|
|
4779
|
+
|
|
4780
|
+
custom: Record<string, any>;
|
|
4781
|
+
|
|
4782
|
+
type: string;
|
|
4783
|
+
|
|
4784
|
+
received_at?: Date;
|
|
4785
|
+
}
|
|
4786
|
+
|
|
4765
4787
|
export interface CustomVideoEvent {
|
|
4766
4788
|
call_cid: string;
|
|
4767
4789
|
|
|
@@ -4902,7 +4924,7 @@ export interface DeleteActivityReactionResponse {
|
|
|
4902
4924
|
reaction: FeedsReactionResponse;
|
|
4903
4925
|
}
|
|
4904
4926
|
|
|
4905
|
-
export interface
|
|
4927
|
+
export interface DeleteActivityRequestPayload {
|
|
4906
4928
|
hard_delete?: boolean;
|
|
4907
4929
|
|
|
4908
4930
|
reason?: string;
|
|
@@ -4978,7 +5000,7 @@ export interface DeleteCommentReactionResponse {
|
|
|
4978
5000
|
reaction: FeedsReactionResponse;
|
|
4979
5001
|
}
|
|
4980
5002
|
|
|
4981
|
-
export interface
|
|
5003
|
+
export interface DeleteCommentRequestPayload {
|
|
4982
5004
|
hard_delete?: boolean;
|
|
4983
5005
|
|
|
4984
5006
|
reason?: string;
|
|
@@ -5036,7 +5058,7 @@ export interface DeleteImportV2TaskResponse {
|
|
|
5036
5058
|
duration: string;
|
|
5037
5059
|
}
|
|
5038
5060
|
|
|
5039
|
-
export interface
|
|
5061
|
+
export interface DeleteMessageRequestPayload {
|
|
5040
5062
|
hard_delete?: boolean;
|
|
5041
5063
|
|
|
5042
5064
|
reason?: string;
|
|
@@ -5060,7 +5082,7 @@ export interface DeleteModerationTemplateResponse {
|
|
|
5060
5082
|
duration: string;
|
|
5061
5083
|
}
|
|
5062
5084
|
|
|
5063
|
-
export interface
|
|
5085
|
+
export interface DeleteReactionRequestPayload {
|
|
5064
5086
|
hard_delete?: boolean;
|
|
5065
5087
|
|
|
5066
5088
|
reason?: string;
|
|
@@ -5098,7 +5120,7 @@ export interface DeleteTranscriptionResponse {
|
|
|
5098
5120
|
duration: string;
|
|
5099
5121
|
}
|
|
5100
5122
|
|
|
5101
|
-
export interface
|
|
5123
|
+
export interface DeleteUserRequestPayload {
|
|
5102
5124
|
delete_conversation_channels?: boolean;
|
|
5103
5125
|
|
|
5104
5126
|
delete_feeds_content?: boolean;
|
|
@@ -5140,56 +5162,10 @@ export interface DeliveredMessagePayload {
|
|
|
5140
5162
|
id?: string;
|
|
5141
5163
|
}
|
|
5142
5164
|
|
|
5143
|
-
export interface DeliveryReceipts {
|
|
5144
|
-
enabled?: boolean;
|
|
5145
|
-
}
|
|
5146
|
-
|
|
5147
5165
|
export interface DeliveryReceiptsResponse {
|
|
5148
5166
|
enabled?: boolean;
|
|
5149
5167
|
}
|
|
5150
5168
|
|
|
5151
|
-
export interface DenormalizedChannelFields {
|
|
5152
|
-
created_at?: string;
|
|
5153
|
-
|
|
5154
|
-
created_by_id?: string;
|
|
5155
|
-
|
|
5156
|
-
disabled?: boolean;
|
|
5157
|
-
|
|
5158
|
-
frozen?: boolean;
|
|
5159
|
-
|
|
5160
|
-
id?: string;
|
|
5161
|
-
|
|
5162
|
-
last_message_at?: string;
|
|
5163
|
-
|
|
5164
|
-
member_count?: number;
|
|
5165
|
-
|
|
5166
|
-
team?: string;
|
|
5167
|
-
|
|
5168
|
-
type?: string;
|
|
5169
|
-
|
|
5170
|
-
updated_at?: string;
|
|
5171
|
-
|
|
5172
|
-
custom?: Record<string, any>;
|
|
5173
|
-
}
|
|
5174
|
-
|
|
5175
|
-
export interface Device {
|
|
5176
|
-
created_at: Date;
|
|
5177
|
-
|
|
5178
|
-
id: string;
|
|
5179
|
-
|
|
5180
|
-
push_provider: 'firebase' | 'apn' | 'huawei' | 'xiaomi';
|
|
5181
|
-
|
|
5182
|
-
user_id: string;
|
|
5183
|
-
|
|
5184
|
-
disabled?: boolean;
|
|
5185
|
-
|
|
5186
|
-
disabled_reason?: string;
|
|
5187
|
-
|
|
5188
|
-
push_provider_name?: string;
|
|
5189
|
-
|
|
5190
|
-
voip?: boolean;
|
|
5191
|
-
}
|
|
5192
|
-
|
|
5193
5169
|
export interface DeviceDataResponse {
|
|
5194
5170
|
name?: string;
|
|
5195
5171
|
|
|
@@ -5556,6 +5532,22 @@ export interface EventNotificationSettings {
|
|
|
5556
5532
|
fcm: FCM;
|
|
5557
5533
|
}
|
|
5558
5534
|
|
|
5535
|
+
export interface EventNotificationSettingsRequest {
|
|
5536
|
+
enabled?: boolean;
|
|
5537
|
+
|
|
5538
|
+
apns?: APNSPayload;
|
|
5539
|
+
|
|
5540
|
+
fcm?: FCMPayload;
|
|
5541
|
+
}
|
|
5542
|
+
|
|
5543
|
+
export interface EventNotificationSettingsResponse {
|
|
5544
|
+
enabled: boolean;
|
|
5545
|
+
|
|
5546
|
+
apns: APNSPayload;
|
|
5547
|
+
|
|
5548
|
+
fcm: FCMPayload;
|
|
5549
|
+
}
|
|
5550
|
+
|
|
5559
5551
|
export interface EventRequest {
|
|
5560
5552
|
type: string;
|
|
5561
5553
|
|
|
@@ -5636,6 +5628,10 @@ export interface FCM {
|
|
|
5636
5628
|
data?: Record<string, any>;
|
|
5637
5629
|
}
|
|
5638
5630
|
|
|
5631
|
+
export interface FCMPayload {
|
|
5632
|
+
data?: Record<string, any>;
|
|
5633
|
+
}
|
|
5634
|
+
|
|
5639
5635
|
export interface FailedChannelUpdates {
|
|
5640
5636
|
reason: string;
|
|
5641
5637
|
|
|
@@ -6072,10 +6068,10 @@ export interface FeedVisibilityResponse {
|
|
|
6072
6068
|
grants: Record<string, string[]>;
|
|
6073
6069
|
}
|
|
6074
6070
|
|
|
6075
|
-
export interface
|
|
6076
|
-
config_key: string;
|
|
6077
|
-
|
|
6071
|
+
export interface FeedsModerationTemplateConfigPayload {
|
|
6078
6072
|
data_types: Record<string, string>;
|
|
6073
|
+
|
|
6074
|
+
config_key?: string;
|
|
6079
6075
|
}
|
|
6080
6076
|
|
|
6081
6077
|
export interface FeedsPreferences {
|
|
@@ -6099,6 +6095,8 @@ export interface FeedsPreferencesResponse {
|
|
|
6099
6095
|
|
|
6100
6096
|
comment_reaction?: string;
|
|
6101
6097
|
|
|
6098
|
+
comment_reply?: string;
|
|
6099
|
+
|
|
6102
6100
|
follow?: string;
|
|
6103
6101
|
|
|
6104
6102
|
mention?: string;
|
|
@@ -6108,8 +6106,16 @@ export interface FeedsPreferencesResponse {
|
|
|
6108
6106
|
custom_activity_types?: Record<string, string>;
|
|
6109
6107
|
}
|
|
6110
6108
|
|
|
6111
|
-
export interface
|
|
6112
|
-
|
|
6109
|
+
export interface FeedsReactionGroupResponse {
|
|
6110
|
+
count: number;
|
|
6111
|
+
|
|
6112
|
+
first_reaction_at: Date;
|
|
6113
|
+
|
|
6114
|
+
last_reaction_at: Date;
|
|
6115
|
+
}
|
|
6116
|
+
|
|
6117
|
+
export interface FeedsReactionResponse {
|
|
6118
|
+
activity_id: string;
|
|
6113
6119
|
|
|
6114
6120
|
created_at: Date;
|
|
6115
6121
|
|
|
@@ -6192,57 +6198,27 @@ export interface FirebaseConfigFields {
|
|
|
6192
6198
|
server_key?: string;
|
|
6193
6199
|
}
|
|
6194
6200
|
|
|
6195
|
-
export interface Flag {
|
|
6196
|
-
created_at: Date;
|
|
6197
|
-
|
|
6198
|
-
created_by_automod: boolean;
|
|
6199
|
-
|
|
6200
|
-
updated_at: Date;
|
|
6201
|
-
|
|
6202
|
-
approved_at?: Date;
|
|
6203
|
-
|
|
6204
|
-
reason?: string;
|
|
6205
|
-
|
|
6206
|
-
rejected_at?: Date;
|
|
6207
|
-
|
|
6208
|
-
reviewed_at?: Date;
|
|
6209
|
-
|
|
6210
|
-
reviewed_by?: string;
|
|
6211
|
-
|
|
6212
|
-
target_message_id?: string;
|
|
6213
|
-
|
|
6214
|
-
custom?: Record<string, any>;
|
|
6215
|
-
|
|
6216
|
-
details?: FlagDetails;
|
|
6217
|
-
|
|
6218
|
-
target_message?: Message;
|
|
6219
|
-
|
|
6220
|
-
target_user?: User;
|
|
6221
|
-
|
|
6222
|
-
user?: User;
|
|
6223
|
-
}
|
|
6224
|
-
|
|
6225
6201
|
export interface FlagCountRuleParameters {
|
|
6226
6202
|
threshold?: number;
|
|
6227
6203
|
}
|
|
6228
6204
|
|
|
6229
|
-
export interface
|
|
6205
|
+
export interface FlagDetailsResponse {
|
|
6230
6206
|
original_text: string;
|
|
6231
6207
|
|
|
6232
|
-
|
|
6208
|
+
automod?: AutomodDetailsResponse;
|
|
6233
6209
|
|
|
6234
|
-
|
|
6210
|
+
extra?: Record<string, any>;
|
|
6235
6211
|
}
|
|
6236
6212
|
|
|
6237
|
-
export interface
|
|
6213
|
+
export interface FlagFeedbackResponse {
|
|
6238
6214
|
created_at: Date;
|
|
6239
6215
|
|
|
6240
6216
|
message_id: string;
|
|
6241
6217
|
|
|
6242
|
-
labels:
|
|
6218
|
+
labels: LabelResponse[];
|
|
6243
6219
|
}
|
|
6244
6220
|
|
|
6245
|
-
export interface
|
|
6221
|
+
export interface FlagMessageDetailsResponse {
|
|
6246
6222
|
pin_changed?: boolean;
|
|
6247
6223
|
|
|
6248
6224
|
should_enrich?: boolean;
|
|
@@ -6351,6 +6327,8 @@ export interface FollowRequest {
|
|
|
6351
6327
|
|
|
6352
6328
|
target: string;
|
|
6353
6329
|
|
|
6330
|
+
copy_custom_to_notification?: boolean;
|
|
6331
|
+
|
|
6354
6332
|
create_notification_activity?: boolean;
|
|
6355
6333
|
|
|
6356
6334
|
push_preference?: 'all' | 'none';
|
|
@@ -6428,6 +6406,14 @@ export interface FrameRecordingSettingsResponse {
|
|
|
6428
6406
|
quality?: string;
|
|
6429
6407
|
}
|
|
6430
6408
|
|
|
6409
|
+
export interface FriendReactionsOptions {
|
|
6410
|
+
enabled?: boolean;
|
|
6411
|
+
|
|
6412
|
+
limit?: number;
|
|
6413
|
+
|
|
6414
|
+
type?: 'following' | 'mutual';
|
|
6415
|
+
}
|
|
6416
|
+
|
|
6431
6417
|
export interface FullUserResponse {
|
|
6432
6418
|
banned: boolean;
|
|
6433
6419
|
|
|
@@ -6568,6 +6554,26 @@ export interface GetBlockedUsersResponse {
|
|
|
6568
6554
|
blocks: BlockedUserResponse[];
|
|
6569
6555
|
}
|
|
6570
6556
|
|
|
6557
|
+
export interface GetCallParticipantSessionMetricsResponse {
|
|
6558
|
+
duration: string;
|
|
6559
|
+
|
|
6560
|
+
is_publisher?: boolean;
|
|
6561
|
+
|
|
6562
|
+
is_subscriber?: boolean;
|
|
6563
|
+
|
|
6564
|
+
joined_at?: Date;
|
|
6565
|
+
|
|
6566
|
+
publisher_type?: string;
|
|
6567
|
+
|
|
6568
|
+
user_id?: string;
|
|
6569
|
+
|
|
6570
|
+
user_session_id?: string;
|
|
6571
|
+
|
|
6572
|
+
published_tracks?: PublishedTrackMetrics[];
|
|
6573
|
+
|
|
6574
|
+
client?: SessionClient;
|
|
6575
|
+
}
|
|
6576
|
+
|
|
6571
6577
|
export interface GetCallReportResponse {
|
|
6572
6578
|
duration: string;
|
|
6573
6579
|
|
|
@@ -6625,7 +6631,7 @@ export interface GetCallTypeResponse {
|
|
|
6625
6631
|
|
|
6626
6632
|
grants: Record<string, string[]>;
|
|
6627
6633
|
|
|
6628
|
-
notification_settings:
|
|
6634
|
+
notification_settings: NotificationSettingsResponse;
|
|
6629
6635
|
|
|
6630
6636
|
settings: CallSettingsResponse;
|
|
6631
6637
|
|
|
@@ -6709,6 +6715,8 @@ export interface GetChannelTypeResponse {
|
|
|
6709
6715
|
|
|
6710
6716
|
partition_ttl?: string;
|
|
6711
6717
|
|
|
6718
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
6719
|
+
|
|
6712
6720
|
allowed_flag_reasons?: string[];
|
|
6713
6721
|
|
|
6714
6722
|
blocklists?: BlockListOptions[];
|
|
@@ -6803,13 +6811,13 @@ export interface GetFeedVisibilityResponse {
|
|
|
6803
6811
|
export interface GetFeedsRateLimitsResponse {
|
|
6804
6812
|
duration: string;
|
|
6805
6813
|
|
|
6806
|
-
android?: Record<string,
|
|
6814
|
+
android?: Record<string, LimitInfoResponse>;
|
|
6807
6815
|
|
|
6808
|
-
ios?: Record<string,
|
|
6816
|
+
ios?: Record<string, LimitInfoResponse>;
|
|
6809
6817
|
|
|
6810
|
-
server_side?: Record<string,
|
|
6818
|
+
server_side?: Record<string, LimitInfoResponse>;
|
|
6811
6819
|
|
|
6812
|
-
web?: Record<string,
|
|
6820
|
+
web?: Record<string, LimitInfoResponse>;
|
|
6813
6821
|
}
|
|
6814
6822
|
|
|
6815
6823
|
export interface GetFollowSuggestionsResponse {
|
|
@@ -6996,6 +7004,8 @@ export interface GetOrCreateFeedRequest {
|
|
|
6996
7004
|
|
|
6997
7005
|
following_pagination?: PagerRequest;
|
|
6998
7006
|
|
|
7007
|
+
friend_reactions_options?: FriendReactionsOptions;
|
|
7008
|
+
|
|
6999
7009
|
interest_weights?: Record<string, number>;
|
|
7000
7010
|
|
|
7001
7011
|
member_pagination?: PagerRequest;
|
|
@@ -7054,19 +7064,19 @@ export interface GetOrCreateFeedViewResponse {
|
|
|
7054
7064
|
export interface GetPushTemplatesResponse {
|
|
7055
7065
|
duration: string;
|
|
7056
7066
|
|
|
7057
|
-
templates:
|
|
7067
|
+
templates: PushTemplateResponse[];
|
|
7058
7068
|
}
|
|
7059
7069
|
|
|
7060
7070
|
export interface GetRateLimitsResponse {
|
|
7061
7071
|
duration: string;
|
|
7062
7072
|
|
|
7063
|
-
android?: Record<string,
|
|
7073
|
+
android?: Record<string, LimitInfoResponse>;
|
|
7064
7074
|
|
|
7065
|
-
ios?: Record<string,
|
|
7075
|
+
ios?: Record<string, LimitInfoResponse>;
|
|
7066
7076
|
|
|
7067
|
-
server_side?: Record<string,
|
|
7077
|
+
server_side?: Record<string, LimitInfoResponse>;
|
|
7068
7078
|
|
|
7069
|
-
web?: Record<string,
|
|
7079
|
+
web?: Record<string, LimitInfoResponse>;
|
|
7070
7080
|
}
|
|
7071
7081
|
|
|
7072
7082
|
export interface GetReactionsResponse {
|
|
@@ -7246,11 +7256,11 @@ export interface ImageRuleParameters {
|
|
|
7246
7256
|
}
|
|
7247
7257
|
|
|
7248
7258
|
export interface ImageSize {
|
|
7249
|
-
crop?:
|
|
7259
|
+
crop?: string;
|
|
7250
7260
|
|
|
7251
7261
|
height?: number;
|
|
7252
7262
|
|
|
7253
|
-
resize?:
|
|
7263
|
+
resize?: string;
|
|
7254
7264
|
|
|
7255
7265
|
width?: number;
|
|
7256
7266
|
}
|
|
@@ -7332,6 +7342,10 @@ export interface ImportV2TaskItem {
|
|
|
7332
7342
|
}
|
|
7333
7343
|
|
|
7334
7344
|
export interface ImportV2TaskSettings {
|
|
7345
|
+
mode?: string;
|
|
7346
|
+
|
|
7347
|
+
path?: string;
|
|
7348
|
+
|
|
7335
7349
|
skip_references_check?: boolean;
|
|
7336
7350
|
|
|
7337
7351
|
s3?: ImportV2TaskSettingsS3;
|
|
@@ -7598,7 +7612,7 @@ export interface LLMRule {
|
|
|
7598
7612
|
severity_rules?: BodyguardSeverityRule[];
|
|
7599
7613
|
}
|
|
7600
7614
|
|
|
7601
|
-
export interface
|
|
7615
|
+
export interface LabelResponse {
|
|
7602
7616
|
name: string;
|
|
7603
7617
|
|
|
7604
7618
|
harm_labels?: string[];
|
|
@@ -7648,7 +7662,7 @@ export interface LayoutSettingsResponse {
|
|
|
7648
7662
|
options?: Record<string, any>;
|
|
7649
7663
|
}
|
|
7650
7664
|
|
|
7651
|
-
export interface
|
|
7665
|
+
export interface LimitInfoResponse {
|
|
7652
7666
|
limit: number;
|
|
7653
7667
|
|
|
7654
7668
|
remaining: number;
|
|
@@ -7798,7 +7812,7 @@ export interface ListTranscriptionsResponse {
|
|
|
7798
7812
|
transcriptions: CallTranscription[];
|
|
7799
7813
|
}
|
|
7800
7814
|
|
|
7801
|
-
export interface
|
|
7815
|
+
export interface LocationResponse {
|
|
7802
7816
|
continent_code: string;
|
|
7803
7817
|
|
|
7804
7818
|
country_iso_code: string;
|
|
@@ -7854,7 +7868,7 @@ export interface MarkReadResponse {
|
|
|
7854
7868
|
event?: MessageReadEvent;
|
|
7855
7869
|
}
|
|
7856
7870
|
|
|
7857
|
-
export interface
|
|
7871
|
+
export interface MarkReviewedRequestPayload {
|
|
7858
7872
|
content_to_mark_as_reviewed_limit?: number;
|
|
7859
7873
|
|
|
7860
7874
|
decision_reason?: string;
|
|
@@ -7874,38 +7888,74 @@ export interface MarkUnreadRequest {
|
|
|
7874
7888
|
user?: UserRequest;
|
|
7875
7889
|
}
|
|
7876
7890
|
|
|
7877
|
-
export interface
|
|
7878
|
-
|
|
7891
|
+
export interface MaxStreakChangedEvent {
|
|
7892
|
+
created_at: Date;
|
|
7879
7893
|
|
|
7880
|
-
|
|
7894
|
+
custom: Record<string, any>;
|
|
7881
7895
|
|
|
7882
|
-
|
|
7896
|
+
type: string;
|
|
7897
|
+
|
|
7898
|
+
received_at?: Date;
|
|
7899
|
+
}
|
|
7883
7900
|
|
|
7901
|
+
export interface MemberAddedEvent {
|
|
7884
7902
|
created_at: Date;
|
|
7885
7903
|
|
|
7904
|
+
channel: ChannelResponse;
|
|
7905
|
+
|
|
7906
|
+
custom: Record<string, any>;
|
|
7907
|
+
|
|
7908
|
+
member: ChannelMemberResponse;
|
|
7909
|
+
|
|
7886
7910
|
type: string;
|
|
7887
7911
|
|
|
7912
|
+
channel_id?: string;
|
|
7913
|
+
|
|
7914
|
+
channel_member_count?: number;
|
|
7915
|
+
|
|
7916
|
+
channel_message_count?: number;
|
|
7917
|
+
|
|
7918
|
+
channel_type?: string;
|
|
7919
|
+
|
|
7920
|
+
cid?: string;
|
|
7921
|
+
|
|
7922
|
+
received_at?: Date;
|
|
7923
|
+
|
|
7888
7924
|
team?: string;
|
|
7889
7925
|
|
|
7890
|
-
|
|
7926
|
+
channel_custom?: Record<string, any>;
|
|
7891
7927
|
|
|
7892
|
-
user?:
|
|
7928
|
+
user?: UserResponseCommonFields;
|
|
7893
7929
|
}
|
|
7894
7930
|
|
|
7895
7931
|
export interface MemberRemovedEvent {
|
|
7896
|
-
|
|
7932
|
+
created_at: Date;
|
|
7897
7933
|
|
|
7898
|
-
|
|
7934
|
+
channel: ChannelResponse;
|
|
7899
7935
|
|
|
7900
|
-
|
|
7936
|
+
custom: Record<string, any>;
|
|
7901
7937
|
|
|
7902
|
-
|
|
7938
|
+
member: ChannelMemberResponse;
|
|
7903
7939
|
|
|
7904
7940
|
type: string;
|
|
7905
7941
|
|
|
7906
|
-
|
|
7942
|
+
channel_id?: string;
|
|
7907
7943
|
|
|
7908
|
-
|
|
7944
|
+
channel_member_count?: number;
|
|
7945
|
+
|
|
7946
|
+
channel_message_count?: number;
|
|
7947
|
+
|
|
7948
|
+
channel_type?: string;
|
|
7949
|
+
|
|
7950
|
+
cid?: string;
|
|
7951
|
+
|
|
7952
|
+
received_at?: Date;
|
|
7953
|
+
|
|
7954
|
+
team?: string;
|
|
7955
|
+
|
|
7956
|
+
channel_custom?: Record<string, any>;
|
|
7957
|
+
|
|
7958
|
+
user?: UserResponseCommonFields;
|
|
7909
7959
|
}
|
|
7910
7960
|
|
|
7911
7961
|
export interface MemberRequest {
|
|
@@ -7933,21 +7983,33 @@ export interface MemberResponse {
|
|
|
7933
7983
|
}
|
|
7934
7984
|
|
|
7935
7985
|
export interface MemberUpdatedEvent {
|
|
7936
|
-
|
|
7986
|
+
created_at: Date;
|
|
7937
7987
|
|
|
7938
|
-
|
|
7988
|
+
channel: ChannelResponse;
|
|
7939
7989
|
|
|
7940
|
-
|
|
7990
|
+
custom: Record<string, any>;
|
|
7941
7991
|
|
|
7942
|
-
|
|
7992
|
+
member: ChannelMemberResponse;
|
|
7943
7993
|
|
|
7944
7994
|
type: string;
|
|
7945
7995
|
|
|
7996
|
+
channel_id?: string;
|
|
7997
|
+
|
|
7998
|
+
channel_member_count?: number;
|
|
7999
|
+
|
|
8000
|
+
channel_message_count?: number;
|
|
8001
|
+
|
|
8002
|
+
channel_type?: string;
|
|
8003
|
+
|
|
8004
|
+
cid?: string;
|
|
8005
|
+
|
|
8006
|
+
received_at?: Date;
|
|
8007
|
+
|
|
7946
8008
|
team?: string;
|
|
7947
8009
|
|
|
7948
|
-
|
|
8010
|
+
channel_custom?: Record<string, any>;
|
|
7949
8011
|
|
|
7950
|
-
user?:
|
|
8012
|
+
user?: UserResponseCommonFields;
|
|
7951
8013
|
}
|
|
7952
8014
|
|
|
7953
8015
|
export interface MembersResponse {
|
|
@@ -7974,96 +8036,6 @@ export interface MembershipLevelResponse {
|
|
|
7974
8036
|
custom?: Record<string, any>;
|
|
7975
8037
|
}
|
|
7976
8038
|
|
|
7977
|
-
export interface Message {
|
|
7978
|
-
cid: string;
|
|
7979
|
-
|
|
7980
|
-
created_at: Date;
|
|
7981
|
-
|
|
7982
|
-
deleted_reply_count: number;
|
|
7983
|
-
|
|
7984
|
-
html: string;
|
|
7985
|
-
|
|
7986
|
-
id: string;
|
|
7987
|
-
|
|
7988
|
-
pinned: boolean;
|
|
7989
|
-
|
|
7990
|
-
reply_count: number;
|
|
7991
|
-
|
|
7992
|
-
shadowed: boolean;
|
|
7993
|
-
|
|
7994
|
-
silent: boolean;
|
|
7995
|
-
|
|
7996
|
-
text: string;
|
|
7997
|
-
|
|
7998
|
-
type: string;
|
|
7999
|
-
|
|
8000
|
-
updated_at: Date;
|
|
8001
|
-
|
|
8002
|
-
attachments: Attachment[];
|
|
8003
|
-
|
|
8004
|
-
latest_reactions: Reaction[];
|
|
8005
|
-
|
|
8006
|
-
mentioned_users: User[];
|
|
8007
|
-
|
|
8008
|
-
own_reactions: Reaction[];
|
|
8009
|
-
|
|
8010
|
-
restricted_visibility: string[];
|
|
8011
|
-
|
|
8012
|
-
custom: Record<string, any>;
|
|
8013
|
-
|
|
8014
|
-
reaction_counts: Record<string, number>;
|
|
8015
|
-
|
|
8016
|
-
reaction_groups: Record<string, ReactionGroupResponse>;
|
|
8017
|
-
|
|
8018
|
-
reaction_scores: Record<string, number>;
|
|
8019
|
-
|
|
8020
|
-
before_message_send_failed?: boolean;
|
|
8021
|
-
|
|
8022
|
-
command?: string;
|
|
8023
|
-
|
|
8024
|
-
deleted_at?: Date;
|
|
8025
|
-
|
|
8026
|
-
deleted_for_me?: boolean;
|
|
8027
|
-
|
|
8028
|
-
message_text_updated_at?: Date;
|
|
8029
|
-
|
|
8030
|
-
mml?: string;
|
|
8031
|
-
|
|
8032
|
-
parent_id?: string;
|
|
8033
|
-
|
|
8034
|
-
pin_expires?: Date;
|
|
8035
|
-
|
|
8036
|
-
pinned_at?: Date;
|
|
8037
|
-
|
|
8038
|
-
poll_id?: string;
|
|
8039
|
-
|
|
8040
|
-
quoted_message_id?: string;
|
|
8041
|
-
|
|
8042
|
-
show_in_channel?: boolean;
|
|
8043
|
-
|
|
8044
|
-
thread_participants?: User[];
|
|
8045
|
-
|
|
8046
|
-
i18n?: Record<string, string>;
|
|
8047
|
-
|
|
8048
|
-
image_labels?: Record<string, string[]>;
|
|
8049
|
-
|
|
8050
|
-
member?: ChannelMember;
|
|
8051
|
-
|
|
8052
|
-
moderation?: ModerationV2Response;
|
|
8053
|
-
|
|
8054
|
-
pinned_by?: User;
|
|
8055
|
-
|
|
8056
|
-
poll?: Poll;
|
|
8057
|
-
|
|
8058
|
-
quoted_message?: Message;
|
|
8059
|
-
|
|
8060
|
-
reminder?: MessageReminder;
|
|
8061
|
-
|
|
8062
|
-
shared_location?: SharedLocation;
|
|
8063
|
-
|
|
8064
|
-
user?: User;
|
|
8065
|
-
}
|
|
8066
|
-
|
|
8067
8039
|
export interface MessageActionRequest {
|
|
8068
8040
|
form_data: Record<string, string>;
|
|
8069
8041
|
|
|
@@ -8072,6 +8044,12 @@ export interface MessageActionRequest {
|
|
|
8072
8044
|
user?: UserRequest;
|
|
8073
8045
|
}
|
|
8074
8046
|
|
|
8047
|
+
export interface MessageActionResponse {
|
|
8048
|
+
duration: string;
|
|
8049
|
+
|
|
8050
|
+
message?: MessageResponse;
|
|
8051
|
+
}
|
|
8052
|
+
|
|
8075
8053
|
export interface MessageChangeSet {
|
|
8076
8054
|
attachments: boolean;
|
|
8077
8055
|
|
|
@@ -8093,27 +8071,37 @@ export interface MessageChangeSet {
|
|
|
8093
8071
|
}
|
|
8094
8072
|
|
|
8095
8073
|
export interface MessageDeletedEvent {
|
|
8096
|
-
|
|
8074
|
+
created_at: Date;
|
|
8097
8075
|
|
|
8098
|
-
|
|
8076
|
+
hard_delete: boolean;
|
|
8099
8077
|
|
|
8100
|
-
|
|
8078
|
+
message_id: string;
|
|
8101
8079
|
|
|
8102
|
-
|
|
8080
|
+
custom: Record<string, any>;
|
|
8103
8081
|
|
|
8104
|
-
|
|
8082
|
+
message: MessageResponse;
|
|
8105
8083
|
|
|
8106
8084
|
type: string;
|
|
8107
8085
|
|
|
8086
|
+
channel_id?: string;
|
|
8087
|
+
|
|
8088
|
+
channel_member_count?: number;
|
|
8089
|
+
|
|
8090
|
+
channel_message_count?: number;
|
|
8091
|
+
|
|
8092
|
+
channel_type?: string;
|
|
8093
|
+
|
|
8094
|
+
cid?: string;
|
|
8095
|
+
|
|
8108
8096
|
deleted_for_me?: boolean;
|
|
8109
8097
|
|
|
8110
|
-
|
|
8098
|
+
received_at?: Date;
|
|
8111
8099
|
|
|
8112
|
-
|
|
8100
|
+
team?: string;
|
|
8113
8101
|
|
|
8114
|
-
|
|
8102
|
+
channel_custom?: Record<string, any>;
|
|
8115
8103
|
|
|
8116
|
-
user?:
|
|
8104
|
+
user?: UserResponseCommonFields;
|
|
8117
8105
|
}
|
|
8118
8106
|
|
|
8119
8107
|
export interface MessageFlagResponse {
|
|
@@ -8133,11 +8121,11 @@ export interface MessageFlagResponse {
|
|
|
8133
8121
|
|
|
8134
8122
|
custom?: Record<string, any>;
|
|
8135
8123
|
|
|
8136
|
-
details?:
|
|
8124
|
+
details?: FlagDetailsResponse;
|
|
8137
8125
|
|
|
8138
|
-
message?:
|
|
8126
|
+
message?: MessageResponse;
|
|
8139
8127
|
|
|
8140
|
-
moderation_feedback?:
|
|
8128
|
+
moderation_feedback?: FlagFeedbackResponse;
|
|
8141
8129
|
|
|
8142
8130
|
moderation_result?: MessageModerationResult;
|
|
8143
8131
|
|
|
@@ -8147,20 +8135,42 @@ export interface MessageFlagResponse {
|
|
|
8147
8135
|
}
|
|
8148
8136
|
|
|
8149
8137
|
export interface MessageFlaggedEvent {
|
|
8150
|
-
cid: string;
|
|
8151
|
-
|
|
8152
8138
|
created_at: Date;
|
|
8153
8139
|
|
|
8154
|
-
|
|
8140
|
+
message_id: string;
|
|
8155
8141
|
|
|
8156
|
-
|
|
8142
|
+
message: MessageResponse;
|
|
8157
8143
|
|
|
8158
|
-
|
|
8144
|
+
type: string;
|
|
8159
8145
|
|
|
8160
|
-
|
|
8146
|
+
channel_id?: string;
|
|
8161
8147
|
|
|
8162
|
-
|
|
8163
|
-
|
|
8148
|
+
channel_member_count?: number;
|
|
8149
|
+
|
|
8150
|
+
channel_message_count?: number;
|
|
8151
|
+
|
|
8152
|
+
channel_type?: string;
|
|
8153
|
+
|
|
8154
|
+
cid?: string;
|
|
8155
|
+
|
|
8156
|
+
reason?: string;
|
|
8157
|
+
|
|
8158
|
+
received_at?: Date;
|
|
8159
|
+
|
|
8160
|
+
team?: string;
|
|
8161
|
+
|
|
8162
|
+
total_flags?: number;
|
|
8163
|
+
|
|
8164
|
+
channel_custom?: Record<string, any>;
|
|
8165
|
+
|
|
8166
|
+
custom?: Record<string, any>;
|
|
8167
|
+
|
|
8168
|
+
details?: MessageModerationResult;
|
|
8169
|
+
|
|
8170
|
+
flag?: FlagResponse;
|
|
8171
|
+
|
|
8172
|
+
user?: UserResponseCommonFields;
|
|
8173
|
+
}
|
|
8164
8174
|
|
|
8165
8175
|
export interface MessageHistoryEntryResponse {
|
|
8166
8176
|
is_deleted: boolean;
|
|
@@ -8203,25 +8213,47 @@ export interface MessageModerationResult {
|
|
|
8203
8213
|
}
|
|
8204
8214
|
|
|
8205
8215
|
export interface MessageNewEvent {
|
|
8206
|
-
|
|
8216
|
+
created_at: Date;
|
|
8207
8217
|
|
|
8208
|
-
|
|
8218
|
+
message_id: string;
|
|
8209
8219
|
|
|
8210
|
-
|
|
8220
|
+
watcher_count: number;
|
|
8211
8221
|
|
|
8212
|
-
|
|
8222
|
+
custom: Record<string, any>;
|
|
8213
8223
|
|
|
8214
|
-
|
|
8224
|
+
message: MessageResponse;
|
|
8215
8225
|
|
|
8216
8226
|
type: string;
|
|
8217
8227
|
|
|
8228
|
+
channel_id?: string;
|
|
8229
|
+
|
|
8230
|
+
channel_member_count?: number;
|
|
8231
|
+
|
|
8232
|
+
channel_message_count?: number;
|
|
8233
|
+
|
|
8234
|
+
channel_type?: string;
|
|
8235
|
+
|
|
8236
|
+
cid?: string;
|
|
8237
|
+
|
|
8238
|
+
parent_author?: string;
|
|
8239
|
+
|
|
8240
|
+
received_at?: Date;
|
|
8241
|
+
|
|
8218
8242
|
team?: string;
|
|
8219
8243
|
|
|
8220
|
-
|
|
8244
|
+
total_unread_count?: number;
|
|
8221
8245
|
|
|
8222
|
-
|
|
8246
|
+
unread_channels?: number;
|
|
8223
8247
|
|
|
8224
|
-
|
|
8248
|
+
unread_count?: number;
|
|
8249
|
+
|
|
8250
|
+
thread_participants?: UserResponseCommonFields[];
|
|
8251
|
+
|
|
8252
|
+
channel?: ChannelResponse;
|
|
8253
|
+
|
|
8254
|
+
channel_custom?: Record<string, any>;
|
|
8255
|
+
|
|
8256
|
+
user?: UserResponseCommonFields;
|
|
8225
8257
|
}
|
|
8226
8258
|
|
|
8227
8259
|
export interface MessageOptions {
|
|
@@ -8276,33 +8308,13 @@ export interface MessageReadEvent {
|
|
|
8276
8308
|
user?: UserResponseCommonFields;
|
|
8277
8309
|
}
|
|
8278
8310
|
|
|
8279
|
-
export interface MessageReminder {
|
|
8280
|
-
channel_cid: string;
|
|
8281
|
-
|
|
8282
|
-
created_at: Date;
|
|
8283
|
-
|
|
8284
|
-
message_id: string;
|
|
8285
|
-
|
|
8286
|
-
task_id: string;
|
|
8287
|
-
|
|
8288
|
-
updated_at: Date;
|
|
8289
|
-
|
|
8290
|
-
user_id: string;
|
|
8291
|
-
|
|
8292
|
-
remind_at?: Date;
|
|
8293
|
-
|
|
8294
|
-
channel?: Channel;
|
|
8295
|
-
|
|
8296
|
-
message?: Message;
|
|
8297
|
-
|
|
8298
|
-
user?: User;
|
|
8299
|
-
}
|
|
8300
|
-
|
|
8301
8311
|
export interface MessageRequest {
|
|
8302
8312
|
html?: string;
|
|
8303
8313
|
|
|
8304
8314
|
id?: string;
|
|
8305
8315
|
|
|
8316
|
+
mentioned_channel?: boolean;
|
|
8317
|
+
|
|
8306
8318
|
mml?: string;
|
|
8307
8319
|
|
|
8308
8320
|
parent_id?: string;
|
|
@@ -8351,6 +8363,8 @@ export interface MessageResponse {
|
|
|
8351
8363
|
|
|
8352
8364
|
id: string;
|
|
8353
8365
|
|
|
8366
|
+
mentioned_channel: boolean;
|
|
8367
|
+
|
|
8354
8368
|
pinned: boolean;
|
|
8355
8369
|
|
|
8356
8370
|
reply_count: number;
|
|
@@ -8361,7 +8375,7 @@ export interface MessageResponse {
|
|
|
8361
8375
|
|
|
8362
8376
|
text: string;
|
|
8363
8377
|
|
|
8364
|
-
type:
|
|
8378
|
+
type: string;
|
|
8365
8379
|
|
|
8366
8380
|
updated_at: Date;
|
|
8367
8381
|
|
|
@@ -8435,37 +8449,49 @@ export interface MessageStatsResponse {
|
|
|
8435
8449
|
}
|
|
8436
8450
|
|
|
8437
8451
|
export interface MessageUnblockedEvent {
|
|
8438
|
-
cid: string;
|
|
8439
|
-
|
|
8440
8452
|
created_at: Date;
|
|
8441
8453
|
|
|
8454
|
+
message_id: string;
|
|
8455
|
+
|
|
8456
|
+
custom: Record<string, any>;
|
|
8457
|
+
|
|
8458
|
+
message: MessageResponse;
|
|
8459
|
+
|
|
8442
8460
|
type: string;
|
|
8443
8461
|
|
|
8444
|
-
|
|
8462
|
+
cid?: string;
|
|
8445
8463
|
|
|
8446
|
-
|
|
8464
|
+
received_at?: Date;
|
|
8447
8465
|
|
|
8448
|
-
user?:
|
|
8466
|
+
user?: UserResponseCommonFields;
|
|
8449
8467
|
}
|
|
8450
8468
|
|
|
8451
8469
|
export interface MessageUndeletedEvent {
|
|
8452
|
-
|
|
8470
|
+
created_at: Date;
|
|
8453
8471
|
|
|
8454
|
-
|
|
8472
|
+
message_id: string;
|
|
8455
8473
|
|
|
8456
|
-
|
|
8474
|
+
custom: Record<string, any>;
|
|
8457
8475
|
|
|
8458
|
-
|
|
8476
|
+
message: MessageResponse;
|
|
8459
8477
|
|
|
8460
8478
|
type: string;
|
|
8461
8479
|
|
|
8462
|
-
|
|
8480
|
+
channel_id?: string;
|
|
8481
|
+
|
|
8482
|
+
channel_member_count?: number;
|
|
8463
8483
|
|
|
8464
|
-
|
|
8484
|
+
channel_message_count?: number;
|
|
8465
8485
|
|
|
8466
|
-
|
|
8486
|
+
channel_type?: string;
|
|
8467
8487
|
|
|
8468
|
-
|
|
8488
|
+
cid?: string;
|
|
8489
|
+
|
|
8490
|
+
received_at?: Date;
|
|
8491
|
+
|
|
8492
|
+
team?: string;
|
|
8493
|
+
|
|
8494
|
+
channel_custom?: Record<string, any>;
|
|
8469
8495
|
}
|
|
8470
8496
|
|
|
8471
8497
|
export interface MessageUpdate {
|
|
@@ -8475,23 +8501,35 @@ export interface MessageUpdate {
|
|
|
8475
8501
|
}
|
|
8476
8502
|
|
|
8477
8503
|
export interface MessageUpdatedEvent {
|
|
8478
|
-
|
|
8504
|
+
created_at: Date;
|
|
8479
8505
|
|
|
8480
|
-
|
|
8506
|
+
message_id: string;
|
|
8481
8507
|
|
|
8482
|
-
|
|
8508
|
+
custom: Record<string, any>;
|
|
8483
8509
|
|
|
8484
|
-
|
|
8510
|
+
message: MessageResponse;
|
|
8485
8511
|
|
|
8486
8512
|
type: string;
|
|
8487
8513
|
|
|
8514
|
+
channel_id?: string;
|
|
8515
|
+
|
|
8516
|
+
channel_member_count?: number;
|
|
8517
|
+
|
|
8518
|
+
channel_message_count?: number;
|
|
8519
|
+
|
|
8520
|
+
channel_type?: string;
|
|
8521
|
+
|
|
8522
|
+
cid?: string;
|
|
8523
|
+
|
|
8524
|
+
received_at?: Date;
|
|
8525
|
+
|
|
8488
8526
|
team?: string;
|
|
8489
8527
|
|
|
8490
|
-
|
|
8528
|
+
channel_custom?: Record<string, any>;
|
|
8491
8529
|
|
|
8492
|
-
|
|
8530
|
+
message_update?: MessageUpdate;
|
|
8493
8531
|
|
|
8494
|
-
user?:
|
|
8532
|
+
user?: UserResponseCommonFields;
|
|
8495
8533
|
}
|
|
8496
8534
|
|
|
8497
8535
|
export interface MessageWithChannelResponse {
|
|
@@ -8505,6 +8543,8 @@ export interface MessageWithChannelResponse {
|
|
|
8505
8543
|
|
|
8506
8544
|
id: string;
|
|
8507
8545
|
|
|
8546
|
+
mentioned_channel: boolean;
|
|
8547
|
+
|
|
8508
8548
|
pinned: boolean;
|
|
8509
8549
|
|
|
8510
8550
|
reply_count: number;
|
|
@@ -8515,7 +8555,7 @@ export interface MessageWithChannelResponse {
|
|
|
8515
8555
|
|
|
8516
8556
|
text: string;
|
|
8517
8557
|
|
|
8518
|
-
type:
|
|
8558
|
+
type: string;
|
|
8519
8559
|
|
|
8520
8560
|
updated_at: Date;
|
|
8521
8561
|
|
|
@@ -8606,7 +8646,11 @@ export interface MetricThreshold {
|
|
|
8606
8646
|
window_seconds?: number;
|
|
8607
8647
|
}
|
|
8608
8648
|
|
|
8609
|
-
export interface
|
|
8649
|
+
export interface MetricTimeSeries {
|
|
8650
|
+
data_points?: number[][];
|
|
8651
|
+
}
|
|
8652
|
+
|
|
8653
|
+
export interface ModerationActionConfigResponse {
|
|
8610
8654
|
action: string;
|
|
8611
8655
|
|
|
8612
8656
|
description: string;
|
|
@@ -8617,7 +8661,7 @@ export interface ModerationActionConfig {
|
|
|
8617
8661
|
|
|
8618
8662
|
order: number;
|
|
8619
8663
|
|
|
8620
|
-
custom
|
|
8664
|
+
custom?: Record<string, any>;
|
|
8621
8665
|
}
|
|
8622
8666
|
|
|
8623
8667
|
export interface ModerationCheckCompletedEvent {
|
|
@@ -8695,6 +8739,10 @@ export interface ModerationCustomActionEvent {
|
|
|
8695
8739
|
}
|
|
8696
8740
|
|
|
8697
8741
|
export interface ModerationDashboardPreferences {
|
|
8742
|
+
async_review_queue_upsert?: boolean;
|
|
8743
|
+
|
|
8744
|
+
disable_audit_logs?: boolean;
|
|
8745
|
+
|
|
8698
8746
|
disable_flagging_reviewed_entity?: boolean;
|
|
8699
8747
|
|
|
8700
8748
|
flag_user_on_flagged_content?: boolean;
|
|
@@ -8731,7 +8779,7 @@ export interface ModerationFlagResponse {
|
|
|
8731
8779
|
|
|
8732
8780
|
custom?: Record<string, any>;
|
|
8733
8781
|
|
|
8734
|
-
moderation_payload?:
|
|
8782
|
+
moderation_payload?: ModerationPayloadResponse;
|
|
8735
8783
|
|
|
8736
8784
|
review_queue_item?: ReviewQueueItemResponse;
|
|
8737
8785
|
|
|
@@ -8739,15 +8787,17 @@ export interface ModerationFlagResponse {
|
|
|
8739
8787
|
}
|
|
8740
8788
|
|
|
8741
8789
|
export interface ModerationFlaggedEvent {
|
|
8790
|
+
content_type: string;
|
|
8791
|
+
|
|
8742
8792
|
created_at: Date;
|
|
8743
8793
|
|
|
8744
|
-
|
|
8794
|
+
object_id: string;
|
|
8745
8795
|
|
|
8746
|
-
|
|
8796
|
+
custom: Record<string, any>;
|
|
8747
8797
|
|
|
8748
|
-
|
|
8798
|
+
type: string;
|
|
8749
8799
|
|
|
8750
|
-
|
|
8800
|
+
received_at?: Date;
|
|
8751
8801
|
}
|
|
8752
8802
|
|
|
8753
8803
|
export interface ModerationMarkReviewedEvent {
|
|
@@ -8774,6 +8824,26 @@ export interface ModerationPayload {
|
|
|
8774
8824
|
custom?: Record<string, any>;
|
|
8775
8825
|
}
|
|
8776
8826
|
|
|
8827
|
+
export interface ModerationPayloadRequest {
|
|
8828
|
+
images?: string[];
|
|
8829
|
+
|
|
8830
|
+
texts?: string[];
|
|
8831
|
+
|
|
8832
|
+
videos?: string[];
|
|
8833
|
+
|
|
8834
|
+
custom?: Record<string, any>;
|
|
8835
|
+
}
|
|
8836
|
+
|
|
8837
|
+
export interface ModerationPayloadResponse {
|
|
8838
|
+
images?: string[];
|
|
8839
|
+
|
|
8840
|
+
texts?: string[];
|
|
8841
|
+
|
|
8842
|
+
videos?: string[];
|
|
8843
|
+
|
|
8844
|
+
custom?: Record<string, any>;
|
|
8845
|
+
}
|
|
8846
|
+
|
|
8777
8847
|
export interface ModerationResponse {
|
|
8778
8848
|
action: string;
|
|
8779
8849
|
|
|
@@ -8847,7 +8917,7 @@ export interface MuteChannelResponse {
|
|
|
8847
8917
|
|
|
8848
8918
|
channel_mute?: ChannelMute;
|
|
8849
8919
|
|
|
8850
|
-
own_user?:
|
|
8920
|
+
own_user?: OwnUserResponse;
|
|
8851
8921
|
}
|
|
8852
8922
|
|
|
8853
8923
|
export interface MuteRequest {
|
|
@@ -8863,11 +8933,11 @@ export interface MuteRequest {
|
|
|
8863
8933
|
export interface MuteResponse {
|
|
8864
8934
|
duration: string;
|
|
8865
8935
|
|
|
8866
|
-
mutes?:
|
|
8936
|
+
mutes?: UserMuteResponse[];
|
|
8867
8937
|
|
|
8868
8938
|
non_existing_users?: string[];
|
|
8869
8939
|
|
|
8870
|
-
own_user?:
|
|
8940
|
+
own_user?: OwnUserResponse;
|
|
8871
8941
|
}
|
|
8872
8942
|
|
|
8873
8943
|
export interface MuteUsersRequest {
|
|
@@ -8951,41 +9021,51 @@ export interface NotificationFeedUpdatedEvent {
|
|
|
8951
9021
|
}
|
|
8952
9022
|
|
|
8953
9023
|
export interface NotificationMarkUnreadEvent {
|
|
8954
|
-
channel_id: string;
|
|
8955
|
-
|
|
8956
|
-
channel_member_count: number;
|
|
8957
|
-
|
|
8958
|
-
channel_type: string;
|
|
8959
|
-
|
|
8960
|
-
cid: string;
|
|
8961
|
-
|
|
8962
9024
|
created_at: Date;
|
|
8963
9025
|
|
|
8964
|
-
|
|
9026
|
+
custom: Record<string, any>;
|
|
8965
9027
|
|
|
8966
|
-
|
|
9028
|
+
type: string;
|
|
8967
9029
|
|
|
8968
|
-
|
|
9030
|
+
channel_id?: string;
|
|
8969
9031
|
|
|
8970
|
-
|
|
9032
|
+
channel_member_count?: number;
|
|
8971
9033
|
|
|
8972
|
-
|
|
9034
|
+
channel_message_count?: number;
|
|
8973
9035
|
|
|
8974
|
-
|
|
9036
|
+
channel_type?: string;
|
|
8975
9037
|
|
|
8976
|
-
|
|
9038
|
+
cid?: string;
|
|
8977
9039
|
|
|
8978
|
-
|
|
9040
|
+
first_unread_message_id?: string;
|
|
9041
|
+
|
|
9042
|
+
last_read_at?: Date;
|
|
8979
9043
|
|
|
8980
9044
|
last_read_message_id?: string;
|
|
8981
9045
|
|
|
9046
|
+
received_at?: Date;
|
|
9047
|
+
|
|
8982
9048
|
team?: string;
|
|
8983
9049
|
|
|
8984
9050
|
thread_id?: string;
|
|
8985
9051
|
|
|
9052
|
+
total_unread_count?: number;
|
|
9053
|
+
|
|
9054
|
+
unread_channels?: number;
|
|
9055
|
+
|
|
9056
|
+
unread_count?: number;
|
|
9057
|
+
|
|
9058
|
+
unread_messages?: number;
|
|
9059
|
+
|
|
9060
|
+
unread_thread_messages?: number;
|
|
9061
|
+
|
|
9062
|
+
unread_threads?: number;
|
|
9063
|
+
|
|
8986
9064
|
channel?: ChannelResponse;
|
|
8987
9065
|
|
|
8988
|
-
|
|
9066
|
+
channel_custom?: Record<string, any>;
|
|
9067
|
+
|
|
9068
|
+
user?: UserResponseCommonFields;
|
|
8989
9069
|
}
|
|
8990
9070
|
|
|
8991
9071
|
export interface NotificationParentActivity {
|
|
@@ -9014,6 +9094,34 @@ export interface NotificationSettings {
|
|
|
9014
9094
|
session_started: EventNotificationSettings;
|
|
9015
9095
|
}
|
|
9016
9096
|
|
|
9097
|
+
export interface NotificationSettingsRequest {
|
|
9098
|
+
enabled?: boolean;
|
|
9099
|
+
|
|
9100
|
+
call_live_started?: EventNotificationSettingsRequest;
|
|
9101
|
+
|
|
9102
|
+
call_missed?: EventNotificationSettingsRequest;
|
|
9103
|
+
|
|
9104
|
+
call_notification?: EventNotificationSettingsRequest;
|
|
9105
|
+
|
|
9106
|
+
call_ring?: EventNotificationSettingsRequest;
|
|
9107
|
+
|
|
9108
|
+
session_started?: EventNotificationSettingsRequest;
|
|
9109
|
+
}
|
|
9110
|
+
|
|
9111
|
+
export interface NotificationSettingsResponse {
|
|
9112
|
+
enabled: boolean;
|
|
9113
|
+
|
|
9114
|
+
call_live_started: EventNotificationSettingsResponse;
|
|
9115
|
+
|
|
9116
|
+
call_missed: EventNotificationSettingsResponse;
|
|
9117
|
+
|
|
9118
|
+
call_notification: EventNotificationSettingsResponse;
|
|
9119
|
+
|
|
9120
|
+
call_ring: EventNotificationSettingsResponse;
|
|
9121
|
+
|
|
9122
|
+
session_started: EventNotificationSettingsResponse;
|
|
9123
|
+
}
|
|
9124
|
+
|
|
9017
9125
|
export interface NotificationStatusResponse {
|
|
9018
9126
|
unread: number;
|
|
9019
9127
|
|
|
@@ -9046,6 +9154,48 @@ export interface NotificationTarget {
|
|
|
9046
9154
|
parent_activity?: NotificationParentActivity;
|
|
9047
9155
|
}
|
|
9048
9156
|
|
|
9157
|
+
export interface NotificationThreadMessageNewEvent {
|
|
9158
|
+
created_at: Date;
|
|
9159
|
+
|
|
9160
|
+
message_id: string;
|
|
9161
|
+
|
|
9162
|
+
thread_id: string;
|
|
9163
|
+
|
|
9164
|
+
watcher_count: number;
|
|
9165
|
+
|
|
9166
|
+
channel: ChannelResponse;
|
|
9167
|
+
|
|
9168
|
+
custom: Record<string, any>;
|
|
9169
|
+
|
|
9170
|
+
message: MessageResponse;
|
|
9171
|
+
|
|
9172
|
+
type: string;
|
|
9173
|
+
|
|
9174
|
+
channel_id?: string;
|
|
9175
|
+
|
|
9176
|
+
channel_member_count?: number;
|
|
9177
|
+
|
|
9178
|
+
channel_message_count?: number;
|
|
9179
|
+
|
|
9180
|
+
channel_type?: string;
|
|
9181
|
+
|
|
9182
|
+
cid?: string;
|
|
9183
|
+
|
|
9184
|
+
parent_author?: string;
|
|
9185
|
+
|
|
9186
|
+
received_at?: Date;
|
|
9187
|
+
|
|
9188
|
+
team?: string;
|
|
9189
|
+
|
|
9190
|
+
unread_thread_messages?: number;
|
|
9191
|
+
|
|
9192
|
+
unread_threads?: number;
|
|
9193
|
+
|
|
9194
|
+
thread_participants?: UserResponseCommonFields[];
|
|
9195
|
+
|
|
9196
|
+
channel_custom?: Record<string, any>;
|
|
9197
|
+
}
|
|
9198
|
+
|
|
9049
9199
|
export interface NotificationTrigger {
|
|
9050
9200
|
text: string;
|
|
9051
9201
|
|
|
@@ -9108,89 +9258,31 @@ export const OwnCapability = {
|
|
|
9108
9258
|
READ_CALL: 'read-call',
|
|
9109
9259
|
REMOVE_CALL_MEMBER: 'remove-call-member',
|
|
9110
9260
|
SCREENSHARE: 'screenshare',
|
|
9111
|
-
SEND_AUDIO: 'send-audio',
|
|
9112
|
-
SEND_CLOSED_CAPTIONS_CALL: 'send-closed-captions-call',
|
|
9113
|
-
SEND_VIDEO: 'send-video',
|
|
9114
|
-
START_BROADCAST_CALL: 'start-broadcast-call',
|
|
9115
|
-
START_CLOSED_CAPTIONS_CALL: 'start-closed-captions-call',
|
|
9116
|
-
START_FRAME_RECORD_CALL: 'start-frame-record-call',
|
|
9117
|
-
START_INDIVIDUAL_RECORD_CALL: 'start-individual-record-call',
|
|
9118
|
-
START_RAW_RECORD_CALL: 'start-raw-record-call',
|
|
9119
|
-
START_RECORD_CALL: 'start-record-call',
|
|
9120
|
-
START_TRANSCRIPTION_CALL: 'start-transcription-call',
|
|
9121
|
-
STOP_BROADCAST_CALL: 'stop-broadcast-call',
|
|
9122
|
-
STOP_CLOSED_CAPTIONS_CALL: 'stop-closed-captions-call',
|
|
9123
|
-
STOP_FRAME_RECORD_CALL: 'stop-frame-record-call',
|
|
9124
|
-
STOP_INDIVIDUAL_RECORD_CALL: 'stop-individual-record-call',
|
|
9125
|
-
STOP_RAW_RECORD_CALL: 'stop-raw-record-call',
|
|
9126
|
-
STOP_RECORD_CALL: 'stop-record-call',
|
|
9127
|
-
STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
|
|
9128
|
-
UPDATE_CALL: 'update-call',
|
|
9129
|
-
UPDATE_CALL_MEMBER: 'update-call-member',
|
|
9130
|
-
UPDATE_CALL_PERMISSIONS: 'update-call-permissions',
|
|
9131
|
-
UPDATE_CALL_SETTINGS: 'update-call-settings',
|
|
9132
|
-
} as const;
|
|
9133
|
-
|
|
9134
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
9135
|
-
export type OwnCapability = (typeof OwnCapability)[keyof typeof OwnCapability];
|
|
9136
|
-
|
|
9137
|
-
export interface OwnUser {
|
|
9138
|
-
banned: boolean;
|
|
9139
|
-
|
|
9140
|
-
created_at: Date;
|
|
9141
|
-
|
|
9142
|
-
id: string;
|
|
9143
|
-
|
|
9144
|
-
language: string;
|
|
9145
|
-
|
|
9146
|
-
online: boolean;
|
|
9147
|
-
|
|
9148
|
-
role: string;
|
|
9149
|
-
|
|
9150
|
-
total_unread_count: number;
|
|
9151
|
-
|
|
9152
|
-
unread_channels: number;
|
|
9153
|
-
|
|
9154
|
-
unread_count: number;
|
|
9155
|
-
|
|
9156
|
-
unread_threads: number;
|
|
9157
|
-
|
|
9158
|
-
updated_at: Date;
|
|
9159
|
-
|
|
9160
|
-
channel_mutes: ChannelMute[];
|
|
9161
|
-
|
|
9162
|
-
devices: Device[];
|
|
9163
|
-
|
|
9164
|
-
mutes: UserMute[];
|
|
9165
|
-
|
|
9166
|
-
custom: Record<string, any>;
|
|
9167
|
-
|
|
9168
|
-
total_unread_count_by_team: Record<string, number>;
|
|
9169
|
-
|
|
9170
|
-
avg_response_time?: number;
|
|
9171
|
-
|
|
9172
|
-
deactivated_at?: Date;
|
|
9173
|
-
|
|
9174
|
-
deleted_at?: Date;
|
|
9175
|
-
|
|
9176
|
-
invisible?: boolean;
|
|
9177
|
-
|
|
9178
|
-
last_active?: Date;
|
|
9179
|
-
|
|
9180
|
-
last_engaged_at?: Date;
|
|
9181
|
-
|
|
9182
|
-
blocked_user_ids?: string[];
|
|
9183
|
-
|
|
9184
|
-
latest_hidden_channels?: string[];
|
|
9185
|
-
|
|
9186
|
-
teams?: string[];
|
|
9187
|
-
|
|
9188
|
-
privacy_settings?: PrivacySettings;
|
|
9189
|
-
|
|
9190
|
-
push_preferences?: PushPreferences;
|
|
9261
|
+
SEND_AUDIO: 'send-audio',
|
|
9262
|
+
SEND_CLOSED_CAPTIONS_CALL: 'send-closed-captions-call',
|
|
9263
|
+
SEND_VIDEO: 'send-video',
|
|
9264
|
+
START_BROADCAST_CALL: 'start-broadcast-call',
|
|
9265
|
+
START_CLOSED_CAPTIONS_CALL: 'start-closed-captions-call',
|
|
9266
|
+
START_FRAME_RECORD_CALL: 'start-frame-record-call',
|
|
9267
|
+
START_INDIVIDUAL_RECORD_CALL: 'start-individual-record-call',
|
|
9268
|
+
START_RAW_RECORD_CALL: 'start-raw-record-call',
|
|
9269
|
+
START_RECORD_CALL: 'start-record-call',
|
|
9270
|
+
START_TRANSCRIPTION_CALL: 'start-transcription-call',
|
|
9271
|
+
STOP_BROADCAST_CALL: 'stop-broadcast-call',
|
|
9272
|
+
STOP_CLOSED_CAPTIONS_CALL: 'stop-closed-captions-call',
|
|
9273
|
+
STOP_FRAME_RECORD_CALL: 'stop-frame-record-call',
|
|
9274
|
+
STOP_INDIVIDUAL_RECORD_CALL: 'stop-individual-record-call',
|
|
9275
|
+
STOP_RAW_RECORD_CALL: 'stop-raw-record-call',
|
|
9276
|
+
STOP_RECORD_CALL: 'stop-record-call',
|
|
9277
|
+
STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
|
|
9278
|
+
UPDATE_CALL: 'update-call',
|
|
9279
|
+
UPDATE_CALL_MEMBER: 'update-call-member',
|
|
9280
|
+
UPDATE_CALL_PERMISSIONS: 'update-call-permissions',
|
|
9281
|
+
UPDATE_CALL_SETTINGS: 'update-call-settings',
|
|
9282
|
+
} as const;
|
|
9191
9283
|
|
|
9192
|
-
|
|
9193
|
-
|
|
9284
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
9285
|
+
export type OwnCapability = (typeof OwnCapability)[keyof typeof OwnCapability];
|
|
9194
9286
|
|
|
9195
9287
|
export interface OwnUserResponse {
|
|
9196
9288
|
banned: boolean;
|
|
@@ -9274,6 +9366,14 @@ export interface PaginationParams {
|
|
|
9274
9366
|
offset?: number;
|
|
9275
9367
|
}
|
|
9276
9368
|
|
|
9369
|
+
export interface ParsedPredefinedFilterResponse {
|
|
9370
|
+
name: string;
|
|
9371
|
+
|
|
9372
|
+
filter: Record<string, any>;
|
|
9373
|
+
|
|
9374
|
+
sort?: SortParamRequest[];
|
|
9375
|
+
}
|
|
9376
|
+
|
|
9277
9377
|
export interface ParticipantCountByMinuteResponse {
|
|
9278
9378
|
first: number;
|
|
9279
9379
|
|
|
@@ -9413,13 +9513,13 @@ export interface PendingMessageEvent {
|
|
|
9413
9513
|
|
|
9414
9514
|
received_at?: Date;
|
|
9415
9515
|
|
|
9416
|
-
channel?:
|
|
9516
|
+
channel?: ChannelResponse;
|
|
9417
9517
|
|
|
9418
|
-
message?:
|
|
9518
|
+
message?: MessageResponse;
|
|
9419
9519
|
|
|
9420
9520
|
metadata?: Record<string, string>;
|
|
9421
9521
|
|
|
9422
|
-
user?:
|
|
9522
|
+
user?: UserResponse;
|
|
9423
9523
|
}
|
|
9424
9524
|
|
|
9425
9525
|
export interface PendingMessageResponse {
|
|
@@ -9447,7 +9547,7 @@ export interface Permission {
|
|
|
9447
9547
|
|
|
9448
9548
|
id: string;
|
|
9449
9549
|
|
|
9450
|
-
level:
|
|
9550
|
+
level: string;
|
|
9451
9551
|
|
|
9452
9552
|
name: string;
|
|
9453
9553
|
|
|
@@ -9540,58 +9640,6 @@ export interface PolicyRequest {
|
|
|
9540
9640
|
roles: string[];
|
|
9541
9641
|
}
|
|
9542
9642
|
|
|
9543
|
-
export interface Poll {
|
|
9544
|
-
allow_answers: boolean;
|
|
9545
|
-
|
|
9546
|
-
allow_user_suggested_options: boolean;
|
|
9547
|
-
|
|
9548
|
-
answers_count: number;
|
|
9549
|
-
|
|
9550
|
-
created_at: Date;
|
|
9551
|
-
|
|
9552
|
-
created_by_id: string;
|
|
9553
|
-
|
|
9554
|
-
description: string;
|
|
9555
|
-
|
|
9556
|
-
enforce_unique_vote: boolean;
|
|
9557
|
-
|
|
9558
|
-
id: string;
|
|
9559
|
-
|
|
9560
|
-
name: string;
|
|
9561
|
-
|
|
9562
|
-
updated_at: Date;
|
|
9563
|
-
|
|
9564
|
-
vote_count: number;
|
|
9565
|
-
|
|
9566
|
-
latest_answers: PollVote[];
|
|
9567
|
-
|
|
9568
|
-
options: PollOption[];
|
|
9569
|
-
|
|
9570
|
-
own_votes: PollVote[];
|
|
9571
|
-
|
|
9572
|
-
custom: Record<string, any>;
|
|
9573
|
-
|
|
9574
|
-
latest_votes_by_option: Record<string, PollVote[]>;
|
|
9575
|
-
|
|
9576
|
-
vote_counts_by_option: Record<string, number>;
|
|
9577
|
-
|
|
9578
|
-
is_closed?: boolean;
|
|
9579
|
-
|
|
9580
|
-
max_votes_allowed?: number;
|
|
9581
|
-
|
|
9582
|
-
voting_visibility?: string;
|
|
9583
|
-
|
|
9584
|
-
created_by?: User;
|
|
9585
|
-
}
|
|
9586
|
-
|
|
9587
|
-
export interface PollOption {
|
|
9588
|
-
id: string;
|
|
9589
|
-
|
|
9590
|
-
text: string;
|
|
9591
|
-
|
|
9592
|
-
custom: Record<string, any>;
|
|
9593
|
-
}
|
|
9594
|
-
|
|
9595
9643
|
export interface PollOptionInput {
|
|
9596
9644
|
text?: string;
|
|
9597
9645
|
|
|
@@ -9670,26 +9718,6 @@ export interface PollResponseData {
|
|
|
9670
9718
|
created_by?: UserResponse;
|
|
9671
9719
|
}
|
|
9672
9720
|
|
|
9673
|
-
export interface PollVote {
|
|
9674
|
-
created_at: Date;
|
|
9675
|
-
|
|
9676
|
-
id: string;
|
|
9677
|
-
|
|
9678
|
-
option_id: string;
|
|
9679
|
-
|
|
9680
|
-
poll_id: string;
|
|
9681
|
-
|
|
9682
|
-
updated_at: Date;
|
|
9683
|
-
|
|
9684
|
-
answer_text?: string;
|
|
9685
|
-
|
|
9686
|
-
is_answer?: boolean;
|
|
9687
|
-
|
|
9688
|
-
user_id?: string;
|
|
9689
|
-
|
|
9690
|
-
user?: User;
|
|
9691
|
-
}
|
|
9692
|
-
|
|
9693
9721
|
export interface PollVoteResponse {
|
|
9694
9722
|
duration: string;
|
|
9695
9723
|
|
|
@@ -9728,14 +9756,6 @@ export interface PollVotesResponse {
|
|
|
9728
9756
|
prev?: string;
|
|
9729
9757
|
}
|
|
9730
9758
|
|
|
9731
|
-
export interface PrivacySettings {
|
|
9732
|
-
delivery_receipts?: DeliveryReceipts;
|
|
9733
|
-
|
|
9734
|
-
read_receipts?: ReadReceipts;
|
|
9735
|
-
|
|
9736
|
-
typing_indicators?: TypingIndicators;
|
|
9737
|
-
}
|
|
9738
|
-
|
|
9739
9759
|
export interface PrivacySettingsResponse {
|
|
9740
9760
|
delivery_receipts?: DeliveryReceiptsResponse;
|
|
9741
9761
|
|
|
@@ -9754,6 +9774,22 @@ export interface PublishedTrackFlags {
|
|
|
9754
9774
|
video: boolean;
|
|
9755
9775
|
}
|
|
9756
9776
|
|
|
9777
|
+
export interface PublishedTrackMetrics {
|
|
9778
|
+
codec?: string;
|
|
9779
|
+
|
|
9780
|
+
track_id?: string;
|
|
9781
|
+
|
|
9782
|
+
track_type?: string;
|
|
9783
|
+
|
|
9784
|
+
warnings?: SessionWarningResponse[];
|
|
9785
|
+
|
|
9786
|
+
bitrate?: MetricTimeSeries;
|
|
9787
|
+
|
|
9788
|
+
framerate?: MetricTimeSeries;
|
|
9789
|
+
|
|
9790
|
+
resolution?: ResolutionMetricsTimeSeries;
|
|
9791
|
+
}
|
|
9792
|
+
|
|
9757
9793
|
export interface PublisherAllMetrics {
|
|
9758
9794
|
audio?: PublisherAudioMetrics;
|
|
9759
9795
|
|
|
@@ -9829,7 +9865,13 @@ export interface PushPreferenceInput {
|
|
|
9829
9865
|
|
|
9830
9866
|
channel_cid?: string;
|
|
9831
9867
|
|
|
9832
|
-
chat_level?:
|
|
9868
|
+
chat_level?:
|
|
9869
|
+
| 'all'
|
|
9870
|
+
| 'mentions'
|
|
9871
|
+
| 'direct_mentions'
|
|
9872
|
+
| 'all_mentions'
|
|
9873
|
+
| 'none'
|
|
9874
|
+
| 'default';
|
|
9833
9875
|
|
|
9834
9876
|
disabled_until?: Date;
|
|
9835
9877
|
|
|
@@ -9842,18 +9884,6 @@ export interface PushPreferenceInput {
|
|
|
9842
9884
|
feeds_preferences?: FeedsPreferences;
|
|
9843
9885
|
}
|
|
9844
9886
|
|
|
9845
|
-
export interface PushPreferences {
|
|
9846
|
-
call_level?: string;
|
|
9847
|
-
|
|
9848
|
-
chat_level?: string;
|
|
9849
|
-
|
|
9850
|
-
disabled_until?: Date;
|
|
9851
|
-
|
|
9852
|
-
feeds_level?: string;
|
|
9853
|
-
|
|
9854
|
-
feeds_preferences?: FeedsPreferences;
|
|
9855
|
-
}
|
|
9856
|
-
|
|
9857
9887
|
export interface PushPreferencesResponse {
|
|
9858
9888
|
call_level?: string;
|
|
9859
9889
|
|
|
@@ -9924,6 +9954,56 @@ export interface PushProvider {
|
|
|
9924
9954
|
push_templates?: PushTemplate[];
|
|
9925
9955
|
}
|
|
9926
9956
|
|
|
9957
|
+
export interface PushProviderRequest {
|
|
9958
|
+
name: string;
|
|
9959
|
+
|
|
9960
|
+
apn_auth_key?: string;
|
|
9961
|
+
|
|
9962
|
+
apn_auth_type?: string;
|
|
9963
|
+
|
|
9964
|
+
apn_development?: boolean;
|
|
9965
|
+
|
|
9966
|
+
apn_host?: string;
|
|
9967
|
+
|
|
9968
|
+
apn_key_id?: string;
|
|
9969
|
+
|
|
9970
|
+
apn_notification_template?: string;
|
|
9971
|
+
|
|
9972
|
+
apn_p12_cert?: string;
|
|
9973
|
+
|
|
9974
|
+
apn_team_id?: string;
|
|
9975
|
+
|
|
9976
|
+
apn_topic?: string;
|
|
9977
|
+
|
|
9978
|
+
description?: string;
|
|
9979
|
+
|
|
9980
|
+
disabled_at?: Date;
|
|
9981
|
+
|
|
9982
|
+
disabled_reason?: string;
|
|
9983
|
+
|
|
9984
|
+
firebase_apn_template?: string;
|
|
9985
|
+
|
|
9986
|
+
firebase_credentials?: string;
|
|
9987
|
+
|
|
9988
|
+
firebase_data_template?: string;
|
|
9989
|
+
|
|
9990
|
+
firebase_host?: string;
|
|
9991
|
+
|
|
9992
|
+
firebase_notification_template?: string;
|
|
9993
|
+
|
|
9994
|
+
firebase_server_key?: string;
|
|
9995
|
+
|
|
9996
|
+
huawei_app_id?: string;
|
|
9997
|
+
|
|
9998
|
+
huawei_app_secret?: string;
|
|
9999
|
+
|
|
10000
|
+
type?: string;
|
|
10001
|
+
|
|
10002
|
+
xiaomi_app_secret?: string;
|
|
10003
|
+
|
|
10004
|
+
xiaomi_package_name?: string;
|
|
10005
|
+
}
|
|
10006
|
+
|
|
9927
10007
|
export interface PushProviderResponse {
|
|
9928
10008
|
created_at: Date;
|
|
9929
10009
|
|
|
@@ -10004,6 +10084,20 @@ export interface PushTemplate {
|
|
|
10004
10084
|
template?: string;
|
|
10005
10085
|
}
|
|
10006
10086
|
|
|
10087
|
+
export interface PushTemplateResponse {
|
|
10088
|
+
created_at: Date;
|
|
10089
|
+
|
|
10090
|
+
enable_push: boolean;
|
|
10091
|
+
|
|
10092
|
+
event_type: string;
|
|
10093
|
+
|
|
10094
|
+
push_provider_internal_id: string;
|
|
10095
|
+
|
|
10096
|
+
updated_at: Date;
|
|
10097
|
+
|
|
10098
|
+
template?: string;
|
|
10099
|
+
}
|
|
10100
|
+
|
|
10007
10101
|
export interface QualityScoreReport {
|
|
10008
10102
|
histogram: ReportByHistogramBucket[];
|
|
10009
10103
|
}
|
|
@@ -10414,6 +10508,8 @@ export interface QueryChannelsResponse {
|
|
|
10414
10508
|
duration: string;
|
|
10415
10509
|
|
|
10416
10510
|
channels: ChannelStateResponseFields[];
|
|
10511
|
+
|
|
10512
|
+
predefined_filter?: ParsedPredefinedFilterResponse;
|
|
10417
10513
|
}
|
|
10418
10514
|
|
|
10419
10515
|
export interface QueryCommentReactionsRequest {
|
|
@@ -10515,7 +10611,7 @@ export interface QueryFeedModerationTemplate {
|
|
|
10515
10611
|
|
|
10516
10612
|
updated_at: Date;
|
|
10517
10613
|
|
|
10518
|
-
config?:
|
|
10614
|
+
config?: FeedsModerationTemplateConfigPayload;
|
|
10519
10615
|
}
|
|
10520
10616
|
|
|
10521
10617
|
export interface QueryFeedModerationTemplatesResponse {
|
|
@@ -10727,7 +10823,7 @@ export interface QueryModerationFlagsRequest {
|
|
|
10727
10823
|
|
|
10728
10824
|
prev?: string;
|
|
10729
10825
|
|
|
10730
|
-
sort?:
|
|
10826
|
+
sort?: SortParamRequest[];
|
|
10731
10827
|
|
|
10732
10828
|
filter?: Record<string, any>;
|
|
10733
10829
|
}
|
|
@@ -10911,7 +11007,7 @@ export interface QueryReviewQueueResponse {
|
|
|
10911
11007
|
|
|
10912
11008
|
items: ReviewQueueItemResponse[];
|
|
10913
11009
|
|
|
10914
|
-
action_config: Record<string,
|
|
11010
|
+
action_config: Record<string, ModerationActionConfigResponse[]>;
|
|
10915
11011
|
|
|
10916
11012
|
stats: Record<string, any>;
|
|
10917
11013
|
|
|
@@ -11141,43 +11237,75 @@ export interface RawRecordingSettingsResponse {
|
|
|
11141
11237
|
}
|
|
11142
11238
|
|
|
11143
11239
|
export interface Reaction {
|
|
11240
|
+
activity_id: string;
|
|
11241
|
+
|
|
11144
11242
|
created_at: Date;
|
|
11145
11243
|
|
|
11146
|
-
|
|
11244
|
+
kind: string;
|
|
11147
11245
|
|
|
11148
|
-
|
|
11246
|
+
updated_at: Date;
|
|
11149
11247
|
|
|
11150
|
-
|
|
11248
|
+
user_id: string;
|
|
11151
11249
|
|
|
11152
|
-
|
|
11250
|
+
deleted_at?: Date;
|
|
11153
11251
|
|
|
11154
|
-
|
|
11252
|
+
id?: string;
|
|
11155
11253
|
|
|
11156
|
-
|
|
11254
|
+
parent?: string;
|
|
11255
|
+
|
|
11256
|
+
score?: number;
|
|
11257
|
+
|
|
11258
|
+
target_feeds?: string[];
|
|
11259
|
+
|
|
11260
|
+
children_counts?: Record<string, any>;
|
|
11261
|
+
|
|
11262
|
+
data?: Record<string, any>;
|
|
11263
|
+
|
|
11264
|
+
latest_children?: Record<string, Reaction[]>;
|
|
11265
|
+
|
|
11266
|
+
moderation?: Record<string, any>;
|
|
11267
|
+
|
|
11268
|
+
own_children?: Record<string, Reaction[]>;
|
|
11269
|
+
|
|
11270
|
+
target_feeds_extra_data?: Record<string, any>;
|
|
11157
11271
|
|
|
11158
11272
|
user?: User;
|
|
11159
11273
|
}
|
|
11160
11274
|
|
|
11161
11275
|
export interface ReactionDeletedEvent {
|
|
11162
|
-
|
|
11163
|
-
|
|
11164
|
-
channel_type: string;
|
|
11276
|
+
created_at: Date;
|
|
11165
11277
|
|
|
11166
|
-
|
|
11278
|
+
channel: ChannelResponse;
|
|
11167
11279
|
|
|
11168
|
-
|
|
11280
|
+
custom: Record<string, any>;
|
|
11169
11281
|
|
|
11170
11282
|
type: string;
|
|
11171
11283
|
|
|
11284
|
+
channel_id?: string;
|
|
11285
|
+
|
|
11286
|
+
channel_member_count?: number;
|
|
11287
|
+
|
|
11288
|
+
channel_message_count?: number;
|
|
11289
|
+
|
|
11290
|
+
channel_type?: string;
|
|
11291
|
+
|
|
11292
|
+
cid?: string;
|
|
11293
|
+
|
|
11294
|
+
message_id?: string;
|
|
11295
|
+
|
|
11296
|
+
received_at?: Date;
|
|
11297
|
+
|
|
11172
11298
|
team?: string;
|
|
11173
11299
|
|
|
11174
|
-
thread_participants?:
|
|
11300
|
+
thread_participants?: UserResponseCommonFields[];
|
|
11175
11301
|
|
|
11176
|
-
|
|
11302
|
+
channel_custom?: Record<string, any>;
|
|
11177
11303
|
|
|
11178
|
-
|
|
11304
|
+
message?: MessageResponse;
|
|
11179
11305
|
|
|
11180
|
-
|
|
11306
|
+
reaction?: ReactionResponse;
|
|
11307
|
+
|
|
11308
|
+
user?: UserResponseCommonFields;
|
|
11181
11309
|
}
|
|
11182
11310
|
|
|
11183
11311
|
export interface ReactionGroupResponse {
|
|
@@ -11191,25 +11319,39 @@ export interface ReactionGroupResponse {
|
|
|
11191
11319
|
}
|
|
11192
11320
|
|
|
11193
11321
|
export interface ReactionNewEvent {
|
|
11194
|
-
|
|
11322
|
+
created_at: Date;
|
|
11323
|
+
|
|
11324
|
+
channel: ChannelResponse;
|
|
11325
|
+
|
|
11326
|
+
custom: Record<string, any>;
|
|
11327
|
+
|
|
11328
|
+
type: string;
|
|
11329
|
+
|
|
11330
|
+
channel_id?: string;
|
|
11331
|
+
|
|
11332
|
+
channel_member_count?: number;
|
|
11333
|
+
|
|
11334
|
+
channel_message_count?: number;
|
|
11195
11335
|
|
|
11196
|
-
channel_type
|
|
11336
|
+
channel_type?: string;
|
|
11197
11337
|
|
|
11198
|
-
cid
|
|
11338
|
+
cid?: string;
|
|
11199
11339
|
|
|
11200
|
-
|
|
11340
|
+
message_id?: string;
|
|
11201
11341
|
|
|
11202
|
-
|
|
11342
|
+
received_at?: Date;
|
|
11203
11343
|
|
|
11204
11344
|
team?: string;
|
|
11205
11345
|
|
|
11206
|
-
thread_participants?:
|
|
11346
|
+
thread_participants?: UserResponseCommonFields[];
|
|
11207
11347
|
|
|
11208
|
-
|
|
11348
|
+
channel_custom?: Record<string, any>;
|
|
11209
11349
|
|
|
11210
|
-
|
|
11350
|
+
message?: MessageResponse;
|
|
11211
11351
|
|
|
11212
|
-
|
|
11352
|
+
reaction?: ReactionResponse;
|
|
11353
|
+
|
|
11354
|
+
user?: UserResponseCommonFields;
|
|
11213
11355
|
}
|
|
11214
11356
|
|
|
11215
11357
|
export interface ReactionRequest {
|
|
@@ -11247,23 +11389,37 @@ export interface ReactionResponse {
|
|
|
11247
11389
|
}
|
|
11248
11390
|
|
|
11249
11391
|
export interface ReactionUpdatedEvent {
|
|
11250
|
-
|
|
11251
|
-
|
|
11252
|
-
channel_type: string;
|
|
11392
|
+
created_at: Date;
|
|
11253
11393
|
|
|
11254
|
-
|
|
11394
|
+
message_id: string;
|
|
11255
11395
|
|
|
11256
|
-
|
|
11396
|
+
channel: ChannelResponse;
|
|
11257
11397
|
|
|
11258
|
-
|
|
11398
|
+
custom: Record<string, any>;
|
|
11259
11399
|
|
|
11260
|
-
|
|
11400
|
+
message: MessageResponse;
|
|
11261
11401
|
|
|
11262
11402
|
type: string;
|
|
11263
11403
|
|
|
11404
|
+
channel_id?: string;
|
|
11405
|
+
|
|
11406
|
+
channel_member_count?: number;
|
|
11407
|
+
|
|
11408
|
+
channel_message_count?: number;
|
|
11409
|
+
|
|
11410
|
+
channel_type?: string;
|
|
11411
|
+
|
|
11412
|
+
cid?: string;
|
|
11413
|
+
|
|
11414
|
+
received_at?: Date;
|
|
11415
|
+
|
|
11264
11416
|
team?: string;
|
|
11265
11417
|
|
|
11266
|
-
|
|
11418
|
+
channel_custom?: Record<string, any>;
|
|
11419
|
+
|
|
11420
|
+
reaction?: ReactionResponse;
|
|
11421
|
+
|
|
11422
|
+
user?: UserResponseCommonFields;
|
|
11267
11423
|
}
|
|
11268
11424
|
|
|
11269
11425
|
export interface ReactivateUserRequest {
|
|
@@ -11302,10 +11458,6 @@ export interface ReadCollectionsResponse {
|
|
|
11302
11458
|
collections: CollectionResponse[];
|
|
11303
11459
|
}
|
|
11304
11460
|
|
|
11305
|
-
export interface ReadReceipts {
|
|
11306
|
-
enabled?: boolean;
|
|
11307
|
-
}
|
|
11308
|
-
|
|
11309
11461
|
export interface ReadReceiptsResponse {
|
|
11310
11462
|
enabled?: boolean;
|
|
11311
11463
|
}
|
|
@@ -11364,7 +11516,7 @@ export interface RecordSettingsResponse {
|
|
|
11364
11516
|
layout: LayoutSettingsResponse;
|
|
11365
11517
|
}
|
|
11366
11518
|
|
|
11367
|
-
export interface
|
|
11519
|
+
export interface RejectAppealRequestPayload {
|
|
11368
11520
|
decision_reason: string;
|
|
11369
11521
|
}
|
|
11370
11522
|
|
|
@@ -11522,12 +11674,18 @@ export interface ReportResponse {
|
|
|
11522
11674
|
user_ratings: UserRatingReportResponse;
|
|
11523
11675
|
}
|
|
11524
11676
|
|
|
11677
|
+
export interface ResolutionMetricsTimeSeries {
|
|
11678
|
+
height?: MetricTimeSeries;
|
|
11679
|
+
|
|
11680
|
+
width?: MetricTimeSeries;
|
|
11681
|
+
}
|
|
11682
|
+
|
|
11525
11683
|
export interface ResolveSipInboundRequest {
|
|
11526
11684
|
sip_caller_number: string;
|
|
11527
11685
|
|
|
11528
11686
|
sip_trunk_number: string;
|
|
11529
11687
|
|
|
11530
|
-
challenge:
|
|
11688
|
+
challenge: SIPChallengeRequest;
|
|
11531
11689
|
|
|
11532
11690
|
routing_number?: string;
|
|
11533
11691
|
|
|
@@ -11548,7 +11706,7 @@ export interface Response {
|
|
|
11548
11706
|
duration: string;
|
|
11549
11707
|
}
|
|
11550
11708
|
|
|
11551
|
-
export interface
|
|
11709
|
+
export interface RestoreActionRequestPayload {
|
|
11552
11710
|
decision_reason?: string;
|
|
11553
11711
|
}
|
|
11554
11712
|
|
|
@@ -11611,7 +11769,7 @@ export interface ReviewQueueItemResponse {
|
|
|
11611
11769
|
|
|
11612
11770
|
actions: ActionLogResponse[];
|
|
11613
11771
|
|
|
11614
|
-
bans:
|
|
11772
|
+
bans: BanInfoResponse[];
|
|
11615
11773
|
|
|
11616
11774
|
flags: ModerationFlagResponse[];
|
|
11617
11775
|
|
|
@@ -11647,7 +11805,7 @@ export interface ReviewQueueItemResponse {
|
|
|
11647
11805
|
|
|
11648
11806
|
message?: MessageResponse;
|
|
11649
11807
|
|
|
11650
|
-
moderation_payload?:
|
|
11808
|
+
moderation_payload?: ModerationPayloadResponse;
|
|
11651
11809
|
|
|
11652
11810
|
reaction?: Reaction;
|
|
11653
11811
|
}
|
|
@@ -11817,9 +11975,9 @@ export interface SFULocationResponse {
|
|
|
11817
11975
|
|
|
11818
11976
|
id: string;
|
|
11819
11977
|
|
|
11820
|
-
coordinates:
|
|
11978
|
+
coordinates: CoordinatesResponse;
|
|
11821
11979
|
|
|
11822
|
-
location:
|
|
11980
|
+
location: LocationResponse;
|
|
11823
11981
|
|
|
11824
11982
|
count?: number;
|
|
11825
11983
|
}
|
|
@@ -11844,7 +12002,7 @@ export interface SIPCallerConfigsResponse {
|
|
|
11844
12002
|
custom_data: Record<string, any>;
|
|
11845
12003
|
}
|
|
11846
12004
|
|
|
11847
|
-
export interface
|
|
12005
|
+
export interface SIPChallengeRequest {
|
|
11848
12006
|
a1?: string;
|
|
11849
12007
|
|
|
11850
12008
|
algorithm?: string;
|
|
@@ -12077,6 +12235,8 @@ export interface SearchResultMessage {
|
|
|
12077
12235
|
|
|
12078
12236
|
id: string;
|
|
12079
12237
|
|
|
12238
|
+
mentioned_channel: boolean;
|
|
12239
|
+
|
|
12080
12240
|
pinned: boolean;
|
|
12081
12241
|
|
|
12082
12242
|
reply_count: number;
|
|
@@ -12312,6 +12472,18 @@ export interface SendUserCustomEventRequest {
|
|
|
12312
12472
|
event: UserCustomEventRequest;
|
|
12313
12473
|
}
|
|
12314
12474
|
|
|
12475
|
+
export interface SessionClient {
|
|
12476
|
+
ip?: string;
|
|
12477
|
+
|
|
12478
|
+
name?: string;
|
|
12479
|
+
|
|
12480
|
+
network_type?: string;
|
|
12481
|
+
|
|
12482
|
+
version?: string;
|
|
12483
|
+
|
|
12484
|
+
location?: CallStatsLocation;
|
|
12485
|
+
}
|
|
12486
|
+
|
|
12315
12487
|
export interface SessionSettings {
|
|
12316
12488
|
inactivity_timeout_seconds: number;
|
|
12317
12489
|
}
|
|
@@ -12324,7 +12496,15 @@ export interface SessionSettingsResponse {
|
|
|
12324
12496
|
inactivity_timeout_seconds: number;
|
|
12325
12497
|
}
|
|
12326
12498
|
|
|
12327
|
-
export interface
|
|
12499
|
+
export interface SessionWarningResponse {
|
|
12500
|
+
code: string;
|
|
12501
|
+
|
|
12502
|
+
warning: string;
|
|
12503
|
+
|
|
12504
|
+
time?: Date;
|
|
12505
|
+
}
|
|
12506
|
+
|
|
12507
|
+
export interface ShadowBlockActionRequestPayload {
|
|
12328
12508
|
reason?: string;
|
|
12329
12509
|
}
|
|
12330
12510
|
|
|
@@ -12413,6 +12593,8 @@ export interface SingleFollowResponse {
|
|
|
12413
12593
|
}
|
|
12414
12594
|
|
|
12415
12595
|
export interface SipInboundCredentials {
|
|
12596
|
+
api_key: string;
|
|
12597
|
+
|
|
12416
12598
|
call_id: string;
|
|
12417
12599
|
|
|
12418
12600
|
call_type: string;
|
|
@@ -12426,20 +12608,12 @@ export interface SipInboundCredentials {
|
|
|
12426
12608
|
user_custom_data: Record<string, any>;
|
|
12427
12609
|
}
|
|
12428
12610
|
|
|
12429
|
-
export interface SortParam {
|
|
12430
|
-
direction?: number;
|
|
12431
|
-
|
|
12432
|
-
field?: string;
|
|
12433
|
-
|
|
12434
|
-
type?: string;
|
|
12435
|
-
}
|
|
12436
|
-
|
|
12437
12611
|
export interface SortParamRequest {
|
|
12438
12612
|
direction?: number;
|
|
12439
12613
|
|
|
12440
12614
|
field?: string;
|
|
12441
12615
|
|
|
12442
|
-
type?:
|
|
12616
|
+
type?: string;
|
|
12443
12617
|
}
|
|
12444
12618
|
|
|
12445
12619
|
export interface SpeechSegmentConfig {
|
|
@@ -12694,6 +12868,7 @@ export interface StoriesFeedUpdatedEvent {
|
|
|
12694
12868
|
|
|
12695
12869
|
export interface SubmitActionRequest {
|
|
12696
12870
|
action_type:
|
|
12871
|
+
| 'flag'
|
|
12697
12872
|
| 'mark_reviewed'
|
|
12698
12873
|
| 'delete_message'
|
|
12699
12874
|
| 'delete_activity'
|
|
@@ -12718,33 +12893,35 @@ export interface SubmitActionRequest {
|
|
|
12718
12893
|
|
|
12719
12894
|
user_id?: string;
|
|
12720
12895
|
|
|
12721
|
-
ban?:
|
|
12896
|
+
ban?: BanActionRequestPayload;
|
|
12722
12897
|
|
|
12723
|
-
block?:
|
|
12898
|
+
block?: BlockActionRequestPayload;
|
|
12724
12899
|
|
|
12725
|
-
custom?:
|
|
12900
|
+
custom?: CustomActionRequestPayload;
|
|
12726
12901
|
|
|
12727
|
-
delete_activity?:
|
|
12902
|
+
delete_activity?: DeleteActivityRequestPayload;
|
|
12728
12903
|
|
|
12729
|
-
delete_comment?:
|
|
12904
|
+
delete_comment?: DeleteCommentRequestPayload;
|
|
12730
12905
|
|
|
12731
|
-
delete_message?:
|
|
12906
|
+
delete_message?: DeleteMessageRequestPayload;
|
|
12732
12907
|
|
|
12733
|
-
delete_reaction?:
|
|
12908
|
+
delete_reaction?: DeleteReactionRequestPayload;
|
|
12734
12909
|
|
|
12735
|
-
delete_user?:
|
|
12910
|
+
delete_user?: DeleteUserRequestPayload;
|
|
12736
12911
|
|
|
12737
|
-
|
|
12912
|
+
flag?: FlagRequest;
|
|
12738
12913
|
|
|
12739
|
-
|
|
12914
|
+
mark_reviewed?: MarkReviewedRequestPayload;
|
|
12740
12915
|
|
|
12741
|
-
|
|
12916
|
+
reject_appeal?: RejectAppealRequestPayload;
|
|
12742
12917
|
|
|
12743
|
-
|
|
12918
|
+
restore?: RestoreActionRequestPayload;
|
|
12744
12919
|
|
|
12745
|
-
|
|
12920
|
+
shadow_block?: ShadowBlockActionRequestPayload;
|
|
12746
12921
|
|
|
12747
|
-
|
|
12922
|
+
unban?: UnbanActionRequestPayload;
|
|
12923
|
+
|
|
12924
|
+
unblock?: UnblockActionRequestPayload;
|
|
12748
12925
|
|
|
12749
12926
|
user?: UserRequest;
|
|
12750
12927
|
}
|
|
@@ -12930,19 +13107,21 @@ export interface ThreadStateResponse {
|
|
|
12930
13107
|
}
|
|
12931
13108
|
|
|
12932
13109
|
export interface ThreadUpdatedEvent {
|
|
12933
|
-
|
|
13110
|
+
created_at: Date;
|
|
12934
13111
|
|
|
12935
|
-
|
|
13112
|
+
custom: Record<string, any>;
|
|
12936
13113
|
|
|
12937
|
-
|
|
13114
|
+
type: string;
|
|
12938
13115
|
|
|
12939
|
-
|
|
13116
|
+
channel_id?: string;
|
|
12940
13117
|
|
|
12941
|
-
|
|
13118
|
+
channel_type?: string;
|
|
12942
13119
|
|
|
12943
|
-
|
|
13120
|
+
cid?: string;
|
|
12944
13121
|
|
|
12945
|
-
|
|
13122
|
+
received_at?: Date;
|
|
13123
|
+
|
|
13124
|
+
thread?: ThreadResponse;
|
|
12946
13125
|
}
|
|
12947
13126
|
|
|
12948
13127
|
export interface ThreadedCommentResponse {
|
|
@@ -12998,7 +13177,7 @@ export interface ThreadedCommentResponse {
|
|
|
12998
13177
|
|
|
12999
13178
|
moderation?: ModerationV2Response;
|
|
13000
13179
|
|
|
13001
|
-
reaction_groups?: Record<string,
|
|
13180
|
+
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
13002
13181
|
}
|
|
13003
13182
|
|
|
13004
13183
|
export interface Thresholds {
|
|
@@ -13271,15 +13450,13 @@ export interface TruncateChannelResponse {
|
|
|
13271
13450
|
message?: MessageResponse;
|
|
13272
13451
|
}
|
|
13273
13452
|
|
|
13274
|
-
export interface TypingIndicators {
|
|
13275
|
-
enabled?: boolean;
|
|
13276
|
-
}
|
|
13277
|
-
|
|
13278
13453
|
export interface TypingIndicatorsResponse {
|
|
13279
13454
|
enabled?: boolean;
|
|
13280
13455
|
}
|
|
13281
13456
|
|
|
13282
|
-
export interface
|
|
13457
|
+
export interface UnbanActionRequestPayload {
|
|
13458
|
+
channel_cid?: string;
|
|
13459
|
+
|
|
13283
13460
|
decision_reason?: string;
|
|
13284
13461
|
}
|
|
13285
13462
|
|
|
@@ -13293,7 +13470,7 @@ export interface UnbanResponse {
|
|
|
13293
13470
|
duration: string;
|
|
13294
13471
|
}
|
|
13295
13472
|
|
|
13296
|
-
export interface
|
|
13473
|
+
export interface UnblockActionRequestPayload {
|
|
13297
13474
|
decision_reason?: string;
|
|
13298
13475
|
}
|
|
13299
13476
|
|
|
@@ -13439,7 +13616,31 @@ export interface UnreadCountsThread {
|
|
|
13439
13616
|
unread_count: number;
|
|
13440
13617
|
}
|
|
13441
13618
|
|
|
13619
|
+
export interface UpdateActivitiesPartialBatchRequest {
|
|
13620
|
+
changes: UpdateActivityPartialChangeRequest[];
|
|
13621
|
+
}
|
|
13622
|
+
|
|
13623
|
+
export interface UpdateActivitiesPartialBatchResponse {
|
|
13624
|
+
duration: string;
|
|
13625
|
+
|
|
13626
|
+
activities: ActivityResponse[];
|
|
13627
|
+
}
|
|
13628
|
+
|
|
13629
|
+
export interface UpdateActivityPartialChangeRequest {
|
|
13630
|
+
activity_id: string;
|
|
13631
|
+
|
|
13632
|
+
copy_custom_to_notification?: boolean;
|
|
13633
|
+
|
|
13634
|
+
handle_mention_notifications?: boolean;
|
|
13635
|
+
|
|
13636
|
+
unset?: string[];
|
|
13637
|
+
|
|
13638
|
+
set?: Record<string, any>;
|
|
13639
|
+
}
|
|
13640
|
+
|
|
13442
13641
|
export interface UpdateActivityPartialRequest {
|
|
13642
|
+
copy_custom_to_notification?: boolean;
|
|
13643
|
+
|
|
13443
13644
|
handle_mention_notifications?: boolean;
|
|
13444
13645
|
|
|
13445
13646
|
run_activity_processors?: boolean;
|
|
@@ -13460,6 +13661,8 @@ export interface UpdateActivityPartialResponse {
|
|
|
13460
13661
|
}
|
|
13461
13662
|
|
|
13462
13663
|
export interface UpdateActivityRequest {
|
|
13664
|
+
copy_custom_to_notification?: boolean;
|
|
13665
|
+
|
|
13463
13666
|
expires_at?: Date;
|
|
13464
13667
|
|
|
13465
13668
|
handle_mention_notifications?: boolean;
|
|
@@ -13496,6 +13699,8 @@ export interface UpdateActivityRequest {
|
|
|
13496
13699
|
|
|
13497
13700
|
location?: ActivityLocation;
|
|
13498
13701
|
|
|
13702
|
+
search_data?: Record<string, any>;
|
|
13703
|
+
|
|
13499
13704
|
user?: UserRequest;
|
|
13500
13705
|
}
|
|
13501
13706
|
|
|
@@ -13688,7 +13893,7 @@ export interface UpdateCallTypeRequest {
|
|
|
13688
13893
|
|
|
13689
13894
|
grants?: Record<string, string[]>;
|
|
13690
13895
|
|
|
13691
|
-
notification_settings?:
|
|
13896
|
+
notification_settings?: NotificationSettingsRequest;
|
|
13692
13897
|
|
|
13693
13898
|
settings?: CallSettingsRequest;
|
|
13694
13899
|
}
|
|
@@ -13704,7 +13909,7 @@ export interface UpdateCallTypeResponse {
|
|
|
13704
13909
|
|
|
13705
13910
|
grants: Record<string, string[]>;
|
|
13706
13911
|
|
|
13707
|
-
notification_settings:
|
|
13912
|
+
notification_settings: NotificationSettingsResponse;
|
|
13708
13913
|
|
|
13709
13914
|
settings: CallSettingsResponse;
|
|
13710
13915
|
|
|
@@ -13806,6 +14011,8 @@ export interface UpdateChannelTypeRequest {
|
|
|
13806
14011
|
|
|
13807
14012
|
polls?: boolean;
|
|
13808
14013
|
|
|
14014
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
14015
|
+
|
|
13809
14016
|
push_notifications?: boolean;
|
|
13810
14017
|
|
|
13811
14018
|
quotes?: boolean;
|
|
@@ -13914,6 +14121,8 @@ export interface UpdateChannelTypeResponse {
|
|
|
13914
14121
|
|
|
13915
14122
|
partition_ttl?: string;
|
|
13916
14123
|
|
|
14124
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
14125
|
+
|
|
13917
14126
|
allowed_flag_reasons?: string[];
|
|
13918
14127
|
|
|
13919
14128
|
blocklists?: BlockListOptions[];
|
|
@@ -13960,6 +14169,8 @@ export interface UpdateCommandResponse {
|
|
|
13960
14169
|
export interface UpdateCommentRequest {
|
|
13961
14170
|
comment?: string;
|
|
13962
14171
|
|
|
14172
|
+
copy_custom_to_notification?: boolean;
|
|
14173
|
+
|
|
13963
14174
|
handle_mention_notifications?: boolean;
|
|
13964
14175
|
|
|
13965
14176
|
skip_enrich_url?: boolean;
|
|
@@ -14109,6 +14320,8 @@ export interface UpdateFollowRequest {
|
|
|
14109
14320
|
|
|
14110
14321
|
target: string;
|
|
14111
14322
|
|
|
14323
|
+
copy_custom_to_notification?: boolean;
|
|
14324
|
+
|
|
14112
14325
|
create_notification_activity?: boolean;
|
|
14113
14326
|
|
|
14114
14327
|
follower_role?: string;
|
|
@@ -14171,6 +14384,8 @@ export interface UpdateMembershipLevelResponse {
|
|
|
14171
14384
|
export interface UpdateMessagePartialRequest {
|
|
14172
14385
|
skip_enrich_url?: boolean;
|
|
14173
14386
|
|
|
14387
|
+
skip_push?: boolean;
|
|
14388
|
+
|
|
14174
14389
|
user_id?: string;
|
|
14175
14390
|
|
|
14176
14391
|
unset?: string[];
|
|
@@ -14507,7 +14722,7 @@ export interface UpsertModerationRuleResponse {
|
|
|
14507
14722
|
export interface UpsertModerationTemplateRequest {
|
|
14508
14723
|
name: string;
|
|
14509
14724
|
|
|
14510
|
-
config:
|
|
14725
|
+
config: FeedsModerationTemplateConfigPayload;
|
|
14511
14726
|
}
|
|
14512
14727
|
|
|
14513
14728
|
export interface UpsertModerationTemplateResponse {
|
|
@@ -14519,7 +14734,7 @@ export interface UpsertModerationTemplateResponse {
|
|
|
14519
14734
|
|
|
14520
14735
|
updated_at: Date;
|
|
14521
14736
|
|
|
14522
|
-
config?:
|
|
14737
|
+
config?: FeedsModerationTemplateConfigPayload;
|
|
14523
14738
|
}
|
|
14524
14739
|
|
|
14525
14740
|
export interface UpsertPushPreferencesRequest {
|
|
@@ -14531,14 +14746,14 @@ export interface UpsertPushPreferencesResponse {
|
|
|
14531
14746
|
|
|
14532
14747
|
user_channel_preferences: Record<
|
|
14533
14748
|
string,
|
|
14534
|
-
Record<string,
|
|
14749
|
+
Record<string, ChannelPushPreferencesResponse | null>
|
|
14535
14750
|
>;
|
|
14536
14751
|
|
|
14537
|
-
user_preferences: Record<string,
|
|
14752
|
+
user_preferences: Record<string, PushPreferencesResponse>;
|
|
14538
14753
|
}
|
|
14539
14754
|
|
|
14540
14755
|
export interface UpsertPushProviderRequest {
|
|
14541
|
-
push_provider?:
|
|
14756
|
+
push_provider?: PushProviderRequest;
|
|
14542
14757
|
}
|
|
14543
14758
|
|
|
14544
14759
|
export interface UpsertPushProviderResponse {
|
|
@@ -14572,55 +14787,49 @@ export interface UpsertPushTemplateRequest {
|
|
|
14572
14787
|
export interface UpsertPushTemplateResponse {
|
|
14573
14788
|
duration: string;
|
|
14574
14789
|
|
|
14575
|
-
template?:
|
|
14790
|
+
template?: PushTemplateResponse;
|
|
14576
14791
|
}
|
|
14577
14792
|
|
|
14578
14793
|
export interface User {
|
|
14579
14794
|
id: string;
|
|
14580
14795
|
|
|
14581
|
-
|
|
14582
|
-
|
|
14583
|
-
banned?: boolean;
|
|
14584
|
-
|
|
14585
|
-
invisible?: boolean;
|
|
14586
|
-
|
|
14587
|
-
language?: string;
|
|
14796
|
+
data?: Record<string, any>;
|
|
14797
|
+
}
|
|
14588
14798
|
|
|
14589
|
-
|
|
14799
|
+
export interface UserBannedEvent {
|
|
14800
|
+
created_at: Date;
|
|
14590
14801
|
|
|
14591
|
-
|
|
14802
|
+
custom: Record<string, any>;
|
|
14592
14803
|
|
|
14593
|
-
|
|
14804
|
+
user: UserResponseCommonFields;
|
|
14594
14805
|
|
|
14595
|
-
|
|
14806
|
+
type: string;
|
|
14596
14807
|
|
|
14597
|
-
|
|
14808
|
+
channel_id?: string;
|
|
14598
14809
|
|
|
14599
|
-
|
|
14600
|
-
}
|
|
14810
|
+
channel_member_count?: number;
|
|
14601
14811
|
|
|
14602
|
-
|
|
14603
|
-
channel_id: string;
|
|
14812
|
+
channel_message_count?: number;
|
|
14604
14813
|
|
|
14605
|
-
channel_type
|
|
14814
|
+
channel_type?: string;
|
|
14606
14815
|
|
|
14607
|
-
cid
|
|
14816
|
+
cid?: string;
|
|
14608
14817
|
|
|
14609
|
-
|
|
14818
|
+
expiration?: Date;
|
|
14610
14819
|
|
|
14611
|
-
|
|
14820
|
+
reason?: string;
|
|
14612
14821
|
|
|
14613
|
-
|
|
14822
|
+
received_at?: Date;
|
|
14614
14823
|
|
|
14615
|
-
|
|
14824
|
+
shadow?: boolean;
|
|
14616
14825
|
|
|
14617
|
-
|
|
14826
|
+
team?: string;
|
|
14618
14827
|
|
|
14619
|
-
|
|
14828
|
+
total_bans?: number;
|
|
14620
14829
|
|
|
14621
|
-
|
|
14830
|
+
channel_custom?: Record<string, any>;
|
|
14622
14831
|
|
|
14623
|
-
|
|
14832
|
+
created_by?: UserResponseCommonFields;
|
|
14624
14833
|
}
|
|
14625
14834
|
|
|
14626
14835
|
export interface UserCreatedWithinParameters {
|
|
@@ -14642,25 +14851,39 @@ export interface UserCustomPropertyParameters {
|
|
|
14642
14851
|
export interface UserDeactivatedEvent {
|
|
14643
14852
|
created_at: Date;
|
|
14644
14853
|
|
|
14645
|
-
|
|
14854
|
+
custom: Record<string, any>;
|
|
14855
|
+
|
|
14856
|
+
user: UserResponseCommonFields;
|
|
14646
14857
|
|
|
14647
14858
|
type: string;
|
|
14648
14859
|
|
|
14649
|
-
|
|
14860
|
+
received_at?: Date;
|
|
14861
|
+
|
|
14862
|
+
created_by?: UserResponseCommonFields;
|
|
14650
14863
|
}
|
|
14651
14864
|
|
|
14652
14865
|
export interface UserDeletedEvent {
|
|
14653
14866
|
created_at: Date;
|
|
14654
14867
|
|
|
14868
|
+
delete_conversation: string;
|
|
14869
|
+
|
|
14655
14870
|
delete_conversation_channels: boolean;
|
|
14656
14871
|
|
|
14872
|
+
delete_messages: string;
|
|
14873
|
+
|
|
14874
|
+
delete_user: string;
|
|
14875
|
+
|
|
14657
14876
|
hard_delete: boolean;
|
|
14658
14877
|
|
|
14659
14878
|
mark_messages_deleted: boolean;
|
|
14660
14879
|
|
|
14880
|
+
custom: Record<string, any>;
|
|
14881
|
+
|
|
14882
|
+
user: UserResponseCommonFields;
|
|
14883
|
+
|
|
14661
14884
|
type: string;
|
|
14662
14885
|
|
|
14663
|
-
|
|
14886
|
+
received_at?: Date;
|
|
14664
14887
|
}
|
|
14665
14888
|
|
|
14666
14889
|
export interface UserFeedbackReport {
|
|
@@ -14696,13 +14919,19 @@ export interface UserFeedbackResponse {
|
|
|
14696
14919
|
export interface UserFlaggedEvent {
|
|
14697
14920
|
created_at: Date;
|
|
14698
14921
|
|
|
14922
|
+
reason: string;
|
|
14923
|
+
|
|
14924
|
+
total_flags: number;
|
|
14925
|
+
|
|
14926
|
+
user: UserResponseCommonFields;
|
|
14927
|
+
|
|
14699
14928
|
type: string;
|
|
14700
14929
|
|
|
14701
|
-
|
|
14930
|
+
received_at?: Date;
|
|
14702
14931
|
|
|
14703
|
-
|
|
14932
|
+
custom?: Record<string, any>;
|
|
14704
14933
|
|
|
14705
|
-
|
|
14934
|
+
target_user?: UserResponseCommonFields;
|
|
14706
14935
|
}
|
|
14707
14936
|
|
|
14708
14937
|
export interface UserIdenticalContentCountParameters {
|
|
@@ -14739,18 +14968,6 @@ export interface UserMessagesDeletedEvent {
|
|
|
14739
14968
|
channel_custom?: Record<string, any>;
|
|
14740
14969
|
}
|
|
14741
14970
|
|
|
14742
|
-
export interface UserMute {
|
|
14743
|
-
created_at: Date;
|
|
14744
|
-
|
|
14745
|
-
updated_at: Date;
|
|
14746
|
-
|
|
14747
|
-
expires?: Date;
|
|
14748
|
-
|
|
14749
|
-
target?: User;
|
|
14750
|
-
|
|
14751
|
-
user?: User;
|
|
14752
|
-
}
|
|
14753
|
-
|
|
14754
14971
|
export interface UserMuteResponse {
|
|
14755
14972
|
created_at: Date;
|
|
14756
14973
|
|
|
@@ -14766,13 +14983,17 @@ export interface UserMuteResponse {
|
|
|
14766
14983
|
export interface UserMutedEvent {
|
|
14767
14984
|
created_at: Date;
|
|
14768
14985
|
|
|
14986
|
+
custom: Record<string, any>;
|
|
14987
|
+
|
|
14988
|
+
user: UserResponseCommonFields;
|
|
14989
|
+
|
|
14769
14990
|
type: string;
|
|
14770
14991
|
|
|
14771
|
-
|
|
14992
|
+
received_at?: Date;
|
|
14772
14993
|
|
|
14773
|
-
target_users?:
|
|
14994
|
+
target_users?: UserResponseCommonFields[];
|
|
14774
14995
|
|
|
14775
|
-
|
|
14996
|
+
target_user?: UserResponseCommonFields;
|
|
14776
14997
|
}
|
|
14777
14998
|
|
|
14778
14999
|
export interface UserRatingReportResponse {
|
|
@@ -14784,9 +15005,15 @@ export interface UserRatingReportResponse {
|
|
|
14784
15005
|
export interface UserReactivatedEvent {
|
|
14785
15006
|
created_at: Date;
|
|
14786
15007
|
|
|
15008
|
+
custom: Record<string, any>;
|
|
15009
|
+
|
|
15010
|
+
user: UserResponseCommonFields;
|
|
15011
|
+
|
|
14787
15012
|
type: string;
|
|
14788
15013
|
|
|
14789
|
-
|
|
15014
|
+
received_at?: Date;
|
|
15015
|
+
|
|
15016
|
+
created_by?: UserResponseCommonFields;
|
|
14790
15017
|
}
|
|
14791
15018
|
|
|
14792
15019
|
export interface UserRequest {
|
|
@@ -14952,43 +15179,63 @@ export interface UserRuleParameters {
|
|
|
14952
15179
|
}
|
|
14953
15180
|
|
|
14954
15181
|
export interface UserUnbannedEvent {
|
|
14955
|
-
|
|
15182
|
+
created_at: Date;
|
|
14956
15183
|
|
|
14957
|
-
|
|
15184
|
+
custom: Record<string, any>;
|
|
14958
15185
|
|
|
14959
|
-
|
|
15186
|
+
user: UserResponseCommonFields;
|
|
14960
15187
|
|
|
14961
|
-
|
|
15188
|
+
type: string;
|
|
15189
|
+
|
|
15190
|
+
channel_id?: string;
|
|
14962
15191
|
|
|
14963
|
-
|
|
15192
|
+
channel_member_count?: number;
|
|
14964
15193
|
|
|
14965
|
-
|
|
15194
|
+
channel_message_count?: number;
|
|
15195
|
+
|
|
15196
|
+
channel_type?: string;
|
|
15197
|
+
|
|
15198
|
+
cid?: string;
|
|
15199
|
+
|
|
15200
|
+
received_at?: Date;
|
|
15201
|
+
|
|
15202
|
+
shadow?: boolean;
|
|
14966
15203
|
|
|
14967
15204
|
team?: string;
|
|
14968
15205
|
|
|
14969
|
-
|
|
15206
|
+
channel_custom?: Record<string, any>;
|
|
15207
|
+
|
|
15208
|
+
created_by?: UserResponseCommonFields;
|
|
14970
15209
|
}
|
|
14971
15210
|
|
|
14972
15211
|
export interface UserUnmutedEvent {
|
|
14973
15212
|
created_at: Date;
|
|
14974
15213
|
|
|
15214
|
+
custom: Record<string, any>;
|
|
15215
|
+
|
|
15216
|
+
user: UserResponseCommonFields;
|
|
15217
|
+
|
|
14975
15218
|
type: string;
|
|
14976
15219
|
|
|
14977
|
-
|
|
15220
|
+
received_at?: Date;
|
|
14978
15221
|
|
|
14979
|
-
target_users?:
|
|
15222
|
+
target_users?: UserResponseCommonFields[];
|
|
14980
15223
|
|
|
14981
|
-
|
|
15224
|
+
target_user?: UserResponseCommonFields;
|
|
14982
15225
|
}
|
|
14983
15226
|
|
|
14984
15227
|
export interface UserUnreadReminderEvent {
|
|
14985
15228
|
created_at: Date;
|
|
14986
15229
|
|
|
14987
|
-
channels: Record<string,
|
|
15230
|
+
channels: Record<string, ChannelMessagesResponse>;
|
|
15231
|
+
|
|
15232
|
+
custom: Record<string, any>;
|
|
15233
|
+
|
|
15234
|
+
user: UserResponseCommonFields;
|
|
14988
15235
|
|
|
14989
15236
|
type: string;
|
|
14990
15237
|
|
|
14991
|
-
|
|
15238
|
+
received_at?: Date;
|
|
14992
15239
|
}
|
|
14993
15240
|
|
|
14994
15241
|
export interface UserUpdatedEvent {
|
|
@@ -15061,14 +15308,24 @@ export interface VideoContentParameters {
|
|
|
15061
15308
|
harm_labels?: string[];
|
|
15062
15309
|
}
|
|
15063
15310
|
|
|
15064
|
-
export interface
|
|
15311
|
+
export interface VideoEndCallRequestPayload {}
|
|
15065
15312
|
|
|
15066
|
-
export interface
|
|
15313
|
+
export interface VideoKickUserRequestPayload {}
|
|
15067
15314
|
|
|
15068
15315
|
export interface VideoReactionOverTimeResponse {
|
|
15069
15316
|
by_minute?: CountByMinuteResponse[];
|
|
15070
15317
|
}
|
|
15071
15318
|
|
|
15319
|
+
export interface VideoReactionResponse {
|
|
15320
|
+
type: string;
|
|
15321
|
+
|
|
15322
|
+
user: UserResponse;
|
|
15323
|
+
|
|
15324
|
+
emoji_code?: string;
|
|
15325
|
+
|
|
15326
|
+
custom?: Record<string, any>;
|
|
15327
|
+
}
|
|
15328
|
+
|
|
15072
15329
|
export interface VideoReactionsResponse {
|
|
15073
15330
|
reaction: string;
|
|
15074
15331
|
|
|
@@ -15186,8 +15443,7 @@ export interface WSEvent {
|
|
|
15186
15443
|
}
|
|
15187
15444
|
|
|
15188
15445
|
export type WebhookEvent =
|
|
15189
|
-
| ({ type: '*' } &
|
|
15190
|
-
| ({ type: 'activity.marked' } & ActivityMarkedEvent)
|
|
15446
|
+
| ({ type: '*' } & CustomEvent)
|
|
15191
15447
|
| ({ type: 'appeal.accepted' } & AppealAcceptedEvent)
|
|
15192
15448
|
| ({ type: 'appeal.created' } & AppealCreatedEvent)
|
|
15193
15449
|
| ({ type: 'appeal.rejected' } & AppealRejectedEvent)
|
|
@@ -15199,6 +15455,7 @@ export type WebhookEvent =
|
|
|
15199
15455
|
| ({ type: 'call.closed_captions_stopped' } & CallClosedCaptionsStoppedEvent)
|
|
15200
15456
|
| ({ type: 'call.created' } & CallCreatedEvent)
|
|
15201
15457
|
| ({ type: 'call.deleted' } & CallDeletedEvent)
|
|
15458
|
+
| ({ type: 'call.dtmf' } & CallDTMFEvent)
|
|
15202
15459
|
| ({ type: 'call.ended' } & CallEndedEvent)
|
|
15203
15460
|
| ({ type: 'call.frame_recording_failed' } & CallFrameRecordingFailedEvent)
|
|
15204
15461
|
| ({ type: 'call.frame_recording_ready' } & CallFrameRecordingFrameReadyEvent)
|
|
@@ -15261,6 +15518,7 @@ export type WebhookEvent =
|
|
|
15261
15518
|
| ({ type: 'channel.deleted' } & ChannelDeletedEvent)
|
|
15262
15519
|
| ({ type: 'channel.frozen' } & ChannelFrozenEvent)
|
|
15263
15520
|
| ({ type: 'channel.hidden' } & ChannelHiddenEvent)
|
|
15521
|
+
| ({ type: 'channel.max_streak_changed' } & MaxStreakChangedEvent)
|
|
15264
15522
|
| ({ type: 'channel.muted' } & ChannelMutedEvent)
|
|
15265
15523
|
| ({ type: 'channel.truncated' } & ChannelTruncatedEvent)
|
|
15266
15524
|
| ({ type: 'channel.unfrozen' } & ChannelUnFrozenEvent)
|
|
@@ -15341,7 +15599,9 @@ export type WebhookEvent =
|
|
|
15341
15599
|
| ({ type: 'moderation_check.completed' } & ModerationCheckCompletedEvent)
|
|
15342
15600
|
| ({ type: 'notification.mark_unread' } & NotificationMarkUnreadEvent)
|
|
15343
15601
|
| ({ type: 'notification.reminder_due' } & ReminderNotificationEvent)
|
|
15344
|
-
| ({
|
|
15602
|
+
| ({
|
|
15603
|
+
type: 'notification.thread_message_new';
|
|
15604
|
+
} & NotificationThreadMessageNewEvent)
|
|
15345
15605
|
| ({ type: 'reaction.deleted' } & ReactionDeletedEvent)
|
|
15346
15606
|
| ({ type: 'reaction.new' } & ReactionNewEvent)
|
|
15347
15607
|
| ({ type: 'reaction.updated' } & ReactionUpdatedEvent)
|