@stream-io/node-sdk 0.7.39 → 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 +713 -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 +1192 -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,63 @@ 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;
|
|
9069
|
+
}
|
|
9070
|
+
|
|
9071
|
+
export interface NotificationParentActivity {
|
|
9072
|
+
id: string;
|
|
9073
|
+
|
|
9074
|
+
text?: string;
|
|
9075
|
+
|
|
9076
|
+
type?: string;
|
|
9077
|
+
|
|
9078
|
+
user_id?: string;
|
|
9079
|
+
|
|
9080
|
+
attachments?: Attachment[];
|
|
8989
9081
|
}
|
|
8990
9082
|
|
|
8991
9083
|
export interface NotificationSettings {
|
|
@@ -9002,6 +9094,34 @@ export interface NotificationSettings {
|
|
|
9002
9094
|
session_started: EventNotificationSettings;
|
|
9003
9095
|
}
|
|
9004
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
|
+
|
|
9005
9125
|
export interface NotificationStatusResponse {
|
|
9006
9126
|
unread: number;
|
|
9007
9127
|
|
|
@@ -9030,6 +9150,50 @@ export interface NotificationTarget {
|
|
|
9030
9150
|
attachments?: Attachment[];
|
|
9031
9151
|
|
|
9032
9152
|
comment?: NotificationComment;
|
|
9153
|
+
|
|
9154
|
+
parent_activity?: NotificationParentActivity;
|
|
9155
|
+
}
|
|
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>;
|
|
9033
9197
|
}
|
|
9034
9198
|
|
|
9035
9199
|
export interface NotificationTrigger {
|
|
@@ -9094,89 +9258,31 @@ export const OwnCapability = {
|
|
|
9094
9258
|
READ_CALL: 'read-call',
|
|
9095
9259
|
REMOVE_CALL_MEMBER: 'remove-call-member',
|
|
9096
9260
|
SCREENSHARE: 'screenshare',
|
|
9097
|
-
SEND_AUDIO: 'send-audio',
|
|
9098
|
-
SEND_CLOSED_CAPTIONS_CALL: 'send-closed-captions-call',
|
|
9099
|
-
SEND_VIDEO: 'send-video',
|
|
9100
|
-
START_BROADCAST_CALL: 'start-broadcast-call',
|
|
9101
|
-
START_CLOSED_CAPTIONS_CALL: 'start-closed-captions-call',
|
|
9102
|
-
START_FRAME_RECORD_CALL: 'start-frame-record-call',
|
|
9103
|
-
START_INDIVIDUAL_RECORD_CALL: 'start-individual-record-call',
|
|
9104
|
-
START_RAW_RECORD_CALL: 'start-raw-record-call',
|
|
9105
|
-
START_RECORD_CALL: 'start-record-call',
|
|
9106
|
-
START_TRANSCRIPTION_CALL: 'start-transcription-call',
|
|
9107
|
-
STOP_BROADCAST_CALL: 'stop-broadcast-call',
|
|
9108
|
-
STOP_CLOSED_CAPTIONS_CALL: 'stop-closed-captions-call',
|
|
9109
|
-
STOP_FRAME_RECORD_CALL: 'stop-frame-record-call',
|
|
9110
|
-
STOP_INDIVIDUAL_RECORD_CALL: 'stop-individual-record-call',
|
|
9111
|
-
STOP_RAW_RECORD_CALL: 'stop-raw-record-call',
|
|
9112
|
-
STOP_RECORD_CALL: 'stop-record-call',
|
|
9113
|
-
STOP_TRANSCRIPTION_CALL: 'stop-transcription-call',
|
|
9114
|
-
UPDATE_CALL: 'update-call',
|
|
9115
|
-
UPDATE_CALL_MEMBER: 'update-call-member',
|
|
9116
|
-
UPDATE_CALL_PERMISSIONS: 'update-call-permissions',
|
|
9117
|
-
UPDATE_CALL_SETTINGS: 'update-call-settings',
|
|
9118
|
-
} as const;
|
|
9119
|
-
|
|
9120
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
9121
|
-
export type OwnCapability = (typeof OwnCapability)[keyof typeof OwnCapability];
|
|
9122
|
-
|
|
9123
|
-
export interface OwnUser {
|
|
9124
|
-
banned: boolean;
|
|
9125
|
-
|
|
9126
|
-
created_at: Date;
|
|
9127
|
-
|
|
9128
|
-
id: string;
|
|
9129
|
-
|
|
9130
|
-
language: string;
|
|
9131
|
-
|
|
9132
|
-
online: boolean;
|
|
9133
|
-
|
|
9134
|
-
role: string;
|
|
9135
|
-
|
|
9136
|
-
total_unread_count: number;
|
|
9137
|
-
|
|
9138
|
-
unread_channels: number;
|
|
9139
|
-
|
|
9140
|
-
unread_count: number;
|
|
9141
|
-
|
|
9142
|
-
unread_threads: number;
|
|
9143
|
-
|
|
9144
|
-
updated_at: Date;
|
|
9145
|
-
|
|
9146
|
-
channel_mutes: ChannelMute[];
|
|
9147
|
-
|
|
9148
|
-
devices: Device[];
|
|
9149
|
-
|
|
9150
|
-
mutes: UserMute[];
|
|
9151
|
-
|
|
9152
|
-
custom: Record<string, any>;
|
|
9153
|
-
|
|
9154
|
-
total_unread_count_by_team: Record<string, number>;
|
|
9155
|
-
|
|
9156
|
-
avg_response_time?: number;
|
|
9157
|
-
|
|
9158
|
-
deactivated_at?: Date;
|
|
9159
|
-
|
|
9160
|
-
deleted_at?: Date;
|
|
9161
|
-
|
|
9162
|
-
invisible?: boolean;
|
|
9163
|
-
|
|
9164
|
-
last_active?: Date;
|
|
9165
|
-
|
|
9166
|
-
last_engaged_at?: Date;
|
|
9167
|
-
|
|
9168
|
-
blocked_user_ids?: string[];
|
|
9169
|
-
|
|
9170
|
-
latest_hidden_channels?: string[];
|
|
9171
|
-
|
|
9172
|
-
teams?: string[];
|
|
9173
|
-
|
|
9174
|
-
privacy_settings?: PrivacySettings;
|
|
9175
|
-
|
|
9176
|
-
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;
|
|
9177
9283
|
|
|
9178
|
-
|
|
9179
|
-
|
|
9284
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
9285
|
+
export type OwnCapability = (typeof OwnCapability)[keyof typeof OwnCapability];
|
|
9180
9286
|
|
|
9181
9287
|
export interface OwnUserResponse {
|
|
9182
9288
|
banned: boolean;
|
|
@@ -9260,6 +9366,14 @@ export interface PaginationParams {
|
|
|
9260
9366
|
offset?: number;
|
|
9261
9367
|
}
|
|
9262
9368
|
|
|
9369
|
+
export interface ParsedPredefinedFilterResponse {
|
|
9370
|
+
name: string;
|
|
9371
|
+
|
|
9372
|
+
filter: Record<string, any>;
|
|
9373
|
+
|
|
9374
|
+
sort?: SortParamRequest[];
|
|
9375
|
+
}
|
|
9376
|
+
|
|
9263
9377
|
export interface ParticipantCountByMinuteResponse {
|
|
9264
9378
|
first: number;
|
|
9265
9379
|
|
|
@@ -9399,13 +9513,13 @@ export interface PendingMessageEvent {
|
|
|
9399
9513
|
|
|
9400
9514
|
received_at?: Date;
|
|
9401
9515
|
|
|
9402
|
-
channel?:
|
|
9516
|
+
channel?: ChannelResponse;
|
|
9403
9517
|
|
|
9404
|
-
message?:
|
|
9518
|
+
message?: MessageResponse;
|
|
9405
9519
|
|
|
9406
9520
|
metadata?: Record<string, string>;
|
|
9407
9521
|
|
|
9408
|
-
user?:
|
|
9522
|
+
user?: UserResponse;
|
|
9409
9523
|
}
|
|
9410
9524
|
|
|
9411
9525
|
export interface PendingMessageResponse {
|
|
@@ -9433,7 +9547,7 @@ export interface Permission {
|
|
|
9433
9547
|
|
|
9434
9548
|
id: string;
|
|
9435
9549
|
|
|
9436
|
-
level:
|
|
9550
|
+
level: string;
|
|
9437
9551
|
|
|
9438
9552
|
name: string;
|
|
9439
9553
|
|
|
@@ -9526,58 +9640,6 @@ export interface PolicyRequest {
|
|
|
9526
9640
|
roles: string[];
|
|
9527
9641
|
}
|
|
9528
9642
|
|
|
9529
|
-
export interface Poll {
|
|
9530
|
-
allow_answers: boolean;
|
|
9531
|
-
|
|
9532
|
-
allow_user_suggested_options: boolean;
|
|
9533
|
-
|
|
9534
|
-
answers_count: number;
|
|
9535
|
-
|
|
9536
|
-
created_at: Date;
|
|
9537
|
-
|
|
9538
|
-
created_by_id: string;
|
|
9539
|
-
|
|
9540
|
-
description: string;
|
|
9541
|
-
|
|
9542
|
-
enforce_unique_vote: boolean;
|
|
9543
|
-
|
|
9544
|
-
id: string;
|
|
9545
|
-
|
|
9546
|
-
name: string;
|
|
9547
|
-
|
|
9548
|
-
updated_at: Date;
|
|
9549
|
-
|
|
9550
|
-
vote_count: number;
|
|
9551
|
-
|
|
9552
|
-
latest_answers: PollVote[];
|
|
9553
|
-
|
|
9554
|
-
options: PollOption[];
|
|
9555
|
-
|
|
9556
|
-
own_votes: PollVote[];
|
|
9557
|
-
|
|
9558
|
-
custom: Record<string, any>;
|
|
9559
|
-
|
|
9560
|
-
latest_votes_by_option: Record<string, PollVote[]>;
|
|
9561
|
-
|
|
9562
|
-
vote_counts_by_option: Record<string, number>;
|
|
9563
|
-
|
|
9564
|
-
is_closed?: boolean;
|
|
9565
|
-
|
|
9566
|
-
max_votes_allowed?: number;
|
|
9567
|
-
|
|
9568
|
-
voting_visibility?: string;
|
|
9569
|
-
|
|
9570
|
-
created_by?: User;
|
|
9571
|
-
}
|
|
9572
|
-
|
|
9573
|
-
export interface PollOption {
|
|
9574
|
-
id: string;
|
|
9575
|
-
|
|
9576
|
-
text: string;
|
|
9577
|
-
|
|
9578
|
-
custom: Record<string, any>;
|
|
9579
|
-
}
|
|
9580
|
-
|
|
9581
9643
|
export interface PollOptionInput {
|
|
9582
9644
|
text?: string;
|
|
9583
9645
|
|
|
@@ -9656,26 +9718,6 @@ export interface PollResponseData {
|
|
|
9656
9718
|
created_by?: UserResponse;
|
|
9657
9719
|
}
|
|
9658
9720
|
|
|
9659
|
-
export interface PollVote {
|
|
9660
|
-
created_at: Date;
|
|
9661
|
-
|
|
9662
|
-
id: string;
|
|
9663
|
-
|
|
9664
|
-
option_id: string;
|
|
9665
|
-
|
|
9666
|
-
poll_id: string;
|
|
9667
|
-
|
|
9668
|
-
updated_at: Date;
|
|
9669
|
-
|
|
9670
|
-
answer_text?: string;
|
|
9671
|
-
|
|
9672
|
-
is_answer?: boolean;
|
|
9673
|
-
|
|
9674
|
-
user_id?: string;
|
|
9675
|
-
|
|
9676
|
-
user?: User;
|
|
9677
|
-
}
|
|
9678
|
-
|
|
9679
9721
|
export interface PollVoteResponse {
|
|
9680
9722
|
duration: string;
|
|
9681
9723
|
|
|
@@ -9714,14 +9756,6 @@ export interface PollVotesResponse {
|
|
|
9714
9756
|
prev?: string;
|
|
9715
9757
|
}
|
|
9716
9758
|
|
|
9717
|
-
export interface PrivacySettings {
|
|
9718
|
-
delivery_receipts?: DeliveryReceipts;
|
|
9719
|
-
|
|
9720
|
-
read_receipts?: ReadReceipts;
|
|
9721
|
-
|
|
9722
|
-
typing_indicators?: TypingIndicators;
|
|
9723
|
-
}
|
|
9724
|
-
|
|
9725
9759
|
export interface PrivacySettingsResponse {
|
|
9726
9760
|
delivery_receipts?: DeliveryReceiptsResponse;
|
|
9727
9761
|
|
|
@@ -9740,6 +9774,22 @@ export interface PublishedTrackFlags {
|
|
|
9740
9774
|
video: boolean;
|
|
9741
9775
|
}
|
|
9742
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
|
+
|
|
9743
9793
|
export interface PublisherAllMetrics {
|
|
9744
9794
|
audio?: PublisherAudioMetrics;
|
|
9745
9795
|
|
|
@@ -9815,7 +9865,13 @@ export interface PushPreferenceInput {
|
|
|
9815
9865
|
|
|
9816
9866
|
channel_cid?: string;
|
|
9817
9867
|
|
|
9818
|
-
chat_level?:
|
|
9868
|
+
chat_level?:
|
|
9869
|
+
| 'all'
|
|
9870
|
+
| 'mentions'
|
|
9871
|
+
| 'direct_mentions'
|
|
9872
|
+
| 'all_mentions'
|
|
9873
|
+
| 'none'
|
|
9874
|
+
| 'default';
|
|
9819
9875
|
|
|
9820
9876
|
disabled_until?: Date;
|
|
9821
9877
|
|
|
@@ -9828,18 +9884,6 @@ export interface PushPreferenceInput {
|
|
|
9828
9884
|
feeds_preferences?: FeedsPreferences;
|
|
9829
9885
|
}
|
|
9830
9886
|
|
|
9831
|
-
export interface PushPreferences {
|
|
9832
|
-
call_level?: string;
|
|
9833
|
-
|
|
9834
|
-
chat_level?: string;
|
|
9835
|
-
|
|
9836
|
-
disabled_until?: Date;
|
|
9837
|
-
|
|
9838
|
-
feeds_level?: string;
|
|
9839
|
-
|
|
9840
|
-
feeds_preferences?: FeedsPreferences;
|
|
9841
|
-
}
|
|
9842
|
-
|
|
9843
9887
|
export interface PushPreferencesResponse {
|
|
9844
9888
|
call_level?: string;
|
|
9845
9889
|
|
|
@@ -9910,6 +9954,56 @@ export interface PushProvider {
|
|
|
9910
9954
|
push_templates?: PushTemplate[];
|
|
9911
9955
|
}
|
|
9912
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
|
+
|
|
9913
10007
|
export interface PushProviderResponse {
|
|
9914
10008
|
created_at: Date;
|
|
9915
10009
|
|
|
@@ -9990,6 +10084,20 @@ export interface PushTemplate {
|
|
|
9990
10084
|
template?: string;
|
|
9991
10085
|
}
|
|
9992
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
|
+
|
|
9993
10101
|
export interface QualityScoreReport {
|
|
9994
10102
|
histogram: ReportByHistogramBucket[];
|
|
9995
10103
|
}
|
|
@@ -10400,6 +10508,8 @@ export interface QueryChannelsResponse {
|
|
|
10400
10508
|
duration: string;
|
|
10401
10509
|
|
|
10402
10510
|
channels: ChannelStateResponseFields[];
|
|
10511
|
+
|
|
10512
|
+
predefined_filter?: ParsedPredefinedFilterResponse;
|
|
10403
10513
|
}
|
|
10404
10514
|
|
|
10405
10515
|
export interface QueryCommentReactionsRequest {
|
|
@@ -10501,7 +10611,7 @@ export interface QueryFeedModerationTemplate {
|
|
|
10501
10611
|
|
|
10502
10612
|
updated_at: Date;
|
|
10503
10613
|
|
|
10504
|
-
config?:
|
|
10614
|
+
config?: FeedsModerationTemplateConfigPayload;
|
|
10505
10615
|
}
|
|
10506
10616
|
|
|
10507
10617
|
export interface QueryFeedModerationTemplatesResponse {
|
|
@@ -10713,7 +10823,7 @@ export interface QueryModerationFlagsRequest {
|
|
|
10713
10823
|
|
|
10714
10824
|
prev?: string;
|
|
10715
10825
|
|
|
10716
|
-
sort?:
|
|
10826
|
+
sort?: SortParamRequest[];
|
|
10717
10827
|
|
|
10718
10828
|
filter?: Record<string, any>;
|
|
10719
10829
|
}
|
|
@@ -10897,7 +11007,7 @@ export interface QueryReviewQueueResponse {
|
|
|
10897
11007
|
|
|
10898
11008
|
items: ReviewQueueItemResponse[];
|
|
10899
11009
|
|
|
10900
|
-
action_config: Record<string,
|
|
11010
|
+
action_config: Record<string, ModerationActionConfigResponse[]>;
|
|
10901
11011
|
|
|
10902
11012
|
stats: Record<string, any>;
|
|
10903
11013
|
|
|
@@ -11127,43 +11237,75 @@ export interface RawRecordingSettingsResponse {
|
|
|
11127
11237
|
}
|
|
11128
11238
|
|
|
11129
11239
|
export interface Reaction {
|
|
11240
|
+
activity_id: string;
|
|
11241
|
+
|
|
11130
11242
|
created_at: Date;
|
|
11131
11243
|
|
|
11132
|
-
|
|
11244
|
+
kind: string;
|
|
11133
11245
|
|
|
11134
|
-
|
|
11246
|
+
updated_at: Date;
|
|
11135
11247
|
|
|
11136
|
-
|
|
11248
|
+
user_id: string;
|
|
11137
11249
|
|
|
11138
|
-
|
|
11250
|
+
deleted_at?: Date;
|
|
11139
11251
|
|
|
11140
|
-
|
|
11252
|
+
id?: string;
|
|
11141
11253
|
|
|
11142
|
-
|
|
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>;
|
|
11143
11271
|
|
|
11144
11272
|
user?: User;
|
|
11145
11273
|
}
|
|
11146
11274
|
|
|
11147
11275
|
export interface ReactionDeletedEvent {
|
|
11148
|
-
|
|
11149
|
-
|
|
11150
|
-
channel_type: string;
|
|
11276
|
+
created_at: Date;
|
|
11151
11277
|
|
|
11152
|
-
|
|
11278
|
+
channel: ChannelResponse;
|
|
11153
11279
|
|
|
11154
|
-
|
|
11280
|
+
custom: Record<string, any>;
|
|
11155
11281
|
|
|
11156
11282
|
type: string;
|
|
11157
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
|
+
|
|
11158
11298
|
team?: string;
|
|
11159
11299
|
|
|
11160
|
-
thread_participants?:
|
|
11300
|
+
thread_participants?: UserResponseCommonFields[];
|
|
11161
11301
|
|
|
11162
|
-
|
|
11302
|
+
channel_custom?: Record<string, any>;
|
|
11163
11303
|
|
|
11164
|
-
|
|
11304
|
+
message?: MessageResponse;
|
|
11165
11305
|
|
|
11166
|
-
|
|
11306
|
+
reaction?: ReactionResponse;
|
|
11307
|
+
|
|
11308
|
+
user?: UserResponseCommonFields;
|
|
11167
11309
|
}
|
|
11168
11310
|
|
|
11169
11311
|
export interface ReactionGroupResponse {
|
|
@@ -11177,25 +11319,39 @@ export interface ReactionGroupResponse {
|
|
|
11177
11319
|
}
|
|
11178
11320
|
|
|
11179
11321
|
export interface ReactionNewEvent {
|
|
11180
|
-
|
|
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;
|
|
11181
11335
|
|
|
11182
|
-
channel_type
|
|
11336
|
+
channel_type?: string;
|
|
11183
11337
|
|
|
11184
|
-
cid
|
|
11338
|
+
cid?: string;
|
|
11185
11339
|
|
|
11186
|
-
|
|
11340
|
+
message_id?: string;
|
|
11187
11341
|
|
|
11188
|
-
|
|
11342
|
+
received_at?: Date;
|
|
11189
11343
|
|
|
11190
11344
|
team?: string;
|
|
11191
11345
|
|
|
11192
|
-
thread_participants?:
|
|
11346
|
+
thread_participants?: UserResponseCommonFields[];
|
|
11193
11347
|
|
|
11194
|
-
|
|
11348
|
+
channel_custom?: Record<string, any>;
|
|
11195
11349
|
|
|
11196
|
-
|
|
11350
|
+
message?: MessageResponse;
|
|
11197
11351
|
|
|
11198
|
-
|
|
11352
|
+
reaction?: ReactionResponse;
|
|
11353
|
+
|
|
11354
|
+
user?: UserResponseCommonFields;
|
|
11199
11355
|
}
|
|
11200
11356
|
|
|
11201
11357
|
export interface ReactionRequest {
|
|
@@ -11233,23 +11389,37 @@ export interface ReactionResponse {
|
|
|
11233
11389
|
}
|
|
11234
11390
|
|
|
11235
11391
|
export interface ReactionUpdatedEvent {
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
channel_type: string;
|
|
11392
|
+
created_at: Date;
|
|
11239
11393
|
|
|
11240
|
-
|
|
11394
|
+
message_id: string;
|
|
11241
11395
|
|
|
11242
|
-
|
|
11396
|
+
channel: ChannelResponse;
|
|
11243
11397
|
|
|
11244
|
-
|
|
11398
|
+
custom: Record<string, any>;
|
|
11245
11399
|
|
|
11246
|
-
|
|
11400
|
+
message: MessageResponse;
|
|
11247
11401
|
|
|
11248
11402
|
type: string;
|
|
11249
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
|
+
|
|
11250
11416
|
team?: string;
|
|
11251
11417
|
|
|
11252
|
-
|
|
11418
|
+
channel_custom?: Record<string, any>;
|
|
11419
|
+
|
|
11420
|
+
reaction?: ReactionResponse;
|
|
11421
|
+
|
|
11422
|
+
user?: UserResponseCommonFields;
|
|
11253
11423
|
}
|
|
11254
11424
|
|
|
11255
11425
|
export interface ReactivateUserRequest {
|
|
@@ -11288,10 +11458,6 @@ export interface ReadCollectionsResponse {
|
|
|
11288
11458
|
collections: CollectionResponse[];
|
|
11289
11459
|
}
|
|
11290
11460
|
|
|
11291
|
-
export interface ReadReceipts {
|
|
11292
|
-
enabled?: boolean;
|
|
11293
|
-
}
|
|
11294
|
-
|
|
11295
11461
|
export interface ReadReceiptsResponse {
|
|
11296
11462
|
enabled?: boolean;
|
|
11297
11463
|
}
|
|
@@ -11350,7 +11516,7 @@ export interface RecordSettingsResponse {
|
|
|
11350
11516
|
layout: LayoutSettingsResponse;
|
|
11351
11517
|
}
|
|
11352
11518
|
|
|
11353
|
-
export interface
|
|
11519
|
+
export interface RejectAppealRequestPayload {
|
|
11354
11520
|
decision_reason: string;
|
|
11355
11521
|
}
|
|
11356
11522
|
|
|
@@ -11508,12 +11674,18 @@ export interface ReportResponse {
|
|
|
11508
11674
|
user_ratings: UserRatingReportResponse;
|
|
11509
11675
|
}
|
|
11510
11676
|
|
|
11677
|
+
export interface ResolutionMetricsTimeSeries {
|
|
11678
|
+
height?: MetricTimeSeries;
|
|
11679
|
+
|
|
11680
|
+
width?: MetricTimeSeries;
|
|
11681
|
+
}
|
|
11682
|
+
|
|
11511
11683
|
export interface ResolveSipInboundRequest {
|
|
11512
11684
|
sip_caller_number: string;
|
|
11513
11685
|
|
|
11514
11686
|
sip_trunk_number: string;
|
|
11515
11687
|
|
|
11516
|
-
challenge:
|
|
11688
|
+
challenge: SIPChallengeRequest;
|
|
11517
11689
|
|
|
11518
11690
|
routing_number?: string;
|
|
11519
11691
|
|
|
@@ -11534,7 +11706,7 @@ export interface Response {
|
|
|
11534
11706
|
duration: string;
|
|
11535
11707
|
}
|
|
11536
11708
|
|
|
11537
|
-
export interface
|
|
11709
|
+
export interface RestoreActionRequestPayload {
|
|
11538
11710
|
decision_reason?: string;
|
|
11539
11711
|
}
|
|
11540
11712
|
|
|
@@ -11597,7 +11769,7 @@ export interface ReviewQueueItemResponse {
|
|
|
11597
11769
|
|
|
11598
11770
|
actions: ActionLogResponse[];
|
|
11599
11771
|
|
|
11600
|
-
bans:
|
|
11772
|
+
bans: BanInfoResponse[];
|
|
11601
11773
|
|
|
11602
11774
|
flags: ModerationFlagResponse[];
|
|
11603
11775
|
|
|
@@ -11633,7 +11805,7 @@ export interface ReviewQueueItemResponse {
|
|
|
11633
11805
|
|
|
11634
11806
|
message?: MessageResponse;
|
|
11635
11807
|
|
|
11636
|
-
moderation_payload?:
|
|
11808
|
+
moderation_payload?: ModerationPayloadResponse;
|
|
11637
11809
|
|
|
11638
11810
|
reaction?: Reaction;
|
|
11639
11811
|
}
|
|
@@ -11803,9 +11975,9 @@ export interface SFULocationResponse {
|
|
|
11803
11975
|
|
|
11804
11976
|
id: string;
|
|
11805
11977
|
|
|
11806
|
-
coordinates:
|
|
11978
|
+
coordinates: CoordinatesResponse;
|
|
11807
11979
|
|
|
11808
|
-
location:
|
|
11980
|
+
location: LocationResponse;
|
|
11809
11981
|
|
|
11810
11982
|
count?: number;
|
|
11811
11983
|
}
|
|
@@ -11830,7 +12002,7 @@ export interface SIPCallerConfigsResponse {
|
|
|
11830
12002
|
custom_data: Record<string, any>;
|
|
11831
12003
|
}
|
|
11832
12004
|
|
|
11833
|
-
export interface
|
|
12005
|
+
export interface SIPChallengeRequest {
|
|
11834
12006
|
a1?: string;
|
|
11835
12007
|
|
|
11836
12008
|
algorithm?: string;
|
|
@@ -12063,6 +12235,8 @@ export interface SearchResultMessage {
|
|
|
12063
12235
|
|
|
12064
12236
|
id: string;
|
|
12065
12237
|
|
|
12238
|
+
mentioned_channel: boolean;
|
|
12239
|
+
|
|
12066
12240
|
pinned: boolean;
|
|
12067
12241
|
|
|
12068
12242
|
reply_count: number;
|
|
@@ -12298,6 +12472,18 @@ export interface SendUserCustomEventRequest {
|
|
|
12298
12472
|
event: UserCustomEventRequest;
|
|
12299
12473
|
}
|
|
12300
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
|
+
|
|
12301
12487
|
export interface SessionSettings {
|
|
12302
12488
|
inactivity_timeout_seconds: number;
|
|
12303
12489
|
}
|
|
@@ -12310,7 +12496,15 @@ export interface SessionSettingsResponse {
|
|
|
12310
12496
|
inactivity_timeout_seconds: number;
|
|
12311
12497
|
}
|
|
12312
12498
|
|
|
12313
|
-
export interface
|
|
12499
|
+
export interface SessionWarningResponse {
|
|
12500
|
+
code: string;
|
|
12501
|
+
|
|
12502
|
+
warning: string;
|
|
12503
|
+
|
|
12504
|
+
time?: Date;
|
|
12505
|
+
}
|
|
12506
|
+
|
|
12507
|
+
export interface ShadowBlockActionRequestPayload {
|
|
12314
12508
|
reason?: string;
|
|
12315
12509
|
}
|
|
12316
12510
|
|
|
@@ -12399,6 +12593,8 @@ export interface SingleFollowResponse {
|
|
|
12399
12593
|
}
|
|
12400
12594
|
|
|
12401
12595
|
export interface SipInboundCredentials {
|
|
12596
|
+
api_key: string;
|
|
12597
|
+
|
|
12402
12598
|
call_id: string;
|
|
12403
12599
|
|
|
12404
12600
|
call_type: string;
|
|
@@ -12412,20 +12608,12 @@ export interface SipInboundCredentials {
|
|
|
12412
12608
|
user_custom_data: Record<string, any>;
|
|
12413
12609
|
}
|
|
12414
12610
|
|
|
12415
|
-
export interface SortParam {
|
|
12416
|
-
direction?: number;
|
|
12417
|
-
|
|
12418
|
-
field?: string;
|
|
12419
|
-
|
|
12420
|
-
type?: string;
|
|
12421
|
-
}
|
|
12422
|
-
|
|
12423
12611
|
export interface SortParamRequest {
|
|
12424
12612
|
direction?: number;
|
|
12425
12613
|
|
|
12426
12614
|
field?: string;
|
|
12427
12615
|
|
|
12428
|
-
type?:
|
|
12616
|
+
type?: string;
|
|
12429
12617
|
}
|
|
12430
12618
|
|
|
12431
12619
|
export interface SpeechSegmentConfig {
|
|
@@ -12680,6 +12868,7 @@ export interface StoriesFeedUpdatedEvent {
|
|
|
12680
12868
|
|
|
12681
12869
|
export interface SubmitActionRequest {
|
|
12682
12870
|
action_type:
|
|
12871
|
+
| 'flag'
|
|
12683
12872
|
| 'mark_reviewed'
|
|
12684
12873
|
| 'delete_message'
|
|
12685
12874
|
| 'delete_activity'
|
|
@@ -12704,33 +12893,35 @@ export interface SubmitActionRequest {
|
|
|
12704
12893
|
|
|
12705
12894
|
user_id?: string;
|
|
12706
12895
|
|
|
12707
|
-
ban?:
|
|
12896
|
+
ban?: BanActionRequestPayload;
|
|
12708
12897
|
|
|
12709
|
-
block?:
|
|
12898
|
+
block?: BlockActionRequestPayload;
|
|
12710
12899
|
|
|
12711
|
-
custom?:
|
|
12900
|
+
custom?: CustomActionRequestPayload;
|
|
12712
12901
|
|
|
12713
|
-
delete_activity?:
|
|
12902
|
+
delete_activity?: DeleteActivityRequestPayload;
|
|
12714
12903
|
|
|
12715
|
-
delete_comment?:
|
|
12904
|
+
delete_comment?: DeleteCommentRequestPayload;
|
|
12716
12905
|
|
|
12717
|
-
delete_message?:
|
|
12906
|
+
delete_message?: DeleteMessageRequestPayload;
|
|
12718
12907
|
|
|
12719
|
-
delete_reaction?:
|
|
12908
|
+
delete_reaction?: DeleteReactionRequestPayload;
|
|
12720
12909
|
|
|
12721
|
-
delete_user?:
|
|
12910
|
+
delete_user?: DeleteUserRequestPayload;
|
|
12722
12911
|
|
|
12723
|
-
|
|
12912
|
+
flag?: FlagRequest;
|
|
12724
12913
|
|
|
12725
|
-
|
|
12914
|
+
mark_reviewed?: MarkReviewedRequestPayload;
|
|
12726
12915
|
|
|
12727
|
-
|
|
12916
|
+
reject_appeal?: RejectAppealRequestPayload;
|
|
12728
12917
|
|
|
12729
|
-
|
|
12918
|
+
restore?: RestoreActionRequestPayload;
|
|
12730
12919
|
|
|
12731
|
-
|
|
12920
|
+
shadow_block?: ShadowBlockActionRequestPayload;
|
|
12732
12921
|
|
|
12733
|
-
|
|
12922
|
+
unban?: UnbanActionRequestPayload;
|
|
12923
|
+
|
|
12924
|
+
unblock?: UnblockActionRequestPayload;
|
|
12734
12925
|
|
|
12735
12926
|
user?: UserRequest;
|
|
12736
12927
|
}
|
|
@@ -12916,19 +13107,21 @@ export interface ThreadStateResponse {
|
|
|
12916
13107
|
}
|
|
12917
13108
|
|
|
12918
13109
|
export interface ThreadUpdatedEvent {
|
|
12919
|
-
|
|
13110
|
+
created_at: Date;
|
|
12920
13111
|
|
|
12921
|
-
|
|
13112
|
+
custom: Record<string, any>;
|
|
12922
13113
|
|
|
12923
|
-
|
|
13114
|
+
type: string;
|
|
12924
13115
|
|
|
12925
|
-
|
|
13116
|
+
channel_id?: string;
|
|
12926
13117
|
|
|
12927
|
-
|
|
13118
|
+
channel_type?: string;
|
|
12928
13119
|
|
|
12929
|
-
|
|
13120
|
+
cid?: string;
|
|
12930
13121
|
|
|
12931
|
-
|
|
13122
|
+
received_at?: Date;
|
|
13123
|
+
|
|
13124
|
+
thread?: ThreadResponse;
|
|
12932
13125
|
}
|
|
12933
13126
|
|
|
12934
13127
|
export interface ThreadedCommentResponse {
|
|
@@ -12984,7 +13177,7 @@ export interface ThreadedCommentResponse {
|
|
|
12984
13177
|
|
|
12985
13178
|
moderation?: ModerationV2Response;
|
|
12986
13179
|
|
|
12987
|
-
reaction_groups?: Record<string,
|
|
13180
|
+
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
12988
13181
|
}
|
|
12989
13182
|
|
|
12990
13183
|
export interface Thresholds {
|
|
@@ -13257,15 +13450,13 @@ export interface TruncateChannelResponse {
|
|
|
13257
13450
|
message?: MessageResponse;
|
|
13258
13451
|
}
|
|
13259
13452
|
|
|
13260
|
-
export interface TypingIndicators {
|
|
13261
|
-
enabled?: boolean;
|
|
13262
|
-
}
|
|
13263
|
-
|
|
13264
13453
|
export interface TypingIndicatorsResponse {
|
|
13265
13454
|
enabled?: boolean;
|
|
13266
13455
|
}
|
|
13267
13456
|
|
|
13268
|
-
export interface
|
|
13457
|
+
export interface UnbanActionRequestPayload {
|
|
13458
|
+
channel_cid?: string;
|
|
13459
|
+
|
|
13269
13460
|
decision_reason?: string;
|
|
13270
13461
|
}
|
|
13271
13462
|
|
|
@@ -13279,7 +13470,7 @@ export interface UnbanResponse {
|
|
|
13279
13470
|
duration: string;
|
|
13280
13471
|
}
|
|
13281
13472
|
|
|
13282
|
-
export interface
|
|
13473
|
+
export interface UnblockActionRequestPayload {
|
|
13283
13474
|
decision_reason?: string;
|
|
13284
13475
|
}
|
|
13285
13476
|
|
|
@@ -13425,7 +13616,31 @@ export interface UnreadCountsThread {
|
|
|
13425
13616
|
unread_count: number;
|
|
13426
13617
|
}
|
|
13427
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
|
+
|
|
13428
13641
|
export interface UpdateActivityPartialRequest {
|
|
13642
|
+
copy_custom_to_notification?: boolean;
|
|
13643
|
+
|
|
13429
13644
|
handle_mention_notifications?: boolean;
|
|
13430
13645
|
|
|
13431
13646
|
run_activity_processors?: boolean;
|
|
@@ -13446,6 +13661,8 @@ export interface UpdateActivityPartialResponse {
|
|
|
13446
13661
|
}
|
|
13447
13662
|
|
|
13448
13663
|
export interface UpdateActivityRequest {
|
|
13664
|
+
copy_custom_to_notification?: boolean;
|
|
13665
|
+
|
|
13449
13666
|
expires_at?: Date;
|
|
13450
13667
|
|
|
13451
13668
|
handle_mention_notifications?: boolean;
|
|
@@ -13482,6 +13699,8 @@ export interface UpdateActivityRequest {
|
|
|
13482
13699
|
|
|
13483
13700
|
location?: ActivityLocation;
|
|
13484
13701
|
|
|
13702
|
+
search_data?: Record<string, any>;
|
|
13703
|
+
|
|
13485
13704
|
user?: UserRequest;
|
|
13486
13705
|
}
|
|
13487
13706
|
|
|
@@ -13674,7 +13893,7 @@ export interface UpdateCallTypeRequest {
|
|
|
13674
13893
|
|
|
13675
13894
|
grants?: Record<string, string[]>;
|
|
13676
13895
|
|
|
13677
|
-
notification_settings?:
|
|
13896
|
+
notification_settings?: NotificationSettingsRequest;
|
|
13678
13897
|
|
|
13679
13898
|
settings?: CallSettingsRequest;
|
|
13680
13899
|
}
|
|
@@ -13690,7 +13909,7 @@ export interface UpdateCallTypeResponse {
|
|
|
13690
13909
|
|
|
13691
13910
|
grants: Record<string, string[]>;
|
|
13692
13911
|
|
|
13693
|
-
notification_settings:
|
|
13912
|
+
notification_settings: NotificationSettingsResponse;
|
|
13694
13913
|
|
|
13695
13914
|
settings: CallSettingsResponse;
|
|
13696
13915
|
|
|
@@ -13792,6 +14011,8 @@ export interface UpdateChannelTypeRequest {
|
|
|
13792
14011
|
|
|
13793
14012
|
polls?: boolean;
|
|
13794
14013
|
|
|
14014
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
14015
|
+
|
|
13795
14016
|
push_notifications?: boolean;
|
|
13796
14017
|
|
|
13797
14018
|
quotes?: boolean;
|
|
@@ -13900,6 +14121,8 @@ export interface UpdateChannelTypeResponse {
|
|
|
13900
14121
|
|
|
13901
14122
|
partition_ttl?: string;
|
|
13902
14123
|
|
|
14124
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
14125
|
+
|
|
13903
14126
|
allowed_flag_reasons?: string[];
|
|
13904
14127
|
|
|
13905
14128
|
blocklists?: BlockListOptions[];
|
|
@@ -13946,6 +14169,8 @@ export interface UpdateCommandResponse {
|
|
|
13946
14169
|
export interface UpdateCommentRequest {
|
|
13947
14170
|
comment?: string;
|
|
13948
14171
|
|
|
14172
|
+
copy_custom_to_notification?: boolean;
|
|
14173
|
+
|
|
13949
14174
|
handle_mention_notifications?: boolean;
|
|
13950
14175
|
|
|
13951
14176
|
skip_enrich_url?: boolean;
|
|
@@ -14095,6 +14320,8 @@ export interface UpdateFollowRequest {
|
|
|
14095
14320
|
|
|
14096
14321
|
target: string;
|
|
14097
14322
|
|
|
14323
|
+
copy_custom_to_notification?: boolean;
|
|
14324
|
+
|
|
14098
14325
|
create_notification_activity?: boolean;
|
|
14099
14326
|
|
|
14100
14327
|
follower_role?: string;
|
|
@@ -14157,6 +14384,8 @@ export interface UpdateMembershipLevelResponse {
|
|
|
14157
14384
|
export interface UpdateMessagePartialRequest {
|
|
14158
14385
|
skip_enrich_url?: boolean;
|
|
14159
14386
|
|
|
14387
|
+
skip_push?: boolean;
|
|
14388
|
+
|
|
14160
14389
|
user_id?: string;
|
|
14161
14390
|
|
|
14162
14391
|
unset?: string[];
|
|
@@ -14493,7 +14722,7 @@ export interface UpsertModerationRuleResponse {
|
|
|
14493
14722
|
export interface UpsertModerationTemplateRequest {
|
|
14494
14723
|
name: string;
|
|
14495
14724
|
|
|
14496
|
-
config:
|
|
14725
|
+
config: FeedsModerationTemplateConfigPayload;
|
|
14497
14726
|
}
|
|
14498
14727
|
|
|
14499
14728
|
export interface UpsertModerationTemplateResponse {
|
|
@@ -14505,7 +14734,7 @@ export interface UpsertModerationTemplateResponse {
|
|
|
14505
14734
|
|
|
14506
14735
|
updated_at: Date;
|
|
14507
14736
|
|
|
14508
|
-
config?:
|
|
14737
|
+
config?: FeedsModerationTemplateConfigPayload;
|
|
14509
14738
|
}
|
|
14510
14739
|
|
|
14511
14740
|
export interface UpsertPushPreferencesRequest {
|
|
@@ -14517,14 +14746,14 @@ export interface UpsertPushPreferencesResponse {
|
|
|
14517
14746
|
|
|
14518
14747
|
user_channel_preferences: Record<
|
|
14519
14748
|
string,
|
|
14520
|
-
Record<string,
|
|
14749
|
+
Record<string, ChannelPushPreferencesResponse | null>
|
|
14521
14750
|
>;
|
|
14522
14751
|
|
|
14523
|
-
user_preferences: Record<string,
|
|
14752
|
+
user_preferences: Record<string, PushPreferencesResponse>;
|
|
14524
14753
|
}
|
|
14525
14754
|
|
|
14526
14755
|
export interface UpsertPushProviderRequest {
|
|
14527
|
-
push_provider?:
|
|
14756
|
+
push_provider?: PushProviderRequest;
|
|
14528
14757
|
}
|
|
14529
14758
|
|
|
14530
14759
|
export interface UpsertPushProviderResponse {
|
|
@@ -14558,55 +14787,49 @@ export interface UpsertPushTemplateRequest {
|
|
|
14558
14787
|
export interface UpsertPushTemplateResponse {
|
|
14559
14788
|
duration: string;
|
|
14560
14789
|
|
|
14561
|
-
template?:
|
|
14790
|
+
template?: PushTemplateResponse;
|
|
14562
14791
|
}
|
|
14563
14792
|
|
|
14564
14793
|
export interface User {
|
|
14565
14794
|
id: string;
|
|
14566
14795
|
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
banned?: boolean;
|
|
14570
|
-
|
|
14571
|
-
invisible?: boolean;
|
|
14572
|
-
|
|
14573
|
-
language?: string;
|
|
14796
|
+
data?: Record<string, any>;
|
|
14797
|
+
}
|
|
14574
14798
|
|
|
14575
|
-
|
|
14799
|
+
export interface UserBannedEvent {
|
|
14800
|
+
created_at: Date;
|
|
14576
14801
|
|
|
14577
|
-
|
|
14802
|
+
custom: Record<string, any>;
|
|
14578
14803
|
|
|
14579
|
-
|
|
14804
|
+
user: UserResponseCommonFields;
|
|
14580
14805
|
|
|
14581
|
-
|
|
14806
|
+
type: string;
|
|
14582
14807
|
|
|
14583
|
-
|
|
14808
|
+
channel_id?: string;
|
|
14584
14809
|
|
|
14585
|
-
|
|
14586
|
-
}
|
|
14810
|
+
channel_member_count?: number;
|
|
14587
14811
|
|
|
14588
|
-
|
|
14589
|
-
channel_id: string;
|
|
14812
|
+
channel_message_count?: number;
|
|
14590
14813
|
|
|
14591
|
-
channel_type
|
|
14814
|
+
channel_type?: string;
|
|
14592
14815
|
|
|
14593
|
-
cid
|
|
14816
|
+
cid?: string;
|
|
14594
14817
|
|
|
14595
|
-
|
|
14818
|
+
expiration?: Date;
|
|
14596
14819
|
|
|
14597
|
-
|
|
14820
|
+
reason?: string;
|
|
14598
14821
|
|
|
14599
|
-
|
|
14822
|
+
received_at?: Date;
|
|
14600
14823
|
|
|
14601
|
-
|
|
14824
|
+
shadow?: boolean;
|
|
14602
14825
|
|
|
14603
|
-
|
|
14826
|
+
team?: string;
|
|
14604
14827
|
|
|
14605
|
-
|
|
14828
|
+
total_bans?: number;
|
|
14606
14829
|
|
|
14607
|
-
|
|
14830
|
+
channel_custom?: Record<string, any>;
|
|
14608
14831
|
|
|
14609
|
-
|
|
14832
|
+
created_by?: UserResponseCommonFields;
|
|
14610
14833
|
}
|
|
14611
14834
|
|
|
14612
14835
|
export interface UserCreatedWithinParameters {
|
|
@@ -14628,25 +14851,39 @@ export interface UserCustomPropertyParameters {
|
|
|
14628
14851
|
export interface UserDeactivatedEvent {
|
|
14629
14852
|
created_at: Date;
|
|
14630
14853
|
|
|
14631
|
-
|
|
14854
|
+
custom: Record<string, any>;
|
|
14855
|
+
|
|
14856
|
+
user: UserResponseCommonFields;
|
|
14632
14857
|
|
|
14633
14858
|
type: string;
|
|
14634
14859
|
|
|
14635
|
-
|
|
14860
|
+
received_at?: Date;
|
|
14861
|
+
|
|
14862
|
+
created_by?: UserResponseCommonFields;
|
|
14636
14863
|
}
|
|
14637
14864
|
|
|
14638
14865
|
export interface UserDeletedEvent {
|
|
14639
14866
|
created_at: Date;
|
|
14640
14867
|
|
|
14868
|
+
delete_conversation: string;
|
|
14869
|
+
|
|
14641
14870
|
delete_conversation_channels: boolean;
|
|
14642
14871
|
|
|
14872
|
+
delete_messages: string;
|
|
14873
|
+
|
|
14874
|
+
delete_user: string;
|
|
14875
|
+
|
|
14643
14876
|
hard_delete: boolean;
|
|
14644
14877
|
|
|
14645
14878
|
mark_messages_deleted: boolean;
|
|
14646
14879
|
|
|
14880
|
+
custom: Record<string, any>;
|
|
14881
|
+
|
|
14882
|
+
user: UserResponseCommonFields;
|
|
14883
|
+
|
|
14647
14884
|
type: string;
|
|
14648
14885
|
|
|
14649
|
-
|
|
14886
|
+
received_at?: Date;
|
|
14650
14887
|
}
|
|
14651
14888
|
|
|
14652
14889
|
export interface UserFeedbackReport {
|
|
@@ -14682,13 +14919,19 @@ export interface UserFeedbackResponse {
|
|
|
14682
14919
|
export interface UserFlaggedEvent {
|
|
14683
14920
|
created_at: Date;
|
|
14684
14921
|
|
|
14922
|
+
reason: string;
|
|
14923
|
+
|
|
14924
|
+
total_flags: number;
|
|
14925
|
+
|
|
14926
|
+
user: UserResponseCommonFields;
|
|
14927
|
+
|
|
14685
14928
|
type: string;
|
|
14686
14929
|
|
|
14687
|
-
|
|
14930
|
+
received_at?: Date;
|
|
14688
14931
|
|
|
14689
|
-
|
|
14932
|
+
custom?: Record<string, any>;
|
|
14690
14933
|
|
|
14691
|
-
|
|
14934
|
+
target_user?: UserResponseCommonFields;
|
|
14692
14935
|
}
|
|
14693
14936
|
|
|
14694
14937
|
export interface UserIdenticalContentCountParameters {
|
|
@@ -14725,18 +14968,6 @@ export interface UserMessagesDeletedEvent {
|
|
|
14725
14968
|
channel_custom?: Record<string, any>;
|
|
14726
14969
|
}
|
|
14727
14970
|
|
|
14728
|
-
export interface UserMute {
|
|
14729
|
-
created_at: Date;
|
|
14730
|
-
|
|
14731
|
-
updated_at: Date;
|
|
14732
|
-
|
|
14733
|
-
expires?: Date;
|
|
14734
|
-
|
|
14735
|
-
target?: User;
|
|
14736
|
-
|
|
14737
|
-
user?: User;
|
|
14738
|
-
}
|
|
14739
|
-
|
|
14740
14971
|
export interface UserMuteResponse {
|
|
14741
14972
|
created_at: Date;
|
|
14742
14973
|
|
|
@@ -14752,13 +14983,17 @@ export interface UserMuteResponse {
|
|
|
14752
14983
|
export interface UserMutedEvent {
|
|
14753
14984
|
created_at: Date;
|
|
14754
14985
|
|
|
14986
|
+
custom: Record<string, any>;
|
|
14987
|
+
|
|
14988
|
+
user: UserResponseCommonFields;
|
|
14989
|
+
|
|
14755
14990
|
type: string;
|
|
14756
14991
|
|
|
14757
|
-
|
|
14992
|
+
received_at?: Date;
|
|
14758
14993
|
|
|
14759
|
-
target_users?:
|
|
14994
|
+
target_users?: UserResponseCommonFields[];
|
|
14760
14995
|
|
|
14761
|
-
|
|
14996
|
+
target_user?: UserResponseCommonFields;
|
|
14762
14997
|
}
|
|
14763
14998
|
|
|
14764
14999
|
export interface UserRatingReportResponse {
|
|
@@ -14770,9 +15005,15 @@ export interface UserRatingReportResponse {
|
|
|
14770
15005
|
export interface UserReactivatedEvent {
|
|
14771
15006
|
created_at: Date;
|
|
14772
15007
|
|
|
15008
|
+
custom: Record<string, any>;
|
|
15009
|
+
|
|
15010
|
+
user: UserResponseCommonFields;
|
|
15011
|
+
|
|
14773
15012
|
type: string;
|
|
14774
15013
|
|
|
14775
|
-
|
|
15014
|
+
received_at?: Date;
|
|
15015
|
+
|
|
15016
|
+
created_by?: UserResponseCommonFields;
|
|
14776
15017
|
}
|
|
14777
15018
|
|
|
14778
15019
|
export interface UserRequest {
|
|
@@ -14938,43 +15179,63 @@ export interface UserRuleParameters {
|
|
|
14938
15179
|
}
|
|
14939
15180
|
|
|
14940
15181
|
export interface UserUnbannedEvent {
|
|
14941
|
-
|
|
15182
|
+
created_at: Date;
|
|
14942
15183
|
|
|
14943
|
-
|
|
15184
|
+
custom: Record<string, any>;
|
|
14944
15185
|
|
|
14945
|
-
|
|
15186
|
+
user: UserResponseCommonFields;
|
|
14946
15187
|
|
|
14947
|
-
|
|
15188
|
+
type: string;
|
|
15189
|
+
|
|
15190
|
+
channel_id?: string;
|
|
14948
15191
|
|
|
14949
|
-
|
|
15192
|
+
channel_member_count?: number;
|
|
14950
15193
|
|
|
14951
|
-
|
|
15194
|
+
channel_message_count?: number;
|
|
15195
|
+
|
|
15196
|
+
channel_type?: string;
|
|
15197
|
+
|
|
15198
|
+
cid?: string;
|
|
15199
|
+
|
|
15200
|
+
received_at?: Date;
|
|
15201
|
+
|
|
15202
|
+
shadow?: boolean;
|
|
14952
15203
|
|
|
14953
15204
|
team?: string;
|
|
14954
15205
|
|
|
14955
|
-
|
|
15206
|
+
channel_custom?: Record<string, any>;
|
|
15207
|
+
|
|
15208
|
+
created_by?: UserResponseCommonFields;
|
|
14956
15209
|
}
|
|
14957
15210
|
|
|
14958
15211
|
export interface UserUnmutedEvent {
|
|
14959
15212
|
created_at: Date;
|
|
14960
15213
|
|
|
15214
|
+
custom: Record<string, any>;
|
|
15215
|
+
|
|
15216
|
+
user: UserResponseCommonFields;
|
|
15217
|
+
|
|
14961
15218
|
type: string;
|
|
14962
15219
|
|
|
14963
|
-
|
|
15220
|
+
received_at?: Date;
|
|
14964
15221
|
|
|
14965
|
-
target_users?:
|
|
15222
|
+
target_users?: UserResponseCommonFields[];
|
|
14966
15223
|
|
|
14967
|
-
|
|
15224
|
+
target_user?: UserResponseCommonFields;
|
|
14968
15225
|
}
|
|
14969
15226
|
|
|
14970
15227
|
export interface UserUnreadReminderEvent {
|
|
14971
15228
|
created_at: Date;
|
|
14972
15229
|
|
|
14973
|
-
channels: Record<string,
|
|
15230
|
+
channels: Record<string, ChannelMessagesResponse>;
|
|
15231
|
+
|
|
15232
|
+
custom: Record<string, any>;
|
|
15233
|
+
|
|
15234
|
+
user: UserResponseCommonFields;
|
|
14974
15235
|
|
|
14975
15236
|
type: string;
|
|
14976
15237
|
|
|
14977
|
-
|
|
15238
|
+
received_at?: Date;
|
|
14978
15239
|
}
|
|
14979
15240
|
|
|
14980
15241
|
export interface UserUpdatedEvent {
|
|
@@ -15047,14 +15308,24 @@ export interface VideoContentParameters {
|
|
|
15047
15308
|
harm_labels?: string[];
|
|
15048
15309
|
}
|
|
15049
15310
|
|
|
15050
|
-
export interface
|
|
15311
|
+
export interface VideoEndCallRequestPayload {}
|
|
15051
15312
|
|
|
15052
|
-
export interface
|
|
15313
|
+
export interface VideoKickUserRequestPayload {}
|
|
15053
15314
|
|
|
15054
15315
|
export interface VideoReactionOverTimeResponse {
|
|
15055
15316
|
by_minute?: CountByMinuteResponse[];
|
|
15056
15317
|
}
|
|
15057
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
|
+
|
|
15058
15329
|
export interface VideoReactionsResponse {
|
|
15059
15330
|
reaction: string;
|
|
15060
15331
|
|
|
@@ -15172,8 +15443,7 @@ export interface WSEvent {
|
|
|
15172
15443
|
}
|
|
15173
15444
|
|
|
15174
15445
|
export type WebhookEvent =
|
|
15175
|
-
| ({ type: '*' } &
|
|
15176
|
-
| ({ type: 'activity.marked' } & ActivityMarkedEvent)
|
|
15446
|
+
| ({ type: '*' } & CustomEvent)
|
|
15177
15447
|
| ({ type: 'appeal.accepted' } & AppealAcceptedEvent)
|
|
15178
15448
|
| ({ type: 'appeal.created' } & AppealCreatedEvent)
|
|
15179
15449
|
| ({ type: 'appeal.rejected' } & AppealRejectedEvent)
|
|
@@ -15185,6 +15455,7 @@ export type WebhookEvent =
|
|
|
15185
15455
|
| ({ type: 'call.closed_captions_stopped' } & CallClosedCaptionsStoppedEvent)
|
|
15186
15456
|
| ({ type: 'call.created' } & CallCreatedEvent)
|
|
15187
15457
|
| ({ type: 'call.deleted' } & CallDeletedEvent)
|
|
15458
|
+
| ({ type: 'call.dtmf' } & CallDTMFEvent)
|
|
15188
15459
|
| ({ type: 'call.ended' } & CallEndedEvent)
|
|
15189
15460
|
| ({ type: 'call.frame_recording_failed' } & CallFrameRecordingFailedEvent)
|
|
15190
15461
|
| ({ type: 'call.frame_recording_ready' } & CallFrameRecordingFrameReadyEvent)
|
|
@@ -15247,6 +15518,7 @@ export type WebhookEvent =
|
|
|
15247
15518
|
| ({ type: 'channel.deleted' } & ChannelDeletedEvent)
|
|
15248
15519
|
| ({ type: 'channel.frozen' } & ChannelFrozenEvent)
|
|
15249
15520
|
| ({ type: 'channel.hidden' } & ChannelHiddenEvent)
|
|
15521
|
+
| ({ type: 'channel.max_streak_changed' } & MaxStreakChangedEvent)
|
|
15250
15522
|
| ({ type: 'channel.muted' } & ChannelMutedEvent)
|
|
15251
15523
|
| ({ type: 'channel.truncated' } & ChannelTruncatedEvent)
|
|
15252
15524
|
| ({ type: 'channel.unfrozen' } & ChannelUnFrozenEvent)
|
|
@@ -15327,7 +15599,9 @@ export type WebhookEvent =
|
|
|
15327
15599
|
| ({ type: 'moderation_check.completed' } & ModerationCheckCompletedEvent)
|
|
15328
15600
|
| ({ type: 'notification.mark_unread' } & NotificationMarkUnreadEvent)
|
|
15329
15601
|
| ({ type: 'notification.reminder_due' } & ReminderNotificationEvent)
|
|
15330
|
-
| ({
|
|
15602
|
+
| ({
|
|
15603
|
+
type: 'notification.thread_message_new';
|
|
15604
|
+
} & NotificationThreadMessageNewEvent)
|
|
15331
15605
|
| ({ type: 'reaction.deleted' } & ReactionDeletedEvent)
|
|
15332
15606
|
| ({ type: 'reaction.new' } & ReactionNewEvent)
|
|
15333
15607
|
| ({ type: 'reaction.updated' } & ReactionUpdatedEvent)
|