Skip to content

Commit 4be10cf

Browse files
committed
add video reaction over time to response
1 parent 3123e5c commit 4be10cf

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/gen/model-decoders/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,8 @@ decoders.GetBlockedUsersResponse = (input?: Record<string, any>) => {
801801

802802
decoders.GetCallReportResponse = (input?: Record<string, any>) => {
803803
const typeMappings: TypeMapping = {
804+
video_reactions: { type: 'VideoReactionsResponse', isSingle: false },
805+
804806
chat_activity: { type: 'ChatActivityStatsResponse', isSingle: true },
805807
};
806808
return decode(typeMappings, input);

src/gen/models/index.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,8 +1493,6 @@ export interface CallType {
14931493

14941494
created_at: Date;
14951495

1496-
enable_live_insights: boolean;
1497-
14981496
external_storage: string;
14991497

15001498
name: string;
@@ -3847,6 +3845,8 @@ export interface GetCallReportResponse {
38473845

38483846
report: ReportResponse;
38493847

3848+
video_reactions?: VideoReactionsResponse[];
3849+
38503850
chat_activity?: ChatActivityStatsResponse;
38513851
}
38523852

@@ -9306,6 +9306,16 @@ export interface VelocityFilterConfigRule {
93069306
slow_spam_ban_duration?: number;
93079307
}
93089308

9309+
export interface VideoReactionOverTimeResponse {
9310+
by_minute?: CountByMinuteResponse[];
9311+
}
9312+
9313+
export interface VideoReactionsResponse {
9314+
reaction: string;
9315+
9316+
count_over_time?: VideoReactionOverTimeResponse;
9317+
}
9318+
93099319
export interface VideoSettings {
93109320
access_request_enabled: boolean;
93119321

0 commit comments

Comments
 (0)