{"openapi":"3.1.0","info":{"title":"WeldPro Dashboard","description":"Dashboard Web para gerenciamento do WeldPro Analyzer","version":"1.0.0"},"paths":{"/health":{"get":{"summary":"Health Check","description":"Health check endpoint for monitoring services like UptimeRobot\n\nAccepts both GET and HEAD methods as some monitoring services\nuse HEAD requests to reduce bandwidth usage.","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Health Check","description":"Health check endpoint for monitoring services like UptimeRobot\n\nAccepts both GET and HEAD methods as some monitoring services\nuse HEAD requests to reduce bandwidth usage.","operationId":"health_check_health_head","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/login":{"get":{"tags":["auth"],"summary":"Login Page","description":"Login page","operationId":"login_page_auth_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["auth"],"summary":"Login","description":"Login endpoint","operationId":"login_auth_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_auth_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/forgot-password":{"get":{"tags":["auth"],"summary":"Forgot Password Page","description":"Forgot password page","operationId":"forgot_password_page_auth_forgot_password_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["auth"],"summary":"Forgot Password","description":"Forgot password endpoint\n\nCRITICAL FIX: Now using AuthService with correct Supabase API method","operationId":"forgot_password_auth_forgot_password_post","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_forgot_password_auth_forgot_password_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/reset-password":{"get":{"tags":["auth"],"summary":"Reset Password Page","description":"Reset password page","operationId":"reset_password_page_auth_reset_password_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["auth"],"summary":"Reset Password","description":"Reset password endpoint with support for both PKCE and Implicit flows","operationId":"reset_password_auth_reset_password_post","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_reset_password_auth_reset_password_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","description":"Logout endpoint","operationId":"logout_auth_logout_post","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/csrf-token":{"get":{"tags":["auth"],"summary":"Get Csrf Token Endpoint","description":"Get or generate a CSRF token for the current session.\n\nAccessible to both authenticated and unauthenticated users.\nUnauthenticated users need it for login/recovery forms.\nAuthenticated users need it for AJAX state-changing requests.","operationId":"get_csrf_token_endpoint_auth_csrf_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/home/":{"get":{"tags":["home"],"summary":"Home","operationId":"home_home__get","parameters":[{"name":"range","in":"query","required":false,"schema":{"type":"string","default":"7d","title":"Range"}},{"name":"equipamento_id","in":"query","required":false,"schema":{"type":"string","title":"Equipamento Id"}},{"name":"soldador_id","in":"query","required":false,"schema":{"type":"string","title":"Soldador Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/home/api/metrics":{"get":{"tags":["home"],"summary":"Api Metrics","operationId":"api_metrics_home_api_metrics_get","parameters":[{"name":"range","in":"query","required":false,"schema":{"type":"string","default":"7d","title":"Range"}},{"name":"equipamento_id","in":"query","required":false,"schema":{"type":"string","title":"Equipamento Id"}},{"name":"soldador_id","in":"query","required":false,"schema":{"type":"string","title":"Soldador Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/soldadores/":{"get":{"tags":["soldadores"],"summary":"List Soldadores","description":"List soldadores","operationId":"list_soldadores_soldadores__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/soldadores/create":{"post":{"tags":["soldadores"],"summary":"Create Soldador","description":"Create soldador with auto-generated unique PIN if needed","operationId":"create_soldador_soldadores_create_post","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_create_soldador_soldadores_create_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/soldadores/{soldador_id}/update":{"post":{"tags":["soldadores"],"summary":"Update Soldador","description":"Update soldador","operationId":"update_soldador_soldadores__soldador_id__update_post","parameters":[{"name":"soldador_id","in":"path","required":true,"schema":{"type":"string","title":"Soldador Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_update_soldador_soldadores__soldador_id__update_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/soldadores/{soldador_id}/toggle":{"post":{"tags":["soldadores"],"summary":"Toggle Soldador","description":"Toggle soldador ativo status","operationId":"toggle_soldador_soldadores__soldador_id__toggle_post","parameters":[{"name":"soldador_id","in":"path","required":true,"schema":{"type":"string","title":"Soldador Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/soldadores/delete/{soldador_id}":{"delete":{"tags":["soldadores"],"summary":"Delete Soldador","description":"Soft delete soldador","operationId":"delete_soldador_soldadores_delete__soldador_id__delete","parameters":[{"name":"soldador_id","in":"path","required":true,"schema":{"type":"string","title":"Soldador Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/soldadores/delete-batch":{"delete":{"tags":["soldadores"],"summary":"Delete Soldadores Batch","description":"Soft delete multiple soldadores in batch. RLS handles empresa isolation.","operationId":"delete_soldadores_batch_soldadores_delete_batch_delete","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/equipamentos/":{"get":{"tags":["equipamentos"],"summary":"List Equipamentos","description":"List equipamentos","operationId":"list_equipamentos_equipamentos__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/equipamentos/create":{"post":{"tags":["equipamentos"],"summary":"Create Equipamento","description":"Create equipamento","operationId":"create_equipamento_equipamentos_create_post","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_create_equipamento_equipamentos_create_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/equipamentos/{equipamento_id}/update":{"post":{"tags":["equipamentos"],"summary":"Update Equipamento","description":"Update equipamento","operationId":"update_equipamento_equipamentos__equipamento_id__update_post","parameters":[{"name":"equipamento_id","in":"path","required":true,"schema":{"type":"string","title":"Equipamento Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_update_equipamento_equipamentos__equipamento_id__update_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/equipamentos/{equipamento_id}/toggle":{"post":{"tags":["equipamentos"],"summary":"Toggle Equipamento","description":"Toggle equipamento ativo status","operationId":"toggle_equipamento_equipamentos__equipamento_id__toggle_post","parameters":[{"name":"equipamento_id","in":"path","required":true,"schema":{"type":"string","title":"Equipamento Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/equipamentos/{equipamento_id}/toggle-settings-lock":{"post":{"tags":["equipamentos"],"summary":"Toggle Settings Lock","description":"Toggle equipamento configuracoes_bloqueadas status","operationId":"toggle_settings_lock_equipamentos__equipamento_id__toggle_settings_lock_post","parameters":[{"name":"equipamento_id","in":"path","required":true,"schema":{"type":"string","title":"Equipamento Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/equipamentos/delete/{equipamento_id}":{"delete":{"tags":["equipamentos"],"summary":"Delete Equipamento","description":"Soft delete equipamento","operationId":"delete_equipamento_equipamentos_delete__equipamento_id__delete","parameters":[{"name":"equipamento_id","in":"path","required":true,"schema":{"type":"string","title":"Equipamento Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/equipamentos/delete-batch":{"delete":{"tags":["equipamentos"],"summary":"Delete Equipamentos Batch","description":"Soft delete multiple equipamentos in batch. RLS handles empresa isolation.","operationId":"delete_equipamentos_batch_equipamentos_delete_batch_delete","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/processos/":{"get":{"tags":["processos"],"summary":"List Processos","description":"List processos with calibration metadata","operationId":"list_processos_processos__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/processos/create":{"post":{"tags":["processos"],"summary":"Create Processo","description":"Create processo","operationId":"create_processo_processos_create_post","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_create_processo_processos_create_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/processos/update/{processo_id}":{"post":{"tags":["processos"],"summary":"Update Processo","description":"Update processo","operationId":"update_processo_processos_update__processo_id__post","parameters":[{"name":"processo_id","in":"path","required":true,"schema":{"type":"string","title":"Processo Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_update_processo_processos_update__processo_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/processos/delete/{processo_id}":{"delete":{"tags":["processos"],"summary":"Delete Processo","description":"Soft delete processo","operationId":"delete_processo_processos_delete__processo_id__delete","parameters":[{"name":"processo_id","in":"path","required":true,"schema":{"type":"string","title":"Processo Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/processos/{processo_id}/toggle":{"post":{"tags":["processos"],"summary":"Toggle Processo","description":"Toggle processo ativo status","operationId":"toggle_processo_processos__processo_id__toggle_post","parameters":[{"name":"processo_id","in":"path","required":true,"schema":{"type":"string","title":"Processo Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/processos/delete-batch":{"delete":{"tags":["processos"],"summary":"Delete Processos Batch","description":"Soft delete multiple processos in batch. RLS handles empresa isolation.","operationId":"delete_processos_batch_processos_delete_batch_delete","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/":{"get":{"tags":["sessoes"],"summary":"List Sessions","description":"List sessions with filters and pagination","operationId":"list_sessions_sessoes__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/sessoes/{session_id}":{"get":{"tags":["sessoes"],"summary":"Get Session Details","description":"Get session details including time series metrics via parallel async gather","operationId":"get_session_details_sessoes__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/delete/{session_id}":{"delete":{"tags":["sessoes"],"summary":"Delete Session","description":"Soft delete session","operationId":"delete_session_sessoes_delete__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/delete-batch":{"delete":{"tags":["sessoes"],"summary":"Delete Sessions Batch","description":"Soft delete multiple sessions in batch. RLS ensures empresa isolation.","operationId":"delete_sessions_batch_sessoes_delete_batch_delete","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/api/compare":{"get":{"tags":["sessoes"],"summary":"Compare Sessions","description":"Returns structured comparative analysis or single session inspection data for 1 to 3 sessions.\nValidates strict limits (1 <= count <= 3) and computes deltas relative to baseline.","operationId":"compare_sessions_sessoes_api_compare_get","parameters":[{"name":"session_ids","in":"query","required":false,"schema":{"type":"string","title":"Session Ids"}},{"name":"baseline_id","in":"query","required":false,"schema":{"type":"string","title":"Baseline Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/api/compare/export-csv":{"get":{"tags":["sessoes"],"summary":"Export Compare Csv","description":"Exports synchronized temporal series comparison data as CSV","operationId":"export_compare_csv_sessoes_api_compare_export_csv_get","parameters":[{"name":"session_ids","in":"query","required":true,"schema":{"type":"string","title":"Session Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/api/defects":{"post":{"tags":["sessoes"],"summary":"Create Defect Label","operationId":"create_defect_label_sessoes_api_defects_post","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefectLabelIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["sessoes"],"summary":"List Defect Labels","operationId":"list_defect_labels_sessoes_api_defects_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/api/defects/{label_id}":{"delete":{"tags":["sessoes"],"summary":"Delete Defect Label","operationId":"delete_defect_label_sessoes_api_defects__label_id__delete","parameters":[{"name":"label_id","in":"path","required":true,"schema":{"type":"string","title":"Label Id"}},{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/api/defects/stats":{"get":{"tags":["sessoes"],"summary":"Defect Label Stats","operationId":"defect_label_stats_sessoes_api_defects_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sessoes/api/beads/label":{"put":{"tags":["sessoes"],"summary":"Upsert Bead Label","operationId":"upsert_bead_label_sessoes_api_beads_label_put","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeadLabelIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/api/beads/labels":{"get":{"tags":["sessoes"],"summary":"List Bead Labels","operationId":"list_bead_labels_sessoes_api_beads_labels_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessoes/api/beads/label-stats":{"get":{"tags":["sessoes"],"summary":"Bead Label Stats","operationId":"bead_label_stats_sessoes_api_beads_label_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sessoes/api/beads/export":{"get":{"tags":["sessoes"],"summary":"Export Bead Labels","operationId":"export_bead_labels_sessoes_api_beads_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/calibracoes/calibracoes":{"get":{"tags":["calibracoes","calibracoes"],"summary":"Listar Calibracoes","description":"Exibe histórico de calibrações por processo.\n\nMostra:\n- Última calibração de cada processo\n- Data/hora da calibração\n- Indicador de confiança\n- Status de calibração (⚠️ nunca calibrado, ✅ calibrado)","operationId":"listar_calibracoes_calibracoes_calibracoes_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["calibracoes","calibracoes"],"summary":"Salvar Calibracao","description":"API endpoint para salvar calibração (chamada pelo App Android).\n\nBody esperado:\n{\n    \"processo_id\": \"uuid\",\n    \"vibration_threshold\": 2.5,\n    \"magnetic_threshold\": 50.0,\n    \"audio_threshold\": 60.0,\n    \"vibration_peak_threshold\": 5.0,\n    \"magnetic_range_threshold\": 30.0,\n    \"audio_peak_threshold\": 80.0,\n    \"confidence\": 0.92,\n    \"sample_count\": 3,\n    \"notes\": \"Calibração realizada com 3 soldas de qualidade\",\n    \"cordoes_esperados\": [\n        {\"duracao_s\": 5.2, \"media_magnetica_ut\": 150.4, \"media_vibracao_ms2\": 8.1}\n    ]\n}","operationId":"salvar_calibracao_calibracoes_calibracoes_post","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/calibracoes/calibracoes/{processo_id}":{"get":{"tags":["calibracoes","calibracoes"],"summary":"Detalhes Calibracao","description":"Exibe histórico detalhado de calibrações de um processo específico.\n\nMostra:\n- Timeline com todas as calibrações realizadas\n- Data, hora, confiança, thresholds\n- Comparação antes/depois dos últimos 2 resultados","operationId":"detalhes_calibracao_calibracoes_calibracoes__processo_id__get","parameters":[{"name":"processo_id","in":"path","required":true,"schema":{"type":"string","title":"Processo Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/calibracoes/calibracoes/api/ultima/{processo_id}":{"get":{"tags":["calibracoes","calibracoes"],"summary":"Ultima Calibracao","description":"Retorna a última calibração de um processo em JSON.","operationId":"ultima_calibracao_calibracoes_calibracoes_api_ultima__processo_id__get","parameters":[{"name":"processo_id","in":"path","required":true,"schema":{"type":"string","title":"Processo Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/relatorios/":{"get":{"tags":["relatorios"],"summary":"Relatorios Page","description":"Render reports page with available filters","operationId":"relatorios_page_relatorios__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/relatorios/api/custos":{"get":{"tags":["relatorios"],"summary":"Api Custos","description":"Retorna a estimativa de custo desperdiçado baseado em filtros avançados, \npronto para o Relatório Executivo (ROI).","operationId":"api_custos_relatorios_api_custos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/relatorios/api/produtividade":{"get":{"tags":["relatorios"],"summary":"Api Produtividade","description":"Retorna a métrica de Produtividade (Intensidade e Densidade)\nbaseado em time-shifting e agrupamento diário (Pulse Chart).","operationId":"api_produtividade_relatorios_api_produtividade_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/relatorios/api/estabilidade":{"get":{"tags":["relatorios"],"summary":"Api Estabilidade","description":"Retorna o relatório de Ciência de Dados para Estabilidade (Qualidade), calculando\no Índice de Estabilidade Global (IEG), Desvios Críticos (DPMO Proxy) e Conformidade.","operationId":"api_estabilidade_relatorios_api_estabilidade_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/relatorios/api/exportar":{"get":{"tags":["relatorios"],"summary":"Api Exportar","description":"Exporta dados brutos e sanitizados em CSV (exclui termos como som/vibração).","operationId":"api_exportar_relatorios_api_exportar_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/qrcodes/download/{item_type}/{item_id}":{"get":{"tags":["qrcodes"],"summary":"Download Qr Code","description":"Download QR code as PNG","operationId":"download_qr_code_qrcodes_download__item_type___item_id__get","parameters":[{"name":"item_type","in":"path","required":true,"schema":{"type":"string","title":"Item Type"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"png","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qrcodes/view/{item_type}/{item_id}":{"get":{"tags":["qrcodes"],"summary":"View Qr Code","description":"View QR code as PNG image (inline)","operationId":"view_qr_code_qrcodes_view__item_type___item_id__get","parameters":[{"name":"item_type","in":"path","required":true,"schema":{"type":"string","title":"Item Type"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qrcodes/print/{item_type}/{item_id}":{"get":{"tags":["qrcodes"],"summary":"Print Qr Code","description":"Get optimized QR code image for printing","operationId":"print_qr_code_qrcodes_print__item_type___item_id__get","parameters":[{"name":"item_type","in":"path","required":true,"schema":{"type":"string","title":"Item Type"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qrcodes/text/{item_type}/{item_id}":{"get":{"tags":["qrcodes"],"summary":"Get Qr Text","description":"Return QR code payload text for rendering on frontend.","operationId":"get_qr_text_qrcodes_text__item_type___item_id__get","parameters":[{"name":"item_type","in":"path","required":true,"schema":{"type":"string","title":"Item Type"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/snapshot/":{"get":{"tags":["snapshot"],"summary":"Snapshot","operationId":"snapshot_snapshot__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/snapshot/api/data":{"get":{"tags":["snapshot"],"summary":"Snapshot Data","operationId":"snapshot_data_snapshot_api_data_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/snapshot/api/detail":{"get":{"tags":["snapshot"],"summary":"Snapshot Detail","operationId":"snapshot_detail_snapshot_api_detail_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ranking/":{"get":{"tags":["ranking"],"summary":"Ranking","description":"Ranking / Comparativo page - sortable table of equipment or welders.","operationId":"ranking_ranking__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/diagnostico/":{"get":{"tags":["diagnostico"],"summary":"Diagnostico","description":"Diagnóstico page — classifies equipment and operators into actionable issues.","operationId":"diagnostico_diagnostico__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/timeline/":{"get":{"tags":["timeline"],"summary":"Timeline","description":"Timeline page - Gantt visualization","operationId":"timeline_timeline__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/timeline/api/data":{"get":{"tags":["timeline"],"summary":"Get Timeline Data","description":"Get timeline data with state events (WELDING/IDLE/OFFLINE).\n\nReturns:\n    {\n        \"items\": [\n            {\n                \"id\": \"...\",\n                \"nome\": \"...\",\n                \"events\": [...]\n            }\n        ],\n        \"summary\": {...}\n    }","operationId":"get_timeline_data_timeline_api_data_get","parameters":[{"name":"view_type","in":"query","required":false,"schema":{"type":"string","default":"equipamento","title":"View Type"}},{"name":"ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ids"}},{"name":"range","in":"query","required":false,"schema":{"type":"string","default":"7d","title":"Range"}},{"name":"from_ms","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"From Ms"}},{"name":"to_ms","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"To Ms"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/timeline/api/detail":{"get":{"tags":["timeline"],"summary":"Timeline Detail","description":"Detail endpoint for a single timeline item (equipment or operator).","operationId":"timeline_detail_timeline_api_detail_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"type":"string","default":"equipamento","title":"Type"}},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"}},{"name":"range","in":"query","required":false,"schema":{"type":"string","default":"today","title":"Range"}},{"name":"from_ms","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"From Ms"}},{"name":"to_ms","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"To Ms"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/atualizar-configuracoes":{"post":{"tags":["settings"],"summary":"Atualizar Configuracoes","operationId":"atualizar_configuracoes_api_atualizar_configuracoes_post","parameters":[{"name":"X-CSRF-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Csrf-Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_atualizar_configuracoes_api_atualizar_configuracoes_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/resolve_names":{"get":{"tags":["settings"],"summary":"Resolve Names","description":"Resolve names for welder, equipment, and process for entity IDs scoped by user empresa_id","operationId":"resolve_names_api_resolve_names_get","parameters":[{"name":"soldador_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Soldador Id"}},{"name":"equipamento_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Equipamento Id"}},{"name":"processo_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processo Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/name_map":{"get":{"tags":["settings"],"summary":"Name Map","description":"Fetch maps of IDs to names for active entities of user empresa_id","operationId":"name_map_api_name_map_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/soft-delete/{entity_type}/{entity_id}":{"delete":{"tags":["soft-delete","soft-delete"],"summary":"Soft Delete Entity","description":"Soft delete an entity with validation and audit logging","operationId":"soft_delete_entity_api_soft_delete__entity_type___entity_id__delete","parameters":[{"name":"entity_type","in":"path","required":true,"schema":{"type":"string","title":"Entity Type"}},{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/soft-delete/{entity_type}/{entity_id}/restore":{"post":{"tags":["soft-delete","soft-delete"],"summary":"Restore Entity","description":"Restore a soft-deleted entity","operationId":"restore_entity_api_soft_delete__entity_type___entity_id__restore_post","parameters":[{"name":"entity_type","in":"path","required":true,"schema":{"type":"string","title":"Entity Type"}},{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/soft-delete/{entity_type}/deleted":{"get":{"tags":["soft-delete","soft-delete"],"summary":"List Deleted Entities","description":"List soft-deleted entities for the company","operationId":"list_deleted_entities_api_soft_delete__entity_type__deleted_get","parameters":[{"name":"entity_type","in":"path","required":true,"schema":{"type":"string","title":"Entity Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/soft-delete/audit-logs":{"get":{"tags":["soft-delete","soft-delete"],"summary":"Get Audit Logs","description":"Get audit logs for deletion operations","operationId":"get_audit_logs_api_soft_delete_audit_logs_get","parameters":[{"name":"entity_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Type"}},{"name":"entity_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Id"}},{"name":"operation_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/soft-delete/audit-summary":{"get":{"tags":["soft-delete","soft-delete"],"summary":"Get Audit Summary","description":"Get summary statistics for audit logs","operationId":"get_audit_summary_api_soft_delete_audit_summary_get","parameters":[{"name":"entity_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Type"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/api/resolve_names":{"get":{"summary":"Legacy Resolve Names","description":"Legacy redirect from /dashboard/api/resolve_names to /api/resolve_names","operationId":"legacy_resolve_names_dashboard_api_resolve_names_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/api/name_map":{"get":{"summary":"Legacy Name Map","description":"Legacy redirect from /dashboard/api/name_map to /api/name_map","operationId":"legacy_name_map_dashboard_api_name_map_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Root","description":"Redirect to home dashboard if authenticated, or to login page","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Root","description":"Redirect to home dashboard if authenticated, or to login page","operationId":"root__head","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"BatchDeleteRequest":{"properties":{"ids":{"items":{"type":"string"},"type":"array","title":"Ids"}},"type":"object","required":["ids"],"title":"BatchDeleteRequest","description":"Request body for batch delete"},"BeadLabelIn":{"properties":{"session_id":{"type":"integer","title":"Session Id"},"bead_index":{"type":"integer","title":"Bead Index"},"defect_type":{"type":"string","title":"Defect Type","default":"good"},"cycle_class":{"type":"string","title":"Cycle Class","default":"duvidoso"},"matched_pass_override":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Matched Pass Override"},"severity":{"type":"string","title":"Severity","default":"moderate"},"notes":{"type":"string","title":"Notes","default":""}},"type":"object","required":["session_id","bead_index"],"title":"BeadLabelIn"},"Body_atualizar_configuracoes_api_atualizar_configuracoes_post":{"properties":{"timezone":{"type":"string","title":"Timezone"},"custo_operador_hora":{"type":"number","title":"Custo Operador Hora"},"custo_insumos_hora":{"type":"number","title":"Custo Insumos Hora"},"meta_ieg":{"type":"number","title":"Meta Ieg"},"meta_eficiencia":{"type":"number","title":"Meta Eficiencia"}},"type":"object","title":"Body_atualizar_configuracoes_api_atualizar_configuracoes_post"},"Body_create_equipamento_equipamentos_create_post":{"properties":{"nome":{"type":"string","title":"Nome"}},"type":"object","required":["nome"],"title":"Body_create_equipamento_equipamentos_create_post"},"Body_create_processo_processos_create_post":{"properties":{"nome":{"type":"string","title":"Nome"},"processo_soldagem":{"type":"string","title":"Processo Soldagem"},"tipo_material":{"type":"string","title":"Tipo Material"},"espessura_chapa":{"type":"string","title":"Espessura Chapa"},"tipo_arame":{"type":"string","title":"Tipo Arame"},"diametro_arame":{"type":"string","title":"Diametro Arame"},"gas_protecao":{"type":"string","title":"Gas Protecao"},"vazao_gas":{"type":"string","title":"Vazao Gas"},"voltage":{"type":"string","title":"Voltage"},"wire_feed_speed":{"type":"string","title":"Wire Feed Speed"},"corrente":{"type":"string","title":"Corrente"},"indutancia":{"type":"string","title":"Indutancia"},"posicao_soldagem":{"type":"string","title":"Posicao Soldagem"},"tipo_junta":{"type":"string","title":"Tipo Junta"},"observacoes":{"type":"string","title":"Observacoes"}},"type":"object","required":["nome","processo_soldagem"],"title":"Body_create_processo_processos_create_post"},"Body_create_soldador_soldadores_create_post":{"properties":{"nome":{"type":"string","title":"Nome"},"pin":{"type":"string","title":"Pin"}},"type":"object","required":["nome"],"title":"Body_create_soldador_soldadores_create_post"},"Body_forgot_password_auth_forgot_password_post":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Body_forgot_password_auth_forgot_password_post"},"Body_login_auth_login_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"browser_timezone":{"type":"string","title":"Browser Timezone"},"csrf_token":{"type":"string","title":"Csrf Token"}},"type":"object","required":["email","password"],"title":"Body_login_auth_login_post"},"Body_reset_password_auth_reset_password_post":{"properties":{"password":{"type":"string","title":"Password"},"confirm_password":{"type":"string","title":"Confirm Password"},"token":{"type":"string","title":"Token"},"code":{"type":"string","title":"Code"}},"type":"object","required":["password","confirm_password"],"title":"Body_reset_password_auth_reset_password_post"},"Body_update_equipamento_equipamentos__equipamento_id__update_post":{"properties":{"nome":{"type":"string","title":"Nome"}},"type":"object","required":["nome"],"title":"Body_update_equipamento_equipamentos__equipamento_id__update_post"},"Body_update_processo_processos_update__processo_id__post":{"properties":{"nome":{"type":"string","title":"Nome"},"processo_soldagem":{"type":"string","title":"Processo Soldagem"},"tipo_material":{"type":"string","title":"Tipo Material"},"espessura_chapa":{"type":"string","title":"Espessura Chapa"},"tipo_arame":{"type":"string","title":"Tipo Arame"},"diametro_arame":{"type":"string","title":"Diametro Arame"},"gas_protecao":{"type":"string","title":"Gas Protecao"},"vazao_gas":{"type":"string","title":"Vazao Gas"},"voltage":{"type":"string","title":"Voltage"},"wire_feed_speed":{"type":"string","title":"Wire Feed Speed"},"corrente":{"type":"string","title":"Corrente"},"indutancia":{"type":"string","title":"Indutancia"},"posicao_soldagem":{"type":"string","title":"Posicao Soldagem"},"tipo_junta":{"type":"string","title":"Tipo Junta"},"observacoes":{"type":"string","title":"Observacoes"}},"type":"object","required":["nome","processo_soldagem"],"title":"Body_update_processo_processos_update__processo_id__post"},"Body_update_soldador_soldadores__soldador_id__update_post":{"properties":{"nome":{"type":"string","title":"Nome"},"pin":{"type":"string","title":"Pin"}},"type":"object","required":["nome"],"title":"Body_update_soldador_soldadores__soldador_id__update_post"},"DefectLabelIn":{"properties":{"session_id":{"type":"string","title":"Session Id"},"defect_type":{"type":"string","title":"Defect Type"},"severity":{"type":"string","title":"Severity","default":"moderate"},"notes":{"type":"string","title":"Notes","default":""}},"type":"object","required":["session_id","defect_type"],"title":"DefectLabelIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}