@stream-io/node-sdk 0.5.1 → 0.6.1
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 +345 -119
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +345 -119
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/StreamFeed.d.ts +1 -1
- package/dist/src/StreamFeedsClient.d.ts +2 -0
- package/dist/src/gen/feeds/FeedsApi.d.ts +55 -36
- package/dist/src/gen/models/index.d.ts +350 -43
- package/package.json +2 -2
- package/src/StreamFeed.ts +1 -1
- package/src/StreamFeedsClient.ts +5 -0
- package/src/gen/common/CommonApi.ts +2 -1
- package/src/gen/feeds/FeedsApi.ts +429 -227
- package/src/gen/model-decoders/decoders.ts +154 -0
- package/src/gen/models/index.ts +592 -55
package/src/gen/models/index.ts
CHANGED
|
@@ -131,9 +131,9 @@ export interface AcceptFeedMemberInviteResponse {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
export interface AcceptFollowRequest {
|
|
134
|
-
|
|
134
|
+
source: string;
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
target: string;
|
|
137
137
|
|
|
138
138
|
follower_role?: string;
|
|
139
139
|
}
|
|
@@ -242,6 +242,12 @@ export interface ActiveCallsMetrics {
|
|
|
242
242
|
subscribers?: SubscribersMetrics;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
export interface ActiveCallsResolutionStats {
|
|
246
|
+
p10: number;
|
|
247
|
+
|
|
248
|
+
p50: number;
|
|
249
|
+
}
|
|
250
|
+
|
|
245
251
|
export interface ActiveCallsSummary {
|
|
246
252
|
active_calls: number;
|
|
247
253
|
|
|
@@ -263,6 +269,8 @@ export interface ActivityAddedEvent {
|
|
|
263
269
|
|
|
264
270
|
type: string;
|
|
265
271
|
|
|
272
|
+
feed_visibility?: string;
|
|
273
|
+
|
|
266
274
|
received_at?: Date;
|
|
267
275
|
|
|
268
276
|
user?: UserResponseCommonFields;
|
|
@@ -279,11 +287,35 @@ export interface ActivityDeletedEvent {
|
|
|
279
287
|
|
|
280
288
|
type: string;
|
|
281
289
|
|
|
290
|
+
feed_visibility?: string;
|
|
291
|
+
|
|
282
292
|
received_at?: Date;
|
|
283
293
|
|
|
284
294
|
user?: UserResponseCommonFields;
|
|
285
295
|
}
|
|
286
296
|
|
|
297
|
+
export interface ActivityFeedbackRequest {
|
|
298
|
+
hide?: boolean;
|
|
299
|
+
|
|
300
|
+
mute_user?: boolean;
|
|
301
|
+
|
|
302
|
+
reason?: string;
|
|
303
|
+
|
|
304
|
+
report?: boolean;
|
|
305
|
+
|
|
306
|
+
show_less?: boolean;
|
|
307
|
+
|
|
308
|
+
user_id?: string;
|
|
309
|
+
|
|
310
|
+
user?: UserRequest;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export interface ActivityFeedbackResponse {
|
|
314
|
+
activity_id: string;
|
|
315
|
+
|
|
316
|
+
duration: string;
|
|
317
|
+
}
|
|
318
|
+
|
|
287
319
|
export interface ActivityLocation {
|
|
288
320
|
lat: number;
|
|
289
321
|
|
|
@@ -299,6 +331,8 @@ export interface ActivityMarkEvent {
|
|
|
299
331
|
|
|
300
332
|
type: string;
|
|
301
333
|
|
|
334
|
+
feed_visibility?: string;
|
|
335
|
+
|
|
302
336
|
mark_all_read?: boolean;
|
|
303
337
|
|
|
304
338
|
mark_all_seen?: boolean;
|
|
@@ -307,6 +341,8 @@ export interface ActivityMarkEvent {
|
|
|
307
341
|
|
|
308
342
|
mark_read?: string[];
|
|
309
343
|
|
|
344
|
+
mark_seen?: string[];
|
|
345
|
+
|
|
310
346
|
mark_watched?: string[];
|
|
311
347
|
|
|
312
348
|
user?: UserResponseCommonFields;
|
|
@@ -353,12 +389,16 @@ export interface ActivityPinnedEvent {
|
|
|
353
389
|
|
|
354
390
|
type: string;
|
|
355
391
|
|
|
392
|
+
feed_visibility?: string;
|
|
393
|
+
|
|
356
394
|
received_at?: Date;
|
|
357
395
|
|
|
358
396
|
user?: UserResponseCommonFields;
|
|
359
397
|
}
|
|
360
398
|
|
|
361
|
-
export interface ActivityProcessorConfig {
|
|
399
|
+
export interface ActivityProcessorConfig {
|
|
400
|
+
type: string;
|
|
401
|
+
}
|
|
362
402
|
|
|
363
403
|
export interface ActivityReactionAddedEvent {
|
|
364
404
|
created_at: Date;
|
|
@@ -373,6 +413,8 @@ export interface ActivityReactionAddedEvent {
|
|
|
373
413
|
|
|
374
414
|
type: string;
|
|
375
415
|
|
|
416
|
+
feed_visibility?: string;
|
|
417
|
+
|
|
376
418
|
received_at?: Date;
|
|
377
419
|
|
|
378
420
|
user?: UserResponseCommonFields;
|
|
@@ -391,6 +433,8 @@ export interface ActivityReactionDeletedEvent {
|
|
|
391
433
|
|
|
392
434
|
type: string;
|
|
393
435
|
|
|
436
|
+
feed_visibility?: string;
|
|
437
|
+
|
|
394
438
|
received_at?: Date;
|
|
395
439
|
|
|
396
440
|
user?: UserResponseCommonFields;
|
|
@@ -409,6 +453,8 @@ export interface ActivityReactionUpdatedEvent {
|
|
|
409
453
|
|
|
410
454
|
type: string;
|
|
411
455
|
|
|
456
|
+
feed_visibility?: string;
|
|
457
|
+
|
|
412
458
|
received_at?: Date;
|
|
413
459
|
|
|
414
460
|
user?: UserResponseCommonFields;
|
|
@@ -425,6 +471,8 @@ export interface ActivityRemovedFromFeedEvent {
|
|
|
425
471
|
|
|
426
472
|
type: string;
|
|
427
473
|
|
|
474
|
+
feed_visibility?: string;
|
|
475
|
+
|
|
428
476
|
received_at?: Date;
|
|
429
477
|
|
|
430
478
|
user?: UserResponseCommonFields;
|
|
@@ -433,7 +481,7 @@ export interface ActivityRemovedFromFeedEvent {
|
|
|
433
481
|
export interface ActivityRequest {
|
|
434
482
|
type: string;
|
|
435
483
|
|
|
436
|
-
|
|
484
|
+
feeds: string[];
|
|
437
485
|
|
|
438
486
|
expires_at?: string;
|
|
439
487
|
|
|
@@ -521,6 +569,8 @@ export interface ActivityResponse {
|
|
|
521
569
|
|
|
522
570
|
expires_at?: Date;
|
|
523
571
|
|
|
572
|
+
hidden?: boolean;
|
|
573
|
+
|
|
524
574
|
text?: string;
|
|
525
575
|
|
|
526
576
|
visibility_tag?: string;
|
|
@@ -531,7 +581,7 @@ export interface ActivityResponse {
|
|
|
531
581
|
|
|
532
582
|
moderation?: ModerationV2Response;
|
|
533
583
|
|
|
534
|
-
|
|
584
|
+
notification_context?: Record<string, any>;
|
|
535
585
|
|
|
536
586
|
parent?: ActivityResponse;
|
|
537
587
|
|
|
@@ -561,6 +611,8 @@ export interface ActivityUnpinnedEvent {
|
|
|
561
611
|
|
|
562
612
|
type: string;
|
|
563
613
|
|
|
614
|
+
feed_visibility?: string;
|
|
615
|
+
|
|
564
616
|
received_at?: Date;
|
|
565
617
|
|
|
566
618
|
user?: UserResponseCommonFields;
|
|
@@ -577,6 +629,8 @@ export interface ActivityUpdatedEvent {
|
|
|
577
629
|
|
|
578
630
|
type: string;
|
|
579
631
|
|
|
632
|
+
feed_visibility?: string;
|
|
633
|
+
|
|
580
634
|
received_at?: Date;
|
|
581
635
|
|
|
582
636
|
user?: UserResponseCommonFields;
|
|
@@ -585,7 +639,7 @@ export interface ActivityUpdatedEvent {
|
|
|
585
639
|
export interface AddActivityRequest {
|
|
586
640
|
type: string;
|
|
587
641
|
|
|
588
|
-
|
|
642
|
+
feeds: string[];
|
|
589
643
|
|
|
590
644
|
expires_at?: string;
|
|
591
645
|
|
|
@@ -773,6 +827,8 @@ export interface AppResponseFields {
|
|
|
773
827
|
|
|
774
828
|
image_moderation_enabled: boolean;
|
|
775
829
|
|
|
830
|
+
moderation_bulk_submit_action_enabled: boolean;
|
|
831
|
+
|
|
776
832
|
moderation_enabled: boolean;
|
|
777
833
|
|
|
778
834
|
moderation_multitenant_blocklist_enabled: boolean;
|
|
@@ -807,6 +863,8 @@ export interface AppResponseFields {
|
|
|
807
863
|
|
|
808
864
|
use_hook_v2: boolean;
|
|
809
865
|
|
|
866
|
+
user_response_time_enabled: boolean;
|
|
867
|
+
|
|
810
868
|
webhook_url: string;
|
|
811
869
|
|
|
812
870
|
event_hooks: EventHook[];
|
|
@@ -1890,6 +1948,8 @@ export interface CallParticipant {
|
|
|
1890
1948
|
|
|
1891
1949
|
teams_role: Record<string, string>;
|
|
1892
1950
|
|
|
1951
|
+
avg_response_time?: number;
|
|
1952
|
+
|
|
1893
1953
|
ban_expires?: Date;
|
|
1894
1954
|
|
|
1895
1955
|
created_at?: Date;
|
|
@@ -2191,6 +2251,20 @@ export interface CallSessionEndedEvent {
|
|
|
2191
2251
|
type: string;
|
|
2192
2252
|
}
|
|
2193
2253
|
|
|
2254
|
+
export interface CallSessionParticipantCountsUpdatedEvent {
|
|
2255
|
+
anonymous_participant_count: number;
|
|
2256
|
+
|
|
2257
|
+
call_cid: string;
|
|
2258
|
+
|
|
2259
|
+
created_at: Date;
|
|
2260
|
+
|
|
2261
|
+
session_id: string;
|
|
2262
|
+
|
|
2263
|
+
participants_count_by_role: Record<string, number>;
|
|
2264
|
+
|
|
2265
|
+
type: string;
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2194
2268
|
export interface CallSessionParticipantJoinedEvent {
|
|
2195
2269
|
call_cid: string;
|
|
2196
2270
|
|
|
@@ -2266,6 +2340,8 @@ export interface CallSettings {
|
|
|
2266
2340
|
|
|
2267
2341
|
geofencing?: GeofenceSettings;
|
|
2268
2342
|
|
|
2343
|
+
ingress?: IngressSettings;
|
|
2344
|
+
|
|
2269
2345
|
limits?: LimitsSettings;
|
|
2270
2346
|
|
|
2271
2347
|
recording?: RecordSettings;
|
|
@@ -2294,6 +2370,8 @@ export interface CallSettingsRequest {
|
|
|
2294
2370
|
|
|
2295
2371
|
geofencing?: GeofenceSettingsRequest;
|
|
2296
2372
|
|
|
2373
|
+
ingress?: IngressSettingsRequest;
|
|
2374
|
+
|
|
2297
2375
|
limits?: LimitsSettingsRequest;
|
|
2298
2376
|
|
|
2299
2377
|
recording?: RecordSettingsRequest;
|
|
@@ -2337,6 +2415,8 @@ export interface CallSettingsResponse {
|
|
|
2337
2415
|
transcription: TranscriptionSettingsResponse;
|
|
2338
2416
|
|
|
2339
2417
|
video: VideoSettingsResponse;
|
|
2418
|
+
|
|
2419
|
+
ingress?: IngressSettingsResponse;
|
|
2340
2420
|
}
|
|
2341
2421
|
|
|
2342
2422
|
export interface CallStateResponseFields {
|
|
@@ -3526,6 +3606,8 @@ export interface CommentAddedEvent {
|
|
|
3526
3606
|
|
|
3527
3607
|
type: string;
|
|
3528
3608
|
|
|
3609
|
+
feed_visibility?: string;
|
|
3610
|
+
|
|
3529
3611
|
received_at?: Date;
|
|
3530
3612
|
|
|
3531
3613
|
user?: UserResponseCommonFields;
|
|
@@ -3542,6 +3624,8 @@ export interface CommentDeletedEvent {
|
|
|
3542
3624
|
|
|
3543
3625
|
type: string;
|
|
3544
3626
|
|
|
3627
|
+
feed_visibility?: string;
|
|
3628
|
+
|
|
3545
3629
|
received_at?: Date;
|
|
3546
3630
|
|
|
3547
3631
|
user?: UserResponseCommonFields;
|
|
@@ -3560,6 +3644,8 @@ export interface CommentReactionAddedEvent {
|
|
|
3560
3644
|
|
|
3561
3645
|
type: string;
|
|
3562
3646
|
|
|
3647
|
+
feed_visibility?: string;
|
|
3648
|
+
|
|
3563
3649
|
received_at?: Date;
|
|
3564
3650
|
|
|
3565
3651
|
user?: UserResponseCommonFields;
|
|
@@ -3578,6 +3664,8 @@ export interface CommentReactionDeletedEvent {
|
|
|
3578
3664
|
|
|
3579
3665
|
type: string;
|
|
3580
3666
|
|
|
3667
|
+
feed_visibility?: string;
|
|
3668
|
+
|
|
3581
3669
|
received_at?: Date;
|
|
3582
3670
|
}
|
|
3583
3671
|
|
|
@@ -3594,6 +3682,8 @@ export interface CommentReactionUpdatedEvent {
|
|
|
3594
3682
|
|
|
3595
3683
|
type: string;
|
|
3596
3684
|
|
|
3685
|
+
feed_visibility?: string;
|
|
3686
|
+
|
|
3597
3687
|
received_at?: Date;
|
|
3598
3688
|
|
|
3599
3689
|
user?: UserResponseCommonFields;
|
|
@@ -3660,6 +3750,8 @@ export interface CommentUpdatedEvent {
|
|
|
3660
3750
|
|
|
3661
3751
|
type: string;
|
|
3662
3752
|
|
|
3753
|
+
feed_visibility?: string;
|
|
3754
|
+
|
|
3663
3755
|
received_at?: Date;
|
|
3664
3756
|
|
|
3665
3757
|
user?: UserResponseCommonFields;
|
|
@@ -3974,9 +4066,7 @@ export interface CreateExternalStorageResponse {
|
|
|
3974
4066
|
}
|
|
3975
4067
|
|
|
3976
4068
|
export interface CreateFeedGroupRequest {
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
default_view_id?: string;
|
|
4069
|
+
id: string;
|
|
3980
4070
|
|
|
3981
4071
|
default_visibility?:
|
|
3982
4072
|
| 'public'
|
|
@@ -3985,9 +4075,17 @@ export interface CreateFeedGroupRequest {
|
|
|
3985
4075
|
| 'members'
|
|
3986
4076
|
| 'private';
|
|
3987
4077
|
|
|
4078
|
+
activity_processors?: ActivityProcessorConfig[];
|
|
4079
|
+
|
|
4080
|
+
activity_selectors?: ActivitySelectorConfig[];
|
|
4081
|
+
|
|
4082
|
+
aggregation?: AggregationConfig;
|
|
4083
|
+
|
|
3988
4084
|
custom?: Record<string, any>;
|
|
3989
4085
|
|
|
3990
4086
|
notification?: NotificationConfig;
|
|
4087
|
+
|
|
4088
|
+
ranking?: RankingConfig;
|
|
3991
4089
|
}
|
|
3992
4090
|
|
|
3993
4091
|
export interface CreateFeedGroupResponse {
|
|
@@ -3997,7 +4095,7 @@ export interface CreateFeedGroupResponse {
|
|
|
3997
4095
|
}
|
|
3998
4096
|
|
|
3999
4097
|
export interface CreateFeedViewRequest {
|
|
4000
|
-
|
|
4098
|
+
id: string;
|
|
4001
4099
|
|
|
4002
4100
|
activity_processors?: ActivityProcessorConfig[];
|
|
4003
4101
|
|
|
@@ -4060,6 +4158,26 @@ export interface CreateImportURLResponse {
|
|
|
4060
4158
|
upload_url: string;
|
|
4061
4159
|
}
|
|
4062
4160
|
|
|
4161
|
+
export interface CreateMembershipLevelRequest {
|
|
4162
|
+
id: string;
|
|
4163
|
+
|
|
4164
|
+
name: string;
|
|
4165
|
+
|
|
4166
|
+
description?: string;
|
|
4167
|
+
|
|
4168
|
+
priority?: number;
|
|
4169
|
+
|
|
4170
|
+
tags?: string[];
|
|
4171
|
+
|
|
4172
|
+
custom?: Record<string, any>;
|
|
4173
|
+
}
|
|
4174
|
+
|
|
4175
|
+
export interface CreateMembershipLevelResponse {
|
|
4176
|
+
duration: string;
|
|
4177
|
+
|
|
4178
|
+
membership_level: MembershipLevelResponse;
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4063
4181
|
export interface CreatePollOptionRequest {
|
|
4064
4182
|
text: string;
|
|
4065
4183
|
|
|
@@ -4261,7 +4379,7 @@ export interface DecayFunctionConfig {
|
|
|
4261
4379
|
}
|
|
4262
4380
|
|
|
4263
4381
|
export interface DeleteActivitiesRequest {
|
|
4264
|
-
|
|
4382
|
+
ids: string[];
|
|
4265
4383
|
|
|
4266
4384
|
hard_delete?: boolean;
|
|
4267
4385
|
|
|
@@ -4273,7 +4391,7 @@ export interface DeleteActivitiesRequest {
|
|
|
4273
4391
|
export interface DeleteActivitiesResponse {
|
|
4274
4392
|
duration: string;
|
|
4275
4393
|
|
|
4276
|
-
|
|
4394
|
+
deleted_ids: string[];
|
|
4277
4395
|
}
|
|
4278
4396
|
|
|
4279
4397
|
export interface DeleteActivityReactionResponse {
|
|
@@ -4449,6 +4567,8 @@ export interface DeleteUsersRequest {
|
|
|
4449
4567
|
|
|
4450
4568
|
conversations?: 'soft' | 'hard';
|
|
4451
4569
|
|
|
4570
|
+
files?: boolean;
|
|
4571
|
+
|
|
4452
4572
|
messages?: 'soft' | 'pruning' | 'hard';
|
|
4453
4573
|
|
|
4454
4574
|
new_call_owner_id?: string;
|
|
@@ -4701,6 +4821,8 @@ export interface EntityCreator {
|
|
|
4701
4821
|
|
|
4702
4822
|
teams_role: Record<string, string>;
|
|
4703
4823
|
|
|
4824
|
+
avg_response_time?: number;
|
|
4825
|
+
|
|
4704
4826
|
ban_expires?: Date;
|
|
4705
4827
|
|
|
4706
4828
|
created_at?: Date;
|
|
@@ -4757,6 +4879,8 @@ export interface EntityCreatorResponse {
|
|
|
4757
4879
|
|
|
4758
4880
|
custom: Record<string, any>;
|
|
4759
4881
|
|
|
4882
|
+
avg_response_time?: number;
|
|
4883
|
+
|
|
4760
4884
|
ban_expires?: Date;
|
|
4761
4885
|
|
|
4762
4886
|
deactivated_at?: Date;
|
|
@@ -4963,6 +5087,8 @@ export interface FeedCreatedEvent {
|
|
|
4963
5087
|
|
|
4964
5088
|
type: string;
|
|
4965
5089
|
|
|
5090
|
+
feed_visibility?: string;
|
|
5091
|
+
|
|
4966
5092
|
received_at?: Date;
|
|
4967
5093
|
}
|
|
4968
5094
|
|
|
@@ -4975,32 +5101,42 @@ export interface FeedDeletedEvent {
|
|
|
4975
5101
|
|
|
4976
5102
|
type: string;
|
|
4977
5103
|
|
|
5104
|
+
feed_visibility?: string;
|
|
5105
|
+
|
|
4978
5106
|
received_at?: Date;
|
|
4979
5107
|
|
|
4980
5108
|
user?: UserResponseCommonFields;
|
|
4981
5109
|
}
|
|
4982
5110
|
|
|
4983
5111
|
export interface FeedGroup {
|
|
5112
|
+
aggregation_version: number;
|
|
5113
|
+
|
|
4984
5114
|
app_pk: number;
|
|
4985
5115
|
|
|
4986
5116
|
created_at: Date;
|
|
4987
5117
|
|
|
4988
|
-
default_view_id: string;
|
|
4989
|
-
|
|
4990
5118
|
default_visibility: string;
|
|
4991
5119
|
|
|
4992
5120
|
id: string;
|
|
4993
5121
|
|
|
4994
5122
|
updated_at: Date;
|
|
4995
5123
|
|
|
5124
|
+
activity_processors: ActivityProcessorConfig[];
|
|
5125
|
+
|
|
5126
|
+
activity_selectors: ActivitySelectorConfig[];
|
|
5127
|
+
|
|
4996
5128
|
custom: Record<string, any>;
|
|
4997
5129
|
|
|
4998
5130
|
deleted_at?: Date;
|
|
4999
5131
|
|
|
5000
5132
|
last_feed_get_at?: Date;
|
|
5001
5133
|
|
|
5134
|
+
aggregation?: AggregationConfig;
|
|
5135
|
+
|
|
5002
5136
|
notification?: NotificationConfig;
|
|
5003
5137
|
|
|
5138
|
+
ranking?: RankingConfig;
|
|
5139
|
+
|
|
5004
5140
|
stories?: StoriesConfig;
|
|
5005
5141
|
}
|
|
5006
5142
|
|
|
@@ -5013,6 +5149,8 @@ export interface FeedGroupChangedEvent {
|
|
|
5013
5149
|
|
|
5014
5150
|
type: string;
|
|
5015
5151
|
|
|
5152
|
+
feed_visibility?: string;
|
|
5153
|
+
|
|
5016
5154
|
received_at?: Date;
|
|
5017
5155
|
|
|
5018
5156
|
feed_group?: FeedGroup;
|
|
@@ -5031,6 +5169,8 @@ export interface FeedGroupDeletedEvent {
|
|
|
5031
5169
|
|
|
5032
5170
|
type: string;
|
|
5033
5171
|
|
|
5172
|
+
feed_visibility?: string;
|
|
5173
|
+
|
|
5034
5174
|
received_at?: Date;
|
|
5035
5175
|
}
|
|
5036
5176
|
|
|
@@ -5041,14 +5181,20 @@ export interface FeedGroupResponse {
|
|
|
5041
5181
|
|
|
5042
5182
|
updated_at: Date;
|
|
5043
5183
|
|
|
5044
|
-
default_view_id?: string;
|
|
5045
|
-
|
|
5046
5184
|
default_visibility?: string;
|
|
5047
5185
|
|
|
5186
|
+
activity_processors?: ActivityProcessorConfig[];
|
|
5187
|
+
|
|
5188
|
+
activity_selectors?: ActivitySelectorConfig[];
|
|
5189
|
+
|
|
5190
|
+
aggregation?: AggregationConfig;
|
|
5191
|
+
|
|
5048
5192
|
custom?: Record<string, any>;
|
|
5049
5193
|
|
|
5050
5194
|
notification?: NotificationConfig;
|
|
5051
5195
|
|
|
5196
|
+
ranking?: RankingConfig;
|
|
5197
|
+
|
|
5052
5198
|
stories?: StoriesConfig;
|
|
5053
5199
|
}
|
|
5054
5200
|
|
|
@@ -5077,6 +5223,8 @@ export interface FeedMemberAddedEvent {
|
|
|
5077
5223
|
|
|
5078
5224
|
type: string;
|
|
5079
5225
|
|
|
5226
|
+
feed_visibility?: string;
|
|
5227
|
+
|
|
5080
5228
|
received_at?: Date;
|
|
5081
5229
|
|
|
5082
5230
|
user?: UserResponseCommonFields;
|
|
@@ -5093,6 +5241,8 @@ export interface FeedMemberRemovedEvent {
|
|
|
5093
5241
|
|
|
5094
5242
|
type: string;
|
|
5095
5243
|
|
|
5244
|
+
feed_visibility?: string;
|
|
5245
|
+
|
|
5096
5246
|
received_at?: Date;
|
|
5097
5247
|
|
|
5098
5248
|
user?: UserResponseCommonFields;
|
|
@@ -5103,6 +5253,8 @@ export interface FeedMemberRequest {
|
|
|
5103
5253
|
|
|
5104
5254
|
invite?: boolean;
|
|
5105
5255
|
|
|
5256
|
+
membership_level?: string;
|
|
5257
|
+
|
|
5106
5258
|
role?: string;
|
|
5107
5259
|
|
|
5108
5260
|
custom?: Record<string, any>;
|
|
@@ -5124,6 +5276,8 @@ export interface FeedMemberResponse {
|
|
|
5124
5276
|
invite_rejected_at?: Date;
|
|
5125
5277
|
|
|
5126
5278
|
custom?: Record<string, any>;
|
|
5279
|
+
|
|
5280
|
+
membership_level?: MembershipLevelResponse;
|
|
5127
5281
|
}
|
|
5128
5282
|
|
|
5129
5283
|
export interface FeedMemberUpdatedEvent {
|
|
@@ -5137,6 +5291,8 @@ export interface FeedMemberUpdatedEvent {
|
|
|
5137
5291
|
|
|
5138
5292
|
type: string;
|
|
5139
5293
|
|
|
5294
|
+
feed_visibility?: string;
|
|
5295
|
+
|
|
5140
5296
|
received_at?: Date;
|
|
5141
5297
|
|
|
5142
5298
|
user?: UserResponseCommonFields;
|
|
@@ -5204,7 +5360,7 @@ export interface FeedResponse {
|
|
|
5204
5360
|
|
|
5205
5361
|
description: string;
|
|
5206
5362
|
|
|
5207
|
-
|
|
5363
|
+
feed: string;
|
|
5208
5364
|
|
|
5209
5365
|
follower_count: number;
|
|
5210
5366
|
|
|
@@ -5230,6 +5386,8 @@ export interface FeedResponse {
|
|
|
5230
5386
|
|
|
5231
5387
|
filter_tags?: string[];
|
|
5232
5388
|
|
|
5389
|
+
own_follows?: FollowResponse[];
|
|
5390
|
+
|
|
5233
5391
|
custom?: Record<string, any>;
|
|
5234
5392
|
}
|
|
5235
5393
|
|
|
@@ -5244,13 +5402,15 @@ export interface FeedUpdatedEvent {
|
|
|
5244
5402
|
|
|
5245
5403
|
type: string;
|
|
5246
5404
|
|
|
5405
|
+
feed_visibility?: string;
|
|
5406
|
+
|
|
5247
5407
|
received_at?: Date;
|
|
5248
5408
|
|
|
5249
5409
|
user?: UserResponseCommonFields;
|
|
5250
5410
|
}
|
|
5251
5411
|
|
|
5252
5412
|
export interface FeedViewResponse {
|
|
5253
|
-
|
|
5413
|
+
id: string;
|
|
5254
5414
|
|
|
5255
5415
|
last_used_at?: Date;
|
|
5256
5416
|
|
|
@@ -5350,29 +5510,33 @@ export interface FirebaseConfigFields {
|
|
|
5350
5510
|
export interface Flag {
|
|
5351
5511
|
created_at: Date;
|
|
5352
5512
|
|
|
5353
|
-
|
|
5513
|
+
entity_id: string;
|
|
5514
|
+
|
|
5515
|
+
entity_type: string;
|
|
5354
5516
|
|
|
5355
5517
|
updated_at: Date;
|
|
5356
5518
|
|
|
5357
|
-
|
|
5519
|
+
result: Array<Record<string, any>>;
|
|
5358
5520
|
|
|
5359
|
-
|
|
5521
|
+
entity_creator_id?: string;
|
|
5360
5522
|
|
|
5361
|
-
|
|
5523
|
+
is_streamed_content?: boolean;
|
|
5362
5524
|
|
|
5363
|
-
|
|
5525
|
+
moderation_payload_hash?: string;
|
|
5364
5526
|
|
|
5365
|
-
|
|
5527
|
+
reason?: string;
|
|
5366
5528
|
|
|
5367
|
-
|
|
5529
|
+
review_queue_item_id?: string;
|
|
5368
5530
|
|
|
5369
|
-
|
|
5531
|
+
type?: string;
|
|
5370
5532
|
|
|
5371
|
-
|
|
5533
|
+
labels?: string[];
|
|
5372
5534
|
|
|
5373
|
-
|
|
5535
|
+
custom?: Record<string, any>;
|
|
5374
5536
|
|
|
5375
|
-
|
|
5537
|
+
moderation_payload?: ModerationPayload;
|
|
5538
|
+
|
|
5539
|
+
review_queue_item?: ReviewQueueItem;
|
|
5376
5540
|
|
|
5377
5541
|
user?: User;
|
|
5378
5542
|
}
|
|
@@ -5472,6 +5636,8 @@ export interface FollowCreatedEvent {
|
|
|
5472
5636
|
|
|
5473
5637
|
type: string;
|
|
5474
5638
|
|
|
5639
|
+
feed_visibility?: string;
|
|
5640
|
+
|
|
5475
5641
|
received_at?: Date;
|
|
5476
5642
|
}
|
|
5477
5643
|
|
|
@@ -5486,6 +5652,8 @@ export interface FollowDeletedEvent {
|
|
|
5486
5652
|
|
|
5487
5653
|
type: string;
|
|
5488
5654
|
|
|
5655
|
+
feed_visibility?: string;
|
|
5656
|
+
|
|
5489
5657
|
received_at?: Date;
|
|
5490
5658
|
}
|
|
5491
5659
|
|
|
@@ -5540,6 +5708,8 @@ export interface FollowUpdatedEvent {
|
|
|
5540
5708
|
|
|
5541
5709
|
type: string;
|
|
5542
5710
|
|
|
5711
|
+
feed_visibility?: string;
|
|
5712
|
+
|
|
5543
5713
|
received_at?: Date;
|
|
5544
5714
|
}
|
|
5545
5715
|
|
|
@@ -5620,6 +5790,8 @@ export interface FullUserResponse {
|
|
|
5620
5790
|
|
|
5621
5791
|
custom: Record<string, any>;
|
|
5622
5792
|
|
|
5793
|
+
avg_response_time?: number;
|
|
5794
|
+
|
|
5623
5795
|
ban_expires?: Date;
|
|
5624
5796
|
|
|
5625
5797
|
deactivated_at?: Date;
|
|
@@ -5995,6 +6167,35 @@ export interface GetOrCreateCallResponse {
|
|
|
5995
6167
|
call: CallResponse;
|
|
5996
6168
|
}
|
|
5997
6169
|
|
|
6170
|
+
export interface GetOrCreateFeedGroupRequest {
|
|
6171
|
+
default_visibility?:
|
|
6172
|
+
| 'public'
|
|
6173
|
+
| 'visible'
|
|
6174
|
+
| 'followers'
|
|
6175
|
+
| 'members'
|
|
6176
|
+
| 'private';
|
|
6177
|
+
|
|
6178
|
+
activity_processors?: ActivityProcessorConfig[];
|
|
6179
|
+
|
|
6180
|
+
activity_selectors?: ActivitySelectorConfig[];
|
|
6181
|
+
|
|
6182
|
+
aggregation?: AggregationConfig;
|
|
6183
|
+
|
|
6184
|
+
custom?: Record<string, any>;
|
|
6185
|
+
|
|
6186
|
+
notification?: NotificationConfig;
|
|
6187
|
+
|
|
6188
|
+
ranking?: RankingConfig;
|
|
6189
|
+
}
|
|
6190
|
+
|
|
6191
|
+
export interface GetOrCreateFeedGroupResponse {
|
|
6192
|
+
duration: string;
|
|
6193
|
+
|
|
6194
|
+
was_created: boolean;
|
|
6195
|
+
|
|
6196
|
+
feed_group: FeedGroupResponse;
|
|
6197
|
+
}
|
|
6198
|
+
|
|
5998
6199
|
export interface GetOrCreateFeedRequest {
|
|
5999
6200
|
limit?: number;
|
|
6000
6201
|
|
|
@@ -6065,6 +6266,24 @@ export interface GetOrCreateFeedResponse {
|
|
|
6065
6266
|
own_membership?: FeedMemberResponse;
|
|
6066
6267
|
}
|
|
6067
6268
|
|
|
6269
|
+
export interface GetOrCreateFeedViewRequest {
|
|
6270
|
+
activity_processors?: ActivityProcessorConfig[];
|
|
6271
|
+
|
|
6272
|
+
activity_selectors?: ActivitySelectorConfig[];
|
|
6273
|
+
|
|
6274
|
+
aggregation?: AggregationConfig;
|
|
6275
|
+
|
|
6276
|
+
ranking?: RankingConfig;
|
|
6277
|
+
}
|
|
6278
|
+
|
|
6279
|
+
export interface GetOrCreateFeedViewResponse {
|
|
6280
|
+
duration: string;
|
|
6281
|
+
|
|
6282
|
+
was_created: boolean;
|
|
6283
|
+
|
|
6284
|
+
feed_view: FeedViewResponse;
|
|
6285
|
+
}
|
|
6286
|
+
|
|
6068
6287
|
export interface GetPushTemplatesResponse {
|
|
6069
6288
|
duration: string;
|
|
6070
6289
|
|
|
@@ -6327,6 +6546,102 @@ export interface ImportTaskHistory {
|
|
|
6327
6546
|
prev_state: string;
|
|
6328
6547
|
}
|
|
6329
6548
|
|
|
6549
|
+
export interface IngressAudioEncodingOptions {
|
|
6550
|
+
bitrate: number;
|
|
6551
|
+
|
|
6552
|
+
channels: '1' | '2';
|
|
6553
|
+
|
|
6554
|
+
enable_dtx: boolean;
|
|
6555
|
+
}
|
|
6556
|
+
|
|
6557
|
+
export interface IngressAudioEncodingOptionsRequest {
|
|
6558
|
+
bitrate: number;
|
|
6559
|
+
|
|
6560
|
+
channels: '1' | '2';
|
|
6561
|
+
|
|
6562
|
+
enable_dtx?: boolean;
|
|
6563
|
+
}
|
|
6564
|
+
|
|
6565
|
+
export interface IngressAudioEncodingResponse {
|
|
6566
|
+
bitrate: number;
|
|
6567
|
+
|
|
6568
|
+
channels: number;
|
|
6569
|
+
|
|
6570
|
+
enable_dtx: boolean;
|
|
6571
|
+
}
|
|
6572
|
+
|
|
6573
|
+
export interface IngressSettings {
|
|
6574
|
+
enabled: boolean;
|
|
6575
|
+
|
|
6576
|
+
audio_encoding_options?: IngressAudioEncodingOptions;
|
|
6577
|
+
|
|
6578
|
+
video_encoding_options?: Record<string, IngressVideoEncodingOptions>;
|
|
6579
|
+
}
|
|
6580
|
+
|
|
6581
|
+
export interface IngressSettingsRequest {
|
|
6582
|
+
enabled?: boolean;
|
|
6583
|
+
|
|
6584
|
+
audio_encoding_options?: IngressAudioEncodingOptionsRequest;
|
|
6585
|
+
|
|
6586
|
+
video_encoding_options?: Record<string, IngressVideoEncodingOptionsRequest>;
|
|
6587
|
+
}
|
|
6588
|
+
|
|
6589
|
+
export interface IngressSettingsResponse {
|
|
6590
|
+
enabled: boolean;
|
|
6591
|
+
|
|
6592
|
+
audio_encoding_options?: IngressAudioEncodingResponse;
|
|
6593
|
+
|
|
6594
|
+
video_encoding_options?: Record<string, IngressVideoEncodingResponse>;
|
|
6595
|
+
}
|
|
6596
|
+
|
|
6597
|
+
export interface IngressVideoEncodingOptions {
|
|
6598
|
+
layers: IngressVideoLayer[];
|
|
6599
|
+
}
|
|
6600
|
+
|
|
6601
|
+
export interface IngressVideoEncodingOptionsRequest {
|
|
6602
|
+
layers: IngressVideoLayerRequest[];
|
|
6603
|
+
}
|
|
6604
|
+
|
|
6605
|
+
export interface IngressVideoEncodingResponse {
|
|
6606
|
+
layers: IngressVideoLayerResponse[];
|
|
6607
|
+
}
|
|
6608
|
+
|
|
6609
|
+
export interface IngressVideoLayer {
|
|
6610
|
+
bitrate: number;
|
|
6611
|
+
|
|
6612
|
+
codec: 'h264' | 'vp8';
|
|
6613
|
+
|
|
6614
|
+
frame_rate: number;
|
|
6615
|
+
|
|
6616
|
+
max_dimension: number;
|
|
6617
|
+
|
|
6618
|
+
min_dimension: number;
|
|
6619
|
+
}
|
|
6620
|
+
|
|
6621
|
+
export interface IngressVideoLayerRequest {
|
|
6622
|
+
bitrate: number;
|
|
6623
|
+
|
|
6624
|
+
codec: 'h264' | 'vp8';
|
|
6625
|
+
|
|
6626
|
+
frame_rate_limit: number;
|
|
6627
|
+
|
|
6628
|
+
max_dimension: number;
|
|
6629
|
+
|
|
6630
|
+
min_dimension: number;
|
|
6631
|
+
}
|
|
6632
|
+
|
|
6633
|
+
export interface IngressVideoLayerResponse {
|
|
6634
|
+
bitrate: number;
|
|
6635
|
+
|
|
6636
|
+
codec: string;
|
|
6637
|
+
|
|
6638
|
+
frame_rate_limit: number;
|
|
6639
|
+
|
|
6640
|
+
max_dimension: number;
|
|
6641
|
+
|
|
6642
|
+
min_dimension: number;
|
|
6643
|
+
}
|
|
6644
|
+
|
|
6330
6645
|
export interface JoinCallAPIMetrics {
|
|
6331
6646
|
failures: number;
|
|
6332
6647
|
|
|
@@ -6516,6 +6831,8 @@ export interface MarkActivityRequest {
|
|
|
6516
6831
|
|
|
6517
6832
|
mark_read?: string[];
|
|
6518
6833
|
|
|
6834
|
+
mark_seen?: string[];
|
|
6835
|
+
|
|
6519
6836
|
mark_watched?: string[];
|
|
6520
6837
|
|
|
6521
6838
|
user?: UserRequest;
|
|
@@ -6647,6 +6964,24 @@ export interface MembersResponse {
|
|
|
6647
6964
|
members: ChannelMember[];
|
|
6648
6965
|
}
|
|
6649
6966
|
|
|
6967
|
+
export interface MembershipLevelResponse {
|
|
6968
|
+
created_at: Date;
|
|
6969
|
+
|
|
6970
|
+
id: string;
|
|
6971
|
+
|
|
6972
|
+
name: string;
|
|
6973
|
+
|
|
6974
|
+
priority: number;
|
|
6975
|
+
|
|
6976
|
+
updated_at: Date;
|
|
6977
|
+
|
|
6978
|
+
tags: string[];
|
|
6979
|
+
|
|
6980
|
+
description?: string;
|
|
6981
|
+
|
|
6982
|
+
custom?: Record<string, any>;
|
|
6983
|
+
}
|
|
6984
|
+
|
|
6650
6985
|
export interface Message {
|
|
6651
6986
|
cid: string;
|
|
6652
6987
|
|
|
@@ -7278,12 +7613,12 @@ export interface ModerationFlagResponse {
|
|
|
7278
7613
|
|
|
7279
7614
|
entity_type: string;
|
|
7280
7615
|
|
|
7281
|
-
id: string;
|
|
7282
|
-
|
|
7283
7616
|
type: string;
|
|
7284
7617
|
|
|
7285
7618
|
updated_at: string;
|
|
7286
7619
|
|
|
7620
|
+
user_id: string;
|
|
7621
|
+
|
|
7287
7622
|
entity_creator_id?: string;
|
|
7288
7623
|
|
|
7289
7624
|
reason?: string;
|
|
@@ -7445,6 +7780,26 @@ export interface NotificationConfig {
|
|
|
7445
7780
|
track_seen?: boolean;
|
|
7446
7781
|
}
|
|
7447
7782
|
|
|
7783
|
+
export interface NotificationFeedUpdatedEvent {
|
|
7784
|
+
created_at: Date;
|
|
7785
|
+
|
|
7786
|
+
fid: string;
|
|
7787
|
+
|
|
7788
|
+
custom: Record<string, any>;
|
|
7789
|
+
|
|
7790
|
+
type: string;
|
|
7791
|
+
|
|
7792
|
+
feed_visibility?: string;
|
|
7793
|
+
|
|
7794
|
+
received_at?: Date;
|
|
7795
|
+
|
|
7796
|
+
aggregated_activities?: AggregatedActivityResponse[];
|
|
7797
|
+
|
|
7798
|
+
notification_status?: NotificationStatusResponse;
|
|
7799
|
+
|
|
7800
|
+
user?: UserResponseCommonFields;
|
|
7801
|
+
}
|
|
7802
|
+
|
|
7448
7803
|
export interface NotificationMarkUnreadEvent {
|
|
7449
7804
|
channel_id: string;
|
|
7450
7805
|
|
|
@@ -7502,9 +7857,13 @@ export interface NotificationStatusResponse {
|
|
|
7502
7857
|
|
|
7503
7858
|
unseen: number;
|
|
7504
7859
|
|
|
7860
|
+
last_read_at?: Date;
|
|
7861
|
+
|
|
7505
7862
|
last_seen_at?: Date;
|
|
7506
7863
|
|
|
7507
7864
|
read_activities?: string[];
|
|
7865
|
+
|
|
7866
|
+
seen_activities?: string[];
|
|
7508
7867
|
}
|
|
7509
7868
|
|
|
7510
7869
|
export interface NullTime {}
|
|
@@ -7594,6 +7953,8 @@ export interface OwnUser {
|
|
|
7594
7953
|
|
|
7595
7954
|
total_unread_count_by_team: Record<string, number>;
|
|
7596
7955
|
|
|
7956
|
+
avg_response_time?: number;
|
|
7957
|
+
|
|
7597
7958
|
deactivated_at?: Date;
|
|
7598
7959
|
|
|
7599
7960
|
deleted_at?: Date;
|
|
@@ -7652,6 +8013,8 @@ export interface OwnUserResponse {
|
|
|
7652
8013
|
|
|
7653
8014
|
custom: Record<string, any>;
|
|
7654
8015
|
|
|
8016
|
+
avg_response_time?: number;
|
|
8017
|
+
|
|
7655
8018
|
deactivated_at?: Date;
|
|
7656
8019
|
|
|
7657
8020
|
deleted_at?: Date;
|
|
@@ -7816,7 +8179,7 @@ export interface PinActivityResponse {
|
|
|
7816
8179
|
|
|
7817
8180
|
duration: string;
|
|
7818
8181
|
|
|
7819
|
-
|
|
8182
|
+
feed: string;
|
|
7820
8183
|
|
|
7821
8184
|
user_id: string;
|
|
7822
8185
|
|
|
@@ -8097,6 +8460,8 @@ export interface PublisherVideoMetrics {
|
|
|
8097
8460
|
frame_encoding_time_ms?: ActiveCallsLatencyStats;
|
|
8098
8461
|
|
|
8099
8462
|
jitter_ms?: ActiveCallsLatencyStats;
|
|
8463
|
+
|
|
8464
|
+
resolution?: ActiveCallsResolutionStats;
|
|
8100
8465
|
}
|
|
8101
8466
|
|
|
8102
8467
|
export interface PublishersMetrics {
|
|
@@ -8753,6 +9118,28 @@ export interface QueryMembersPayload {
|
|
|
8753
9118
|
user?: UserRequest;
|
|
8754
9119
|
}
|
|
8755
9120
|
|
|
9121
|
+
export interface QueryMembershipLevelsRequest {
|
|
9122
|
+
limit?: number;
|
|
9123
|
+
|
|
9124
|
+
next?: string;
|
|
9125
|
+
|
|
9126
|
+
prev?: string;
|
|
9127
|
+
|
|
9128
|
+
sort?: SortParamRequest[];
|
|
9129
|
+
|
|
9130
|
+
filter?: Record<string, any>;
|
|
9131
|
+
}
|
|
9132
|
+
|
|
9133
|
+
export interface QueryMembershipLevelsResponse {
|
|
9134
|
+
duration: string;
|
|
9135
|
+
|
|
9136
|
+
membership_levels: MembershipLevelResponse[];
|
|
9137
|
+
|
|
9138
|
+
next?: string;
|
|
9139
|
+
|
|
9140
|
+
prev?: string;
|
|
9141
|
+
}
|
|
9142
|
+
|
|
8756
9143
|
export interface QueryMessageFlagsPayload {
|
|
8757
9144
|
limit?: number;
|
|
8758
9145
|
|
|
@@ -9446,9 +9833,9 @@ export interface RejectFeedMemberInviteResponse {
|
|
|
9446
9833
|
}
|
|
9447
9834
|
|
|
9448
9835
|
export interface RejectFollowRequest {
|
|
9449
|
-
|
|
9836
|
+
source: string;
|
|
9450
9837
|
|
|
9451
|
-
|
|
9838
|
+
target: string;
|
|
9452
9839
|
}
|
|
9453
9840
|
|
|
9454
9841
|
export interface RejectFollowResponse {
|
|
@@ -9457,6 +9844,66 @@ export interface RejectFollowResponse {
|
|
|
9457
9844
|
follow: FollowResponse;
|
|
9458
9845
|
}
|
|
9459
9846
|
|
|
9847
|
+
export interface ReminderCreatedEvent {
|
|
9848
|
+
cid: string;
|
|
9849
|
+
|
|
9850
|
+
created_at: Date;
|
|
9851
|
+
|
|
9852
|
+
message_id: string;
|
|
9853
|
+
|
|
9854
|
+
user_id: string;
|
|
9855
|
+
|
|
9856
|
+
custom: Record<string, any>;
|
|
9857
|
+
|
|
9858
|
+
type: string;
|
|
9859
|
+
|
|
9860
|
+
parent_id?: string;
|
|
9861
|
+
|
|
9862
|
+
received_at?: Date;
|
|
9863
|
+
|
|
9864
|
+
reminder?: ReminderResponseData;
|
|
9865
|
+
}
|
|
9866
|
+
|
|
9867
|
+
export interface ReminderDeletedEvent {
|
|
9868
|
+
cid: string;
|
|
9869
|
+
|
|
9870
|
+
created_at: Date;
|
|
9871
|
+
|
|
9872
|
+
message_id: string;
|
|
9873
|
+
|
|
9874
|
+
user_id: string;
|
|
9875
|
+
|
|
9876
|
+
custom: Record<string, any>;
|
|
9877
|
+
|
|
9878
|
+
type: string;
|
|
9879
|
+
|
|
9880
|
+
parent_id?: string;
|
|
9881
|
+
|
|
9882
|
+
received_at?: Date;
|
|
9883
|
+
|
|
9884
|
+
reminder?: ReminderResponseData;
|
|
9885
|
+
}
|
|
9886
|
+
|
|
9887
|
+
export interface ReminderNotificationEvent {
|
|
9888
|
+
cid: string;
|
|
9889
|
+
|
|
9890
|
+
created_at: Date;
|
|
9891
|
+
|
|
9892
|
+
message_id: string;
|
|
9893
|
+
|
|
9894
|
+
user_id: string;
|
|
9895
|
+
|
|
9896
|
+
custom: Record<string, any>;
|
|
9897
|
+
|
|
9898
|
+
type: string;
|
|
9899
|
+
|
|
9900
|
+
parent_id?: string;
|
|
9901
|
+
|
|
9902
|
+
received_at?: Date;
|
|
9903
|
+
|
|
9904
|
+
reminder?: ReminderResponseData;
|
|
9905
|
+
}
|
|
9906
|
+
|
|
9460
9907
|
export interface ReminderResponseData {
|
|
9461
9908
|
channel_cid: string;
|
|
9462
9909
|
|
|
@@ -9477,6 +9924,26 @@ export interface ReminderResponseData {
|
|
|
9477
9924
|
user?: User;
|
|
9478
9925
|
}
|
|
9479
9926
|
|
|
9927
|
+
export interface ReminderUpdatedEvent {
|
|
9928
|
+
cid: string;
|
|
9929
|
+
|
|
9930
|
+
created_at: Date;
|
|
9931
|
+
|
|
9932
|
+
message_id: string;
|
|
9933
|
+
|
|
9934
|
+
user_id: string;
|
|
9935
|
+
|
|
9936
|
+
custom: Record<string, any>;
|
|
9937
|
+
|
|
9938
|
+
type: string;
|
|
9939
|
+
|
|
9940
|
+
parent_id?: string;
|
|
9941
|
+
|
|
9942
|
+
received_at?: Date;
|
|
9943
|
+
|
|
9944
|
+
reminder?: ReminderResponseData;
|
|
9945
|
+
}
|
|
9946
|
+
|
|
9480
9947
|
export interface RepliesMeta {
|
|
9481
9948
|
depth_truncated: boolean;
|
|
9482
9949
|
|
|
@@ -9558,12 +10025,20 @@ export interface ReviewQueueItem {
|
|
|
9558
10025
|
|
|
9559
10026
|
bans: Ban[];
|
|
9560
10027
|
|
|
10028
|
+
flag_labels: string[];
|
|
10029
|
+
|
|
10030
|
+
flag_types: string[];
|
|
10031
|
+
|
|
9561
10032
|
flags: Flag[];
|
|
9562
10033
|
|
|
9563
10034
|
languages: string[];
|
|
9564
10035
|
|
|
10036
|
+
reporter_ids: string[];
|
|
10037
|
+
|
|
9565
10038
|
teams: string[];
|
|
9566
10039
|
|
|
10040
|
+
archived_at: NullTime;
|
|
10041
|
+
|
|
9567
10042
|
completed_at: NullTime;
|
|
9568
10043
|
|
|
9569
10044
|
reviewed_at: NullTime;
|
|
@@ -9596,7 +10071,7 @@ export interface ReviewQueueItemNewEvent {
|
|
|
9596
10071
|
|
|
9597
10072
|
received_at?: Date;
|
|
9598
10073
|
|
|
9599
|
-
flags?:
|
|
10074
|
+
flags?: ModerationFlagResponse[];
|
|
9600
10075
|
|
|
9601
10076
|
action?: ActionLogResponse;
|
|
9602
10077
|
|
|
@@ -9630,7 +10105,7 @@ export interface ReviewQueueItemResponse {
|
|
|
9630
10105
|
|
|
9631
10106
|
bans: Ban[];
|
|
9632
10107
|
|
|
9633
|
-
flags:
|
|
10108
|
+
flags: ModerationFlagResponse[];
|
|
9634
10109
|
|
|
9635
10110
|
languages: string[];
|
|
9636
10111
|
|
|
@@ -9672,7 +10147,7 @@ export interface ReviewQueueItemUpdatedEvent {
|
|
|
9672
10147
|
|
|
9673
10148
|
received_at?: Date;
|
|
9674
10149
|
|
|
9675
|
-
flags?:
|
|
10150
|
+
flags?: ModerationFlagResponse[];
|
|
9676
10151
|
|
|
9677
10152
|
action?: ActionLogResponse;
|
|
9678
10153
|
|
|
@@ -10207,18 +10682,6 @@ export interface ShowChannelResponse {
|
|
|
10207
10682
|
duration: string;
|
|
10208
10683
|
}
|
|
10209
10684
|
|
|
10210
|
-
export interface SingleFollowRequest {
|
|
10211
|
-
source: string;
|
|
10212
|
-
|
|
10213
|
-
target: string;
|
|
10214
|
-
|
|
10215
|
-
create_notification_activity?: boolean;
|
|
10216
|
-
|
|
10217
|
-
push_preference?: 'all' | 'none';
|
|
10218
|
-
|
|
10219
|
-
custom?: Record<string, any>;
|
|
10220
|
-
}
|
|
10221
|
-
|
|
10222
10685
|
export interface SingleFollowResponse {
|
|
10223
10686
|
duration: string;
|
|
10224
10687
|
|
|
@@ -10466,6 +10929,7 @@ export interface SubmitActionRequest {
|
|
|
10466
10929
|
| 'delete_user'
|
|
10467
10930
|
| 'unblock'
|
|
10468
10931
|
| 'shadow_block'
|
|
10932
|
+
| 'unmask'
|
|
10469
10933
|
| 'kick_user'
|
|
10470
10934
|
| 'end_call';
|
|
10471
10935
|
|
|
@@ -11042,10 +11506,14 @@ export interface UnfollowBatchRequest {
|
|
|
11042
11506
|
|
|
11043
11507
|
export interface UnfollowBatchResponse {
|
|
11044
11508
|
duration: string;
|
|
11509
|
+
|
|
11510
|
+
follows: FollowResponse[];
|
|
11045
11511
|
}
|
|
11046
11512
|
|
|
11047
11513
|
export interface UnfollowResponse {
|
|
11048
11514
|
duration: string;
|
|
11515
|
+
|
|
11516
|
+
follow: FollowResponse;
|
|
11049
11517
|
}
|
|
11050
11518
|
|
|
11051
11519
|
export interface UnmuteChannelRequest {
|
|
@@ -11075,7 +11543,7 @@ export interface UnmuteResponse {
|
|
|
11075
11543
|
export interface UnpinActivityResponse {
|
|
11076
11544
|
duration: string;
|
|
11077
11545
|
|
|
11078
|
-
|
|
11546
|
+
feed: string;
|
|
11079
11547
|
|
|
11080
11548
|
user_id: string;
|
|
11081
11549
|
|
|
@@ -11129,7 +11597,7 @@ export interface UnreadCountsResponse {
|
|
|
11129
11597
|
|
|
11130
11598
|
threads: UnreadCountsThread[];
|
|
11131
11599
|
|
|
11132
|
-
total_unread_count_by_team
|
|
11600
|
+
total_unread_count_by_team?: Record<string, number>;
|
|
11133
11601
|
}
|
|
11134
11602
|
|
|
11135
11603
|
export interface UnreadCountsThread {
|
|
@@ -11243,6 +11711,8 @@ export interface UpdateAppRequest {
|
|
|
11243
11711
|
|
|
11244
11712
|
sqs_url?: string;
|
|
11245
11713
|
|
|
11714
|
+
user_response_time_enabled?: boolean;
|
|
11715
|
+
|
|
11246
11716
|
webhook_url?: string;
|
|
11247
11717
|
|
|
11248
11718
|
allowed_flag_reasons?: string[];
|
|
@@ -11635,11 +12105,17 @@ export interface UpdateExternalStorageResponse {
|
|
|
11635
12105
|
}
|
|
11636
12106
|
|
|
11637
12107
|
export interface UpdateFeedGroupRequest {
|
|
11638
|
-
|
|
12108
|
+
activity_processors?: ActivityProcessorConfig[];
|
|
12109
|
+
|
|
12110
|
+
activity_selectors?: ActivitySelectorConfig[];
|
|
12111
|
+
|
|
12112
|
+
aggregation?: AggregationConfig;
|
|
11639
12113
|
|
|
11640
12114
|
custom?: Record<string, any>;
|
|
11641
12115
|
|
|
11642
12116
|
notification?: NotificationConfig;
|
|
12117
|
+
|
|
12118
|
+
ranking?: RankingConfig;
|
|
11643
12119
|
}
|
|
11644
12120
|
|
|
11645
12121
|
export interface UpdateFeedGroupResponse {
|
|
@@ -11719,8 +12195,6 @@ export interface UpdateFollowResponse {
|
|
|
11719
12195
|
}
|
|
11720
12196
|
|
|
11721
12197
|
export interface UpdateLiveLocationRequest {
|
|
11722
|
-
created_by_device_id: string;
|
|
11723
|
-
|
|
11724
12198
|
message_id: string;
|
|
11725
12199
|
|
|
11726
12200
|
end_at?: Date;
|
|
@@ -11742,6 +12216,24 @@ export interface UpdateMemberPartialResponse {
|
|
|
11742
12216
|
channel_member?: ChannelMemberResponse;
|
|
11743
12217
|
}
|
|
11744
12218
|
|
|
12219
|
+
export interface UpdateMembershipLevelRequest {
|
|
12220
|
+
description?: string;
|
|
12221
|
+
|
|
12222
|
+
name?: string;
|
|
12223
|
+
|
|
12224
|
+
priority?: number;
|
|
12225
|
+
|
|
12226
|
+
tags?: string[];
|
|
12227
|
+
|
|
12228
|
+
custom?: Record<string, any>;
|
|
12229
|
+
}
|
|
12230
|
+
|
|
12231
|
+
export interface UpdateMembershipLevelResponse {
|
|
12232
|
+
duration: string;
|
|
12233
|
+
|
|
12234
|
+
membership_level: MembershipLevelResponse;
|
|
12235
|
+
}
|
|
12236
|
+
|
|
11745
12237
|
export interface UpdateMessagePartialRequest {
|
|
11746
12238
|
skip_enrich_url?: boolean;
|
|
11747
12239
|
|
|
@@ -12038,6 +12530,8 @@ export interface User {
|
|
|
12038
12530
|
|
|
12039
12531
|
teams_role: Record<string, string>;
|
|
12040
12532
|
|
|
12533
|
+
avg_response_time?: number;
|
|
12534
|
+
|
|
12041
12535
|
ban_expires?: Date;
|
|
12042
12536
|
|
|
12043
12537
|
created_at?: Date;
|
|
@@ -12163,6 +12657,34 @@ export interface UserFlaggedEvent {
|
|
|
12163
12657
|
user?: User;
|
|
12164
12658
|
}
|
|
12165
12659
|
|
|
12660
|
+
export interface UserMessagesDeletedEvent {
|
|
12661
|
+
created_at: Date;
|
|
12662
|
+
|
|
12663
|
+
hard_delete: boolean;
|
|
12664
|
+
|
|
12665
|
+
soft_delete: boolean;
|
|
12666
|
+
|
|
12667
|
+
custom: Record<string, any>;
|
|
12668
|
+
|
|
12669
|
+
user: UserResponseCommonFields;
|
|
12670
|
+
|
|
12671
|
+
type: string;
|
|
12672
|
+
|
|
12673
|
+
channel_id?: string;
|
|
12674
|
+
|
|
12675
|
+
channel_member_count?: number;
|
|
12676
|
+
|
|
12677
|
+
channel_type?: string;
|
|
12678
|
+
|
|
12679
|
+
cid?: string;
|
|
12680
|
+
|
|
12681
|
+
received_at?: Date;
|
|
12682
|
+
|
|
12683
|
+
team?: string;
|
|
12684
|
+
|
|
12685
|
+
channel_custom?: Record<string, any>;
|
|
12686
|
+
}
|
|
12687
|
+
|
|
12166
12688
|
export interface UserMute {
|
|
12167
12689
|
created_at: Date;
|
|
12168
12690
|
|
|
@@ -12260,6 +12782,8 @@ export interface UserResponse {
|
|
|
12260
12782
|
|
|
12261
12783
|
custom: Record<string, any>;
|
|
12262
12784
|
|
|
12785
|
+
avg_response_time?: number;
|
|
12786
|
+
|
|
12263
12787
|
ban_expires?: Date;
|
|
12264
12788
|
|
|
12265
12789
|
deactivated_at?: Date;
|
|
@@ -12304,6 +12828,8 @@ export interface UserResponseCommonFields {
|
|
|
12304
12828
|
|
|
12305
12829
|
custom: Record<string, any>;
|
|
12306
12830
|
|
|
12831
|
+
avg_response_time?: number;
|
|
12832
|
+
|
|
12307
12833
|
deactivated_at?: Date;
|
|
12308
12834
|
|
|
12309
12835
|
deleted_at?: Date;
|
|
@@ -12340,6 +12866,8 @@ export interface UserResponsePrivacyFields {
|
|
|
12340
12866
|
|
|
12341
12867
|
custom: Record<string, any>;
|
|
12342
12868
|
|
|
12869
|
+
avg_response_time?: number;
|
|
12870
|
+
|
|
12343
12871
|
deactivated_at?: Date;
|
|
12344
12872
|
|
|
12345
12873
|
deleted_at?: Date;
|
|
@@ -12640,6 +13168,9 @@ export type WebhookEvent =
|
|
|
12640
13168
|
| ({ type: 'call.rtmp_broadcast_started' } & CallRtmpBroadcastStartedEvent)
|
|
12641
13169
|
| ({ type: 'call.rtmp_broadcast_stopped' } & CallRtmpBroadcastStoppedEvent)
|
|
12642
13170
|
| ({ type: 'call.session_ended' } & CallSessionEndedEvent)
|
|
13171
|
+
| ({
|
|
13172
|
+
type: 'call.session_participant_count_updated';
|
|
13173
|
+
} & CallSessionParticipantCountsUpdatedEvent)
|
|
12643
13174
|
| ({
|
|
12644
13175
|
type: 'call.session_participant_joined';
|
|
12645
13176
|
} & CallSessionParticipantJoinedEvent)
|
|
@@ -12715,6 +13246,7 @@ export type WebhookEvent =
|
|
|
12715
13246
|
| ({ type: 'feeds.follow.created' } & FollowCreatedEvent)
|
|
12716
13247
|
| ({ type: 'feeds.follow.deleted' } & FollowDeletedEvent)
|
|
12717
13248
|
| ({ type: 'feeds.follow.updated' } & FollowUpdatedEvent)
|
|
13249
|
+
| ({ type: 'feeds.notification_feed.updated' } & NotificationFeedUpdatedEvent)
|
|
12718
13250
|
| ({ type: 'flag.updated' } & FlagUpdatedEvent)
|
|
12719
13251
|
| ({ type: 'member.added' } & MemberAddedEvent)
|
|
12720
13252
|
| ({ type: 'member.removed' } & MemberRemovedEvent)
|
|
@@ -12732,10 +13264,14 @@ export type WebhookEvent =
|
|
|
12732
13264
|
| ({ type: 'moderation.mark_reviewed' } & ModerationMarkReviewedEvent)
|
|
12733
13265
|
| ({ type: 'moderation_check.completed' } & ModerationCheckCompletedEvent)
|
|
12734
13266
|
| ({ type: 'notification.mark_unread' } & NotificationMarkUnreadEvent)
|
|
13267
|
+
| ({ type: 'notification.reminder_due' } & ReminderNotificationEvent)
|
|
12735
13268
|
| ({ type: 'notification.thread_message_new' } & MessageNewEvent)
|
|
12736
13269
|
| ({ type: 'reaction.deleted' } & ReactionDeletedEvent)
|
|
12737
13270
|
| ({ type: 'reaction.new' } & ReactionNewEvent)
|
|
12738
13271
|
| ({ type: 'reaction.updated' } & ReactionUpdatedEvent)
|
|
13272
|
+
| ({ type: 'reminder.created' } & ReminderCreatedEvent)
|
|
13273
|
+
| ({ type: 'reminder.deleted' } & ReminderDeletedEvent)
|
|
13274
|
+
| ({ type: 'reminder.updated' } & ReminderUpdatedEvent)
|
|
12739
13275
|
| ({ type: 'review_queue_item.new' } & ReviewQueueItemNewEvent)
|
|
12740
13276
|
| ({ type: 'review_queue_item.updated' } & ReviewQueueItemUpdatedEvent)
|
|
12741
13277
|
| ({ type: 'thread.updated' } & ThreadUpdatedEvent)
|
|
@@ -12743,6 +13279,7 @@ export type WebhookEvent =
|
|
|
12743
13279
|
| ({ type: 'user.deactivated' } & UserDeactivatedEvent)
|
|
12744
13280
|
| ({ type: 'user.deleted' } & UserDeletedEvent)
|
|
12745
13281
|
| ({ type: 'user.flagged' } & UserFlaggedEvent)
|
|
13282
|
+
| ({ type: 'user.messages.deleted' } & UserMessagesDeletedEvent)
|
|
12746
13283
|
| ({ type: 'user.muted' } & UserMutedEvent)
|
|
12747
13284
|
| ({ type: 'user.reactivated' } & UserReactivatedEvent)
|
|
12748
13285
|
| ({ type: 'user.unbanned' } & UserUnbannedEvent)
|
|
@@ -12763,7 +13300,7 @@ export interface WrappedUnreadCountsResponse {
|
|
|
12763
13300
|
|
|
12764
13301
|
threads: UnreadCountsThread[];
|
|
12765
13302
|
|
|
12766
|
-
total_unread_count_by_team
|
|
13303
|
+
total_unread_count_by_team?: Record<string, number>;
|
|
12767
13304
|
}
|
|
12768
13305
|
|
|
12769
13306
|
export interface XiaomiConfig {
|