@stream-io/node-sdk 0.7.51 → 0.7.53
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 +200 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +200 -5
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/feeds/FeedsApi.d.ts +16 -1
- package/dist/src/gen/models/index.d.ts +249 -20
- package/dist/src/gen/moderation/ModerationApi.d.ts +6 -2
- package/dist/src/gen/video/VideoApi.d.ts +2 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +117 -2
- package/src/gen/model-decoders/decoders.ts +131 -0
- package/src/gen/models/index.ts +335 -22
- package/src/gen/moderation/ModerationApi.ts +39 -4
- package/src/gen/video/VideoApi.ts +29 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiClient, StreamResponse } from '../../gen-imports';
|
|
2
|
-
import { AcceptFeedMemberInviteRequest, AcceptFeedMemberInviteResponse, AcceptFollowRequest, AcceptFollowResponse, ActivityFeedbackRequest, ActivityFeedbackResponse, AddActivityRequest, AddActivityResponse, AddBookmarkRequest, AddBookmarkResponse, AddCommentReactionRequest, AddCommentReactionResponse, AddCommentRequest, AddCommentResponse, AddCommentsBatchRequest, AddCommentsBatchResponse, AddReactionRequest, AddReactionResponse, CastPollVoteRequest, CreateCollectionsRequest, CreateCollectionsResponse, CreateFeedGroupRequest, CreateFeedGroupResponse, CreateFeedViewRequest, CreateFeedViewResponse, CreateFeedsBatchRequest, CreateFeedsBatchResponse, CreateMembershipLevelRequest, CreateMembershipLevelResponse, DeleteActivitiesRequest, DeleteActivitiesResponse, DeleteActivityReactionResponse, DeleteActivityResponse, DeleteBookmarkFolderResponse, DeleteBookmarkResponse, DeleteCollectionsResponse, DeleteCommentReactionResponse, DeleteCommentResponse, DeleteFeedGroupResponse, DeleteFeedResponse, DeleteFeedUserDataRequest, DeleteFeedUserDataResponse, DeleteFeedViewResponse, DeleteFeedsBatchRequest, DeleteFeedsBatchResponse, ExportFeedUserDataResponse, FollowBatchRequest, FollowBatchResponse, FollowRequest, GetActivityResponse, GetCommentRepliesResponse, GetCommentResponse, GetCommentsResponse, GetFeedGroupResponse, GetFeedViewResponse, GetFeedVisibilityResponse, GetFeedsRateLimitsResponse, GetFollowSuggestionsResponse, GetOrCreateFeedGroupRequest, GetOrCreateFeedGroupResponse, GetOrCreateFeedRequest, GetOrCreateFeedResponse, GetOrCreateFeedViewRequest, GetOrCreateFeedViewResponse, ListFeedGroupsResponse, ListFeedViewsResponse, ListFeedVisibilitiesResponse, MarkActivityRequest, OwnBatchRequest, OwnBatchResponse, PinActivityRequest, PinActivityResponse, PollVoteResponse, QueryActivitiesRequest, QueryActivitiesResponse, QueryActivityReactionsRequest, QueryActivityReactionsResponse, QueryBookmarkFoldersRequest, QueryBookmarkFoldersResponse, QueryBookmarksRequest, QueryBookmarksResponse, QueryCollectionsRequest, QueryCollectionsResponse, QueryCommentReactionsRequest, QueryCommentReactionsResponse, QueryCommentsRequest, QueryCommentsResponse, QueryFeedMembersRequest, QueryFeedMembersResponse, QueryFeedsRequest, QueryFeedsResponse, QueryFeedsUsageStatsRequest, QueryFeedsUsageStatsResponse, QueryFollowsRequest, QueryFollowsResponse, QueryMembershipLevelsRequest, QueryMembershipLevelsResponse, QueryPinnedActivitiesRequest, QueryPinnedActivitiesResponse, ReadCollectionsResponse, RejectFeedMemberInviteRequest, RejectFeedMemberInviteResponse, RejectFollowRequest, RejectFollowResponse, Response, RestoreActivityRequest, RestoreActivityResponse, RestoreCommentRequest, RestoreCommentResponse, RestoreFeedGroupResponse, SingleFollowResponse, TrackActivityMetricsRequest, TrackActivityMetricsResponse, UnfollowBatchRequest, UnfollowBatchResponse, UnfollowResponse, UnpinActivityResponse, UpdateActivitiesPartialBatchRequest, UpdateActivitiesPartialBatchResponse, UpdateActivityPartialRequest, UpdateActivityPartialResponse, UpdateActivityRequest, UpdateActivityResponse, UpdateBookmarkFolderRequest, UpdateBookmarkFolderResponse, UpdateBookmarkRequest, UpdateBookmarkResponse, UpdateCollectionsRequest, UpdateCollectionsResponse, UpdateCommentPartialRequest, UpdateCommentPartialResponse, UpdateCommentRequest, UpdateCommentResponse, UpdateFeedGroupRequest, UpdateFeedGroupResponse, UpdateFeedMembersRequest, UpdateFeedMembersResponse, UpdateFeedRequest, UpdateFeedResponse, UpdateFeedViewRequest, UpdateFeedViewResponse, UpdateFeedVisibilityRequest, UpdateFeedVisibilityResponse, UpdateFollowRequest, UpdateFollowResponse, UpdateMembershipLevelRequest, UpdateMembershipLevelResponse, UpsertActivitiesRequest, UpsertActivitiesResponse, UpsertCollectionsRequest, UpsertCollectionsResponse } from '../models';
|
|
2
|
+
import { AcceptFeedMemberInviteRequest, AcceptFeedMemberInviteResponse, AcceptFollowRequest, AcceptFollowResponse, ActivityFeedbackRequest, ActivityFeedbackResponse, AddActivityRequest, AddActivityResponse, AddBookmarkRequest, AddBookmarkResponse, AddCommentBookmarkRequest, AddCommentBookmarkResponse, AddCommentReactionRequest, AddCommentReactionResponse, AddCommentRequest, AddCommentResponse, AddCommentsBatchRequest, AddCommentsBatchResponse, AddReactionRequest, AddReactionResponse, CastPollVoteRequest, CreateCollectionsRequest, CreateCollectionsResponse, CreateFeedGroupRequest, CreateFeedGroupResponse, CreateFeedViewRequest, CreateFeedViewResponse, CreateFeedsBatchRequest, CreateFeedsBatchResponse, CreateMembershipLevelRequest, CreateMembershipLevelResponse, DeleteActivitiesRequest, DeleteActivitiesResponse, DeleteActivityReactionResponse, DeleteActivityResponse, DeleteBookmarkFolderResponse, DeleteBookmarkResponse, DeleteCollectionsResponse, DeleteCommentBookmarkResponse, DeleteCommentReactionResponse, DeleteCommentResponse, DeleteFeedGroupResponse, DeleteFeedResponse, DeleteFeedUserDataRequest, DeleteFeedUserDataResponse, DeleteFeedViewResponse, DeleteFeedsBatchRequest, DeleteFeedsBatchResponse, ExportFeedUserDataResponse, FollowBatchRequest, FollowBatchResponse, FollowRequest, GetActivityResponse, GetCommentRepliesResponse, GetCommentResponse, GetCommentsResponse, GetFeedGroupResponse, GetFeedViewResponse, GetFeedVisibilityResponse, GetFeedsRateLimitsResponse, GetFollowSuggestionsResponse, GetOrCreateFeedGroupRequest, GetOrCreateFeedGroupResponse, GetOrCreateFeedRequest, GetOrCreateFeedResponse, GetOrCreateFeedViewRequest, GetOrCreateFeedViewResponse, ListFeedGroupsResponse, ListFeedViewsResponse, ListFeedVisibilitiesResponse, MarkActivityRequest, OwnBatchRequest, OwnBatchResponse, PinActivityRequest, PinActivityResponse, PollVoteResponse, QueryActivitiesRequest, QueryActivitiesResponse, QueryActivityReactionsRequest, QueryActivityReactionsResponse, QueryBookmarkFoldersRequest, QueryBookmarkFoldersResponse, QueryBookmarksRequest, QueryBookmarksResponse, QueryCollectionsRequest, QueryCollectionsResponse, QueryCommentReactionsRequest, QueryCommentReactionsResponse, QueryCommentsRequest, QueryCommentsResponse, QueryFeedMembersRequest, QueryFeedMembersResponse, QueryFeedsRequest, QueryFeedsResponse, QueryFeedsUsageStatsRequest, QueryFeedsUsageStatsResponse, QueryFollowsRequest, QueryFollowsResponse, QueryMembershipLevelsRequest, QueryMembershipLevelsResponse, QueryPinnedActivitiesRequest, QueryPinnedActivitiesResponse, ReadCollectionsResponse, RejectFeedMemberInviteRequest, RejectFeedMemberInviteResponse, RejectFollowRequest, RejectFollowResponse, Response, RestoreActivityRequest, RestoreActivityResponse, RestoreCommentRequest, RestoreCommentResponse, RestoreFeedGroupResponse, SingleFollowResponse, TrackActivityMetricsRequest, TrackActivityMetricsResponse, UnfollowBatchRequest, UnfollowBatchResponse, UnfollowResponse, UnpinActivityResponse, UpdateActivitiesPartialBatchRequest, UpdateActivitiesPartialBatchResponse, UpdateActivityPartialRequest, UpdateActivityPartialResponse, UpdateActivityRequest, UpdateActivityResponse, UpdateBookmarkFolderRequest, UpdateBookmarkFolderResponse, UpdateBookmarkRequest, UpdateBookmarkResponse, UpdateCollectionsRequest, UpdateCollectionsResponse, UpdateCommentBookmarkRequest, UpdateCommentBookmarkResponse, UpdateCommentPartialRequest, UpdateCommentPartialResponse, UpdateCommentRequest, UpdateCommentResponse, UpdateFeedGroupRequest, UpdateFeedGroupResponse, UpdateFeedMembersRequest, UpdateFeedMembersResponse, UpdateFeedRequest, UpdateFeedResponse, UpdateFeedViewRequest, UpdateFeedViewResponse, UpdateFeedVisibilityRequest, UpdateFeedVisibilityResponse, UpdateFollowRequest, UpdateFollowResponse, UpdateMembershipLevelRequest, UpdateMembershipLevelResponse, UpsertActivitiesRequest, UpsertActivitiesResponse, UpsertCollectionsRequest, UpsertCollectionsResponse } from '../models';
|
|
3
3
|
export declare class FeedsApi {
|
|
4
4
|
readonly apiClient: ApiClient;
|
|
5
5
|
constructor(apiClient: ApiClient);
|
|
@@ -52,6 +52,9 @@ export declare class FeedsApi {
|
|
|
52
52
|
}): Promise<StreamResponse<DeleteActivityResponse>>;
|
|
53
53
|
getActivity(request: {
|
|
54
54
|
id: string;
|
|
55
|
+
comment_sort?: string;
|
|
56
|
+
comment_limit?: number;
|
|
57
|
+
user_id?: string;
|
|
55
58
|
}): Promise<StreamResponse<GetActivityResponse>>;
|
|
56
59
|
updateActivityPartial(request: UpdateActivityPartialRequest & {
|
|
57
60
|
id: string;
|
|
@@ -97,6 +100,17 @@ export declare class FeedsApi {
|
|
|
97
100
|
addComment(request?: AddCommentRequest): Promise<StreamResponse<AddCommentResponse>>;
|
|
98
101
|
addCommentsBatch(request: AddCommentsBatchRequest): Promise<StreamResponse<AddCommentsBatchResponse>>;
|
|
99
102
|
queryComments(request: QueryCommentsRequest): Promise<StreamResponse<QueryCommentsResponse>>;
|
|
103
|
+
deleteCommentBookmark(request: {
|
|
104
|
+
comment_id: string;
|
|
105
|
+
folder_id?: string;
|
|
106
|
+
user_id?: string;
|
|
107
|
+
}): Promise<StreamResponse<DeleteCommentBookmarkResponse>>;
|
|
108
|
+
updateCommentBookmark(request: UpdateCommentBookmarkRequest & {
|
|
109
|
+
comment_id: string;
|
|
110
|
+
}): Promise<StreamResponse<UpdateCommentBookmarkResponse>>;
|
|
111
|
+
addCommentBookmark(request: AddCommentBookmarkRequest & {
|
|
112
|
+
comment_id: string;
|
|
113
|
+
}): Promise<StreamResponse<AddCommentBookmarkResponse>>;
|
|
100
114
|
deleteComment(request: {
|
|
101
115
|
id: string;
|
|
102
116
|
hard_delete?: boolean;
|
|
@@ -104,6 +118,7 @@ export declare class FeedsApi {
|
|
|
104
118
|
}): Promise<StreamResponse<DeleteCommentResponse>>;
|
|
105
119
|
getComment(request: {
|
|
106
120
|
id: string;
|
|
121
|
+
user_id?: string;
|
|
107
122
|
}): Promise<StreamResponse<GetCommentResponse>>;
|
|
108
123
|
updateComment(request: UpdateCommentRequest & {
|
|
109
124
|
id: string;
|
|
@@ -299,16 +299,6 @@ export interface ActivityFeedbackResponse {
|
|
|
299
299
|
activity_id: string;
|
|
300
300
|
duration: string;
|
|
301
301
|
}
|
|
302
|
-
export interface ActivityLocation {
|
|
303
|
-
/**
|
|
304
|
-
* Latitude coordinate
|
|
305
|
-
*/
|
|
306
|
-
lat: number;
|
|
307
|
-
/**
|
|
308
|
-
* Longitude coordinate
|
|
309
|
-
*/
|
|
310
|
-
lng: number;
|
|
311
|
-
}
|
|
312
302
|
export interface ActivityMarkEvent {
|
|
313
303
|
/**
|
|
314
304
|
* Date/time of creation
|
|
@@ -538,7 +528,7 @@ export interface ActivityRequest {
|
|
|
538
528
|
* Custom data for the activity
|
|
539
529
|
*/
|
|
540
530
|
custom?: Record<string, any>;
|
|
541
|
-
location?:
|
|
531
|
+
location?: Location;
|
|
542
532
|
/**
|
|
543
533
|
* Additional data for search indexing
|
|
544
534
|
*/
|
|
@@ -697,7 +687,7 @@ export interface ActivityResponse {
|
|
|
697
687
|
*/
|
|
698
688
|
friend_reactions?: FeedsReactionResponse[];
|
|
699
689
|
current_feed?: FeedResponse;
|
|
700
|
-
location?:
|
|
690
|
+
location?: Location;
|
|
701
691
|
metrics?: Record<string, number>;
|
|
702
692
|
moderation?: ModerationV2Response;
|
|
703
693
|
notification_context?: NotificationContext;
|
|
@@ -839,6 +829,7 @@ export interface AddActivityRequest {
|
|
|
839
829
|
* Expiration time for the activity
|
|
840
830
|
*/
|
|
841
831
|
expires_at?: string;
|
|
832
|
+
force_moderation?: boolean;
|
|
842
833
|
/**
|
|
843
834
|
* Optional ID for the activity
|
|
844
835
|
*/
|
|
@@ -903,7 +894,7 @@ export interface AddActivityRequest {
|
|
|
903
894
|
* Custom data for the activity
|
|
904
895
|
*/
|
|
905
896
|
custom?: Record<string, any>;
|
|
906
|
-
location?:
|
|
897
|
+
location?: Location;
|
|
907
898
|
/**
|
|
908
899
|
* Additional data for search indexing
|
|
909
900
|
*/
|
|
@@ -934,6 +925,23 @@ export interface AddBookmarkResponse {
|
|
|
934
925
|
duration: string;
|
|
935
926
|
bookmark: BookmarkResponse;
|
|
936
927
|
}
|
|
928
|
+
export interface AddCommentBookmarkRequest {
|
|
929
|
+
/**
|
|
930
|
+
* ID of the folder to add the bookmark to
|
|
931
|
+
*/
|
|
932
|
+
folder_id?: string;
|
|
933
|
+
user_id?: string;
|
|
934
|
+
/**
|
|
935
|
+
* Custom data for the bookmark
|
|
936
|
+
*/
|
|
937
|
+
custom?: Record<string, any>;
|
|
938
|
+
new_folder?: AddFolderRequest;
|
|
939
|
+
user?: UserRequest;
|
|
940
|
+
}
|
|
941
|
+
export interface AddCommentBookmarkResponse {
|
|
942
|
+
duration: string;
|
|
943
|
+
bookmark: BookmarkResponse;
|
|
944
|
+
}
|
|
937
945
|
export interface AddCommentReactionRequest {
|
|
938
946
|
/**
|
|
939
947
|
* The type of reaction, eg upvote, like, ...
|
|
@@ -986,6 +994,10 @@ export interface AddCommentRequest {
|
|
|
986
994
|
* Whether to create a notification activity for this comment
|
|
987
995
|
*/
|
|
988
996
|
create_notification_activity?: boolean;
|
|
997
|
+
/**
|
|
998
|
+
* If true, forces moderation to run for server-side requests. By default, server-side requests skip moderation. Client-side requests always run moderation regardless of this field.
|
|
999
|
+
*/
|
|
1000
|
+
force_moderation?: boolean;
|
|
989
1001
|
/**
|
|
990
1002
|
* Optional custom ID for the comment (max 255 characters). If not provided, a UUID will be generated.
|
|
991
1003
|
*/
|
|
@@ -1151,6 +1163,10 @@ export interface AggregatedActivityResponse {
|
|
|
1151
1163
|
is_watched?: boolean;
|
|
1152
1164
|
}
|
|
1153
1165
|
export interface AggregationConfig {
|
|
1166
|
+
/**
|
|
1167
|
+
* Order of member activities inside each aggregated group for non-stories feeds: created_at_desc (newest first, default) or created_at_asc (oldest first). Stories feeds ignore this and always use oldest first.
|
|
1168
|
+
*/
|
|
1169
|
+
activities_sort?: 'created_at_asc' | 'created_at_desc';
|
|
1154
1170
|
/**
|
|
1155
1171
|
* Format for activity aggregation
|
|
1156
1172
|
*/
|
|
@@ -1792,12 +1808,22 @@ export interface BookmarkResponse {
|
|
|
1792
1808
|
* When the bookmark was created
|
|
1793
1809
|
*/
|
|
1794
1810
|
created_at: Date;
|
|
1811
|
+
/**
|
|
1812
|
+
* ID of the bookmarked object
|
|
1813
|
+
*/
|
|
1814
|
+
object_id: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* Type of the bookmarked object (activity or comment)
|
|
1817
|
+
*/
|
|
1818
|
+
object_type: string;
|
|
1795
1819
|
/**
|
|
1796
1820
|
* When the bookmark was last updated
|
|
1797
1821
|
*/
|
|
1798
1822
|
updated_at: Date;
|
|
1799
1823
|
activity: ActivityResponse;
|
|
1800
1824
|
user: UserResponse;
|
|
1825
|
+
activity_id?: string;
|
|
1826
|
+
comment?: CommentResponse;
|
|
1801
1827
|
/**
|
|
1802
1828
|
* Custom data for the bookmark
|
|
1803
1829
|
*/
|
|
@@ -1854,6 +1880,22 @@ export interface BulkImageModerationResponse {
|
|
|
1854
1880
|
*/
|
|
1855
1881
|
task_id: string;
|
|
1856
1882
|
}
|
|
1883
|
+
export interface BypassActionRequest {
|
|
1884
|
+
enabled?: boolean;
|
|
1885
|
+
}
|
|
1886
|
+
export interface BypassRequest {
|
|
1887
|
+
/**
|
|
1888
|
+
* Whether to enable moderation bypass for this user
|
|
1889
|
+
*/
|
|
1890
|
+
enabled: boolean;
|
|
1891
|
+
/**
|
|
1892
|
+
* ID of the user to update
|
|
1893
|
+
*/
|
|
1894
|
+
target_user_id: string;
|
|
1895
|
+
}
|
|
1896
|
+
export interface BypassResponse {
|
|
1897
|
+
duration: string;
|
|
1898
|
+
}
|
|
1857
1899
|
export interface CallAcceptedEvent {
|
|
1858
1900
|
call_cid: string;
|
|
1859
1901
|
created_at: Date;
|
|
@@ -2672,8 +2714,12 @@ export interface CallStatsParticipantCounts {
|
|
|
2672
2714
|
peak_concurrent_users: number;
|
|
2673
2715
|
publishers: number;
|
|
2674
2716
|
sessions: number;
|
|
2717
|
+
sfus_used: number;
|
|
2718
|
+
average_jitter_ms?: number;
|
|
2719
|
+
average_latency_ms?: number;
|
|
2675
2720
|
call_event_count?: number;
|
|
2676
2721
|
cq_score?: number;
|
|
2722
|
+
max_freezes_duration_ms?: number;
|
|
2677
2723
|
total_participant_duration?: number;
|
|
2678
2724
|
}
|
|
2679
2725
|
export interface CallStatsParticipantSession {
|
|
@@ -2687,6 +2733,9 @@ export interface CallStatsParticipantSession {
|
|
|
2687
2733
|
current_sfu?: string;
|
|
2688
2734
|
distance_to_sfu_kilometers?: number;
|
|
2689
2735
|
ended_at?: Date;
|
|
2736
|
+
freezes_duration_ms?: number;
|
|
2737
|
+
jitter_ms?: number;
|
|
2738
|
+
latency_ms?: number;
|
|
2690
2739
|
os?: string;
|
|
2691
2740
|
publisher_type?: string;
|
|
2692
2741
|
sdk?: string;
|
|
@@ -2703,6 +2752,7 @@ export interface CallStatsReportReadyEvent {
|
|
|
2703
2752
|
* Call session ID
|
|
2704
2753
|
*/
|
|
2705
2754
|
session_id: string;
|
|
2755
|
+
counts: CallStatsParticipantCounts;
|
|
2706
2756
|
/**
|
|
2707
2757
|
* The type of event, "call.report_ready" in this case
|
|
2708
2758
|
*/
|
|
@@ -2726,6 +2776,15 @@ export interface CallStatsReportSummaryResponse {
|
|
|
2726
2776
|
min_user_rating?: number;
|
|
2727
2777
|
quality_score?: number;
|
|
2728
2778
|
}
|
|
2779
|
+
export interface CallStatsSessionResponse {
|
|
2780
|
+
call_id: string;
|
|
2781
|
+
call_session_id: string;
|
|
2782
|
+
call_type: string;
|
|
2783
|
+
generated_at: Date;
|
|
2784
|
+
counts: CallStatsParticipantCounts;
|
|
2785
|
+
call_ended_at?: Date;
|
|
2786
|
+
call_started_at?: Date;
|
|
2787
|
+
}
|
|
2729
2788
|
export interface CallTranscription {
|
|
2730
2789
|
end_time: Date;
|
|
2731
2790
|
filename: string;
|
|
@@ -4212,6 +4271,7 @@ export interface CommentReactionUpdatedEvent {
|
|
|
4212
4271
|
user?: UserResponseCommonFields;
|
|
4213
4272
|
}
|
|
4214
4273
|
export interface CommentResponse {
|
|
4274
|
+
bookmark_count: number;
|
|
4215
4275
|
/**
|
|
4216
4276
|
* Confidence score of the comment
|
|
4217
4277
|
*/
|
|
@@ -5349,6 +5409,10 @@ export interface DeleteCommandResponse {
|
|
|
5349
5409
|
*/
|
|
5350
5410
|
name: string;
|
|
5351
5411
|
}
|
|
5412
|
+
export interface DeleteCommentBookmarkResponse {
|
|
5413
|
+
duration: string;
|
|
5414
|
+
bookmark: BookmarkResponse;
|
|
5415
|
+
}
|
|
5352
5416
|
export interface DeleteCommentReactionResponse {
|
|
5353
5417
|
duration: string;
|
|
5354
5418
|
comment: CommentResponse;
|
|
@@ -5729,6 +5793,20 @@ export interface DraftResponse {
|
|
|
5729
5793
|
parent_message?: MessageResponse;
|
|
5730
5794
|
quoted_message?: MessageResponse;
|
|
5731
5795
|
}
|
|
5796
|
+
export interface EMAUStatsResponse {
|
|
5797
|
+
/**
|
|
5798
|
+
* Per-day unique engaged user counts
|
|
5799
|
+
*/
|
|
5800
|
+
daily: DailyMetricResponse[];
|
|
5801
|
+
/**
|
|
5802
|
+
* Rolling 30-day engaged user count snapshots
|
|
5803
|
+
*/
|
|
5804
|
+
last_30_days: DailyMetricResponse[];
|
|
5805
|
+
/**
|
|
5806
|
+
* Calendar month-to-date engaged user count snapshots
|
|
5807
|
+
*/
|
|
5808
|
+
month_to_date: DailyMetricResponse[];
|
|
5809
|
+
}
|
|
5732
5810
|
export interface EdgeResponse {
|
|
5733
5811
|
continent_code: string;
|
|
5734
5812
|
country_iso_code: string;
|
|
@@ -5941,6 +6019,7 @@ export interface EntityCreatorResponse {
|
|
|
5941
6019
|
custom: Record<string, any>;
|
|
5942
6020
|
avg_response_time?: number;
|
|
5943
6021
|
ban_expires?: Date;
|
|
6022
|
+
bypass_moderation?: boolean;
|
|
5944
6023
|
deactivated_at?: Date;
|
|
5945
6024
|
deleted_at?: Date;
|
|
5946
6025
|
image?: string;
|
|
@@ -6259,6 +6338,7 @@ export interface FeedInput {
|
|
|
6259
6338
|
filter_tags?: string[];
|
|
6260
6339
|
members?: FeedMemberRequest[];
|
|
6261
6340
|
custom?: Record<string, any>;
|
|
6341
|
+
location?: Location;
|
|
6262
6342
|
}
|
|
6263
6343
|
export interface FeedMemberAddedEvent {
|
|
6264
6344
|
/**
|
|
@@ -6446,6 +6526,7 @@ export interface FeedRequest {
|
|
|
6446
6526
|
* Custom data for the feed
|
|
6447
6527
|
*/
|
|
6448
6528
|
custom?: Record<string, any>;
|
|
6529
|
+
location?: Location;
|
|
6449
6530
|
}
|
|
6450
6531
|
export interface FeedResponse {
|
|
6451
6532
|
activity_count: number;
|
|
@@ -6522,6 +6603,7 @@ export interface FeedResponse {
|
|
|
6522
6603
|
* Custom data for the feed
|
|
6523
6604
|
*/
|
|
6524
6605
|
custom?: Record<string, any>;
|
|
6606
|
+
location?: Location;
|
|
6525
6607
|
own_membership?: FeedMemberResponse;
|
|
6526
6608
|
}
|
|
6527
6609
|
export interface FeedSuggestionResponse {
|
|
@@ -6602,6 +6684,7 @@ export interface FeedSuggestionResponse {
|
|
|
6602
6684
|
* Custom data for the feed
|
|
6603
6685
|
*/
|
|
6604
6686
|
custom?: Record<string, any>;
|
|
6687
|
+
location?: Location;
|
|
6605
6688
|
own_membership?: FeedMemberResponse;
|
|
6606
6689
|
}
|
|
6607
6690
|
export interface FeedUpdatedEvent {
|
|
@@ -7126,6 +7209,7 @@ export interface FullUserResponse {
|
|
|
7126
7209
|
custom: Record<string, any>;
|
|
7127
7210
|
avg_response_time?: number;
|
|
7128
7211
|
ban_expires?: Date;
|
|
7212
|
+
bypass_moderation?: boolean;
|
|
7129
7213
|
deactivated_at?: Date;
|
|
7130
7214
|
deleted_at?: Date;
|
|
7131
7215
|
image?: string;
|
|
@@ -7464,6 +7548,7 @@ export interface GetImportV2TaskResponse {
|
|
|
7464
7548
|
state: number;
|
|
7465
7549
|
updated_at: Date;
|
|
7466
7550
|
settings: ImportV2TaskSettings;
|
|
7551
|
+
result?: Record<string, any>;
|
|
7467
7552
|
}
|
|
7468
7553
|
export interface GetManyMessagesResponse {
|
|
7469
7554
|
duration: string;
|
|
@@ -7925,12 +8010,14 @@ export interface ImportV2TaskItem {
|
|
|
7925
8010
|
state: number;
|
|
7926
8011
|
updated_at: Date;
|
|
7927
8012
|
settings: ImportV2TaskSettings;
|
|
8013
|
+
result?: Record<string, any>;
|
|
7928
8014
|
}
|
|
7929
8015
|
export interface ImportV2TaskSettings {
|
|
7930
8016
|
merge_custom?: boolean;
|
|
7931
8017
|
mode?: string;
|
|
7932
8018
|
path?: string;
|
|
7933
8019
|
skip_references_check?: boolean;
|
|
8020
|
+
source?: string;
|
|
7934
8021
|
s3?: ImportV2TaskSettingsS3;
|
|
7935
8022
|
}
|
|
7936
8023
|
export interface ImportV2TaskSettingsS3 {
|
|
@@ -8389,6 +8476,16 @@ export interface ListUserGroupsResponse {
|
|
|
8389
8476
|
*/
|
|
8390
8477
|
user_groups: UserGroupResponse[];
|
|
8391
8478
|
}
|
|
8479
|
+
export interface Location {
|
|
8480
|
+
/**
|
|
8481
|
+
* Latitude coordinate
|
|
8482
|
+
*/
|
|
8483
|
+
lat: number;
|
|
8484
|
+
/**
|
|
8485
|
+
* Longitude coordinate
|
|
8486
|
+
*/
|
|
8487
|
+
lng: number;
|
|
8488
|
+
}
|
|
8392
8489
|
export interface LocationResponse {
|
|
8393
8490
|
/**
|
|
8394
8491
|
* Continent code
|
|
@@ -11103,6 +11200,28 @@ export interface QueryCallSessionParticipantStatsTimelineResponse {
|
|
|
11103
11200
|
user_session_id: string;
|
|
11104
11201
|
events: CallParticipantTimeline[];
|
|
11105
11202
|
}
|
|
11203
|
+
export interface QueryCallSessionStatsRequest {
|
|
11204
|
+
limit?: number;
|
|
11205
|
+
next?: string;
|
|
11206
|
+
prev?: string;
|
|
11207
|
+
/**
|
|
11208
|
+
* Array of sort parameters
|
|
11209
|
+
*/
|
|
11210
|
+
sort?: SortParamRequest[];
|
|
11211
|
+
/**
|
|
11212
|
+
* Filter conditions to apply to the query
|
|
11213
|
+
*/
|
|
11214
|
+
filter_conditions?: Record<string, any>;
|
|
11215
|
+
}
|
|
11216
|
+
export interface QueryCallSessionStatsResponse {
|
|
11217
|
+
/**
|
|
11218
|
+
* Duration of the request in milliseconds
|
|
11219
|
+
*/
|
|
11220
|
+
duration: string;
|
|
11221
|
+
call_stats: CallStatsSessionResponse[];
|
|
11222
|
+
next?: string;
|
|
11223
|
+
prev?: string;
|
|
11224
|
+
}
|
|
11106
11225
|
export interface QueryCallStatsMapResponse {
|
|
11107
11226
|
call_id: string;
|
|
11108
11227
|
call_session_id: string;
|
|
@@ -11283,7 +11402,7 @@ export interface QueryCommentReactionsResponse {
|
|
|
11283
11402
|
}
|
|
11284
11403
|
export interface QueryCommentsRequest {
|
|
11285
11404
|
/**
|
|
11286
|
-
*
|
|
11405
|
+
* Filter to apply to the query
|
|
11287
11406
|
*/
|
|
11288
11407
|
filter: Record<string, any>;
|
|
11289
11408
|
/**
|
|
@@ -11297,7 +11416,7 @@ export interface QueryCommentsRequest {
|
|
|
11297
11416
|
next?: string;
|
|
11298
11417
|
prev?: string;
|
|
11299
11418
|
/**
|
|
11300
|
-
*
|
|
11419
|
+
* Array of sort parameters
|
|
11301
11420
|
*/
|
|
11302
11421
|
sort?: 'first' | 'last' | 'top' | 'best' | 'controversial';
|
|
11303
11422
|
user_id?: string;
|
|
@@ -11444,6 +11563,7 @@ export interface QueryFeedsUsageStatsResponse {
|
|
|
11444
11563
|
api_requests: DailyMetricStatsResponse;
|
|
11445
11564
|
follows: DailyMetricStatsResponse;
|
|
11446
11565
|
openai_requests: DailyMetricStatsResponse;
|
|
11566
|
+
emau?: EMAUStatsResponse;
|
|
11447
11567
|
}
|
|
11448
11568
|
export interface QueryFollowsRequest {
|
|
11449
11569
|
limit?: number;
|
|
@@ -11782,7 +11902,13 @@ export interface QueryReactionsRequest {
|
|
|
11782
11902
|
next?: string;
|
|
11783
11903
|
prev?: string;
|
|
11784
11904
|
user_id?: string;
|
|
11905
|
+
/**
|
|
11906
|
+
* Array of sort parameters
|
|
11907
|
+
*/
|
|
11785
11908
|
sort?: SortParamRequest[];
|
|
11909
|
+
/**
|
|
11910
|
+
* Filter to apply to the query
|
|
11911
|
+
*/
|
|
11786
11912
|
filter?: Record<string, any>;
|
|
11787
11913
|
user?: UserRequest;
|
|
11788
11914
|
}
|
|
@@ -11975,11 +12101,11 @@ export interface QueryThreadsRequest {
|
|
|
11975
12101
|
reply_limit?: number;
|
|
11976
12102
|
user_id?: string;
|
|
11977
12103
|
/**
|
|
11978
|
-
*
|
|
12104
|
+
* Array of sort parameters
|
|
11979
12105
|
*/
|
|
11980
12106
|
sort?: SortParamRequest[];
|
|
11981
12107
|
/**
|
|
11982
|
-
* Filter
|
|
12108
|
+
* Filter to apply to the query
|
|
11983
12109
|
*/
|
|
11984
12110
|
filter?: Record<string, any>;
|
|
11985
12111
|
user?: UserRequest;
|
|
@@ -12113,6 +12239,7 @@ export interface RankingConfig {
|
|
|
12113
12239
|
}
|
|
12114
12240
|
export interface RawRecordSettings {
|
|
12115
12241
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
12242
|
+
audio_only?: boolean;
|
|
12116
12243
|
}
|
|
12117
12244
|
export interface RawRecordingResponse {
|
|
12118
12245
|
status: string;
|
|
@@ -12122,9 +12249,14 @@ export interface RawRecordingSettingsRequest {
|
|
|
12122
12249
|
* Recording mode. One of: available, disabled, auto-on
|
|
12123
12250
|
*/
|
|
12124
12251
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
12252
|
+
/**
|
|
12253
|
+
* If true, only audio tracks will be recorded
|
|
12254
|
+
*/
|
|
12255
|
+
audio_only?: boolean;
|
|
12125
12256
|
}
|
|
12126
12257
|
export interface RawRecordingSettingsResponse {
|
|
12127
12258
|
mode: 'available' | 'disabled' | 'auto-on';
|
|
12259
|
+
audio_only?: boolean;
|
|
12128
12260
|
}
|
|
12129
12261
|
export interface Reaction {
|
|
12130
12262
|
activity_id: string;
|
|
@@ -13955,7 +14087,7 @@ export interface SubmitActionRequest {
|
|
|
13955
14087
|
/**
|
|
13956
14088
|
* Type of moderation action to perform. One of: mark_reviewed, delete_message, delete_activity, delete_comment, delete_reaction, ban, custom, unban, restore, delete_user, unblock, block, shadow_block, unmask, kick_user, end_call, escalate, de_escalate
|
|
13957
14089
|
*/
|
|
13958
|
-
action_type: 'flag' | 'mark_reviewed' | 'delete_message' | 'delete_activity' | 'delete_comment' | 'delete_reaction' | 'ban' | 'custom' | 'unban' | 'restore' | 'delete_user' | 'unblock' | 'block' | 'shadow_block' | 'unmask' | 'kick_user' | 'end_call' | 'reject_appeal' | 'escalate' | 'de_escalate';
|
|
14090
|
+
action_type: 'flag' | 'mark_reviewed' | 'delete_message' | 'delete_activity' | 'delete_comment' | 'delete_reaction' | 'ban' | 'custom' | 'unban' | 'restore' | 'delete_user' | 'unblock' | 'block' | 'shadow_block' | 'unmask' | 'kick_user' | 'end_call' | 'reject_appeal' | 'escalate' | 'de_escalate' | 'bypass';
|
|
13959
14091
|
/**
|
|
13960
14092
|
* UUID of the appeal to act on (required for reject_appeal, optional for other actions)
|
|
13961
14093
|
*/
|
|
@@ -13967,6 +14099,7 @@ export interface SubmitActionRequest {
|
|
|
13967
14099
|
user_id?: string;
|
|
13968
14100
|
ban?: BanActionRequestPayload;
|
|
13969
14101
|
block?: BlockActionRequestPayload;
|
|
14102
|
+
bypass?: BypassActionRequest;
|
|
13970
14103
|
custom?: CustomActionRequestPayload;
|
|
13971
14104
|
delete_activity?: DeleteActivityRequestPayload;
|
|
13972
14105
|
delete_comment?: DeleteCommentRequestPayload;
|
|
@@ -14209,6 +14342,7 @@ export interface ThreadUpdatedEvent {
|
|
|
14209
14342
|
thread?: ThreadResponse;
|
|
14210
14343
|
}
|
|
14211
14344
|
export interface ThreadedCommentResponse {
|
|
14345
|
+
bookmark_count: number;
|
|
14212
14346
|
confidence_score: number;
|
|
14213
14347
|
created_at: Date;
|
|
14214
14348
|
downvote_count: number;
|
|
@@ -14609,6 +14743,10 @@ export interface UpdateActivitiesPartialBatchRequest {
|
|
|
14609
14743
|
* List of activity changes to apply. Each change specifies an activity ID and the fields to set/unset
|
|
14610
14744
|
*/
|
|
14611
14745
|
changes: UpdateActivityPartialChangeRequest[];
|
|
14746
|
+
/**
|
|
14747
|
+
* If true, forces moderation to run for server-side requests. By default, server-side requests skip moderation. Client-side requests always run moderation regardless of this field.
|
|
14748
|
+
*/
|
|
14749
|
+
force_moderation?: boolean;
|
|
14612
14750
|
}
|
|
14613
14751
|
export interface UpdateActivitiesPartialBatchResponse {
|
|
14614
14752
|
duration: string;
|
|
@@ -14650,6 +14788,10 @@ export interface UpdateActivityPartialRequest {
|
|
|
14650
14788
|
* If true, enriches the activity's current_feed with own_* fields (own_follows, own_followings, own_capabilities, own_membership). Defaults to false for performance.
|
|
14651
14789
|
*/
|
|
14652
14790
|
enrich_own_fields?: boolean;
|
|
14791
|
+
/**
|
|
14792
|
+
* If true, forces moderation to run for server-side requests. By default, server-side requests skip moderation. Client-side requests always run moderation regardless of this field.
|
|
14793
|
+
*/
|
|
14794
|
+
force_moderation?: boolean;
|
|
14653
14795
|
/**
|
|
14654
14796
|
* If true, creates notification activities for newly mentioned users and deletes notifications for users no longer mentioned
|
|
14655
14797
|
*/
|
|
@@ -14687,6 +14829,10 @@ export interface UpdateActivityRequest {
|
|
|
14687
14829
|
* Time when the activity will expire
|
|
14688
14830
|
*/
|
|
14689
14831
|
expires_at?: Date;
|
|
14832
|
+
/**
|
|
14833
|
+
* If true, forces moderation to run for server-side requests. By default, server-side requests skip moderation. Client-side requests always run moderation regardless of this field.
|
|
14834
|
+
*/
|
|
14835
|
+
force_moderation?: boolean;
|
|
14690
14836
|
/**
|
|
14691
14837
|
* If true, creates notification activities for newly mentioned users and deletes notifications for users no longer mentioned
|
|
14692
14838
|
*/
|
|
@@ -14748,7 +14894,7 @@ export interface UpdateActivityRequest {
|
|
|
14748
14894
|
* Custom data for the activity
|
|
14749
14895
|
*/
|
|
14750
14896
|
custom?: Record<string, any>;
|
|
14751
|
-
location?:
|
|
14897
|
+
location?: Location;
|
|
14752
14898
|
/**
|
|
14753
14899
|
* Additional data for search indexing
|
|
14754
14900
|
*/
|
|
@@ -14845,9 +14991,12 @@ export interface UpdateBookmarkFolderResponse {
|
|
|
14845
14991
|
}
|
|
14846
14992
|
export interface UpdateBookmarkRequest {
|
|
14847
14993
|
/**
|
|
14848
|
-
* ID of the folder
|
|
14994
|
+
* ID of the folder containing the bookmark
|
|
14849
14995
|
*/
|
|
14850
14996
|
folder_id?: string;
|
|
14997
|
+
/**
|
|
14998
|
+
* Move the bookmark to this folder (empty string removes the folder)
|
|
14999
|
+
*/
|
|
14851
15000
|
new_folder_id?: string;
|
|
14852
15001
|
user_id?: string;
|
|
14853
15002
|
/**
|
|
@@ -15145,12 +15294,37 @@ export interface UpdateCommandResponse {
|
|
|
15145
15294
|
duration: string;
|
|
15146
15295
|
command?: Command;
|
|
15147
15296
|
}
|
|
15297
|
+
export interface UpdateCommentBookmarkRequest {
|
|
15298
|
+
/**
|
|
15299
|
+
* ID of the folder containing the bookmark
|
|
15300
|
+
*/
|
|
15301
|
+
folder_id?: string;
|
|
15302
|
+
/**
|
|
15303
|
+
* Move the bookmark to this folder (empty string removes the folder)
|
|
15304
|
+
*/
|
|
15305
|
+
new_folder_id?: string;
|
|
15306
|
+
user_id?: string;
|
|
15307
|
+
/**
|
|
15308
|
+
* Custom data for the bookmark
|
|
15309
|
+
*/
|
|
15310
|
+
custom?: Record<string, any>;
|
|
15311
|
+
new_folder?: AddFolderRequest;
|
|
15312
|
+
user?: UserRequest;
|
|
15313
|
+
}
|
|
15314
|
+
export interface UpdateCommentBookmarkResponse {
|
|
15315
|
+
duration: string;
|
|
15316
|
+
bookmark: BookmarkResponse;
|
|
15317
|
+
}
|
|
15148
15318
|
export interface UpdateCommentPartialRequest {
|
|
15149
15319
|
/**
|
|
15150
15320
|
* @deprecated
|
|
15151
15321
|
* Whether to copy custom data to notification activities Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
15152
15322
|
*/
|
|
15153
15323
|
copy_custom_to_notification?: boolean;
|
|
15324
|
+
/**
|
|
15325
|
+
* If true, forces moderation to run for server-side requests. By default, server-side requests skip moderation. Client-side requests always run moderation regardless of this field.
|
|
15326
|
+
*/
|
|
15327
|
+
force_moderation?: boolean;
|
|
15154
15328
|
/**
|
|
15155
15329
|
* Whether to handle mention notification changes
|
|
15156
15330
|
*/
|
|
@@ -15188,6 +15362,10 @@ export interface UpdateCommentRequest {
|
|
|
15188
15362
|
* Whether to copy custom data to the notification activity (only applies when handle_mention_notifications creates notifications) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
15189
15363
|
*/
|
|
15190
15364
|
copy_custom_to_notification?: boolean;
|
|
15365
|
+
/**
|
|
15366
|
+
* If true, forces moderation to run for server-side requests. By default, server-side requests skip moderation. Client-side requests always run moderation regardless of this field.
|
|
15367
|
+
*/
|
|
15368
|
+
force_moderation?: boolean;
|
|
15191
15369
|
/**
|
|
15192
15370
|
* If true, creates notification activities for newly mentioned users and deletes notifications for users no longer mentioned
|
|
15193
15371
|
*/
|
|
@@ -15290,6 +15468,10 @@ export interface UpdateFeedMembersResponse {
|
|
|
15290
15468
|
updated: FeedMemberResponse[];
|
|
15291
15469
|
}
|
|
15292
15470
|
export interface UpdateFeedRequest {
|
|
15471
|
+
/**
|
|
15472
|
+
* If true, removes the geographic location from the feed
|
|
15473
|
+
*/
|
|
15474
|
+
clear_location?: boolean;
|
|
15293
15475
|
/**
|
|
15294
15476
|
* ID of the new feed creator (owner)
|
|
15295
15477
|
*/
|
|
@@ -15314,6 +15496,7 @@ export interface UpdateFeedRequest {
|
|
|
15314
15496
|
* Custom data for the feed
|
|
15315
15497
|
*/
|
|
15316
15498
|
custom?: Record<string, any>;
|
|
15499
|
+
location?: Location;
|
|
15317
15500
|
}
|
|
15318
15501
|
export interface UpdateFeedResponse {
|
|
15319
15502
|
duration: string;
|
|
@@ -15757,6 +15940,10 @@ export interface UpsertActivitiesRequest {
|
|
|
15757
15940
|
* If true, enriches the activities' current_feed with own_* fields (own_follows, own_followings, own_capabilities, own_membership). Defaults to false for performance.
|
|
15758
15941
|
*/
|
|
15759
15942
|
enrich_own_fields?: boolean;
|
|
15943
|
+
/**
|
|
15944
|
+
* If true, forces moderation to run for server-side requests. By default, server-side requests skip moderation. Client-side requests always run moderation regardless of this field.
|
|
15945
|
+
*/
|
|
15946
|
+
force_moderation?: boolean;
|
|
15760
15947
|
}
|
|
15761
15948
|
export interface UpsertActivitiesResponse {
|
|
15762
15949
|
duration: string;
|
|
@@ -15795,6 +15982,9 @@ export interface UpsertConfigRequest {
|
|
|
15795
15982
|
* Team associated with the configuration
|
|
15796
15983
|
*/
|
|
15797
15984
|
team?: string;
|
|
15985
|
+
/**
|
|
15986
|
+
* Optional user ID to associate with the audit log entry
|
|
15987
|
+
*/
|
|
15798
15988
|
user_id?: string;
|
|
15799
15989
|
ai_image_config?: AIImageConfig;
|
|
15800
15990
|
ai_text_config?: AITextConfig;
|
|
@@ -15833,18 +16023,56 @@ export interface UpsertExternalStorageResponse {
|
|
|
15833
16023
|
duration: string;
|
|
15834
16024
|
}
|
|
15835
16025
|
export interface UpsertModerationRuleRequest {
|
|
16026
|
+
/**
|
|
16027
|
+
* Unique rule name
|
|
16028
|
+
*/
|
|
15836
16029
|
name: string;
|
|
16030
|
+
/**
|
|
16031
|
+
* Type of rule: user, content, or call
|
|
16032
|
+
*/
|
|
15837
16033
|
rule_type: string;
|
|
16034
|
+
/**
|
|
16035
|
+
* Duration before rule can trigger again (e.g. 24h, 7d)
|
|
16036
|
+
*/
|
|
15838
16037
|
cooldown_period?: string;
|
|
16038
|
+
/**
|
|
16039
|
+
* Optional description of the rule
|
|
16040
|
+
*/
|
|
15839
16041
|
description?: string;
|
|
16042
|
+
/**
|
|
16043
|
+
* Whether the rule is active
|
|
16044
|
+
*/
|
|
15840
16045
|
enabled?: boolean;
|
|
16046
|
+
/**
|
|
16047
|
+
* Logical operator between conditions/groups: AND or OR
|
|
16048
|
+
*/
|
|
15841
16049
|
logic?: string;
|
|
16050
|
+
/**
|
|
16051
|
+
* Team scope for the rule
|
|
16052
|
+
*/
|
|
15842
16053
|
team?: string;
|
|
16054
|
+
/**
|
|
16055
|
+
* Optional user ID to associate with the audit log entry
|
|
16056
|
+
*/
|
|
16057
|
+
user_id?: string;
|
|
16058
|
+
/**
|
|
16059
|
+
* Escalation sequences for call rules
|
|
16060
|
+
*/
|
|
15843
16061
|
action_sequences?: CallRuleActionSequence[];
|
|
16062
|
+
/**
|
|
16063
|
+
* Flat list of conditions (legacy)
|
|
16064
|
+
*/
|
|
15844
16065
|
conditions?: RuleBuilderCondition[];
|
|
16066
|
+
/**
|
|
16067
|
+
* List of config keys this rule applies to
|
|
16068
|
+
*/
|
|
15845
16069
|
config_keys?: string[];
|
|
16070
|
+
/**
|
|
16071
|
+
* Nested condition groups
|
|
16072
|
+
*/
|
|
15846
16073
|
groups?: RuleBuilderConditionGroup[];
|
|
15847
16074
|
action?: RuleBuilderAction;
|
|
16075
|
+
user?: UserRequest;
|
|
15848
16076
|
}
|
|
15849
16077
|
export interface UpsertModerationRuleResponse {
|
|
15850
16078
|
/**
|
|
@@ -16360,6 +16588,7 @@ export interface UserResponse {
|
|
|
16360
16588
|
* Date when ban expires
|
|
16361
16589
|
*/
|
|
16362
16590
|
ban_expires?: Date;
|
|
16591
|
+
bypass_moderation?: boolean;
|
|
16363
16592
|
/**
|
|
16364
16593
|
* Date of deactivation
|
|
16365
16594
|
*/
|