From 4f0ba5c8647397d9d4d9f599a5ac229034a44856 Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Tue, 17 Nov 2026 23:22:28 +0300 Subject: [PATCH] chore(contract): regenerate manifest after upstream merge --- api_contract/flutter_model_contract.json | 407 ++++++++++++++++++++++- 1 file changed, 401 insertions(+), 6 deletions(-) diff --git a/api_contract/flutter_model_contract.json b/api_contract/flutter_model_contract.json index 449fb1ef..3bd4f3f3 100644 --- a/api_contract/flutter_model_contract.json +++ b/api_contract/flutter_model_contract.json @@ -228,6 +228,39 @@ "formError": "string" } }, + "BmiChartModel": { + "required": [], + "optional": [ + "labels", + "values", + "last", + "delta", + "headline", + "category", + "deltaText", + "hint" + ], + "types": { + "labels": "List", + "values": "List", + "last": "double", + "delta": "double", + "headline": "String", + "category": "String", + "deltaText": "String", + "hint": "String" + }, + "kinds": { + "labels": "list", + "values": "list", + "last": "number", + "delta": "number", + "headline": "string", + "category": "string", + "deltaText": "string", + "hint": "string" + } + }, "CalendarModel": { "required": [ "date", @@ -516,9 +549,9 @@ "types": { "id": "int", "user_id": "int", - "chest_circumference": "int", - "waist_circumference": "int", - "hip_circumference": "int", + "chest_circumference": "double", + "waist_circumference": "double", + "hip_circumference": "double", "created_at": "DateTime", "updated_at": "DateTime" }, @@ -1026,6 +1059,42 @@ "prev_cursor": "string" } }, + "DailyChartModel": { + "required": [], + "optional": [ + "labels", + "kcal", + "proteins", + "fats", + "carbs", + "average", + "percent", + "headline", + "deltaText" + ], + "types": { + "labels": "List", + "kcal": "List", + "proteins": "List", + "fats": "List", + "carbs": "List", + "average": "double", + "percent": "double", + "headline": "String", + "deltaText": "String" + }, + "kinds": { + "labels": "list", + "kcal": "list", + "proteins": "list", + "fats": "list", + "carbs": "list", + "average": "number", + "percent": "number", + "headline": "string", + "deltaText": "string" + } + }, "DailyNutrition": { "required": [ "energy", @@ -1182,6 +1251,21 @@ "id": "number" } }, + "DiaryOwnerModel": { + "required": [], + "optional": [ + "id", + "slug" + ], + "types": { + "id": "int", + "slug": "String" + }, + "kinds": { + "id": "number", + "slug": "string" + } + }, "DiaryPhotoModel": { "required": [ "id", @@ -1673,6 +1757,137 @@ "product_nutritional_id": "number" } }, + "InsightsIntraDataModel": { + "required": [ + "intra" + ], + "optional": [], + "types": { + "intra": "IntraChartModel" + }, + "kinds": { + "intra": "model" + } + }, + "InsightsIntraResponseModel": { + "required": [ + "data" + ], + "optional": [], + "types": { + "data": "InsightsIntraDataModel" + }, + "kinds": { + "data": "model" + } + }, + "InsightsPayloadModel": { + "required": [ + "weight", + "bmi", + "measure" + ], + "optional": [ + "daily", + "intra" + ], + "types": { + "weight": "WeightChartModel", + "bmi": "BmiChartModel", + "measure": "MeasureChartModel", + "daily": "DailyChartModel", + "intra": "IntraChartModel" + }, + "kinds": { + "weight": "model", + "bmi": "model", + "measure": "model", + "daily": "model", + "intra": "model" + } + }, + "InsightsResponseModel": { + "required": [ + "data" + ], + "optional": [], + "types": { + "data": "InsightsPayloadModel" + }, + "kinds": { + "data": "model" + } + }, + "IntraBarModel": { + "required": [ + "x" + ], + "optional": [ + "p", + "f", + "c" + ], + "types": { + "x": "double", + "p": "double", + "f": "double", + "c": "double" + }, + "kinds": { + "x": "number", + "p": "number", + "f": "number", + "c": "number" + } + }, + "IntraChartModel": { + "required": [], + "optional": [ + "bars", + "satiety", + "mood", + "wake", + "sleep", + "wakeLabel", + "sleepLabel", + "wakeText", + "sleepText", + "date", + "maxDate", + "dateLabel", + "isToday" + ], + "types": { + "bars": "List", + "satiety": "List", + "mood": "List", + "wake": "double", + "sleep": "double", + "wakeLabel": "String", + "sleepLabel": "String", + "wakeText": "String", + "sleepText": "String", + "date": "String", + "maxDate": "String", + "dateLabel": "String", + "isToday": "bool" + }, + "kinds": { + "bars": "list", + "satiety": "list", + "mood": "list", + "wake": "number", + "sleep": "number", + "wakeLabel": "string", + "sleepLabel": "string", + "wakeText": "string", + "sleepText": "string", + "date": "string", + "maxDate": "string", + "dateLabel": "string", + "isToday": "boolean" + } + }, "LegalEntityModel": { "required": [ "id", @@ -1840,6 +2055,33 @@ "photos": "list" } }, + "MeasureChartModel": { + "required": [], + "optional": [ + "labels", + "waist", + "chest", + "hips", + "headline", + "deltaText" + ], + "types": { + "labels": "List", + "waist": "List", + "chest": "List", + "hips": "List", + "headline": "String", + "deltaText": "String" + }, + "kinds": { + "labels": "list", + "waist": "list", + "chest": "list", + "hips": "list", + "headline": "string", + "deltaText": "string" + } + }, "Meta": { "required": [ "current_page", @@ -3492,6 +3734,21 @@ "bic": "string" } }, + "ScalePointModel": { + "required": [ + "x", + "y" + ], + "optional": [], + "types": { + "x": "double", + "y": "double" + }, + "kinds": { + "x": "number", + "y": "number" + } + }, "SelectionPopupModel": { "required": [ "title" @@ -3852,6 +4109,113 @@ "status": "string" } }, + "VideoCallRecordingCounterpartModel": { + "required": [ + "name", + "slug" + ], + "optional": [ + "profile_photo_url" + ], + "types": { + "name": "String", + "slug": "String", + "profile_photo_url": "String" + }, + "kinds": { + "name": "string", + "slug": "string", + "profile_photo_url": "string" + } + }, + "VideoCallRecordingModel": { + "required": [ + "id", + "status", + "created_at", + "preview_url" + ], + "optional": [ + "duration_seconds", + "size_bytes", + "file_url", + "counterpart" + ], + "types": { + "id": "int", + "status": "RecordingStatus", + "duration_seconds": "int", + "size_bytes": "int", + "created_at": "DateTime", + "preview_url": "String", + "file_url": "String", + "counterpart": "VideoCallRecordingCounterpartModel" + }, + "kinds": { + "id": "number", + "status": "enum", + "duration_seconds": "number", + "size_bytes": "number", + "created_at": "unknown", + "preview_url": "string", + "file_url": "string", + "counterpart": "model" + } + }, + "VideoCallRecordingsPagination": { + "required": [ + "data", + "links", + "meta" + ], + "optional": [], + "types": { + "data": "List", + "links": "Links", + "meta": "Meta" + }, + "kinds": { + "data": "list", + "links": "model", + "meta": "model" + } + }, + "VideoCallRecordingsState": { + "required": [], + "optional": [ + "isLoading", + "isLoadingMore", + "recordings", + "period", + "currentPage", + "lastPage", + "downloadingRecordingId", + "error", + "downloadError" + ], + "types": { + "isLoading": "bool", + "isLoadingMore": "bool", + "recordings": "List", + "period": "RecordingPeriod", + "currentPage": "int", + "lastPage": "int", + "downloadingRecordingId": "int", + "error": "String", + "downloadError": "String" + }, + "kinds": { + "isLoading": "boolean", + "isLoadingMore": "boolean", + "recordings": "list", + "period": "enum", + "currentPage": "number", + "lastPage": "number", + "downloadingRecordingId": "number", + "error": "string", + "downloadError": "string" + } + }, "VideoCallSessionState": { "required": [], "optional": [ @@ -3958,20 +4322,51 @@ "user_id": "number" } }, + "WeightChartModel": { + "required": [], + "optional": [ + "labels", + "values", + "last", + "delta", + "headline", + "unit", + "deltaText" + ], + "types": { + "labels": "List", + "values": "List", + "last": "double", + "delta": "double", + "headline": "String", + "unit": "String", + "deltaText": "String" + }, + "kinds": { + "labels": "list", + "values": "list", + "last": "number", + "delta": "number", + "headline": "string", + "unit": "string", + "deltaText": "string" + } + }, "WeightModel": { "required": [ "id", "user_id", "weight", "created_at", - "updated_at", + "updated_at" + ], + "optional": [ "bmi" ], - "optional": [], "types": { "id": "int", "user_id": "int", - "weight": "int", + "weight": "double", "created_at": "DateTime", "updated_at": "DateTime", "bmi": "double"