@stream-io/node-sdk 0.6.6 → 0.7.0
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 +94 -46
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +94 -46
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChatApi.d.ts +4 -7
- package/dist/src/gen/common/CommonApi.d.ts +7 -1
- package/dist/src/gen/feeds/FeedsApi.d.ts +5 -1
- package/dist/src/gen/models/index.d.ts +97 -34
- package/package.json +1 -1
- package/src/gen/chat/ChatApi.ts +30 -73
- package/src/gen/common/CommonApi.ts +73 -0
- package/src/gen/feeds/FeedsApi.ts +33 -0
- package/src/gen/model-decoders/decoders.ts +28 -4
- package/src/gen/models/index.ts +153 -42
- package/src/gen/video/VideoApi.ts +1 -0
package/src/gen/models/index.ts
CHANGED
|
@@ -587,7 +587,7 @@ export interface ActivityResponse {
|
|
|
587
587
|
|
|
588
588
|
moderation?: ModerationV2Response;
|
|
589
589
|
|
|
590
|
-
notification_context?:
|
|
590
|
+
notification_context?: NotificationContext;
|
|
591
591
|
|
|
592
592
|
parent?: ActivityResponse;
|
|
593
593
|
|
|
@@ -707,6 +707,8 @@ export interface AddCommentReactionRequest {
|
|
|
707
707
|
|
|
708
708
|
create_notification_activity?: boolean;
|
|
709
709
|
|
|
710
|
+
enforce_unique?: boolean;
|
|
711
|
+
|
|
710
712
|
skip_push?: boolean;
|
|
711
713
|
|
|
712
714
|
user_id?: string;
|
|
@@ -775,6 +777,8 @@ export interface AddReactionRequest {
|
|
|
775
777
|
|
|
776
778
|
create_notification_activity?: boolean;
|
|
777
779
|
|
|
780
|
+
enforce_unique?: boolean;
|
|
781
|
+
|
|
778
782
|
skip_push?: boolean;
|
|
779
783
|
|
|
780
784
|
user_id?: string;
|
|
@@ -1231,6 +1235,8 @@ export interface BanActionRequest {
|
|
|
1231
1235
|
}
|
|
1232
1236
|
|
|
1233
1237
|
export interface BanOptions {
|
|
1238
|
+
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
1239
|
+
|
|
1234
1240
|
duration?: number;
|
|
1235
1241
|
|
|
1236
1242
|
ip_ban?: boolean;
|
|
@@ -1276,10 +1282,6 @@ export interface BanResponse {
|
|
|
1276
1282
|
user?: UserResponse;
|
|
1277
1283
|
}
|
|
1278
1284
|
|
|
1279
|
-
export interface BlockContentOptions {
|
|
1280
|
-
reason?: string;
|
|
1281
|
-
}
|
|
1282
|
-
|
|
1283
1285
|
export interface BlockListConfig {
|
|
1284
1286
|
async?: boolean;
|
|
1285
1287
|
|
|
@@ -1821,6 +1823,10 @@ export interface CallHLSBroadcastingStoppedEvent {
|
|
|
1821
1823
|
|
|
1822
1824
|
export interface CallIngressResponse {
|
|
1823
1825
|
rtmp: RTMPIngress;
|
|
1826
|
+
|
|
1827
|
+
srt: SRTIngress;
|
|
1828
|
+
|
|
1829
|
+
whip: WHIPIngress;
|
|
1824
1830
|
}
|
|
1825
1831
|
|
|
1826
1832
|
export interface CallLiveStartedEvent {
|
|
@@ -2144,6 +2150,8 @@ export interface CallResponse {
|
|
|
2144
2150
|
|
|
2145
2151
|
transcribing: boolean;
|
|
2146
2152
|
|
|
2153
|
+
translating: boolean;
|
|
2154
|
+
|
|
2147
2155
|
type: string;
|
|
2148
2156
|
|
|
2149
2157
|
updated_at: Date;
|
|
@@ -2317,6 +2325,8 @@ export interface CallSessionParticipantLeftEvent {
|
|
|
2317
2325
|
participant: CallParticipantResponse;
|
|
2318
2326
|
|
|
2319
2327
|
type: string;
|
|
2328
|
+
|
|
2329
|
+
reason?: string;
|
|
2320
2330
|
}
|
|
2321
2331
|
|
|
2322
2332
|
export interface CallSessionResponse {
|
|
@@ -2614,6 +2624,8 @@ export interface CallUserMutedEvent {
|
|
|
2614
2624
|
|
|
2615
2625
|
from_user_id: string;
|
|
2616
2626
|
|
|
2627
|
+
reason: string;
|
|
2628
|
+
|
|
2617
2629
|
muted_user_ids: string[];
|
|
2618
2630
|
|
|
2619
2631
|
type: string;
|
|
@@ -2676,6 +2688,8 @@ export interface CampaignResponse {
|
|
|
2676
2688
|
|
|
2677
2689
|
sender_mode: string;
|
|
2678
2690
|
|
|
2691
|
+
sender_visibility: string;
|
|
2692
|
+
|
|
2679
2693
|
show_channels: boolean;
|
|
2680
2694
|
|
|
2681
2695
|
skip_push: boolean;
|
|
@@ -2792,6 +2806,8 @@ export interface Channel {
|
|
|
2792
2806
|
|
|
2793
2807
|
created_by?: User;
|
|
2794
2808
|
|
|
2809
|
+
members_lookup?: Record<string, ChannelMemberLookup>;
|
|
2810
|
+
|
|
2795
2811
|
truncated_by?: User;
|
|
2796
2812
|
}
|
|
2797
2813
|
|
|
@@ -3085,6 +3101,22 @@ export interface ChannelMember {
|
|
|
3085
3101
|
user?: UserResponse;
|
|
3086
3102
|
}
|
|
3087
3103
|
|
|
3104
|
+
export interface ChannelMemberLookup {
|
|
3105
|
+
archived: boolean;
|
|
3106
|
+
|
|
3107
|
+
banned: boolean;
|
|
3108
|
+
|
|
3109
|
+
hidden: boolean;
|
|
3110
|
+
|
|
3111
|
+
pinned: boolean;
|
|
3112
|
+
|
|
3113
|
+
archived_at?: Date;
|
|
3114
|
+
|
|
3115
|
+
ban_expires?: Date;
|
|
3116
|
+
|
|
3117
|
+
pinned_at?: Date;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3088
3120
|
export interface ChannelMemberResponse {
|
|
3089
3121
|
channel_role: string;
|
|
3090
3122
|
}
|
|
@@ -3824,6 +3856,8 @@ export interface ConfigResponse {
|
|
|
3824
3856
|
|
|
3825
3857
|
updated_at: Date;
|
|
3826
3858
|
|
|
3859
|
+
supported_video_call_harm_types: string[];
|
|
3860
|
+
|
|
3827
3861
|
ai_image_config?: AIImageConfig;
|
|
3828
3862
|
|
|
3829
3863
|
ai_text_config?: AITextConfig;
|
|
@@ -4498,6 +4532,10 @@ export interface DeleteCommentReactionResponse {
|
|
|
4498
4532
|
|
|
4499
4533
|
export interface DeleteCommentResponse {
|
|
4500
4534
|
duration: string;
|
|
4535
|
+
|
|
4536
|
+
activity: ActivityResponse;
|
|
4537
|
+
|
|
4538
|
+
comment: CommentResponse;
|
|
4501
4539
|
}
|
|
4502
4540
|
|
|
4503
4541
|
export interface DeleteExternalStorageResponse {
|
|
@@ -4509,8 +4547,6 @@ export interface DeleteFeedGroupResponse {
|
|
|
4509
4547
|
}
|
|
4510
4548
|
|
|
4511
4549
|
export interface DeleteFeedResponse {
|
|
4512
|
-
delete_feed_task_id: string;
|
|
4513
|
-
|
|
4514
4550
|
duration: string;
|
|
4515
4551
|
|
|
4516
4552
|
task_id: string;
|
|
@@ -5338,35 +5374,34 @@ export interface FeedMemberUpdatedEvent {
|
|
|
5338
5374
|
|
|
5339
5375
|
export const FeedOwnCapability = {
|
|
5340
5376
|
ADD_ACTIVITY: 'add-activity',
|
|
5377
|
+
ADD_ACTIVITY_BOOKMARK: 'add-activity-bookmark',
|
|
5341
5378
|
ADD_ACTIVITY_REACTION: 'add-activity-reaction',
|
|
5342
5379
|
ADD_COMMENT: 'add-comment',
|
|
5343
5380
|
ADD_COMMENT_REACTION: 'add-comment-reaction',
|
|
5344
|
-
BOOKMARK_ACTIVITY: 'bookmark-activity',
|
|
5345
5381
|
CREATE_FEED: 'create-feed',
|
|
5346
|
-
|
|
5347
|
-
|
|
5382
|
+
DELETE_ANY_ACTIVITY: 'delete-any-activity',
|
|
5383
|
+
DELETE_ANY_COMMENT: 'delete-any-comment',
|
|
5348
5384
|
DELETE_FEED: 'delete-feed',
|
|
5349
|
-
|
|
5385
|
+
DELETE_OWN_ACTIVITY: 'delete-own-activity',
|
|
5386
|
+
DELETE_OWN_ACTIVITY_BOOKMARK: 'delete-own-activity-bookmark',
|
|
5387
|
+
DELETE_OWN_ACTIVITY_REACTION: 'delete-own-activity-reaction',
|
|
5388
|
+
DELETE_OWN_COMMENT: 'delete-own-comment',
|
|
5389
|
+
DELETE_OWN_COMMENT_REACTION: 'delete-own-comment-reaction',
|
|
5350
5390
|
FOLLOW: 'follow',
|
|
5351
|
-
INVITE_FEED: 'invite-feed',
|
|
5352
|
-
JOIN_FEED: 'join-feed',
|
|
5353
|
-
LEAVE_FEED: 'leave-feed',
|
|
5354
|
-
MANAGE_FEED_GROUP: 'manage-feed-group',
|
|
5355
|
-
MARK_ACTIVITY: 'mark-activity',
|
|
5356
5391
|
PIN_ACTIVITY: 'pin-activity',
|
|
5357
5392
|
QUERY_FEED_MEMBERS: 'query-feed-members',
|
|
5358
5393
|
QUERY_FOLLOWS: 'query-follows',
|
|
5359
5394
|
READ_ACTIVITIES: 'read-activities',
|
|
5360
5395
|
READ_FEED: 'read-feed',
|
|
5361
|
-
REMOVE_ACTIVITY: 'remove-activity',
|
|
5362
|
-
REMOVE_ACTIVITY_REACTION: 'remove-activity-reaction',
|
|
5363
|
-
REMOVE_COMMENT_REACTION: 'remove-comment-reaction',
|
|
5364
5396
|
UNFOLLOW: 'unfollow',
|
|
5365
|
-
|
|
5366
|
-
|
|
5397
|
+
UPDATE_ANY_ACTIVITY: 'update-any-activity',
|
|
5398
|
+
UPDATE_ANY_COMMENT: 'update-any-comment',
|
|
5367
5399
|
UPDATE_FEED: 'update-feed',
|
|
5368
5400
|
UPDATE_FEED_FOLLOWERS: 'update-feed-followers',
|
|
5369
5401
|
UPDATE_FEED_MEMBERS: 'update-feed-members',
|
|
5402
|
+
UPDATE_OWN_ACTIVITY: 'update-own-activity',
|
|
5403
|
+
UPDATE_OWN_ACTIVITY_BOOKMARK: 'update-own-activity-bookmark',
|
|
5404
|
+
UPDATE_OWN_COMMENT: 'update-own-comment',
|
|
5370
5405
|
} as const;
|
|
5371
5406
|
|
|
5372
5407
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
@@ -5424,9 +5459,13 @@ export interface FeedResponse {
|
|
|
5424
5459
|
|
|
5425
5460
|
filter_tags?: string[];
|
|
5426
5461
|
|
|
5462
|
+
own_capabilities?: FeedOwnCapability[];
|
|
5463
|
+
|
|
5427
5464
|
own_follows?: FollowResponse[];
|
|
5428
5465
|
|
|
5429
5466
|
custom?: Record<string, any>;
|
|
5467
|
+
|
|
5468
|
+
own_membership?: FeedMemberResponse;
|
|
5430
5469
|
}
|
|
5431
5470
|
|
|
5432
5471
|
export interface FeedUpdatedEvent {
|
|
@@ -5461,6 +5500,14 @@ export interface FeedViewResponse {
|
|
|
5461
5500
|
ranking?: RankingConfig;
|
|
5462
5501
|
}
|
|
5463
5502
|
|
|
5503
|
+
export interface FeedVisibilityResponse {
|
|
5504
|
+
description: string;
|
|
5505
|
+
|
|
5506
|
+
name: string;
|
|
5507
|
+
|
|
5508
|
+
grants: Record<string, string[]>;
|
|
5509
|
+
}
|
|
5510
|
+
|
|
5464
5511
|
export interface FeedsModerationTemplateConfig {
|
|
5465
5512
|
config_key: string;
|
|
5466
5513
|
|
|
@@ -5468,15 +5515,15 @@ export interface FeedsModerationTemplateConfig {
|
|
|
5468
5515
|
}
|
|
5469
5516
|
|
|
5470
5517
|
export interface FeedsPreferences {
|
|
5471
|
-
comment?:
|
|
5518
|
+
comment?: 'all' | 'none';
|
|
5472
5519
|
|
|
5473
|
-
comment_reaction?:
|
|
5520
|
+
comment_reaction?: 'all' | 'none';
|
|
5474
5521
|
|
|
5475
|
-
follow?:
|
|
5522
|
+
follow?: 'all' | 'none';
|
|
5476
5523
|
|
|
5477
|
-
mention?:
|
|
5524
|
+
mention?: 'all' | 'none';
|
|
5478
5525
|
|
|
5479
|
-
reaction?:
|
|
5526
|
+
reaction?: 'all' | 'none';
|
|
5480
5527
|
|
|
5481
5528
|
custom_activity_types?: Record<string, string>;
|
|
5482
5529
|
}
|
|
@@ -5593,10 +5640,6 @@ export interface Flag {
|
|
|
5593
5640
|
user?: User;
|
|
5594
5641
|
}
|
|
5595
5642
|
|
|
5596
|
-
export interface FlagContentOptions {
|
|
5597
|
-
reason?: string;
|
|
5598
|
-
}
|
|
5599
|
-
|
|
5600
5643
|
export interface FlagDetails {
|
|
5601
5644
|
original_text: string;
|
|
5602
5645
|
|
|
@@ -5935,6 +5978,8 @@ export interface GetCallReportResponse {
|
|
|
5935
5978
|
video_reactions?: VideoReactionsResponse[];
|
|
5936
5979
|
|
|
5937
5980
|
chat_activity?: ChatActivityStatsResponse;
|
|
5981
|
+
|
|
5982
|
+
session?: CallSessionResponse;
|
|
5938
5983
|
}
|
|
5939
5984
|
|
|
5940
5985
|
export interface GetCallResponse {
|
|
@@ -6125,6 +6170,12 @@ export interface GetFeedViewResponse {
|
|
|
6125
6170
|
feed_view: FeedViewResponse;
|
|
6126
6171
|
}
|
|
6127
6172
|
|
|
6173
|
+
export interface GetFeedVisibilityResponse {
|
|
6174
|
+
duration: string;
|
|
6175
|
+
|
|
6176
|
+
feed_visibility: FeedVisibilityResponse;
|
|
6177
|
+
}
|
|
6178
|
+
|
|
6128
6179
|
export interface GetFollowSuggestionsResponse {
|
|
6129
6180
|
duration: string;
|
|
6130
6181
|
|
|
@@ -6307,8 +6358,6 @@ export interface GetOrCreateFeedResponse {
|
|
|
6307
6358
|
|
|
6308
6359
|
members: FeedMemberResponse[];
|
|
6309
6360
|
|
|
6310
|
-
own_capabilities: FeedOwnCapability[];
|
|
6311
|
-
|
|
6312
6361
|
pinned_activities: ActivityPinResponse[];
|
|
6313
6362
|
|
|
6314
6363
|
feed: FeedResponse;
|
|
@@ -6317,8 +6366,6 @@ export interface GetOrCreateFeedResponse {
|
|
|
6317
6366
|
|
|
6318
6367
|
prev?: string;
|
|
6319
6368
|
|
|
6320
|
-
own_follows?: FollowResponse[];
|
|
6321
|
-
|
|
6322
6369
|
followers_pagination?: PagerResponse;
|
|
6323
6370
|
|
|
6324
6371
|
following_pagination?: PagerResponse;
|
|
@@ -6326,8 +6373,6 @@ export interface GetOrCreateFeedResponse {
|
|
|
6326
6373
|
member_pagination?: PagerResponse;
|
|
6327
6374
|
|
|
6328
6375
|
notification_status?: NotificationStatusResponse;
|
|
6329
|
-
|
|
6330
|
-
own_membership?: FeedMemberResponse;
|
|
6331
6376
|
}
|
|
6332
6377
|
|
|
6333
6378
|
export interface GetOrCreateFeedViewRequest {
|
|
@@ -6483,9 +6528,15 @@ export interface HLSSettingsResponse {
|
|
|
6483
6528
|
}
|
|
6484
6529
|
|
|
6485
6530
|
export interface HarmConfig {
|
|
6531
|
+
cooldown_period?: number;
|
|
6532
|
+
|
|
6486
6533
|
severity?: number;
|
|
6487
6534
|
|
|
6535
|
+
threshold?: number;
|
|
6536
|
+
|
|
6488
6537
|
action_sequences?: ActionSequence[];
|
|
6538
|
+
|
|
6539
|
+
harm_types?: string[];
|
|
6489
6540
|
}
|
|
6490
6541
|
|
|
6491
6542
|
export interface HideChannelRequest {
|
|
@@ -6905,6 +6956,12 @@ export interface ListFeedViewsResponse {
|
|
|
6905
6956
|
views: Record<string, FeedViewResponse>;
|
|
6906
6957
|
}
|
|
6907
6958
|
|
|
6959
|
+
export interface ListFeedVisibilitiesResponse {
|
|
6960
|
+
duration: string;
|
|
6961
|
+
|
|
6962
|
+
feed_visibilities: Record<string, FeedVisibilityResponse>;
|
|
6963
|
+
}
|
|
6964
|
+
|
|
6908
6965
|
export interface ListImportsResponse {
|
|
6909
6966
|
duration: string;
|
|
6910
6967
|
|
|
@@ -7374,6 +7431,8 @@ export interface MessageReadEvent {
|
|
|
7374
7431
|
|
|
7375
7432
|
team?: string;
|
|
7376
7433
|
|
|
7434
|
+
channel?: ChannelResponse;
|
|
7435
|
+
|
|
7377
7436
|
thread?: ThreadResponse;
|
|
7378
7437
|
|
|
7379
7438
|
user?: UserResponseCommonFields;
|
|
@@ -7732,6 +7791,8 @@ export interface ModerationConfig {
|
|
|
7732
7791
|
|
|
7733
7792
|
updated_at?: Date;
|
|
7734
7793
|
|
|
7794
|
+
supported_video_call_harm_types?: string[];
|
|
7795
|
+
|
|
7735
7796
|
ai_image_config?: AIImageConfig;
|
|
7736
7797
|
|
|
7737
7798
|
ai_image_lite_config?: BodyguardImageAnalysisConfig;
|
|
@@ -7770,6 +7831,8 @@ export interface ModerationCustomActionEvent {
|
|
|
7770
7831
|
}
|
|
7771
7832
|
|
|
7772
7833
|
export interface ModerationDashboardPreferences {
|
|
7834
|
+
disable_flagging_reviewed_entity?: boolean;
|
|
7835
|
+
|
|
7773
7836
|
flag_user_on_flagged_content?: boolean;
|
|
7774
7837
|
|
|
7775
7838
|
media_queue_blur_enabled?: boolean;
|
|
@@ -7979,6 +8042,12 @@ export interface NotificationConfig {
|
|
|
7979
8042
|
track_seen?: boolean;
|
|
7980
8043
|
}
|
|
7981
8044
|
|
|
8045
|
+
export interface NotificationContext {
|
|
8046
|
+
target?: NotificationTarget;
|
|
8047
|
+
|
|
8048
|
+
trigger?: NotificationTrigger;
|
|
8049
|
+
}
|
|
8050
|
+
|
|
7982
8051
|
export interface NotificationFeedUpdatedEvent {
|
|
7983
8052
|
created_at: Date;
|
|
7984
8053
|
|
|
@@ -8065,6 +8134,26 @@ export interface NotificationStatusResponse {
|
|
|
8065
8134
|
seen_activities?: string[];
|
|
8066
8135
|
}
|
|
8067
8136
|
|
|
8137
|
+
export interface NotificationTarget {
|
|
8138
|
+
id: string;
|
|
8139
|
+
|
|
8140
|
+
name?: string;
|
|
8141
|
+
|
|
8142
|
+
text?: string;
|
|
8143
|
+
|
|
8144
|
+
type?: string;
|
|
8145
|
+
|
|
8146
|
+
user_id?: string;
|
|
8147
|
+
|
|
8148
|
+
attachments?: Attachment[];
|
|
8149
|
+
}
|
|
8150
|
+
|
|
8151
|
+
export interface NotificationTrigger {
|
|
8152
|
+
text: string;
|
|
8153
|
+
|
|
8154
|
+
type: string;
|
|
8155
|
+
}
|
|
8156
|
+
|
|
8068
8157
|
export interface NullTime {}
|
|
8069
8158
|
|
|
8070
8159
|
export interface OCRRule {
|
|
@@ -10446,11 +10535,7 @@ export interface RuleBuilderAction {
|
|
|
10446
10535
|
|
|
10447
10536
|
ban_options?: BanOptions;
|
|
10448
10537
|
|
|
10449
|
-
flag_content_options?: FlagContentOptions;
|
|
10450
|
-
|
|
10451
10538
|
flag_user_options?: FlagUserOptions;
|
|
10452
|
-
|
|
10453
|
-
remove_content_options?: BlockContentOptions;
|
|
10454
10539
|
}
|
|
10455
10540
|
|
|
10456
10541
|
export interface RuleBuilderCondition {
|
|
@@ -10533,6 +10618,10 @@ export interface SFUIDLastSeen {
|
|
|
10533
10618
|
process_start_time: number;
|
|
10534
10619
|
}
|
|
10535
10620
|
|
|
10621
|
+
export interface SRTIngress {
|
|
10622
|
+
address: string;
|
|
10623
|
+
}
|
|
10624
|
+
|
|
10536
10625
|
export interface STTEgressConfig {
|
|
10537
10626
|
closed_captions_enabled?: boolean;
|
|
10538
10627
|
|
|
@@ -11564,6 +11653,8 @@ export interface TranscriptionSettings {
|
|
|
11564
11653
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
11565
11654
|
|
|
11566
11655
|
speech_segment_config?: SpeechSegmentConfig;
|
|
11656
|
+
|
|
11657
|
+
translation?: TranslationSettings;
|
|
11567
11658
|
}
|
|
11568
11659
|
|
|
11569
11660
|
export interface TranscriptionSettingsRequest {
|
|
@@ -11611,6 +11702,8 @@ export interface TranscriptionSettingsRequest {
|
|
|
11611
11702
|
mode?: 'available' | 'disabled' | 'auto-on';
|
|
11612
11703
|
|
|
11613
11704
|
speech_segment_config?: SpeechSegmentConfig;
|
|
11705
|
+
|
|
11706
|
+
translation?: TranslationSettings;
|
|
11614
11707
|
}
|
|
11615
11708
|
|
|
11616
11709
|
export interface TranscriptionSettingsResponse {
|
|
@@ -11658,6 +11751,8 @@ export interface TranscriptionSettingsResponse {
|
|
|
11658
11751
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
11659
11752
|
|
|
11660
11753
|
speech_segment_config?: SpeechSegmentConfig;
|
|
11754
|
+
|
|
11755
|
+
translation?: TranslationSettings;
|
|
11661
11756
|
}
|
|
11662
11757
|
|
|
11663
11758
|
export interface TranslateMessageRequest {
|
|
@@ -11721,6 +11816,12 @@ export interface TranslateMessageRequest {
|
|
|
11721
11816
|
| 'ht';
|
|
11722
11817
|
}
|
|
11723
11818
|
|
|
11819
|
+
export interface TranslationSettings {
|
|
11820
|
+
enabled: boolean;
|
|
11821
|
+
|
|
11822
|
+
languages: string[];
|
|
11823
|
+
}
|
|
11824
|
+
|
|
11724
11825
|
export interface TruncateChannelRequest {
|
|
11725
11826
|
hard_delete?: boolean;
|
|
11726
11827
|
|
|
@@ -11936,6 +12037,8 @@ export interface UpdateActivityRequest {
|
|
|
11936
12037
|
|
|
11937
12038
|
attachments?: Attachment[];
|
|
11938
12039
|
|
|
12040
|
+
feeds?: string[];
|
|
12041
|
+
|
|
11939
12042
|
filter_tags?: string[];
|
|
11940
12043
|
|
|
11941
12044
|
interest_tags?: string[];
|
|
@@ -12820,7 +12923,7 @@ export interface UpsertPushPreferencesResponse {
|
|
|
12820
12923
|
|
|
12821
12924
|
user_channel_preferences: Record<
|
|
12822
12925
|
string,
|
|
12823
|
-
Record<string, ChannelPushPreferences>
|
|
12926
|
+
Record<string, ChannelPushPreferences | null>
|
|
12824
12927
|
>;
|
|
12825
12928
|
|
|
12826
12929
|
user_preferences: Record<string, PushPreferences>;
|
|
@@ -13343,7 +13446,11 @@ export interface VelocityFilterConfigRule {
|
|
|
13343
13446
|
}
|
|
13344
13447
|
|
|
13345
13448
|
export interface VideoCallRuleConfig {
|
|
13346
|
-
|
|
13449
|
+
flag_all_labels?: boolean;
|
|
13450
|
+
|
|
13451
|
+
flagged_labels?: string[];
|
|
13452
|
+
|
|
13453
|
+
rules?: HarmConfig[];
|
|
13347
13454
|
}
|
|
13348
13455
|
|
|
13349
13456
|
export interface VideoContentParameters {
|
|
@@ -13418,6 +13525,10 @@ export interface VoteData {
|
|
|
13418
13525
|
option_id?: string;
|
|
13419
13526
|
}
|
|
13420
13527
|
|
|
13528
|
+
export interface WHIPIngress {
|
|
13529
|
+
address: string;
|
|
13530
|
+
}
|
|
13531
|
+
|
|
13421
13532
|
export interface WSEvent {
|
|
13422
13533
|
created_at: Date;
|
|
13423
13534
|
|
|
@@ -791,6 +791,7 @@ export class VideoApi {
|
|
|
791
791
|
enable_transcription: request?.enable_transcription,
|
|
792
792
|
external_storage: request?.external_storage,
|
|
793
793
|
language: request?.language,
|
|
794
|
+
speech_segment_config: request?.speech_segment_config,
|
|
794
795
|
};
|
|
795
796
|
|
|
796
797
|
const response = await this.apiClient.sendRequest<
|