From 7308e3e972304129fdb4e0322d15ac1dc0b45b7c Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Sat, 24 Oct 2026 10:31:41 +0300 Subject: [PATCH] chore(api): regenerate contract --- api_contract/flutter_model_contract.json | 67 ++++++++++++++++++++---- 1 file changed, 58 insertions(+), 9 deletions(-) diff --git a/api_contract/flutter_model_contract.json b/api_contract/flutter_model_contract.json index a7a1c8a5..6f32d695 100644 --- a/api_contract/flutter_model_contract.json +++ b/api_contract/flutter_model_contract.json @@ -3772,14 +3772,24 @@ "sent", "devices_notified" ], - "optional": [], + "optional": [ + "call_id", + "status", + "already_accepted" + ], "types": { "sent": "bool", - "devices_notified": "int" + "devices_notified": "int", + "call_id": "String", + "status": "String", + "already_accepted": "bool" }, "kinds": { "sent": "boolean", - "devices_notified": "number" + "devices_notified": "number", + "call_id": "string", + "status": "string", + "already_accepted": "boolean" } }, "VideoCallAdminTokenResponse": { @@ -3800,16 +3810,45 @@ "apiUrl": "string" } }, + "VideoCallDeclineResponse": { + "required": [ + "sent", + "devices_notified" + ], + "optional": [ + "call_id", + "status" + ], + "types": { + "sent": "bool", + "devices_notified": "int", + "call_id": "String", + "status": "String" + }, + "kinds": { + "sent": "boolean", + "devices_notified": "number", + "call_id": "string", + "status": "string" + } + }, "VideoCallEndedResponse": { "required": [ "sent" ], - "optional": [], + "optional": [ + "call_id", + "status" + ], "types": { - "sent": "bool" + "sent": "bool", + "call_id": "String", + "status": "String" }, "kinds": { - "sent": "boolean" + "sent": "boolean", + "call_id": "string", + "status": "string" } }, "VideoCallSessionState": { @@ -3872,16 +3911,26 @@ "roomName", "wsUrl" ], - "optional": [], + "optional": [ + "call_id", + "call_status", + "call_expires_at" + ], "types": { "token": "String", "roomName": "String", - "wsUrl": "String" + "wsUrl": "String", + "call_id": "String", + "call_status": "String", + "call_expires_at": "String" }, "kinds": { "token": "string", "roomName": "string", - "wsUrl": "string" + "wsUrl": "string", + "call_id": "string", + "call_status": "string", + "call_expires_at": "string" } }, "WebsocketInfoModel": {