@stream-io/node-sdk 0.7.43 → 0.7.45
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 +137 -16
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +137 -16
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChatApi.d.ts +2 -1
- package/dist/src/gen/common/CommonApi.d.ts +4 -4
- package/dist/src/gen/feeds/FeedApi.d.ts +1 -0
- package/dist/src/gen/feeds/FeedsApi.d.ts +9 -1
- package/dist/src/gen/models/index.d.ts +205 -5
- package/dist/src/gen/moderation/ModerationApi.d.ts +2 -1
- package/dist/src/gen/video/VideoApi.d.ts +2 -1
- package/package.json +26 -26
- package/src/ApiClient.ts +3 -3
- package/src/gen/chat/ChatApi.ts +30 -0
- package/src/gen/common/CommonApi.ts +27 -12
- package/src/gen/feeds/FeedApi.ts +1 -0
- package/src/gen/feeds/FeedsApi.ts +119 -2
- package/src/gen/model-decoders/decoders.ts +31 -7
- package/src/gen/models/index.ts +372 -9
- package/src/gen/moderation/ModerationApi.ts +25 -0
- package/src/gen/video/VideoApi.ts +35 -2
|
@@ -4,6 +4,12 @@ export interface AIImageConfig {
|
|
|
4
4
|
ocr_rules?: OCRRule[];
|
|
5
5
|
rules?: AWSRekognitionRule[];
|
|
6
6
|
}
|
|
7
|
+
export interface AIImageLabelDefinition {
|
|
8
|
+
description: string;
|
|
9
|
+
group: string;
|
|
10
|
+
key: string;
|
|
11
|
+
label: string;
|
|
12
|
+
}
|
|
7
13
|
export interface AITextConfig {
|
|
8
14
|
async?: boolean;
|
|
9
15
|
enabled?: boolean;
|
|
@@ -70,7 +76,7 @@ export interface AWSRekognitionRule {
|
|
|
70
76
|
action: 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
|
|
71
77
|
label: string;
|
|
72
78
|
min_confidence: number;
|
|
73
|
-
subclassifications?: Record<string,
|
|
79
|
+
subclassifications?: Record<string, any>;
|
|
74
80
|
}
|
|
75
81
|
export interface AcceptFeedMemberInviteRequest {
|
|
76
82
|
user_id?: string;
|
|
@@ -343,6 +349,7 @@ export interface ActivityResponse {
|
|
|
343
349
|
friend_reactions?: FeedsReactionResponse[];
|
|
344
350
|
current_feed?: FeedResponse;
|
|
345
351
|
location?: ActivityLocation;
|
|
352
|
+
metrics?: Record<string, number>;
|
|
346
353
|
moderation?: ModerationV2Response;
|
|
347
354
|
notification_context?: NotificationContext;
|
|
348
355
|
parent?: ActivityResponse;
|
|
@@ -401,6 +408,7 @@ export interface AddActivityRequest {
|
|
|
401
408
|
feeds: string[];
|
|
402
409
|
copy_custom_to_notification?: boolean;
|
|
403
410
|
create_notification_activity?: boolean;
|
|
411
|
+
enrich_own_fields?: boolean;
|
|
404
412
|
expires_at?: string;
|
|
405
413
|
id?: string;
|
|
406
414
|
parent_id?: string;
|
|
@@ -574,10 +582,12 @@ export interface AppResponseFields {
|
|
|
574
582
|
policies: Record<string, Policy[]>;
|
|
575
583
|
push_notifications: PushNotificationFields;
|
|
576
584
|
before_message_send_hook_url?: string;
|
|
585
|
+
moderation_s3_image_access_role_arn?: string;
|
|
577
586
|
revoke_tokens_issued_before?: Date;
|
|
578
587
|
allowed_flag_reasons?: string[];
|
|
579
588
|
geofences?: GeofenceResponse[];
|
|
580
589
|
image_moderation_labels?: string[];
|
|
590
|
+
activity_metrics_config?: Record<string, number>;
|
|
581
591
|
datadog_info?: DataDogInfo;
|
|
582
592
|
moderation_dashboard_preferences?: ModerationDashboardPreferences;
|
|
583
593
|
}
|
|
@@ -791,6 +801,7 @@ export interface BackstageSettingsResponse {
|
|
|
791
801
|
}
|
|
792
802
|
export interface BanActionRequestPayload {
|
|
793
803
|
channel_ban_only?: boolean;
|
|
804
|
+
channel_cid?: string;
|
|
794
805
|
delete_messages?: 'soft' | 'pruning' | 'hard';
|
|
795
806
|
ip_ban?: boolean;
|
|
796
807
|
reason?: string;
|
|
@@ -839,6 +850,7 @@ export interface BlockActionRequestPayload {
|
|
|
839
850
|
export interface BlockListConfig {
|
|
840
851
|
async?: boolean;
|
|
841
852
|
enabled?: boolean;
|
|
853
|
+
match_substring?: boolean;
|
|
842
854
|
rules?: BlockListRule[];
|
|
843
855
|
}
|
|
844
856
|
export interface BlockListOptions {
|
|
@@ -1071,6 +1083,7 @@ export interface CallEndedEvent {
|
|
|
1071
1083
|
call: CallResponse;
|
|
1072
1084
|
type: string;
|
|
1073
1085
|
reason?: string;
|
|
1086
|
+
members?: MemberResponse[];
|
|
1074
1087
|
user?: UserResponse;
|
|
1075
1088
|
}
|
|
1076
1089
|
export interface CallFrameRecordingFailedEvent {
|
|
@@ -1725,6 +1738,10 @@ export interface ChannelBatchCompletedEvent {
|
|
|
1725
1738
|
type: string;
|
|
1726
1739
|
received_at?: Date;
|
|
1727
1740
|
}
|
|
1741
|
+
export interface ChannelBatchMemberRequest {
|
|
1742
|
+
user_id: string;
|
|
1743
|
+
channel_role?: string;
|
|
1744
|
+
}
|
|
1728
1745
|
export interface ChannelBatchStartedEvent {
|
|
1729
1746
|
batch_created_at: Date;
|
|
1730
1747
|
created_at: Date;
|
|
@@ -1738,6 +1755,16 @@ export interface ChannelBatchStartedEvent {
|
|
|
1738
1755
|
type: string;
|
|
1739
1756
|
received_at?: Date;
|
|
1740
1757
|
}
|
|
1758
|
+
export interface ChannelBatchUpdateRequest {
|
|
1759
|
+
operation: 'addMembers' | 'removeMembers' | 'inviteMembers' | 'invites' | 'assignRoles' | 'addModerators' | 'demoteModerators' | 'hide' | 'show' | 'archive' | 'unarchive' | 'updateData';
|
|
1760
|
+
filter: Record<string, any>;
|
|
1761
|
+
members?: ChannelBatchMemberRequest[];
|
|
1762
|
+
data?: ChannelDataUpdate;
|
|
1763
|
+
}
|
|
1764
|
+
export interface ChannelBatchUpdateResponse {
|
|
1765
|
+
duration: string;
|
|
1766
|
+
task_id?: string;
|
|
1767
|
+
}
|
|
1741
1768
|
export interface ChannelConfig {
|
|
1742
1769
|
automod: 'disabled' | 'simple' | 'AI';
|
|
1743
1770
|
automod_behavior: 'flag' | 'block' | 'shadow_block';
|
|
@@ -1774,6 +1801,7 @@ export interface ChannelConfig {
|
|
|
1774
1801
|
allowed_flag_reasons?: string[];
|
|
1775
1802
|
blocklists?: BlockListOptions[];
|
|
1776
1803
|
automod_thresholds?: Thresholds;
|
|
1804
|
+
chat_preferences?: ChatPreferences;
|
|
1777
1805
|
}
|
|
1778
1806
|
export interface ChannelConfigWithInfo {
|
|
1779
1807
|
automod: 'disabled' | 'simple' | 'AI';
|
|
@@ -1811,6 +1839,7 @@ export interface ChannelConfigWithInfo {
|
|
|
1811
1839
|
allowed_flag_reasons?: string[];
|
|
1812
1840
|
blocklists?: BlockListOptions[];
|
|
1813
1841
|
automod_thresholds?: Thresholds;
|
|
1842
|
+
chat_preferences?: ChatPreferences;
|
|
1814
1843
|
grants?: Record<string, string[]>;
|
|
1815
1844
|
}
|
|
1816
1845
|
export interface ChannelCreatedEvent {
|
|
@@ -1828,6 +1857,15 @@ export interface ChannelCreatedEvent {
|
|
|
1828
1857
|
channel_custom?: Record<string, any>;
|
|
1829
1858
|
user?: UserResponseCommonFields;
|
|
1830
1859
|
}
|
|
1860
|
+
export interface ChannelDataUpdate {
|
|
1861
|
+
auto_translation_enabled?: boolean;
|
|
1862
|
+
auto_translation_language?: string;
|
|
1863
|
+
disabled?: boolean;
|
|
1864
|
+
frozen?: boolean;
|
|
1865
|
+
team?: string;
|
|
1866
|
+
config_overrides?: ChannelConfig;
|
|
1867
|
+
custom?: Record<string, any>;
|
|
1868
|
+
}
|
|
1831
1869
|
export interface ChannelDeletedEvent {
|
|
1832
1870
|
created_at: Date;
|
|
1833
1871
|
channel: ChannelResponse;
|
|
@@ -2002,6 +2040,7 @@ export type ChannelOwnCapability = (typeof ChannelOwnCapability)[keyof typeof Ch
|
|
|
2002
2040
|
export interface ChannelPushPreferencesResponse {
|
|
2003
2041
|
chat_level?: string;
|
|
2004
2042
|
disabled_until?: Date;
|
|
2043
|
+
chat_preferences?: ChatPreferencesResponse;
|
|
2005
2044
|
}
|
|
2006
2045
|
export interface ChannelResponse {
|
|
2007
2046
|
cid: string;
|
|
@@ -2123,6 +2162,7 @@ export interface ChannelTypeConfig {
|
|
|
2123
2162
|
allowed_flag_reasons?: string[];
|
|
2124
2163
|
blocklists?: BlockListOptions[];
|
|
2125
2164
|
automod_thresholds?: Thresholds;
|
|
2165
|
+
chat_preferences?: ChatPreferences;
|
|
2126
2166
|
}
|
|
2127
2167
|
export interface ChannelUnFrozenEvent {
|
|
2128
2168
|
created_at: Date;
|
|
@@ -2177,6 +2217,34 @@ export interface ChannelVisibleEvent {
|
|
|
2177
2217
|
export interface ChatActivityStatsResponse {
|
|
2178
2218
|
messages?: MessageStatsResponse;
|
|
2179
2219
|
}
|
|
2220
|
+
export interface ChatPreferences {
|
|
2221
|
+
channel_mentions?: string;
|
|
2222
|
+
default_preference?: string;
|
|
2223
|
+
direct_mentions?: string;
|
|
2224
|
+
distinct_channel_messages?: string;
|
|
2225
|
+
group_mentions?: string;
|
|
2226
|
+
here_mentions?: string;
|
|
2227
|
+
role_mentions?: string;
|
|
2228
|
+
thread_replies?: string;
|
|
2229
|
+
}
|
|
2230
|
+
export interface ChatPreferencesInput {
|
|
2231
|
+
channel_mentions?: 'all' | 'none';
|
|
2232
|
+
default_preference?: 'all' | 'none';
|
|
2233
|
+
direct_mentions?: 'all' | 'none';
|
|
2234
|
+
group_mentions?: 'all' | 'none';
|
|
2235
|
+
here_mentions?: 'all' | 'none';
|
|
2236
|
+
role_mentions?: 'all' | 'none';
|
|
2237
|
+
thread_replies?: 'all' | 'none';
|
|
2238
|
+
}
|
|
2239
|
+
export interface ChatPreferencesResponse {
|
|
2240
|
+
channel_mentions?: string;
|
|
2241
|
+
default_preference?: string;
|
|
2242
|
+
direct_mentions?: string;
|
|
2243
|
+
group_mentions?: string;
|
|
2244
|
+
here_mentions?: string;
|
|
2245
|
+
role_mentions?: string;
|
|
2246
|
+
thread_replies?: string;
|
|
2247
|
+
}
|
|
2180
2248
|
export interface CheckExternalStorageResponse {
|
|
2181
2249
|
duration: string;
|
|
2182
2250
|
file_url: string;
|
|
@@ -2222,6 +2290,15 @@ export interface CheckResponse {
|
|
|
2222
2290
|
status: string;
|
|
2223
2291
|
task_id?: string;
|
|
2224
2292
|
item?: ReviewQueueItemResponse;
|
|
2293
|
+
triggered_rule?: TriggeredRuleResponse;
|
|
2294
|
+
}
|
|
2295
|
+
export interface CheckS3AccessRequest {
|
|
2296
|
+
s3_url?: string;
|
|
2297
|
+
}
|
|
2298
|
+
export interface CheckS3AccessResponse {
|
|
2299
|
+
duration: string;
|
|
2300
|
+
success: boolean;
|
|
2301
|
+
message?: string;
|
|
2225
2302
|
}
|
|
2226
2303
|
export interface CheckSNSRequest {
|
|
2227
2304
|
sns_key?: string;
|
|
@@ -2376,6 +2453,16 @@ export interface CommentResponse {
|
|
|
2376
2453
|
moderation?: ModerationV2Response;
|
|
2377
2454
|
reaction_groups?: Record<string, FeedsReactionGroupResponse>;
|
|
2378
2455
|
}
|
|
2456
|
+
export interface CommentRestoredEvent {
|
|
2457
|
+
created_at: Date;
|
|
2458
|
+
fid: string;
|
|
2459
|
+
comment: CommentResponse;
|
|
2460
|
+
custom: Record<string, any>;
|
|
2461
|
+
type: string;
|
|
2462
|
+
feed_visibility?: string;
|
|
2463
|
+
received_at?: Date;
|
|
2464
|
+
user?: UserResponseCommonFields;
|
|
2465
|
+
}
|
|
2379
2466
|
export interface CommentUpdatedEvent {
|
|
2380
2467
|
created_at: Date;
|
|
2381
2468
|
fid: string;
|
|
@@ -2396,6 +2483,7 @@ export interface ConfigOverridesRequest {
|
|
|
2396
2483
|
blocklist_behavior?: 'flag' | 'block';
|
|
2397
2484
|
count_messages?: boolean;
|
|
2398
2485
|
max_message_length?: number;
|
|
2486
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
2399
2487
|
quotes?: boolean;
|
|
2400
2488
|
reactions?: boolean;
|
|
2401
2489
|
replies?: boolean;
|
|
@@ -2405,6 +2493,7 @@ export interface ConfigOverridesRequest {
|
|
|
2405
2493
|
url_enrichment?: boolean;
|
|
2406
2494
|
user_message_reminders?: boolean;
|
|
2407
2495
|
commands?: string[];
|
|
2496
|
+
chat_preferences?: ChatPreferences;
|
|
2408
2497
|
grants?: Record<string, string[]>;
|
|
2409
2498
|
}
|
|
2410
2499
|
export interface ConfigResponse {
|
|
@@ -2414,6 +2503,7 @@ export interface ConfigResponse {
|
|
|
2414
2503
|
team: string;
|
|
2415
2504
|
updated_at: Date;
|
|
2416
2505
|
supported_video_call_harm_types: string[];
|
|
2506
|
+
ai_image_label_definitions?: AIImageLabelDefinition[];
|
|
2417
2507
|
ai_image_config?: AIImageConfig;
|
|
2418
2508
|
ai_image_subclassifications?: Record<string, string[]>;
|
|
2419
2509
|
ai_text_config?: AITextConfig;
|
|
@@ -2499,6 +2589,7 @@ export interface CreateChannelTypeRequest {
|
|
|
2499
2589
|
blocklists?: BlockListOptions[];
|
|
2500
2590
|
commands?: string[];
|
|
2501
2591
|
permissions?: PolicyRequest[];
|
|
2592
|
+
chat_preferences?: ChatPreferences;
|
|
2502
2593
|
grants?: Record<string, string[]>;
|
|
2503
2594
|
}
|
|
2504
2595
|
export interface CreateChannelTypeResponse {
|
|
@@ -2540,6 +2631,7 @@ export interface CreateChannelTypeResponse {
|
|
|
2540
2631
|
allowed_flag_reasons?: string[];
|
|
2541
2632
|
blocklists?: BlockListOptions[];
|
|
2542
2633
|
automod_thresholds?: Thresholds;
|
|
2634
|
+
chat_preferences?: ChatPreferences;
|
|
2543
2635
|
}
|
|
2544
2636
|
export interface CreateCollectionsRequest {
|
|
2545
2637
|
collections: CollectionRequest[];
|
|
@@ -2608,6 +2700,7 @@ export interface CreateFeedViewResponse {
|
|
|
2608
2700
|
}
|
|
2609
2701
|
export interface CreateFeedsBatchRequest {
|
|
2610
2702
|
feeds: FeedRequest[];
|
|
2703
|
+
enrich_own_fields?: boolean;
|
|
2611
2704
|
}
|
|
2612
2705
|
export interface CreateFeedsBatchResponse {
|
|
2613
2706
|
duration: string;
|
|
@@ -2702,6 +2795,8 @@ export interface CreateRoleResponse {
|
|
|
2702
2795
|
export interface CreateSIPTrunkRequest {
|
|
2703
2796
|
name: string;
|
|
2704
2797
|
numbers: string[];
|
|
2798
|
+
password?: string;
|
|
2799
|
+
allowed_ips?: string[];
|
|
2705
2800
|
}
|
|
2706
2801
|
export interface CreateSIPTrunkResponse {
|
|
2707
2802
|
duration: string;
|
|
@@ -3602,6 +3697,7 @@ export interface FileUploadResponse {
|
|
|
3602
3697
|
export interface FilterConfigResponse {
|
|
3603
3698
|
llm_labels: string[];
|
|
3604
3699
|
ai_text_labels?: string[];
|
|
3700
|
+
config_keys?: string[];
|
|
3605
3701
|
}
|
|
3606
3702
|
export interface FirebaseConfig {
|
|
3607
3703
|
apn_template?: string;
|
|
@@ -3666,6 +3762,7 @@ export interface FlagUserOptions {
|
|
|
3666
3762
|
}
|
|
3667
3763
|
export interface FollowBatchRequest {
|
|
3668
3764
|
follows: FollowRequest[];
|
|
3765
|
+
enrich_own_fields?: boolean;
|
|
3669
3766
|
}
|
|
3670
3767
|
export interface FollowBatchResponse {
|
|
3671
3768
|
duration: string;
|
|
@@ -3699,6 +3796,7 @@ export interface FollowRequest {
|
|
|
3699
3796
|
target: string;
|
|
3700
3797
|
copy_custom_to_notification?: boolean;
|
|
3701
3798
|
create_notification_activity?: boolean;
|
|
3799
|
+
enrich_own_fields?: boolean;
|
|
3702
3800
|
push_preference?: 'all' | 'none';
|
|
3703
3801
|
skip_push?: boolean;
|
|
3704
3802
|
status?: 'accepted' | 'pending' | 'rejected';
|
|
@@ -3921,6 +4019,7 @@ export interface GetChannelTypeResponse {
|
|
|
3921
4019
|
allowed_flag_reasons?: string[];
|
|
3922
4020
|
blocklists?: BlockListOptions[];
|
|
3923
4021
|
automod_thresholds?: Thresholds;
|
|
4022
|
+
chat_preferences?: ChatPreferences;
|
|
3924
4023
|
}
|
|
3925
4024
|
export interface GetCommandResponse {
|
|
3926
4025
|
args: string;
|
|
@@ -4905,6 +5004,7 @@ export interface MessageRequest {
|
|
|
4905
5004
|
type?: "''" | 'regular' | 'system';
|
|
4906
5005
|
user_id?: string;
|
|
4907
5006
|
attachments?: Attachment[];
|
|
5007
|
+
mentioned_group_ids?: string[];
|
|
4908
5008
|
mentioned_roles?: string[];
|
|
4909
5009
|
mentioned_users?: string[];
|
|
4910
5010
|
restricted_visibility?: string[];
|
|
@@ -4947,6 +5047,7 @@ export interface MessageResponse {
|
|
|
4947
5047
|
poll_id?: string;
|
|
4948
5048
|
quoted_message_id?: string;
|
|
4949
5049
|
show_in_channel?: boolean;
|
|
5050
|
+
mentioned_group_ids?: string[];
|
|
4950
5051
|
mentioned_roles?: string[];
|
|
4951
5052
|
thread_participants?: UserResponse[];
|
|
4952
5053
|
draft?: DraftResponse;
|
|
@@ -5046,6 +5147,7 @@ export interface MessageWithChannelResponse {
|
|
|
5046
5147
|
poll_id?: string;
|
|
5047
5148
|
quoted_message_id?: string;
|
|
5048
5149
|
show_in_channel?: boolean;
|
|
5150
|
+
mentioned_group_ids?: string[];
|
|
5049
5151
|
mentioned_roles?: string[];
|
|
5050
5152
|
thread_participants?: UserResponse[];
|
|
5051
5153
|
draft?: DraftResponse;
|
|
@@ -5134,6 +5236,7 @@ export interface ModerationDashboardPreferences {
|
|
|
5134
5236
|
flag_user_on_flagged_content?: boolean;
|
|
5135
5237
|
media_queue_blur_enabled?: boolean;
|
|
5136
5238
|
allowed_moderation_action_reasons?: string[];
|
|
5239
|
+
keyframe_classifications_map?: Record<string, Record<string, boolean>>;
|
|
5137
5240
|
overview_dashboard?: OverviewDashboardConfig;
|
|
5138
5241
|
}
|
|
5139
5242
|
export interface ModerationFlagResponse {
|
|
@@ -5637,6 +5740,7 @@ export interface PermissionRequestEvent {
|
|
|
5637
5740
|
type: string;
|
|
5638
5741
|
}
|
|
5639
5742
|
export interface PinActivityRequest {
|
|
5743
|
+
enrich_own_fields?: boolean;
|
|
5640
5744
|
user_id?: string;
|
|
5641
5745
|
user?: UserRequest;
|
|
5642
5746
|
}
|
|
@@ -5816,6 +5920,7 @@ export interface PushPreferenceInput {
|
|
|
5816
5920
|
feeds_level?: 'all' | 'none' | 'default';
|
|
5817
5921
|
remove_disable?: boolean;
|
|
5818
5922
|
user_id?: string;
|
|
5923
|
+
chat_preferences?: ChatPreferencesInput;
|
|
5819
5924
|
feeds_preferences?: FeedsPreferences;
|
|
5820
5925
|
}
|
|
5821
5926
|
export interface PushPreferencesResponse {
|
|
@@ -5823,6 +5928,7 @@ export interface PushPreferencesResponse {
|
|
|
5823
5928
|
chat_level?: string;
|
|
5824
5929
|
disabled_until?: Date;
|
|
5825
5930
|
feeds_level?: string;
|
|
5931
|
+
chat_preferences?: ChatPreferencesResponse;
|
|
5826
5932
|
feeds_preferences?: FeedsPreferencesResponse;
|
|
5827
5933
|
}
|
|
5828
5934
|
export interface PushProvider {
|
|
@@ -5933,6 +6039,7 @@ export interface QualityScoreReportResponse {
|
|
|
5933
6039
|
daily: DailyAggregateQualityScoreReportResponse[];
|
|
5934
6040
|
}
|
|
5935
6041
|
export interface QueryActivitiesRequest {
|
|
6042
|
+
enrich_own_fields?: boolean;
|
|
5936
6043
|
include_expired_activities?: boolean;
|
|
5937
6044
|
include_private_activities?: boolean;
|
|
5938
6045
|
limit?: number;
|
|
@@ -6019,6 +6126,7 @@ export interface QueryBookmarkFoldersResponse {
|
|
|
6019
6126
|
prev?: string;
|
|
6020
6127
|
}
|
|
6021
6128
|
export interface QueryBookmarksRequest {
|
|
6129
|
+
enrich_own_fields?: boolean;
|
|
6022
6130
|
limit?: number;
|
|
6023
6131
|
next?: string;
|
|
6024
6132
|
prev?: string;
|
|
@@ -6166,6 +6274,21 @@ export interface QueryChannelsResponse {
|
|
|
6166
6274
|
channels: ChannelStateResponseFields[];
|
|
6167
6275
|
predefined_filter?: ParsedPredefinedFilterResponse;
|
|
6168
6276
|
}
|
|
6277
|
+
export interface QueryCollectionsRequest {
|
|
6278
|
+
limit?: number;
|
|
6279
|
+
next?: string;
|
|
6280
|
+
prev?: string;
|
|
6281
|
+
user_id?: string;
|
|
6282
|
+
sort?: SortParamRequest[];
|
|
6283
|
+
filter?: Record<string, any>;
|
|
6284
|
+
user?: UserRequest;
|
|
6285
|
+
}
|
|
6286
|
+
export interface QueryCollectionsResponse {
|
|
6287
|
+
duration: string;
|
|
6288
|
+
collections: CollectionResponse[];
|
|
6289
|
+
next?: string;
|
|
6290
|
+
prev?: string;
|
|
6291
|
+
}
|
|
6169
6292
|
export interface QueryCommentReactionsRequest {
|
|
6170
6293
|
limit?: number;
|
|
6171
6294
|
next?: string;
|
|
@@ -6181,10 +6304,13 @@ export interface QueryCommentReactionsResponse {
|
|
|
6181
6304
|
}
|
|
6182
6305
|
export interface QueryCommentsRequest {
|
|
6183
6306
|
filter: Record<string, any>;
|
|
6307
|
+
id_around?: string;
|
|
6184
6308
|
limit?: number;
|
|
6185
6309
|
next?: string;
|
|
6186
6310
|
prev?: string;
|
|
6187
6311
|
sort?: 'first' | 'last' | 'top' | 'best' | 'controversial';
|
|
6312
|
+
user_id?: string;
|
|
6313
|
+
user?: UserRequest;
|
|
6188
6314
|
}
|
|
6189
6315
|
export interface QueryCommentsResponse {
|
|
6190
6316
|
duration: string;
|
|
@@ -6231,6 +6357,7 @@ export interface QueryFeedModerationTemplatesResponse {
|
|
|
6231
6357
|
templates: QueryFeedModerationTemplate[];
|
|
6232
6358
|
}
|
|
6233
6359
|
export interface QueryFeedsRequest {
|
|
6360
|
+
enrich_own_fields?: boolean;
|
|
6234
6361
|
limit?: number;
|
|
6235
6362
|
next?: string;
|
|
6236
6363
|
prev?: string;
|
|
@@ -6384,14 +6511,18 @@ export interface QueryModerationRulesRequest {
|
|
|
6384
6511
|
}
|
|
6385
6512
|
export interface QueryModerationRulesResponse {
|
|
6386
6513
|
duration: string;
|
|
6514
|
+
ai_image_label_definitions: AIImageLabelDefinition[];
|
|
6387
6515
|
closed_caption_labels: string[];
|
|
6388
6516
|
keyframe_labels: string[];
|
|
6389
6517
|
rules: ModerationRuleV2Response[];
|
|
6518
|
+
ai_image_subclassifications: Record<string, string[]>;
|
|
6390
6519
|
default_llm_labels: Record<string, string>;
|
|
6520
|
+
keyframe_label_classifications: Record<string, string[]>;
|
|
6391
6521
|
next?: string;
|
|
6392
6522
|
prev?: string;
|
|
6393
6523
|
}
|
|
6394
6524
|
export interface QueryPinnedActivitiesRequest {
|
|
6525
|
+
enrich_own_fields?: boolean;
|
|
6395
6526
|
limit?: number;
|
|
6396
6527
|
next?: string;
|
|
6397
6528
|
prev?: string;
|
|
@@ -6730,8 +6861,6 @@ export interface ReactivateUsersResponse {
|
|
|
6730
6861
|
export interface ReadCollectionsResponse {
|
|
6731
6862
|
duration: string;
|
|
6732
6863
|
collections: CollectionResponse[];
|
|
6733
|
-
next?: string;
|
|
6734
|
-
prev?: string;
|
|
6735
6864
|
}
|
|
6736
6865
|
export interface ReadReceiptsResponse {
|
|
6737
6866
|
enabled?: boolean;
|
|
@@ -6836,6 +6965,10 @@ export interface ReminderUpdatedEvent {
|
|
|
6836
6965
|
received_at?: Date;
|
|
6837
6966
|
reminder?: ReminderResponseData;
|
|
6838
6967
|
}
|
|
6968
|
+
export interface RemoveUserGroupMembersRequest {
|
|
6969
|
+
member_ids: string[];
|
|
6970
|
+
team_id?: string;
|
|
6971
|
+
}
|
|
6839
6972
|
export interface RemoveUserGroupMembersResponse {
|
|
6840
6973
|
duration: string;
|
|
6841
6974
|
user_group?: UserGroupResponse;
|
|
@@ -6862,11 +6995,25 @@ export interface ResolutionMetricsTimeSeries {
|
|
|
6862
6995
|
height?: MetricTimeSeries;
|
|
6863
6996
|
width?: MetricTimeSeries;
|
|
6864
6997
|
}
|
|
6998
|
+
export interface ResolveSipAuthRequest {
|
|
6999
|
+
sip_caller_number: string;
|
|
7000
|
+
sip_trunk_number: string;
|
|
7001
|
+
from_host?: string;
|
|
7002
|
+
source_ip?: string;
|
|
7003
|
+
}
|
|
7004
|
+
export interface ResolveSipAuthResponse {
|
|
7005
|
+
auth_result: string;
|
|
7006
|
+
duration: string;
|
|
7007
|
+
password?: string;
|
|
7008
|
+
trunk_id?: string;
|
|
7009
|
+
username?: string;
|
|
7010
|
+
}
|
|
6865
7011
|
export interface ResolveSipInboundRequest {
|
|
6866
7012
|
sip_caller_number: string;
|
|
6867
7013
|
sip_trunk_number: string;
|
|
6868
|
-
challenge: SIPChallengeRequest;
|
|
6869
7014
|
routing_number?: string;
|
|
7015
|
+
trunk_id?: string;
|
|
7016
|
+
challenge?: SIPChallengeRequest;
|
|
6870
7017
|
sip_headers?: Record<string, string>;
|
|
6871
7018
|
}
|
|
6872
7019
|
export interface ResolveSipInboundResponse {
|
|
@@ -6889,6 +7036,15 @@ export interface RestoreActivityResponse {
|
|
|
6889
7036
|
duration: string;
|
|
6890
7037
|
activity: ActivityResponse;
|
|
6891
7038
|
}
|
|
7039
|
+
export interface RestoreCommentRequest {
|
|
7040
|
+
user_id?: string;
|
|
7041
|
+
user?: UserRequest;
|
|
7042
|
+
}
|
|
7043
|
+
export interface RestoreCommentResponse {
|
|
7044
|
+
duration: string;
|
|
7045
|
+
activity: ActivityResponse;
|
|
7046
|
+
comment: CommentResponse;
|
|
7047
|
+
}
|
|
6892
7048
|
export interface RestoreFeedGroupRequest {
|
|
6893
7049
|
}
|
|
6894
7050
|
export interface RestoreFeedGroupResponse {
|
|
@@ -6982,6 +7138,7 @@ export interface Role {
|
|
|
6982
7138
|
scopes: string[];
|
|
6983
7139
|
}
|
|
6984
7140
|
export interface RuleBuilderAction {
|
|
7141
|
+
skip_inbox?: boolean;
|
|
6985
7142
|
type?: 'ban_user' | 'flag_user' | 'flag_content' | 'block_content' | 'shadow_content' | 'bounce_flag_content' | 'bounce_content' | 'bounce_remove_content' | 'mute_video' | 'mute_audio' | 'blur' | 'call_blur' | 'end_call' | 'kick_user' | 'warning' | 'call_warning' | 'webhook_only';
|
|
6986
7143
|
ban_options?: BanOptions;
|
|
6987
7144
|
call_options?: CallActionOptions;
|
|
@@ -7147,6 +7304,7 @@ export interface SIPTrunkResponse {
|
|
|
7147
7304
|
updated_at: Date;
|
|
7148
7305
|
uri: string;
|
|
7149
7306
|
username: string;
|
|
7307
|
+
allowed_ips: string[];
|
|
7150
7308
|
numbers: string[];
|
|
7151
7309
|
}
|
|
7152
7310
|
export interface SRTIngress {
|
|
@@ -7224,6 +7382,7 @@ export interface SearchResultMessage {
|
|
|
7224
7382
|
poll_id?: string;
|
|
7225
7383
|
quoted_message_id?: string;
|
|
7226
7384
|
show_in_channel?: boolean;
|
|
7385
|
+
mentioned_group_ids?: string[];
|
|
7227
7386
|
mentioned_roles?: string[];
|
|
7228
7387
|
thread_participants?: UserResponse[];
|
|
7229
7388
|
channel?: ChannelResponse;
|
|
@@ -7744,6 +7903,26 @@ export interface ThumbnailsSettingsResponse {
|
|
|
7744
7903
|
}
|
|
7745
7904
|
export interface Time {
|
|
7746
7905
|
}
|
|
7906
|
+
export interface TrackActivityMetricsEvent {
|
|
7907
|
+
activity_id: string;
|
|
7908
|
+
metric: string;
|
|
7909
|
+
delta?: number;
|
|
7910
|
+
}
|
|
7911
|
+
export interface TrackActivityMetricsEventResult {
|
|
7912
|
+
activity_id: string;
|
|
7913
|
+
allowed: boolean;
|
|
7914
|
+
metric: string;
|
|
7915
|
+
error?: string;
|
|
7916
|
+
}
|
|
7917
|
+
export interface TrackActivityMetricsRequest {
|
|
7918
|
+
events: TrackActivityMetricsEvent[];
|
|
7919
|
+
user_id?: string;
|
|
7920
|
+
user?: UserRequest;
|
|
7921
|
+
}
|
|
7922
|
+
export interface TrackActivityMetricsResponse {
|
|
7923
|
+
duration: string;
|
|
7924
|
+
results: TrackActivityMetricsEventResult[];
|
|
7925
|
+
}
|
|
7747
7926
|
export interface TrackStatsResponse {
|
|
7748
7927
|
duration_seconds: number;
|
|
7749
7928
|
track_type: string;
|
|
@@ -7776,6 +7955,13 @@ export interface TranslationSettings {
|
|
|
7776
7955
|
enabled: boolean;
|
|
7777
7956
|
languages: string[];
|
|
7778
7957
|
}
|
|
7958
|
+
export interface TriggeredRuleResponse {
|
|
7959
|
+
rule_id: string;
|
|
7960
|
+
actions: string[];
|
|
7961
|
+
rule_name?: string;
|
|
7962
|
+
violation_number?: number;
|
|
7963
|
+
call_options?: CallActionOptions;
|
|
7964
|
+
}
|
|
7779
7965
|
export interface TruncateChannelRequest {
|
|
7780
7966
|
hard_delete?: boolean;
|
|
7781
7967
|
skip_push?: boolean;
|
|
@@ -7837,6 +8023,7 @@ export interface UndeleteMessageResponse {
|
|
|
7837
8023
|
export interface UnfollowBatchRequest {
|
|
7838
8024
|
follows: FollowPair[];
|
|
7839
8025
|
delete_notification_activity?: boolean;
|
|
8026
|
+
enrich_own_fields?: boolean;
|
|
7840
8027
|
}
|
|
7841
8028
|
export interface UnfollowBatchResponse {
|
|
7842
8029
|
duration: string;
|
|
@@ -7921,6 +8108,7 @@ export interface UpdateActivityPartialChangeRequest {
|
|
|
7921
8108
|
}
|
|
7922
8109
|
export interface UpdateActivityPartialRequest {
|
|
7923
8110
|
copy_custom_to_notification?: boolean;
|
|
8111
|
+
enrich_own_fields?: boolean;
|
|
7924
8112
|
handle_mention_notifications?: boolean;
|
|
7925
8113
|
run_activity_processors?: boolean;
|
|
7926
8114
|
user_id?: string;
|
|
@@ -7934,6 +8122,7 @@ export interface UpdateActivityPartialResponse {
|
|
|
7934
8122
|
}
|
|
7935
8123
|
export interface UpdateActivityRequest {
|
|
7936
8124
|
copy_custom_to_notification?: boolean;
|
|
8125
|
+
enrich_own_fields?: boolean;
|
|
7937
8126
|
expires_at?: Date;
|
|
7938
8127
|
handle_mention_notifications?: boolean;
|
|
7939
8128
|
poll_id?: string;
|
|
@@ -7977,6 +8166,7 @@ export interface UpdateAppRequest {
|
|
|
7977
8166
|
migrate_permissions_to_v2?: boolean;
|
|
7978
8167
|
moderation_analytics_enabled?: boolean;
|
|
7979
8168
|
moderation_enabled?: boolean;
|
|
8169
|
+
moderation_s3_image_access_role_arn?: string;
|
|
7980
8170
|
moderation_webhook_url?: string;
|
|
7981
8171
|
multi_tenant_enabled?: boolean;
|
|
7982
8172
|
permission_version?: 'v1' | 'v2';
|
|
@@ -7997,6 +8187,7 @@ export interface UpdateAppRequest {
|
|
|
7997
8187
|
image_moderation_labels?: string[];
|
|
7998
8188
|
user_search_disallowed_roles?: string[];
|
|
7999
8189
|
webhook_events?: string[];
|
|
8190
|
+
activity_metrics_config?: Record<string, number>;
|
|
8000
8191
|
apn_config?: APNConfig;
|
|
8001
8192
|
async_moderation_config?: AsyncModerationConfiguration;
|
|
8002
8193
|
datadog_info?: DataDogInfo;
|
|
@@ -8147,6 +8338,7 @@ export interface UpdateChannelTypeRequest {
|
|
|
8147
8338
|
commands?: string[];
|
|
8148
8339
|
permissions?: PolicyRequest[];
|
|
8149
8340
|
automod_thresholds?: Thresholds;
|
|
8341
|
+
chat_preferences?: ChatPreferences;
|
|
8150
8342
|
grants?: Record<string, string[]>;
|
|
8151
8343
|
}
|
|
8152
8344
|
export interface UpdateChannelTypeResponse {
|
|
@@ -8188,6 +8380,7 @@ export interface UpdateChannelTypeResponse {
|
|
|
8188
8380
|
allowed_flag_reasons?: string[];
|
|
8189
8381
|
blocklists?: BlockListOptions[];
|
|
8190
8382
|
automod_thresholds?: Thresholds;
|
|
8383
|
+
chat_preferences?: ChatPreferences;
|
|
8191
8384
|
}
|
|
8192
8385
|
export interface UpdateCollectionRequest {
|
|
8193
8386
|
id: string;
|
|
@@ -8274,6 +8467,7 @@ export interface UpdateFeedMembersResponse {
|
|
|
8274
8467
|
export interface UpdateFeedRequest {
|
|
8275
8468
|
created_by_id?: string;
|
|
8276
8469
|
description?: string;
|
|
8470
|
+
enrich_own_fields?: boolean;
|
|
8277
8471
|
name?: string;
|
|
8278
8472
|
filter_tags?: string[];
|
|
8279
8473
|
custom?: Record<string, any>;
|
|
@@ -8303,6 +8497,7 @@ export interface UpdateFollowRequest {
|
|
|
8303
8497
|
target: string;
|
|
8304
8498
|
copy_custom_to_notification?: boolean;
|
|
8305
8499
|
create_notification_activity?: boolean;
|
|
8500
|
+
enrich_own_fields?: boolean;
|
|
8306
8501
|
follower_role?: string;
|
|
8307
8502
|
push_preference?: 'all' | 'none';
|
|
8308
8503
|
skip_push?: boolean;
|
|
@@ -8400,9 +8595,9 @@ export interface UpdateReminderResponse {
|
|
|
8400
8595
|
}
|
|
8401
8596
|
export interface UpdateSIPInboundRoutingRuleRequest {
|
|
8402
8597
|
name: string;
|
|
8403
|
-
called_numbers: string[];
|
|
8404
8598
|
trunk_ids: string[];
|
|
8405
8599
|
caller_configs: SIPCallerConfigsRequest;
|
|
8600
|
+
called_numbers?: string[];
|
|
8406
8601
|
caller_numbers?: string[];
|
|
8407
8602
|
call_configs?: SIPCallConfigsRequest;
|
|
8408
8603
|
direct_routing_configs?: SIPDirectRoutingRuleCallConfigsRequest;
|
|
@@ -8416,6 +8611,8 @@ export interface UpdateSIPInboundRoutingRuleResponse {
|
|
|
8416
8611
|
export interface UpdateSIPTrunkRequest {
|
|
8417
8612
|
name: string;
|
|
8418
8613
|
numbers: string[];
|
|
8614
|
+
password?: string;
|
|
8615
|
+
allowed_ips?: string[];
|
|
8419
8616
|
}
|
|
8420
8617
|
export interface UpdateSIPTrunkResponse {
|
|
8421
8618
|
duration: string;
|
|
@@ -8495,6 +8692,7 @@ export interface UploadChannelResponse {
|
|
|
8495
8692
|
}
|
|
8496
8693
|
export interface UpsertActivitiesRequest {
|
|
8497
8694
|
activities: ActivityRequest[];
|
|
8695
|
+
enrich_own_fields?: boolean;
|
|
8498
8696
|
}
|
|
8499
8697
|
export interface UpsertActivitiesResponse {
|
|
8500
8698
|
duration: string;
|
|
@@ -9202,6 +9400,8 @@ export type WHEvent = ({
|
|
|
9202
9400
|
} & CommentReactionDeletedEvent) | ({
|
|
9203
9401
|
type: 'feeds.comment.reaction.updated';
|
|
9204
9402
|
} & CommentReactionUpdatedEvent) | ({
|
|
9403
|
+
type: 'feeds.comment.restored';
|
|
9404
|
+
} & CommentRestoredEvent) | ({
|
|
9205
9405
|
type: 'feeds.comment.updated';
|
|
9206
9406
|
} & CommentUpdatedEvent) | ({
|
|
9207
9407
|
type: 'feeds.feed.created';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiClient, StreamResponse } from '../../gen-imports';
|
|
2
|
-
import { AppealRequest, AppealResponse, BanRequest, BanResponse, BulkImageModerationRequest, BulkImageModerationResponse, CheckRequest, CheckResponse, CustomCheckRequest, CustomCheckResponse, DeleteModerationConfigResponse, DeleteModerationRuleResponse, DeleteModerationTemplateResponse, FlagRequest, FlagResponse, GetAppealResponse, GetConfigResponse, GetModerationRuleResponse, GetReviewQueueItemResponse, MuteRequest, MuteResponse, QueryAppealsRequest, QueryAppealsResponse, QueryFeedModerationTemplatesResponse, QueryModerationConfigsRequest, QueryModerationConfigsResponse, QueryModerationFlagsRequest, QueryModerationFlagsResponse, QueryModerationLogsRequest, QueryModerationLogsResponse, QueryModerationRulesRequest, QueryModerationRulesResponse, QueryReviewQueueRequest, QueryReviewQueueResponse, SubmitActionRequest, SubmitActionResponse, UnbanRequest, UnbanResponse, UnmuteRequest, UnmuteResponse, UpsertConfigRequest, UpsertConfigResponse, UpsertModerationRuleRequest, UpsertModerationRuleResponse, UpsertModerationTemplateRequest, UpsertModerationTemplateResponse } from '../models';
|
|
2
|
+
import { AppealRequest, AppealResponse, BanRequest, BanResponse, BulkImageModerationRequest, BulkImageModerationResponse, CheckRequest, CheckResponse, CheckS3AccessRequest, CheckS3AccessResponse, CustomCheckRequest, CustomCheckResponse, DeleteModerationConfigResponse, DeleteModerationRuleResponse, DeleteModerationTemplateResponse, FlagRequest, FlagResponse, GetAppealResponse, GetConfigResponse, GetModerationRuleResponse, GetReviewQueueItemResponse, MuteRequest, MuteResponse, QueryAppealsRequest, QueryAppealsResponse, QueryFeedModerationTemplatesResponse, QueryModerationConfigsRequest, QueryModerationConfigsResponse, QueryModerationFlagsRequest, QueryModerationFlagsResponse, QueryModerationLogsRequest, QueryModerationLogsResponse, QueryModerationRulesRequest, QueryModerationRulesResponse, QueryReviewQueueRequest, QueryReviewQueueResponse, SubmitActionRequest, SubmitActionResponse, UnbanRequest, UnbanResponse, UnmuteRequest, UnmuteResponse, UpsertConfigRequest, UpsertConfigResponse, UpsertModerationRuleRequest, UpsertModerationRuleResponse, UpsertModerationTemplateRequest, UpsertModerationTemplateResponse } from '../models';
|
|
3
3
|
export declare class ModerationApi {
|
|
4
4
|
readonly apiClient: ApiClient;
|
|
5
5
|
constructor(apiClient: ApiClient);
|
|
@@ -11,6 +11,7 @@ export declare class ModerationApi {
|
|
|
11
11
|
ban(request: BanRequest): Promise<StreamResponse<BanResponse>>;
|
|
12
12
|
bulkImageModeration(request: BulkImageModerationRequest): Promise<StreamResponse<BulkImageModerationResponse>>;
|
|
13
13
|
check(request: CheckRequest): Promise<StreamResponse<CheckResponse>>;
|
|
14
|
+
checkS3Access(request?: CheckS3AccessRequest): Promise<StreamResponse<CheckS3AccessResponse>>;
|
|
14
15
|
upsertConfig(request: UpsertConfigRequest): Promise<StreamResponse<UpsertConfigResponse>>;
|
|
15
16
|
deleteConfig(request: {
|
|
16
17
|
key: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiClient, StreamResponse } from '../../gen-imports';
|
|
2
|
-
import { BlockUserRequest, BlockUserResponse, CollectUserFeedbackRequest, CollectUserFeedbackResponse, CreateCallTypeRequest, CreateCallTypeResponse, CreateSIPTrunkRequest, CreateSIPTrunkResponse, DeleteCallRequest, DeleteCallResponse, DeleteRecordingResponse, DeleteSIPInboundRoutingRuleResponse, DeleteSIPTrunkResponse, DeleteTranscriptionResponse, EndCallResponse, GetActiveCallsStatusResponse, GetCallParticipantSessionMetricsResponse, GetCallReportResponse, GetCallResponse, GetCallSessionParticipantStatsDetailsResponse, GetCallTypeResponse, GetEdgesResponse, GetOrCreateCallRequest, GetOrCreateCallResponse, GoLiveRequest, GoLiveResponse, KickUserRequest, KickUserResponse, ListCallTypeResponse, ListRecordingsResponse, ListSIPInboundRoutingRuleResponse, ListSIPTrunksResponse, ListTranscriptionsResponse, MuteUsersRequest, MuteUsersResponse, PinRequest, PinResponse, QueryAggregateCallStatsRequest, QueryAggregateCallStatsResponse, QueryCallMembersRequest, QueryCallMembersResponse, QueryCallParticipantSessionsResponse, QueryCallParticipantsRequest, QueryCallParticipantsResponse, QueryCallSessionParticipantStatsResponse, QueryCallSessionParticipantStatsTimelineResponse, QueryCallStatsMapResponse, QueryCallStatsRequest, QueryCallStatsResponse, QueryCallsRequest, QueryCallsResponse, QueryUserFeedbackRequest, QueryUserFeedbackResponse, ResolveSipInboundRequest, ResolveSipInboundResponse, Response, RingCallRequest, RingCallResponse, SIPInboundRoutingRuleRequest, SIPInboundRoutingRuleResponse, SendCallEventRequest, SendCallEventResponse, SendClosedCaptionRequest, SendClosedCaptionResponse, SortParamRequest, StartClosedCaptionsRequest, StartClosedCaptionsResponse, StartFrameRecordingRequest, StartFrameRecordingResponse, StartHLSBroadcastingResponse, StartRTMPBroadcastsRequest, StartRTMPBroadcastsResponse, StartRecordingRequest, StartRecordingResponse, StartTranscriptionRequest, StartTranscriptionResponse, StopAllRTMPBroadcastsResponse, StopClosedCaptionsRequest, StopClosedCaptionsResponse, StopFrameRecordingResponse, StopHLSBroadcastingResponse, StopLiveRequest, StopLiveResponse, StopRTMPBroadcastsRequest, StopRTMPBroadcastsResponse, StopRecordingRequest, StopRecordingResponse, StopTranscriptionRequest, StopTranscriptionResponse, UnblockUserRequest, UnblockUserResponse, UnpinRequest, UnpinResponse, UpdateCallMembersRequest, UpdateCallMembersResponse, UpdateCallRequest, UpdateCallResponse, UpdateCallTypeRequest, UpdateCallTypeResponse, UpdateSIPInboundRoutingRuleRequest, UpdateSIPInboundRoutingRuleResponse, UpdateSIPTrunkRequest, UpdateSIPTrunkResponse, UpdateUserPermissionsRequest, UpdateUserPermissionsResponse } from '../models';
|
|
2
|
+
import { BlockUserRequest, BlockUserResponse, CollectUserFeedbackRequest, CollectUserFeedbackResponse, CreateCallTypeRequest, CreateCallTypeResponse, CreateSIPTrunkRequest, CreateSIPTrunkResponse, DeleteCallRequest, DeleteCallResponse, DeleteRecordingResponse, DeleteSIPInboundRoutingRuleResponse, DeleteSIPTrunkResponse, DeleteTranscriptionResponse, EndCallResponse, GetActiveCallsStatusResponse, GetCallParticipantSessionMetricsResponse, GetCallReportResponse, GetCallResponse, GetCallSessionParticipantStatsDetailsResponse, GetCallTypeResponse, GetEdgesResponse, GetOrCreateCallRequest, GetOrCreateCallResponse, GoLiveRequest, GoLiveResponse, KickUserRequest, KickUserResponse, ListCallTypeResponse, ListRecordingsResponse, ListSIPInboundRoutingRuleResponse, ListSIPTrunksResponse, ListTranscriptionsResponse, MuteUsersRequest, MuteUsersResponse, PinRequest, PinResponse, QueryAggregateCallStatsRequest, QueryAggregateCallStatsResponse, QueryCallMembersRequest, QueryCallMembersResponse, QueryCallParticipantSessionsResponse, QueryCallParticipantsRequest, QueryCallParticipantsResponse, QueryCallSessionParticipantStatsResponse, QueryCallSessionParticipantStatsTimelineResponse, QueryCallStatsMapResponse, QueryCallStatsRequest, QueryCallStatsResponse, QueryCallsRequest, QueryCallsResponse, QueryUserFeedbackRequest, QueryUserFeedbackResponse, ResolveSipAuthRequest, ResolveSipAuthResponse, ResolveSipInboundRequest, ResolveSipInboundResponse, Response, RingCallRequest, RingCallResponse, SIPInboundRoutingRuleRequest, SIPInboundRoutingRuleResponse, SendCallEventRequest, SendCallEventResponse, SendClosedCaptionRequest, SendClosedCaptionResponse, SortParamRequest, StartClosedCaptionsRequest, StartClosedCaptionsResponse, StartFrameRecordingRequest, StartFrameRecordingResponse, StartHLSBroadcastingResponse, StartRTMPBroadcastsRequest, StartRTMPBroadcastsResponse, StartRecordingRequest, StartRecordingResponse, StartTranscriptionRequest, StartTranscriptionResponse, StopAllRTMPBroadcastsResponse, StopClosedCaptionsRequest, StopClosedCaptionsResponse, StopFrameRecordingResponse, StopHLSBroadcastingResponse, StopLiveRequest, StopLiveResponse, StopRTMPBroadcastsRequest, StopRTMPBroadcastsResponse, StopRecordingRequest, StopRecordingResponse, StopTranscriptionRequest, StopTranscriptionResponse, UnblockUserRequest, UnblockUserResponse, UnpinRequest, UnpinResponse, UpdateCallMembersRequest, UpdateCallMembersResponse, UpdateCallRequest, UpdateCallResponse, UpdateCallTypeRequest, UpdateCallTypeResponse, UpdateSIPInboundRoutingRuleRequest, UpdateSIPInboundRoutingRuleResponse, UpdateSIPTrunkRequest, UpdateSIPTrunkResponse, UpdateUserPermissionsRequest, UpdateUserPermissionsResponse } from '../models';
|
|
3
3
|
export declare class VideoApi {
|
|
4
4
|
readonly apiClient: ApiClient;
|
|
5
5
|
constructor(apiClient: ApiClient);
|
|
@@ -245,6 +245,7 @@ export declare class VideoApi {
|
|
|
245
245
|
name: string;
|
|
246
246
|
}): Promise<StreamResponse<UpdateCallTypeResponse>>;
|
|
247
247
|
getEdges(): Promise<StreamResponse<GetEdgesResponse>>;
|
|
248
|
+
resolveSipAuth(request: ResolveSipAuthRequest): Promise<StreamResponse<ResolveSipAuthResponse>>;
|
|
248
249
|
listSIPInboundRoutingRule(): Promise<StreamResponse<ListSIPInboundRoutingRuleResponse>>;
|
|
249
250
|
createSIPInboundRoutingRule(request: SIPInboundRoutingRuleRequest): Promise<StreamResponse<SIPInboundRoutingRuleResponse>>;
|
|
250
251
|
deleteSIPInboundRoutingRule(request: {
|