{"openapi":"3.1.0","info":{"title":"Kassensoftware API","description":"Webbasierte Kassensoftware für Vereine","version":"2.7.0"},"paths":{"/api/auth/setup-status/":{"get":{"tags":["Authentication"],"summary":"Get Setup Status","operationId":"get_setup_status_api_auth_setup_status__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupStatusResponse"}}}}}}},"/api/auth/setup-status":{"get":{"tags":["Authentication"],"summary":"Get Setup Status","operationId":"get_setup_status_api_auth_setup_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupStatusResponse"}}}}}}},"/api/auth/setup-top-admin/":{"post":{"tags":["Authentication"],"summary":"Setup Top Admin","operationId":"setup_top_admin_api_auth_setup_top_admin__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopAdminSetupRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/setup-top-admin":{"post":{"tags":["Authentication"],"summary":"Setup Top Admin","operationId":"setup_top_admin_api_auth_setup_top_admin_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopAdminSetupRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login/":{"post":{"tags":["Authentication"],"summary":"Login","description":"Login with username and password","operationId":"login_api_auth_login__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login":{"post":{"tags":["Authentication"],"summary":"Login","description":"Login with username and password","operationId":"login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login-kasse/":{"post":{"tags":["Authentication"],"summary":"Login Kasse","description":"Direct login for the hidden cash register account.","operationId":"login_kasse_api_auth_login_kasse__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}}}}},"/api/auth/login-kasse":{"post":{"tags":["Authentication"],"summary":"Login Kasse","description":"Direct login for the hidden cash register account.","operationId":"login_kasse_api_auth_login_kasse_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}}}}},"/api/auth/password-reset/request/":{"post":{"tags":["Authentication"],"summary":"Request Password Reset","description":"Schritt 1 des TopAdmin-Self-Service-Resets.\n\nAntwortet absichtlich immer mit derselben generischen Erfolgsmeldung, unabhängig davon,\nob die eingegebene E-Mail mit der hinterlegten TopAdmin-E-Mail übereinstimmt - so lässt\nsich über diesen Endpunkt nicht erschließen, ob/welche E-Mail hinterlegt ist. Nur bei\nexakter Übereinstimmung wird tatsächlich ein Reset-Token erzeugt und eine E-Mail versendet.","operationId":"request_password_reset_api_auth_password_reset_request__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/password-reset/request":{"post":{"tags":["Authentication"],"summary":"Request Password Reset","description":"Schritt 1 des TopAdmin-Self-Service-Resets.\n\nAntwortet absichtlich immer mit derselben generischen Erfolgsmeldung, unabhängig davon,\nob die eingegebene E-Mail mit der hinterlegten TopAdmin-E-Mail übereinstimmt - so lässt\nsich über diesen Endpunkt nicht erschließen, ob/welche E-Mail hinterlegt ist. Nur bei\nexakter Übereinstimmung wird tatsächlich ein Reset-Token erzeugt und eine E-Mail versendet.","operationId":"request_password_reset_api_auth_password_reset_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/password-reset/confirm/":{"post":{"tags":["Authentication"],"summary":"Confirm Password Reset","description":"Schritt 2: neues Passwort mit dem per E-Mail erhaltenen, einmaligen Token setzen.","operationId":"confirm_password_reset_api_auth_password_reset_confirm__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirmRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/password-reset/confirm":{"post":{"tags":["Authentication"],"summary":"Confirm Password Reset","description":"Schritt 2: neues Passwort mit dem per E-Mail erhaltenen, einmaligen Token setzen.","operationId":"confirm_password_reset_api_auth_password_reset_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirmRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/logout/":{"post":{"tags":["Authentication"],"summary":"Logout","description":"Logout","operationId":"logout_api_auth_logout__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/logout":{"post":{"tags":["Authentication"],"summary":"Logout","description":"Logout","operationId":"logout_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/usernames/":{"get":{"tags":["Authentication"],"summary":"Get Login Usernames","description":"Return usernames of known, non-hidden users.\n\nThis endpoint is used when the Kasse user (or any authenticated user) wants\nto switch to a different account. It requires authentication so that username\nsuggestions are not publicly exposed, but does not require elevated roles.","operationId":"get_login_usernames_api_auth_usernames__get","parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response Get Login Usernames Api Auth Usernames  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/usernames":{"get":{"tags":["Authentication"],"summary":"Get Login Usernames","description":"Return usernames of known, non-hidden users.\n\nThis endpoint is used when the Kasse user (or any authenticated user) wants\nto switch to a different account. It requires authentication so that username\nsuggestions are not publicly exposed, but does not require elevated roles.","operationId":"get_login_usernames_api_auth_usernames_get","parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response Get Login Usernames Api Auth Usernames Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/me/":{"get":{"tags":["Authentication"],"summary":"Get Current User","description":"Get current user info","operationId":"get_current_user_api_auth_me__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}}}},"/api/auth/me":{"get":{"tags":["Authentication"],"summary":"Get Current User","description":"Get current user info","operationId":"get_current_user_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}}}},"/api/users":{"get":{"tags":["Users"],"summary":"Get Users","operationId":"get_users_api_users_get","parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserResponse"},"title":"Response Get Users Api Users Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Users"],"summary":"Create User","operationId":"create_user_api_users_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/":{"get":{"tags":["Users"],"summary":"Get Users","operationId":"get_users_api_users__get","parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserResponse"},"title":"Response Get Users Api Users  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Users"],"summary":"Create User","operationId":"create_user_api_users__post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/finance-options/":{"get":{"tags":["Users"],"summary":"Get Finance Users","operationId":"get_finance_users_api_users_finance_options__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserFinanceOptionResponse"},"type":"array","title":"Response Get Finance Users Api Users Finance Options  Get"}}}}}}},"/api/users/finance-options":{"get":{"tags":["Users"],"summary":"Get Finance Users","operationId":"get_finance_users_api_users_finance_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserFinanceOptionResponse"},"type":"array","title":"Response Get Finance Users Api Users Finance Options Get"}}}}}}},"/api/users/{user_id}/":{"get":{"tags":["Users"],"summary":"Get User","operationId":"get_user_api_users__user_id___get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Users"],"summary":"Update User","operationId":"update_user_api_users__user_id___put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Users"],"summary":"Deactivate User","operationId":"deactivate_user_api_users__user_id___delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{user_id}":{"get":{"tags":["Users"],"summary":"Get User","operationId":"get_user_api_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Users"],"summary":"Update User","operationId":"update_user_api_users__user_id__put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Users"],"summary":"Deactivate User","operationId":"deactivate_user_api_users__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{user_id}/reactivate/":{"post":{"tags":["Users"],"summary":"Reactivate User","operationId":"reactivate_user_api_users__user_id__reactivate__post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{user_id}/reactivate":{"post":{"tags":["Users"],"summary":"Reactivate User","operationId":"reactivate_user_api_users__user_id__reactivate_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/balance-corrections/":{"get":{"tags":["Members"],"summary":"List Balance Corrections","description":"List member balance correction logs.","operationId":"list_balance_corrections_api_members_balance_corrections__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MemberBalanceCorrectionLogResponse"},"type":"array","title":"Response List Balance Corrections Api Members Balance Corrections  Get"}}}}}}},"/api/members/balance-corrections":{"get":{"tags":["Members"],"summary":"List Balance Corrections","description":"List member balance correction logs.","operationId":"list_balance_corrections_api_members_balance_corrections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MemberBalanceCorrectionLogResponse"},"type":"array","title":"Response List Balance Corrections Api Members Balance Corrections Get"}}}}}}},"/api/members":{"post":{"tags":["Members"],"summary":"Create Member","description":"Create a new member","operationId":"create_member_api_members_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Members"],"summary":"Get Members","description":"Get all members","operationId":"get_members_api_members_get","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MemberResponse"},"title":"Response Get Members Api Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/":{"post":{"tags":["Members"],"summary":"Create Member","description":"Create a new member","operationId":"create_member_api_members__post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Members"],"summary":"Get Members","description":"Get all members","operationId":"get_members_api_members__get","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MemberResponse"},"title":"Response Get Members Api Members  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/selection/":{"get":{"tags":["Members"],"summary":"Get Member Selection","operationId":"get_member_selection_api_members_selection__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MemberSelectionResponse"},"type":"array","title":"Response Get Member Selection Api Members Selection  Get"}}}}}}},"/api/members/selection":{"get":{"tags":["Members"],"summary":"Get Member Selection","operationId":"get_member_selection_api_members_selection_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MemberSelectionResponse"},"type":"array","title":"Response Get Member Selection Api Members Selection Get"}}}}}}},"/api/members/statistics/":{"get":{"tags":["Members"],"summary":"Get Member Statistics","description":"Get member statistics","operationId":"get_member_statistics_api_members_statistics__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/members/statistics":{"get":{"tags":["Members"],"summary":"Get Member Statistics","description":"Get member statistics","operationId":"get_member_statistics_api_members_statistics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/members/{member_id}/":{"get":{"tags":["Members"],"summary":"Get Member","description":"Get member by ID","operationId":"get_member_api_members__member_id___get","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Members"],"summary":"Update Member","description":"Update member","operationId":"update_member_api_members__member_id___put","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Members"],"summary":"Delete Member","description":"Delete member","operationId":"delete_member_api_members__member_id___delete","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}":{"get":{"tags":["Members"],"summary":"Get Member","description":"Get member by ID","operationId":"get_member_api_members__member_id__get","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Members"],"summary":"Update Member","description":"Update member","operationId":"update_member_api_members__member_id__put","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Members"],"summary":"Delete Member","description":"Delete member","operationId":"delete_member_api_members__member_id__delete","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}/recharge/":{"post":{"tags":["Members"],"summary":"Recharge Member Balance","description":"Recharge member balance","operationId":"recharge_member_balance_api_members__member_id__recharge__post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberRechargeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberRechargeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}/recharge":{"post":{"tags":["Members"],"summary":"Recharge Member Balance","description":"Recharge member balance","operationId":"recharge_member_balance_api_members__member_id__recharge_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberRechargeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberRechargeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}/balance-correction/":{"post":{"tags":["Members"],"summary":"Correct Member Balance","description":"Correct member balance without cash flow.","operationId":"correct_member_balance_api_members__member_id__balance_correction__post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberBalanceCorrectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}/balance-correction":{"post":{"tags":["Members"],"summary":"Correct Member Balance","description":"Correct member balance without cash flow.","operationId":"correct_member_balance_api_members__member_id__balance_correction_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberBalanceCorrectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}/restore":{"post":{"tags":["Members"],"summary":"Restore Member","operationId":"restore_member_api_members__member_id__restore_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}/photo/":{"post":{"tags":["Members"],"summary":"Upload Member Photo","description":"Upload member photo","operationId":"upload_member_photo_api_members__member_id__photo__post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_member_photo_api_members__member_id__photo__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Members"],"summary":"Delete Member Photo File","description":"Delete member photo and reset stored photo path.","operationId":"delete_member_photo_file_api_members__member_id__photo__delete","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Members"],"summary":"Get Member Photo","description":"Get member photo file","operationId":"get_member_photo_api_members__member_id__photo__get","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}/photo":{"post":{"tags":["Members"],"summary":"Upload Member Photo","description":"Upload member photo","operationId":"upload_member_photo_api_members__member_id__photo_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_member_photo_api_members__member_id__photo_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Members"],"summary":"Delete Member Photo File","description":"Delete member photo and reset stored photo path.","operationId":"delete_member_photo_file_api_members__member_id__photo_delete","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Members"],"summary":"Get Member Photo","description":"Get member photo file","operationId":"get_member_photo_api_members__member_id__photo_get","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}/original-photo/":{"post":{"tags":["Members"],"summary":"Upload Member Original Photo","operationId":"upload_member_original_photo_api_members__member_id__original_photo__post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_member_original_photo_api_members__member_id__original_photo__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Members"],"summary":"Get Member Original Photo","operationId":"get_member_original_photo_api_members__member_id__original_photo__get","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/members/{member_id}/original-photo":{"post":{"tags":["Members"],"summary":"Upload Member Original Photo","operationId":"upload_member_original_photo_api_members__member_id__original_photo_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_member_original_photo_api_members__member_id__original_photo_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Members"],"summary":"Get Member Original Photo","operationId":"get_member_original_photo_api_members__member_id__original_photo_get","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products":{"post":{"tags":["Products"],"summary":"Create Product","description":"Create a new product","operationId":"create_product_api_products_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Products"],"summary":"Get Products","description":"Get all products","operationId":"get_products_api_products_get","parameters":[{"name":"only_active","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Only Active"}},{"name":"only_visible_in_kasse","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Only Visible In Kasse"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProductResponse"},"title":"Response Get Products Api Products Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/":{"post":{"tags":["Products"],"summary":"Create Product","description":"Create a new product","operationId":"create_product_api_products__post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Products"],"summary":"Get Products","description":"Get all products","operationId":"get_products_api_products__get","parameters":[{"name":"only_active","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Only Active"}},{"name":"only_visible_in_kasse","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Only Visible In Kasse"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProductResponse"},"title":"Response Get Products Api Products  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/stock-corrections/":{"get":{"tags":["Products"],"summary":"List Stock Corrections","description":"List product stock correction logs.","operationId":"list_stock_corrections_api_products_stock_corrections__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProductStockCorrectionLogResponse"},"type":"array","title":"Response List Stock Corrections Api Products Stock Corrections  Get"}}}}}}},"/api/products/stock-corrections":{"get":{"tags":["Products"],"summary":"List Stock Corrections","description":"List product stock correction logs.","operationId":"list_stock_corrections_api_products_stock_corrections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProductStockCorrectionLogResponse"},"type":"array","title":"Response List Stock Corrections Api Products Stock Corrections Get"}}}}}}},"/api/products/{product_id}/":{"get":{"tags":["Products"],"summary":"Get Product","description":"Get product by ID","operationId":"get_product_api_products__product_id___get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Products"],"summary":"Update Product","description":"Update product","operationId":"update_product_api_products__product_id___put","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Products"],"summary":"Delete Product","description":"Delete product (soft delete)","operationId":"delete_product_api_products__product_id___delete","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}":{"get":{"tags":["Products"],"summary":"Get Product","description":"Get product by ID","operationId":"get_product_api_products__product_id__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Products"],"summary":"Update Product","description":"Update product","operationId":"update_product_api_products__product_id__put","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Products"],"summary":"Delete Product","description":"Delete product (soft delete)","operationId":"delete_product_api_products__product_id__delete","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/adjust-stock/":{"post":{"tags":["Products"],"summary":"Adjust Stock","description":"Adjust product stock","operationId":"adjust_stock_api_products__product_id__adjust_stock__post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}},{"name":"quantity","in":"query","required":true,"schema":{"type":"integer","title":"Quantity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/adjust-stock":{"post":{"tags":["Products"],"summary":"Adjust Stock","description":"Adjust product stock","operationId":"adjust_stock_api_products__product_id__adjust_stock_post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}},{"name":"quantity","in":"query","required":true,"schema":{"type":"integer","title":"Quantity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/stock-correction/":{"post":{"tags":["Products"],"summary":"Correct Stock","description":"Correct product stock without cash flow.","operationId":"correct_stock_api_products__product_id__stock_correction__post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductStockCorrectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/stock-correction":{"post":{"tags":["Products"],"summary":"Correct Stock","description":"Correct product stock without cash flow.","operationId":"correct_stock_api_products__product_id__stock_correction_post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductStockCorrectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/image/":{"post":{"tags":["Products"],"summary":"Upload Product Image","description":"Upload product image","operationId":"upload_product_image_api_products__product_id__image__post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_product_image_api_products__product_id__image__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Products"],"summary":"Delete Product Image File","description":"Delete product image and reset stored image path.","operationId":"delete_product_image_file_api_products__product_id__image__delete","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Products"],"summary":"Get Product Image","description":"Get product image file","operationId":"get_product_image_api_products__product_id__image__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/image":{"post":{"tags":["Products"],"summary":"Upload Product Image","description":"Upload product image","operationId":"upload_product_image_api_products__product_id__image_post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_product_image_api_products__product_id__image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Products"],"summary":"Delete Product Image File","description":"Delete product image and reset stored image path.","operationId":"delete_product_image_file_api_products__product_id__image_delete","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Products"],"summary":"Get Product Image","description":"Get product image file","operationId":"get_product_image_api_products__product_id__image_get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/original-image/":{"post":{"tags":["Products"],"summary":"Upload Product Original Image","description":"Upload original (uncropped) product image for reset purposes","operationId":"upload_product_original_image_api_products__product_id__original_image__post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_product_original_image_api_products__product_id__original_image__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Products"],"summary":"Get Product Original Image","description":"Get original (uncropped) product image","operationId":"get_product_original_image_api_products__product_id__original_image__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/original-image":{"post":{"tags":["Products"],"summary":"Upload Product Original Image","description":"Upload original (uncropped) product image for reset purposes","operationId":"upload_product_original_image_api_products__product_id__original_image_post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_product_original_image_api_products__product_id__original_image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Products"],"summary":"Get Product Original Image","description":"Get original (uncropped) product image","operationId":"get_product_original_image_api_products__product_id__original_image_get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/categories/":{"post":{"tags":["Products"],"summary":"Add Category To Product","description":"Add categories to a product (admin only)","operationId":"add_category_to_product_api_products__product_id__categories__post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Category Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/categories":{"post":{"tags":["Products"],"summary":"Add Category To Product","description":"Add categories to a product (admin only)","operationId":"add_category_to_product_api_products__product_id__categories_post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Category Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/categories/{category_id}/":{"delete":{"tags":["Products"],"summary":"Remove Category From Product","description":"Remove a category from a product (admin only)","operationId":"remove_category_from_product_api_products__product_id__categories__category_id___delete","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}},{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/products/{product_id}/categories/{category_id}":{"delete":{"tags":["Products"],"summary":"Remove Category From Product","description":"Remove a category from a product (admin only)","operationId":"remove_category_from_product_api_products__product_id__categories__category_id__delete","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}},{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/categories":{"get":{"tags":["Categories"],"summary":"Get Categories","description":"Get all categories","operationId":"get_categories_api_categories_get","parameters":[{"name":"only_active","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Only Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CategoryResponse"},"title":"Response Get Categories Api Categories Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Categories"],"summary":"Create Category","description":"Create a new category (admin only)","operationId":"create_category_api_categories_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/categories/":{"get":{"tags":["Categories"],"summary":"Get Categories","description":"Get all categories","operationId":"get_categories_api_categories__get","parameters":[{"name":"only_active","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Only Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CategoryResponse"},"title":"Response Get Categories Api Categories  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Categories"],"summary":"Create Category","description":"Create a new category (admin only)","operationId":"create_category_api_categories__post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/categories/{category_id}/":{"get":{"tags":["Categories"],"summary":"Get Category","description":"Get category by ID","operationId":"get_category_api_categories__category_id___get","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Categories"],"summary":"Update Category","description":"Update category (admin only)","operationId":"update_category_api_categories__category_id___put","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Categories"],"summary":"Delete Category","description":"Delete category (admin only)","operationId":"delete_category_api_categories__category_id___delete","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/categories/{category_id}":{"get":{"tags":["Categories"],"summary":"Get Category","description":"Get category by ID","operationId":"get_category_api_categories__category_id__get","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Categories"],"summary":"Update Category","description":"Update category (admin only)","operationId":"update_category_api_categories__category_id__put","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Categories"],"summary":"Delete Category","description":"Delete category (admin only)","operationId":"delete_category_api_categories__category_id__delete","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/categories/{category_id}/products/":{"post":{"tags":["Categories"],"summary":"Assign Products To Category","description":"Assign multiple products to a category (admin only).","operationId":"assign_products_to_category_api_categories__category_id__products__post","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Product Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/categories/{category_id}/products":{"post":{"tags":["Categories"],"summary":"Assign Products To Category","description":"Assign multiple products to a category (admin only).","operationId":"assign_products_to_category_api_categories__category_id__products_post","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Product Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/categories/{category_id}/products/{product_id}/":{"delete":{"tags":["Categories"],"summary":"Remove Product From Category","description":"Remove one product from a category (admin only).","operationId":"remove_product_from_category_api_categories__category_id__products__product_id___delete","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}},{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/categories/{category_id}/products/{product_id}":{"delete":{"tags":["Categories"],"summary":"Remove Product From Category","description":"Remove one product from a category (admin only).","operationId":"remove_product_from_category_api_categories__category_id__products__product_id__delete","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"integer","title":"Category Id"}},{"name":"product_id","in":"path","required":true,"schema":{"type":"integer","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deckel":{"get":{"tags":["Deckel"],"summary":"List Deckel","operationId":"list_deckel_api_deckel_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Deckel"],"summary":"Create Deckel","operationId":"create_deckel_api_deckel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeckelCreatePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deckel/":{"get":{"tags":["Deckel"],"summary":"List Deckel","operationId":"list_deckel_api_deckel__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Deckel"],"summary":"Create Deckel","operationId":"create_deckel_api_deckel__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeckelCreatePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deckel/{deckel_id}/":{"get":{"tags":["Deckel"],"summary":"Get Deckel","operationId":"get_deckel_api_deckel__deckel_id___get","parameters":[{"name":"deckel_id","in":"path","required":true,"schema":{"type":"integer","title":"Deckel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deckel/{deckel_id}":{"get":{"tags":["Deckel"],"summary":"Get Deckel","operationId":"get_deckel_api_deckel__deckel_id__get","parameters":[{"name":"deckel_id","in":"path","required":true,"schema":{"type":"integer","title":"Deckel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deckel/{deckel_id}/book/":{"post":{"tags":["Deckel"],"summary":"Book To Deckel","operationId":"book_to_deckel_api_deckel__deckel_id__book__post","parameters":[{"name":"deckel_id","in":"path","required":true,"schema":{"type":"integer","title":"Deckel Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeckelBookPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deckel/{deckel_id}/book":{"post":{"tags":["Deckel"],"summary":"Book To Deckel","operationId":"book_to_deckel_api_deckel__deckel_id__book_post","parameters":[{"name":"deckel_id","in":"path","required":true,"schema":{"type":"integer","title":"Deckel Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeckelBookPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deckel/{deckel_id}/pay/":{"post":{"tags":["Deckel"],"summary":"Pay Deckel","operationId":"pay_deckel_api_deckel__deckel_id__pay__post","parameters":[{"name":"deckel_id","in":"path","required":true,"schema":{"type":"integer","title":"Deckel Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeckelPaymentPayload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deckel/{deckel_id}/pay":{"post":{"tags":["Deckel"],"summary":"Pay Deckel","operationId":"pay_deckel_api_deckel__deckel_id__pay_post","parameters":[{"name":"deckel_id","in":"path","required":true,"schema":{"type":"integer","title":"Deckel Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeckelPaymentPayload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/operations/{operation_key}":{"get":{"tags":["Transactions"],"summary":"Get Booking Operation","operationId":"get_booking_operation_api_transactions_operations__operation_key__get","parameters":[{"name":"operation_key","in":"path","required":true,"schema":{"type":"string","title":"Operation Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/next-receipt-number/":{"get":{"tags":["Transactions"],"summary":"Get Next Receipt Number","description":"Get the next receipt number","operationId":"get_next_receipt_number_api_transactions_next_receipt_number__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transactions/next-receipt-number":{"get":{"tags":["Transactions"],"summary":"Get Next Receipt Number","description":"Get the next receipt number","operationId":"get_next_receipt_number_api_transactions_next_receipt_number_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transactions/sale/":{"post":{"tags":["Transactions"],"summary":"Create Sale","description":"Create a sale transaction","operationId":"create_sale_api_transactions_sale__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/sale":{"post":{"tags":["Transactions"],"summary":"Create Sale","description":"Create a sale transaction","operationId":"create_sale_api_transactions_sale_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/storno/":{"post":{"tags":["Transactions"],"summary":"Create Storno","description":"Create a storno (reversal) transaction","operationId":"create_storno_api_transactions_storno__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionStornoCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/storno":{"post":{"tags":["Transactions"],"summary":"Create Storno","description":"Create a storno (reversal) transaction","operationId":"create_storno_api_transactions_storno_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionStornoCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/daily-summary/":{"get":{"tags":["Transactions"],"summary":"Get Daily Summary","description":"Get daily summary (Z-Bon) - requires password","operationId":"get_daily_summary_api_transactions_daily_summary__get","parameters":[{"name":"date_param","in":"query","required":true,"schema":{"type":"string","title":"Date Param"}},{"name":"password","in":"query","required":false,"schema":{"type":"string","title":"Password"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/daily-summary":{"get":{"tags":["Transactions"],"summary":"Get Daily Summary","description":"Get daily summary (Z-Bon) - requires password","operationId":"get_daily_summary_api_transactions_daily_summary_get","parameters":[{"name":"date_param","in":"query","required":true,"schema":{"type":"string","title":"Date Param"}},{"name":"password","in":"query","required":false,"schema":{"type":"string","title":"Password"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/daily-stats/":{"get":{"tags":["Transactions"],"summary":"Get Daily Stats","description":"Get daily statistics with transaction list","operationId":"get_daily_stats_api_transactions_daily_stats__get","parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string","title":"Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/daily-stats":{"get":{"tags":["Transactions"],"summary":"Get Daily Stats","description":"Get daily statistics with transaction list","operationId":"get_daily_stats_api_transactions_daily_stats_get","parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string","title":"Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/filtered/":{"get":{"tags":["Transactions"],"summary":"Get Filtered Transactions","description":"Get filtered transactions","operationId":"get_filtered_transactions_api_transactions_filtered__get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"payment_method","in":"query","required":false,"schema":{"type":"string","title":"Payment Method"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/filtered":{"get":{"tags":["Transactions"],"summary":"Get Filtered Transactions","description":"Get filtered transactions","operationId":"get_filtered_transactions_api_transactions_filtered_get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"payment_method","in":"query","required":false,"schema":{"type":"string","title":"Payment Method"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/export/preview/":{"get":{"tags":["Transactions"],"summary":"Preview Transaction Export","description":"Render the selected transaction history as a printable HTML preview.","operationId":"preview_transaction_export_api_transactions_export_preview__get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"payment_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/export/preview":{"get":{"tags":["Transactions"],"summary":"Preview Transaction Export","description":"Render the selected transaction history as a printable HTML preview.","operationId":"preview_transaction_export_api_transactions_export_preview_get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"payment_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/export/csv/":{"get":{"tags":["Transactions"],"summary":"Download Transaction Csv","description":"Download the selected transaction history as an Excel-friendly CSV file.","operationId":"download_transaction_csv_api_transactions_export_csv__get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"payment_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/export/csv":{"get":{"tags":["Transactions"],"summary":"Download Transaction Csv","description":"Download the selected transaction history as an Excel-friendly CSV file.","operationId":"download_transaction_csv_api_transactions_export_csv_get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"payment_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/export/pdf/":{"get":{"tags":["Transactions"],"summary":"Download Transaction Pdf","description":"Download the selected transaction history as PDF.","operationId":"download_transaction_pdf_api_transactions_export_pdf__get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"payment_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/export/pdf":{"get":{"tags":["Transactions"],"summary":"Download Transaction Pdf","description":"Download the selected transaction history as PDF.","operationId":"download_transaction_pdf_api_transactions_export_pdf_get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"payment_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/revenue-stats/":{"get":{"tags":["Transactions"],"summary":"Get Revenue Stats","description":"Get revenue statistics","operationId":"get_revenue_stats_api_transactions_revenue_stats__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transactions/revenue-stats":{"get":{"tags":["Transactions"],"summary":"Get Revenue Stats","description":"Get revenue statistics","operationId":"get_revenue_stats_api_transactions_revenue_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transactions/{transaction_id}/":{"get":{"tags":["Transactions"],"summary":"Get Transaction","description":"Get transaction by ID","operationId":"get_transaction_api_transactions__transaction_id___get","parameters":[{"name":"transaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Transaction Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/{transaction_id}":{"get":{"tags":["Transactions"],"summary":"Get Transaction","description":"Get transaction by ID","operationId":"get_transaction_api_transactions__transaction_id__get","parameters":[{"name":"transaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Transaction Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions":{"get":{"tags":["Transactions"],"summary":"Get Transactions","description":"Get all transactions","operationId":"get_transactions_api_transactions_get","parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionResponse"},"title":"Response Get Transactions Api Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/":{"get":{"tags":["Transactions"],"summary":"Get Transactions","description":"Get all transactions","operationId":"get_transactions_api_transactions__get","parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransactionResponse"},"title":"Response Get Transactions Api Transactions  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/generate/":{"post":{"tags":["Transactions"],"summary":"Generate Zbon","description":"Generate Z-Bon or daily report","operationId":"generate_zbon_api_transactions_zbon_generate__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonGenerateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/generate":{"post":{"tags":["Transactions"],"summary":"Generate Zbon","description":"Generate Z-Bon or daily report","operationId":"generate_zbon_api_transactions_zbon_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonGenerateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/preview/":{"post":{"tags":["Transactions"],"summary":"Preview Current Zbon","description":"Preview the current Z-Bon period since the last generated Z-Bon.","operationId":"preview_current_zbon_api_transactions_zbon_preview__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonPreviewRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/preview":{"post":{"tags":["Transactions"],"summary":"Preview Current Zbon","description":"Preview the current Z-Bon period since the last generated Z-Bon.","operationId":"preview_current_zbon_api_transactions_zbon_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonPreviewRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/preview/send-email/":{"post":{"tags":["Transactions"],"summary":"Send Zbon Preview Email","description":"Send the currently rendered Z-Bon preview HTML via email without creating a Z-Bon.","operationId":"send_zbon_preview_email_api_transactions_zbon_preview_send_email__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonPreviewEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/preview/send-email":{"post":{"tags":["Transactions"],"summary":"Send Zbon Preview Email","description":"Send the currently rendered Z-Bon preview HTML via email without creating a Z-Bon.","operationId":"send_zbon_preview_email_api_transactions_zbon_preview_send_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonPreviewEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/create/":{"post":{"tags":["Transactions"],"summary":"Create Zbon","description":"Create and archive a new immutable Z-Bon.","operationId":"create_zbon_api_transactions_zbon_create__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/create":{"post":{"tags":["Transactions"],"summary":"Create Zbon","description":"Create and archive a new immutable Z-Bon.","operationId":"create_zbon_api_transactions_zbon_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/send-email/":{"post":{"tags":["Transactions"],"summary":"Send Zbon Email","description":"Send daily update via the unified full HTML report.","operationId":"send_zbon_email_api_transactions_zbon_send_email__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/send-email":{"post":{"tags":["Transactions"],"summary":"Send Zbon Email","description":"Send daily update via the unified full HTML report.","operationId":"send_zbon_email_api_transactions_zbon_send_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/html/":{"get":{"tags":["Transactions"],"summary":"Get Zbon Html","description":"Get Z-Bon as HTML for preview","operationId":"get_zbon_html_api_transactions_zbon_html__get","parameters":[{"name":"report_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/html":{"get":{"tags":["Transactions"],"summary":"Get Zbon Html","description":"Get Z-Bon as HTML for preview","operationId":"get_zbon_html_api_transactions_zbon_html_get","parameters":[{"name":"report_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/pdf/":{"get":{"tags":["Transactions"],"summary":"Get Zbon Pdf","description":"Download Z-Bon as PDF","operationId":"get_zbon_pdf_api_transactions_zbon_pdf__get","parameters":[{"name":"report_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/pdf":{"get":{"tags":["Transactions"],"summary":"Get Zbon Pdf","description":"Download Z-Bon as PDF","operationId":"get_zbon_pdf_api_transactions_zbon_pdf_get","parameters":[{"name":"report_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/email":{"post":{"tags":["Transactions"],"summary":"Send Zbon Email","description":"Send Z-Bon via email with professional HTML formatting\n\nArgs:\n    recipient: Email address to send to\n    report_date: Optional date (YYYY-MM-DD), defaults to today\n    include_pdf: Optional - attach PDF if WeasyPrint available\n    request: HTTP request (for auth)\n    db: Database session\n\nReturns:\n    JSON response with status","operationId":"send_zbon_email_api_transactions_zbon_email_post","parameters":[{"name":"recipient","in":"query","required":true,"schema":{"type":"string","title":"Recipient"}},{"name":"report_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Date"}},{"name":"include_pdf","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Pdf"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/scheduler/status/":{"get":{"tags":["Transactions"],"summary":"Get Scheduler Status","description":"Get current scheduler status (admin only)","operationId":"get_scheduler_status_api_transactions_scheduler_status__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transactions/scheduler/status":{"get":{"tags":["Transactions"],"summary":"Get Scheduler Status","description":"Get current scheduler status (admin only)","operationId":"get_scheduler_status_api_transactions_scheduler_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transactions/cash/withdrawal/":{"post":{"tags":["Transactions"],"summary":"Record Cash Withdrawal","description":"Record a cash withdrawal (Entnahme)","operationId":"record_cash_withdrawal_api_transactions_cash_withdrawal__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashWithdrawalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/cash/withdrawal":{"post":{"tags":["Transactions"],"summary":"Record Cash Withdrawal","description":"Record a cash withdrawal (Entnahme)","operationId":"record_cash_withdrawal_api_transactions_cash_withdrawal_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashWithdrawalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/cash/deposit/":{"post":{"tags":["Transactions"],"summary":"Record Cash Deposit","description":"Record a cash deposit (Einlage)","operationId":"record_cash_deposit_api_transactions_cash_deposit__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashDepositRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/cash/deposit":{"post":{"tags":["Transactions"],"summary":"Record Cash Deposit","description":"Record a cash deposit (Einlage)","operationId":"record_cash_deposit_api_transactions_cash_deposit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashDepositRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/cash/entries/":{"get":{"tags":["Transactions"],"summary":"Get Cash Entries","description":"Get cash entries (withdrawals and deposits) for a date","operationId":"get_cash_entries_api_transactions_cash_entries__get","parameters":[{"name":"target_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/cash/entries":{"get":{"tags":["Transactions"],"summary":"Get Cash Entries","description":"Get cash entries (withdrawals and deposits) for a date","operationId":"get_cash_entries_api_transactions_cash_entries_get","parameters":[{"name":"target_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/cash/balance/":{"get":{"tags":["Transactions"],"summary":"Get Cash Balance","description":"Get cash balance snapshot for a date","operationId":"get_cash_balance_api_transactions_cash_balance__get","parameters":[{"name":"target_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/cash/balance":{"get":{"tags":["Transactions"],"summary":"Get Cash Balance","description":"Get cash balance snapshot for a date","operationId":"get_cash_balance_api_transactions_cash_balance_get","parameters":[{"name":"target_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/audit/":{"get":{"tags":["Transactions"],"summary":"Get Zbon Consistency Audit","description":"Return a read-only consistency report for all archived Z-Bons.","operationId":"get_zbon_consistency_audit_api_transactions_zbon_audit__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transactions/zbon/audit":{"get":{"tags":["Transactions"],"summary":"Get Zbon Consistency Audit","description":"Return a read-only consistency report for all archived Z-Bons.","operationId":"get_zbon_consistency_audit_api_transactions_zbon_audit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transactions/zbon/history/":{"get":{"tags":["Transactions"],"summary":"Get Zbon History","description":"Get Z-Bon history with optional date filtering\n\nQuery parameters:\n- page: Page number (default 1)\n- page_size: Items per page (default 20, max 100)\n- start_date: Filter from date (YYYY-MM-DD)\n- end_date: Filter to date (YYYY-MM-DD)","operationId":"get_zbon_history_api_transactions_zbon_history__get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"start_date","in":"query","required":false,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonHistoryListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/history":{"get":{"tags":["Transactions"],"summary":"Get Zbon History","description":"Get Z-Bon history with optional date filtering\n\nQuery parameters:\n- page: Page number (default 1)\n- page_size: Items per page (default 20, max 100)\n- start_date: Filter from date (YYYY-MM-DD)\n- end_date: Filter to date (YYYY-MM-DD)","operationId":"get_zbon_history_api_transactions_zbon_history_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"start_date","in":"query","required":false,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonHistoryListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/history/{sequence_number}/":{"get":{"tags":["Transactions"],"summary":"Get Zbon History Detail","description":"Get Z-Bon history detail by sequence number","operationId":"get_zbon_history_detail_api_transactions_zbon_history__sequence_number___get","parameters":[{"name":"sequence_number","in":"path","required":true,"schema":{"type":"integer","title":"Sequence Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/history/{sequence_number}":{"get":{"tags":["Transactions"],"summary":"Get Zbon History Detail","description":"Get Z-Bon history detail by sequence number","operationId":"get_zbon_history_detail_api_transactions_zbon_history__sequence_number__get","parameters":[{"name":"sequence_number","in":"path","required":true,"schema":{"type":"integer","title":"Sequence Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZBonHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/history/{sequence_number}/html/":{"get":{"tags":["Transactions"],"summary":"Get Zbon History Html","description":"Return archived Z-Bon content as HTML/text.","operationId":"get_zbon_history_html_api_transactions_zbon_history__sequence_number__html__get","parameters":[{"name":"sequence_number","in":"path","required":true,"schema":{"type":"integer","title":"Sequence Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/history/{sequence_number}/html":{"get":{"tags":["Transactions"],"summary":"Get Zbon History Html","description":"Return archived Z-Bon content as HTML/text.","operationId":"get_zbon_history_html_api_transactions_zbon_history__sequence_number__html_get","parameters":[{"name":"sequence_number","in":"path","required":true,"schema":{"type":"integer","title":"Sequence Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/history/{sequence_number}/pdf/":{"get":{"tags":["Transactions"],"summary":"Get Zbon History Pdf","description":"Render archived Z-Bon content as PDF when PDF export is available.","operationId":"get_zbon_history_pdf_api_transactions_zbon_history__sequence_number__pdf__get","parameters":[{"name":"sequence_number","in":"path","required":true,"schema":{"type":"integer","title":"Sequence Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/zbon/history/{sequence_number}/pdf":{"get":{"tags":["Transactions"],"summary":"Get Zbon History Pdf","description":"Render archived Z-Bon content as PDF when PDF export is available.","operationId":"get_zbon_history_pdf_api_transactions_zbon_history__sequence_number__pdf_get","parameters":[{"name":"sequence_number","in":"path","required":true,"schema":{"type":"integer","title":"Sequence Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/gift/":{"post":{"tags":["Admin - Vouchers"],"summary":"Create Gift Voucher","description":"Create a gift voucher (no payment, loss recording on redemption)","operationId":"create_gift_voucher_api_admin_vouchers_gift__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherCreateGift"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/gift":{"post":{"tags":["Admin - Vouchers"],"summary":"Create Gift Voucher","description":"Create a gift voucher (no payment, loss recording on redemption)","operationId":"create_gift_voucher_api_admin_vouchers_gift_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherCreateGift"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/prepaid/":{"post":{"tags":["Admin - Vouchers"],"summary":"Create Prepaid Voucher","description":"Create one or more prepaid vouchers (sold later in the register).","operationId":"create_prepaid_voucher_api_admin_vouchers_prepaid__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherCreatePrepaid"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherBatchCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/prepaid":{"post":{"tags":["Admin - Vouchers"],"summary":"Create Prepaid Voucher","description":"Create one or more prepaid vouchers (sold later in the register).","operationId":"create_prepaid_voucher_api_admin_vouchers_prepaid_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherCreatePrepaid"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherBatchCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers":{"get":{"tags":["Admin - Vouchers"],"summary":"List Vouchers","description":"List vouchers with optional filtering","operationId":"list_vouchers_api_admin_vouchers_get","parameters":[{"name":"status_filter","in":"query","required":false,"schema":{"type":"string","description":"CREATED or REDEEMED","title":"Status Filter"},"description":"CREATED or REDEEMED"},{"name":"type_filter","in":"query","required":false,"schema":{"type":"string","description":"GIFT or PREPAID","title":"Type Filter"},"description":"GIFT or PREPAID"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/":{"get":{"tags":["Admin - Vouchers"],"summary":"List Vouchers","description":"List vouchers with optional filtering","operationId":"list_vouchers_api_admin_vouchers__get","parameters":[{"name":"status_filter","in":"query","required":false,"schema":{"type":"string","description":"CREATED or REDEEMED","title":"Status Filter"},"description":"CREATED or REDEEMED"},{"name":"type_filter","in":"query","required":false,"schema":{"type":"string","description":"GIFT or PREPAID","title":"Type Filter"},"description":"GIFT or PREPAID"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/export.csv":{"get":{"tags":["Admin - Vouchers"],"summary":"Export Vouchers Csv","description":"Export the complete current filter, independent of table pagination.","operationId":"export_vouchers_csv_api_admin_vouchers_export_csv_get","parameters":[{"name":"status_filter","in":"query","required":false,"schema":{"type":"string","title":"Status Filter"}},{"name":"type_filter","in":"query","required":false,"schema":{"type":"string","title":"Type Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/club-account/":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Club Account","operationId":"get_club_account_api_admin_vouchers_club_account__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/vouchers/club-account":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Club Account","operationId":"get_club_account_api_admin_vouchers_club_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/vouchers/material-account/":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Material Account","operationId":"get_material_account_api_admin_vouchers_material_account__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/vouchers/material-account":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Material Account","operationId":"get_material_account_api_admin_vouchers_material_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/vouchers/material-transactions/":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Material Transactions","operationId":"get_material_transactions_api_admin_vouchers_material_transactions__get","parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"entry_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(SALE|STORNO)$"},{"type":"null"}],"title":"Entry Type"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date To"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/material-transactions":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Material Transactions","operationId":"get_material_transactions_api_admin_vouchers_material_transactions_get","parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"entry_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(SALE|STORNO)$"},{"type":"null"}],"title":"Entry Type"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date To"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/club-account/topup/":{"post":{"tags":["Admin - Vouchers"],"summary":"Top Up Club Account","operationId":"top_up_club_account_api_admin_vouchers_club_account_topup__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClubAccountTopUpRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/club-account/topup":{"post":{"tags":["Admin - Vouchers"],"summary":"Top Up Club Account","operationId":"top_up_club_account_api_admin_vouchers_club_account_topup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClubAccountTopUpRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/{voucher_id}/":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Voucher Detail","description":"Get voucher details by ID","operationId":"get_voucher_detail_api_admin_vouchers__voucher_id___get","parameters":[{"name":"voucher_id","in":"path","required":true,"schema":{"type":"integer","title":"Voucher Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Admin - Vouchers"],"summary":"Update Voucher","description":"Update editable voucher fields before redemption.","operationId":"update_voucher_api_admin_vouchers__voucher_id___put","parameters":[{"name":"voucher_id","in":"path","required":true,"schema":{"type":"integer","title":"Voucher Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/{voucher_id}":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Voucher Detail","description":"Get voucher details by ID","operationId":"get_voucher_detail_api_admin_vouchers__voucher_id__get","parameters":[{"name":"voucher_id","in":"path","required":true,"schema":{"type":"integer","title":"Voucher Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Admin - Vouchers"],"summary":"Update Voucher","description":"Update editable voucher fields before redemption.","operationId":"update_voucher_api_admin_vouchers__voucher_id__put","parameters":[{"name":"voucher_id","in":"path","required":true,"schema":{"type":"integer","title":"Voucher Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/by-number/{voucher_number}/":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Voucher By Number","description":"Get voucher details by voucher number (e.g., V-001)","operationId":"get_voucher_by_number_api_admin_vouchers_by_number__voucher_number___get","parameters":[{"name":"voucher_number","in":"path","required":true,"schema":{"type":"string","title":"Voucher Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vouchers/by-number/{voucher_number}":{"get":{"tags":["Admin - Vouchers"],"summary":"Get Voucher By Number","description":"Get voucher details by voucher number (e.g., V-001)","operationId":"get_voucher_by_number_api_admin_vouchers_by_number__voucher_number__get","parameters":[{"name":"voucher_number","in":"path","required":true,"schema":{"type":"string","title":"Voucher Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/voucher/validate/":{"post":{"tags":["Kasse - Voucher"],"summary":"Validate Voucher","description":"Validate a voucher before redemption (displays info + validity)","operationId":"validate_voucher_api_transactions_voucher_validate__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherValidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherValidationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/voucher/validate":{"post":{"tags":["Kasse - Voucher"],"summary":"Validate Voucher","description":"Validate a voucher before redemption (displays info + validity)","operationId":"validate_voucher_api_transactions_voucher_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherValidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherValidationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/voucher/redeem/":{"post":{"tags":["Kasse - Voucher"],"summary":"Redeem Voucher","description":"Redeem a voucher\n\n- GIFT voucher: Creates a negative transaction (loss recording), value becomes 0 in balance\n- PREPAID voucher: Creates a null-amount transaction (0 cents), but logs payment method for audit","operationId":"redeem_voucher_api_transactions_voucher_redeem__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherRedeemRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherRedeemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transactions/voucher/redeem":{"post":{"tags":["Kasse - Voucher"],"summary":"Redeem Voucher","description":"Redeem a voucher\n\n- GIFT voucher: Creates a negative transaction (loss recording), value becomes 0 in balance\n- PREPAID voucher: Creates a null-amount transaction (0 cents), but logs payment method for audit","operationId":"redeem_voucher_api_transactions_voucher_redeem_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherRedeemRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherRedeemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/public/":{"get":{"tags":["App Settings"],"summary":"Get Public App Settings","operationId":"get_public_app_settings_api_app_settings_public__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAppSettingsResponse"}}}}}}},"/api/app-settings/public":{"get":{"tags":["App Settings"],"summary":"Get Public App Settings","operationId":"get_public_app_settings_api_app_settings_public_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAppSettingsResponse"}}}}}}},"/api/app-settings":{"get":{"tags":["App Settings"],"summary":"Get App Settings","operationId":"get_app_settings_api_app_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsResponse"}}}}}},"put":{"tags":["App Settings"],"summary":"Update App Settings","operationId":"update_app_settings_api_app_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/":{"get":{"tags":["App Settings"],"summary":"Get App Settings","operationId":"get_app_settings_api_app_settings__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsResponse"}}}}}},"put":{"tags":["App Settings"],"summary":"Update App Settings","operationId":"update_app_settings_api_app_settings__put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/email/test-connection/":{"post":{"tags":["App Settings"],"summary":"Test Email Connection","operationId":"test_email_connection_api_app_settings_email_test_connection__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailConnectionTestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/email/test-connection":{"post":{"tags":["App Settings"],"summary":"Test Email Connection","operationId":"test_email_connection_api_app_settings_email_test_connection_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailConnectionTestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/email/send-test/":{"post":{"tags":["App Settings"],"summary":"Send Test Email","operationId":"send_test_email_api_app_settings_email_send_test__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailSendTestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/email/send-test":{"post":{"tags":["App Settings"],"summary":"Send Test Email","operationId":"send_test_email_api_app_settings_email_send_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailSendTestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/logo/":{"get":{"tags":["App Settings"],"summary":"Get Logo File","operationId":"get_logo_file_api_app_settings_logo__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["App Settings"],"summary":"Upload App Logo","operationId":"upload_app_logo_api_app_settings_logo__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_app_logo_api_app_settings_logo__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/logo":{"get":{"tags":["App Settings"],"summary":"Get Logo File","operationId":"get_logo_file_api_app_settings_logo_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["App Settings"],"summary":"Upload App Logo","operationId":"upload_app_logo_api_app_settings_logo_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_app_logo_api_app_settings_logo_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/kasse-products-background/":{"get":{"tags":["App Settings"],"summary":"Get Kasse Products Background File","operationId":"get_kasse_products_background_file_api_app_settings_kasse_products_background__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["App Settings"],"summary":"Upload Kasse Products Background","operationId":"upload_kasse_products_background_api_app_settings_kasse_products_background__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_kasse_products_background_api_app_settings_kasse_products_background__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/kasse-products-background":{"get":{"tags":["App Settings"],"summary":"Get Kasse Products Background File","operationId":"get_kasse_products_background_file_api_app_settings_kasse_products_background_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["App Settings"],"summary":"Upload Kasse Products Background","operationId":"upload_kasse_products_background_api_app_settings_kasse_products_background_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_kasse_products_background_api_app_settings_kasse_products_background_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app-settings/donation-banner/":{"get":{"tags":["App Settings"],"summary":"Get Donation Banner File","operationId":"get_donation_banner_file_api_app_settings_donation_banner__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/donation-banner":{"get":{"tags":["App Settings"],"summary":"Get Donation Banner File","operationId":"get_donation_banner_file_api_app_settings_donation_banner_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/donation-qr/":{"get":{"tags":["App Settings"],"summary":"Get Donation Qr File","operationId":"get_donation_qr_file_api_app_settings_donation_qr__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/donation-qr":{"get":{"tags":["App Settings"],"summary":"Get Donation Qr File","operationId":"get_donation_qr_file_api_app_settings_donation_qr_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/favicon.png/":{"get":{"tags":["App Settings"],"summary":"Get Favicon File","operationId":"get_favicon_file_api_app_settings_favicon_png__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/favicon.png":{"get":{"tags":["App Settings"],"summary":"Get Favicon File","operationId":"get_favicon_file_api_app_settings_favicon_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/favicon.ico/":{"get":{"tags":["App Settings"],"summary":"Get Favicon Ico File","operationId":"get_favicon_ico_file_api_app_settings_favicon_ico__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/favicon.ico":{"get":{"tags":["App Settings"],"summary":"Get Favicon Ico File","operationId":"get_favicon_ico_file_api_app_settings_favicon_ico_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/favicon-16x16.png/":{"get":{"tags":["App Settings"],"summary":"Get Favicon 16 File","operationId":"get_favicon_16_file_api_app_settings_favicon_16x16_png__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/favicon-16x16.png":{"get":{"tags":["App Settings"],"summary":"Get Favicon 16 File","operationId":"get_favicon_16_file_api_app_settings_favicon_16x16_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/favicon-32x32.png/":{"get":{"tags":["App Settings"],"summary":"Get Favicon 32 File","operationId":"get_favicon_32_file_api_app_settings_favicon_32x32_png__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/favicon-32x32.png":{"get":{"tags":["App Settings"],"summary":"Get Favicon 32 File","operationId":"get_favicon_32_file_api_app_settings_favicon_32x32_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/apple-touch-icon.png/":{"get":{"tags":["App Settings"],"summary":"Get Apple Touch Icon File","operationId":"get_apple_touch_icon_file_api_app_settings_apple_touch_icon_png__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/apple-touch-icon.png":{"get":{"tags":["App Settings"],"summary":"Get Apple Touch Icon File","operationId":"get_apple_touch_icon_file_api_app_settings_apple_touch_icon_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/icon-192.png/":{"get":{"tags":["App Settings"],"summary":"Get Icon 192 File","operationId":"get_icon_192_file_api_app_settings_icon_192_png__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/icon-192.png":{"get":{"tags":["App Settings"],"summary":"Get Icon 192 File","operationId":"get_icon_192_file_api_app_settings_icon_192_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/icon-512.png/":{"get":{"tags":["App Settings"],"summary":"Get Icon 512 File","operationId":"get_icon_512_file_api_app_settings_icon_512_png__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/icon-512.png":{"get":{"tags":["App Settings"],"summary":"Get Icon 512 File","operationId":"get_icon_512_file_api_app_settings_icon_512_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/manifest.webmanifest/":{"get":{"tags":["App Settings"],"summary":"Get Manifest","operationId":"get_manifest_api_app_settings_manifest_webmanifest__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/app-settings/manifest.webmanifest":{"get":{"tags":["App Settings"],"summary":"Get Manifest","operationId":"get_manifest_api_app_settings_manifest_webmanifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/data-maintenance/stats/":{"get":{"tags":["Admin - Data Maintenance"],"summary":"Get Stats","operationId":"get_stats_api_admin_data_maintenance_stats__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/data-maintenance/stats":{"get":{"tags":["Admin - Data Maintenance"],"summary":"Get Stats","operationId":"get_stats_api_admin_data_maintenance_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/data-maintenance/hard-reset/":{"post":{"tags":["Admin - Data Maintenance"],"summary":"Hard Reset","operationId":"hard_reset_api_admin_data_maintenance_hard_reset__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HardResetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/data-maintenance/hard-reset":{"post":{"tags":["Admin - Data Maintenance"],"summary":"Hard Reset","operationId":"hard_reset_api_admin_data_maintenance_hard_reset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HardResetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/data-maintenance/database-backup/export/":{"post":{"tags":["Admin - Data Maintenance"],"summary":"Export Database Backup","operationId":"export_database_backup_api_admin_data_maintenance_database_backup_export__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/data-maintenance/database-backup/export":{"post":{"tags":["Admin - Data Maintenance"],"summary":"Export Database Backup","operationId":"export_database_backup_api_admin_data_maintenance_database_backup_export_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/data-maintenance/database-backup/restore/":{"post":{"tags":["Admin - Data Maintenance"],"summary":"Restore Database Backup","operationId":"restore_database_backup_api_admin_data_maintenance_database_backup_restore__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_restore_database_backup_api_admin_data_maintenance_database_backup_restore__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/data-maintenance/database-backup/restore":{"post":{"tags":["Admin - Data Maintenance"],"summary":"Restore Database Backup","operationId":"restore_database_backup_api_admin_data_maintenance_database_backup_restore_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_restore_database_backup_api_admin_data_maintenance_database_backup_restore_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/import-export/export/":{"post":{"tags":["Admin - Import/Export"],"summary":"Export Data","operationId":"export_data_api_admin_import_export_export__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/import-export/export":{"post":{"tags":["Admin - Import/Export"],"summary":"Export Data","operationId":"export_data_api_admin_import_export_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/import-export/analyze/":{"post":{"tags":["Admin - Import/Export"],"summary":"Analyze Import","operationId":"analyze_import_api_admin_import_export_analyze__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_analyze_import_api_admin_import_export_analyze__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/import-export/analyze":{"post":{"tags":["Admin - Import/Export"],"summary":"Analyze Import","operationId":"analyze_import_api_admin_import_export_analyze_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_analyze_import_api_admin_import_export_analyze_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/import-export/import/":{"post":{"tags":["Admin - Import/Export"],"summary":"Import Data","description":"Apply a fresh conflict check, data, media and audit as one operation.","operationId":"import_data_api_admin_import_export_import__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_data_api_admin_import_export_import__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/import-export/import":{"post":{"tags":["Admin - Import/Export"],"summary":"Import Data","description":"Apply a fresh conflict check, data, media and audit as one operation.","operationId":"import_data_api_admin_import_export_import_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_data_api_admin_import_export_import_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/audit-log/":{"get":{"tags":["Audit Log"],"summary":"Get Audit Log","description":"Return audit log entries (top admin only), newest first.","operationId":"get_audit_log_api_admin_audit_log__get","parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/audit-log":{"get":{"tags":["Audit Log"],"summary":"Get Audit Log","description":"Return audit log entries (top admin only), newest first.","operationId":"get_audit_log_api_admin_audit_log_get","parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hardware-agent/status/":{"get":{"tags":["Hardware Agent"],"summary":"Get Hardware Status","operationId":"get_hardware_status_api_hardware_agent_status__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/hardware-agent/status":{"get":{"tags":["Hardware Agent"],"summary":"Get Hardware Status","operationId":"get_hardware_status_api_hardware_agent_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/hardware-agent/download-installer/":{"get":{"tags":["Hardware Agent"],"summary":"Download Installer","operationId":"download_installer_api_hardware_agent_download_installer__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/hardware-agent/download-installer":{"get":{"tags":["Hardware Agent"],"summary":"Download Installer","operationId":"download_installer_api_hardware_agent_download_installer_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/hardware-agent/download-installer-file/{filename}/":{"get":{"tags":["Hardware Agent"],"summary":"Download Installer File","operationId":"download_installer_file_api_hardware_agent_download_installer_file__filename___get","parameters":[{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hardware-agent/download-installer-file/{filename}":{"get":{"tags":["Hardware Agent"],"summary":"Download Installer File","operationId":"download_installer_file_api_hardware_agent_download_installer_file__filename__get","parameters":[{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hardware-agent/service-action/":{"post":{"tags":["Hardware Agent"],"summary":"Execute Service Action","operationId":"execute_service_action_api_hardware_agent_service_action__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceActionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hardware-agent/service-action":{"post":{"tags":["Hardware Agent"],"summary":"Execute Service Action","operationId":"execute_service_action_api_hardware_agent_service_action_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceActionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hardware-agent/install/":{"post":{"tags":["Hardware Agent"],"summary":"Install Hardware Agent","operationId":"install_hardware_agent_api_hardware_agent_install__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/hardware-agent/install":{"post":{"tags":["Hardware Agent"],"summary":"Install Hardware Agent","operationId":"install_hardware_agent_api_hardware_agent_install_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/hardware-agent/open-drawer/":{"post":{"tags":["Hardware Agent"],"summary":"Open Cash Drawer","operationId":"open_cash_drawer_api_hardware_agent_open_drawer__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrawerOpenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hardware-agent/open-drawer":{"post":{"tags":["Hardware Agent"],"summary":"Open Cash Drawer","operationId":"open_cash_drawer_api_hardware_agent_open_drawer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrawerOpenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/guest-list/entries/":{"post":{"tags":["Guest List"],"summary":"Create Guest List Entries","description":"Create one or more guest list entries.","operationId":"create_guest_list_entries_api_guest_list_entries__post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestListEntryBatchCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GuestListEntryResponse"},"title":"Response Create Guest List Entries Api Guest List Entries  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Guest List"],"summary":"List Guest List Entries","description":"List guest list entries grouped by product.","operationId":"list_guest_list_entries_api_guest_list_entries__get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Product Id"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GuestListByProductResponse"},"title":"Response List Guest List Entries Api Guest List Entries  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/guest-list/entries":{"post":{"tags":["Guest List"],"summary":"Create Guest List Entries","description":"Create one or more guest list entries.","operationId":"create_guest_list_entries_api_guest_list_entries_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestListEntryBatchCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GuestListEntryResponse"},"title":"Response Create Guest List Entries Api Guest List Entries Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Guest List"],"summary":"List Guest List Entries","description":"List guest list entries grouped by product.","operationId":"list_guest_list_entries_api_guest_list_entries_get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Product Id"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GuestListByProductResponse"},"title":"Response List Guest List Entries Api Guest List Entries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/guest-list/entries-page/":{"get":{"tags":["Guest List"],"summary":"List Guest List Entries Page","description":"Return one filtered guest-list page without transferring the full history.","operationId":"list_guest_list_entries_page_api_guest_list_entries_page__get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Product Id"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date To"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestListPageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/guest-list/entries-page":{"get":{"tags":["Guest List"],"summary":"List Guest List Entries Page","description":"Return one filtered guest-list page without transferring the full history.","operationId":"list_guest_list_entries_page_api_guest_list_entries_page_get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Product Id"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date To"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestListPageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/guest-list/products/":{"get":{"tags":["Guest List"],"summary":"List Guest List Products","operationId":"list_guest_list_products_api_guest_list_products__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GuestListProductResponse"},"type":"array","title":"Response List Guest List Products Api Guest List Products  Get"}}}}}}},"/api/guest-list/products":{"get":{"tags":["Guest List"],"summary":"List Guest List Products","operationId":"list_guest_list_products_api_guest_list_products_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GuestListProductResponse"},"type":"array","title":"Response List Guest List Products Api Guest List Products Get"}}}}}}},"/api/guest-list/guests/":{"get":{"tags":["Guest List"],"summary":"List Known Guests","description":"Return distinct guest names for autocomplete dropdown.","operationId":"list_known_guests_api_guest_list_guests__get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KnownGuestResponse"},"title":"Response List Known Guests Api Guest List Guests  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/guest-list/guests":{"get":{"tags":["Guest List"],"summary":"List Known Guests","description":"Return distinct guest names for autocomplete dropdown.","operationId":"list_known_guests_api_guest_list_guests_get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KnownGuestResponse"},"title":"Response List Known Guests Api Guest List Guests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/health/":{"get":{"summary":"Health","operationId":"health_api_health__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Serve Root","operationId":"serve_root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/{path_name}":{"get":{"summary":"Serve Spa","operationId":"serve_spa__path_name__get","parameters":[{"name":"path_name","in":"path","required":true,"schema":{"type":"string","title":"Path Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AppSettingsResponse":{"properties":{"app_name":{"type":"string","maxLength":120,"minLength":1,"title":"App Name"},"background_color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$","title":"Background Color"},"banner_color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$","title":"Banner Color"},"highlight_color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$","title":"Highlight Color"},"kasse_area_background_color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$","title":"Kasse Area Background Color"},"kasse_layout":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kasse Layout"},"session_timer_enabled":{"type":"boolean","title":"Session Timer Enabled","default":false},"session_timer_minutes":{"type":"integer","maximum":1440.0,"minimum":1.0,"title":"Session Timer Minutes","default":15},"kasse_direct_login_enabled":{"type":"boolean","title":"Kasse Direct Login Enabled","default":true},"deckel_enabled":{"type":"boolean","title":"Deckel Enabled","default":true},"guest_list_enabled":{"type":"boolean","title":"Guest List Enabled","default":true},"kasse_products_background_scale":{"type":"integer","maximum":300.0,"minimum":10.0,"title":"Kasse Products Background Scale","default":100},"kasse_products_background_opacity":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Kasse Products Background Opacity","default":100},"kasse_products_background_enabled":{"type":"boolean","title":"Kasse Products Background Enabled","default":true},"business_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Business Name"},"business_street":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Business Street"},"business_zip":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Business Zip"},"business_city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Business City"},"business_phone":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Business Phone"},"business_email":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Business Email"},"business_tax_number":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Business Tax Number"},"business_registration_number":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Business Registration Number"},"email_enabled":{"type":"boolean","title":"Email Enabled","default":false},"email_sender":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Email Sender"},"email_recipient_zbon":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Email Recipient Zbon"},"email_recipient_stock":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Email Recipient Stock"},"email_recipient_backup":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Email Recipient Backup"},"email_subject_suffix":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email Subject Suffix"},"email_subject_zbon_info":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email Subject Zbon Info"},"email_subject_stock_info":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email Subject Stock Info"},"email_subject_backup_info":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email Subject Backup Info"},"email_critical_stock_enabled":{"type":"boolean","title":"Email Critical Stock Enabled","default":false},"smtp_host":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Smtp Host"},"smtp_port":{"type":"integer","maximum":65535.0,"minimum":1.0,"title":"Smtp Port","default":587},"smtp_username":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Smtp Username"},"smtp_password":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Smtp Password"},"smtp_use_tls":{"type":"boolean","title":"Smtp Use Tls","default":true},"send_zbon_on_create_enabled":{"type":"boolean","title":"Send Zbon On Create Enabled","default":false},"scheduled_zbon_enabled":{"type":"boolean","title":"Scheduled Zbon Enabled","default":false},"scheduled_zbon_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","title":"Scheduled Zbon Time","default":"23:59"},"scheduled_zbon_report_type":{"type":"string","pattern":"^(full-zbon|short-zbon|daily-report)$","title":"Scheduled Zbon Report Type","default":"full-zbon"},"scheduled_stock_warning_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","title":"Scheduled Stock Warning Time","default":"09:00"},"scheduled_database_backup_enabled":{"type":"boolean","title":"Scheduled Database Backup Enabled","default":false},"scheduled_database_backup_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","title":"Scheduled Database Backup Time","default":"03:00"},"id":{"type":"integer","title":"Id"},"logo_url":{"type":"string","title":"Logo Url"},"kasse_products_background_url":{"type":"string","title":"Kasse Products Background Url"},"favicon_ico_url":{"type":"string","title":"Favicon Ico Url"},"favicon_16_url":{"type":"string","title":"Favicon 16 Url"},"favicon_32_url":{"type":"string","title":"Favicon 32 Url"},"favicon_url":{"type":"string","title":"Favicon Url"},"apple_touch_icon_url":{"type":"string","title":"Apple Touch Icon Url"},"icon_192_url":{"type":"string","title":"Icon 192 Url"},"icon_512_url":{"type":"string","title":"Icon 512 Url"},"manifest_url":{"type":"string","title":"Manifest Url"},"asset_version":{"type":"string","title":"Asset Version"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"zbon_last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Zbon Last Run At"},"zbon_last_run_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zbon Last Run Status"},"zbon_last_run_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zbon Last Run Message"},"zbon_last_business_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zbon Last Business Date"},"stock_last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stock Last Run At"},"stock_last_run_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stock Last Run Status"},"stock_last_run_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stock Last Run Message"}},"type":"object","required":["app_name","background_color","banner_color","highlight_color","kasse_area_background_color","id","logo_url","kasse_products_background_url","favicon_ico_url","favicon_16_url","favicon_32_url","favicon_url","apple_touch_icon_url","icon_192_url","icon_512_url","manifest_url","asset_version","created_at","updated_at"],"title":"AppSettingsResponse"},"AppSettingsUpdate":{"properties":{"app_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"App Name"},"background_color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Background Color"},"banner_color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Banner Color"},"highlight_color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Highlight Color"},"kasse_area_background_color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"null"}],"title":"Kasse Area Background Color"},"kasse_layout":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kasse Layout"},"session_timer_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Session Timer Enabled"},"session_timer_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":1.0},{"type":"null"}],"title":"Session Timer Minutes"},"kasse_direct_login_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Kasse Direct Login Enabled"},"deckel_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Deckel Enabled"},"guest_list_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Guest List Enabled"},"kasse_products_background_scale":{"anyOf":[{"type":"integer","maximum":300.0,"minimum":10.0},{"type":"null"}],"title":"Kasse Products Background Scale"},"kasse_products_background_opacity":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Kasse Products Background Opacity"},"kasse_products_background_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Kasse Products Background Enabled"},"business_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Business Name"},"business_street":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Business Street"},"business_zip":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Business Zip"},"business_city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Business City"},"business_phone":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Business Phone"},"business_email":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Business Email"},"business_tax_number":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Business Tax Number"},"business_registration_number":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Business Registration Number"},"email_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email Enabled"},"email_sender":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Email Sender"},"email_recipient_zbon":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Email Recipient Zbon"},"email_recipient_stock":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Email Recipient Stock"},"email_recipient_backup":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Email Recipient Backup"},"email_subject_suffix":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email Subject Suffix"},"email_subject_zbon_info":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email Subject Zbon Info"},"email_subject_stock_info":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email Subject Stock Info"},"email_subject_backup_info":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email Subject Backup Info"},"email_critical_stock_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email Critical Stock Enabled"},"smtp_host":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Smtp Host"},"smtp_port":{"anyOf":[{"type":"integer","maximum":65535.0,"minimum":1.0},{"type":"null"}],"title":"Smtp Port"},"smtp_username":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Smtp Username"},"smtp_password":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Smtp Password"},"smtp_use_tls":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Smtp Use Tls"},"send_zbon_on_create_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Send Zbon On Create Enabled"},"scheduled_zbon_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Scheduled Zbon Enabled"},"scheduled_zbon_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},{"type":"null"}],"title":"Scheduled Zbon Time"},"scheduled_zbon_report_type":{"anyOf":[{"type":"string","pattern":"^(full-zbon|short-zbon|daily-report)$"},{"type":"null"}],"title":"Scheduled Zbon Report Type"},"scheduled_stock_warning_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},{"type":"null"}],"title":"Scheduled Stock Warning Time"},"scheduled_database_backup_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Scheduled Database Backup Enabled"},"scheduled_database_backup_time":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},{"type":"null"}],"title":"Scheduled Database Backup Time"}},"type":"object","title":"AppSettingsUpdate"},"Body_analyze_import_api_admin_import_export_analyze__post":{"properties":{"data_file":{"type":"string","format":"binary","title":"Data File"},"media_file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Media File"},"source_mode":{"type":"string","title":"Source Mode","default":"foreign"},"selected_sections":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Sections"},"replace_sections":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replace Sections"}},"type":"object","required":["data_file"],"title":"Body_analyze_import_api_admin_import_export_analyze__post"},"Body_analyze_import_api_admin_import_export_analyze_post":{"properties":{"data_file":{"type":"string","format":"binary","title":"Data File"},"media_file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Media File"},"source_mode":{"type":"string","title":"Source Mode","default":"foreign"},"selected_sections":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Sections"},"replace_sections":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replace Sections"}},"type":"object","required":["data_file"],"title":"Body_analyze_import_api_admin_import_export_analyze_post"},"Body_import_data_api_admin_import_export_import__post":{"properties":{"data_file":{"type":"string","format":"binary","title":"Data File"},"media_file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Media File"},"selected_sections":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Sections"},"replace_sections":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replace Sections"},"import_media":{"type":"boolean","title":"Import Media","default":false},"source_mode":{"type":"string","title":"Source Mode","default":"foreign"},"acknowledge_initial_values":{"type":"boolean","title":"Acknowledge Initial Values","default":false}},"type":"object","required":["data_file"],"title":"Body_import_data_api_admin_import_export_import__post"},"Body_import_data_api_admin_import_export_import_post":{"properties":{"data_file":{"type":"string","format":"binary","title":"Data File"},"media_file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Media File"},"selected_sections":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Sections"},"replace_sections":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replace Sections"},"import_media":{"type":"boolean","title":"Import Media","default":false},"source_mode":{"type":"string","title":"Source Mode","default":"foreign"},"acknowledge_initial_values":{"type":"boolean","title":"Acknowledge Initial Values","default":false}},"type":"object","required":["data_file"],"title":"Body_import_data_api_admin_import_export_import_post"},"Body_restore_database_backup_api_admin_data_maintenance_database_backup_restore__post":{"properties":{"auth_password":{"type":"string","title":"Auth Password"},"backup_file":{"type":"string","format":"binary","title":"Backup File"}},"type":"object","required":["auth_password","backup_file"],"title":"Body_restore_database_backup_api_admin_data_maintenance_database_backup_restore__post"},"Body_restore_database_backup_api_admin_data_maintenance_database_backup_restore_post":{"properties":{"auth_password":{"type":"string","title":"Auth Password"},"backup_file":{"type":"string","format":"binary","title":"Backup File"}},"type":"object","required":["auth_password","backup_file"],"title":"Body_restore_database_backup_api_admin_data_maintenance_database_backup_restore_post"},"Body_upload_app_logo_api_app_settings_logo__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_app_logo_api_app_settings_logo__post"},"Body_upload_app_logo_api_app_settings_logo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_app_logo_api_app_settings_logo_post"},"Body_upload_kasse_products_background_api_app_settings_kasse_products_background__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_kasse_products_background_api_app_settings_kasse_products_background__post"},"Body_upload_kasse_products_background_api_app_settings_kasse_products_background_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_kasse_products_background_api_app_settings_kasse_products_background_post"},"Body_upload_member_original_photo_api_members__member_id__original_photo__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_member_original_photo_api_members__member_id__original_photo__post"},"Body_upload_member_original_photo_api_members__member_id__original_photo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_member_original_photo_api_members__member_id__original_photo_post"},"Body_upload_member_photo_api_members__member_id__photo__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_member_photo_api_members__member_id__photo__post"},"Body_upload_member_photo_api_members__member_id__photo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_member_photo_api_members__member_id__photo_post"},"Body_upload_product_image_api_products__product_id__image__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_product_image_api_products__product_id__image__post"},"Body_upload_product_image_api_products__product_id__image_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_product_image_api_products__product_id__image_post"},"Body_upload_product_original_image_api_products__product_id__original_image__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_product_original_image_api_products__product_id__original_image__post"},"Body_upload_product_original_image_api_products__product_id__original_image_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_product_original_image_api_products__product_id__original_image_post"},"CashCountRequest":{"properties":{"coins":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Coins"},"notes":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Notes"}},"additionalProperties":false,"type":"object","title":"CashCountRequest"},"CashDepositRequest":{"properties":{"amount_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Amount Cents"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["amount_cents","reason"],"title":"CashDepositRequest"},"CashWithdrawalRequest":{"properties":{"amount_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Amount Cents"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["amount_cents","reason"],"title":"CashWithdrawalRequest"},"CategoryCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"},"color":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Color"},"is_active_in_kasse":{"type":"boolean","title":"Is Active In Kasse","default":true},"display_order":{"type":"integer","maximum":2147483647.0,"minimum":-2147483648.0,"title":"Display Order","default":0}},"type":"object","required":["name"],"title":"CategoryCreate"},"CategoryInfo":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"CategoryInfo"},"CategoryResponse":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"},"color":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Color"},"is_active_in_kasse":{"type":"boolean","title":"Is Active In Kasse","default":true},"display_order":{"type":"integer","maximum":2147483647.0,"minimum":-2147483648.0,"title":"Display Order","default":0},"id":{"type":"integer","title":"Id"},"is_fixed":{"type":"boolean","title":"Is Fixed","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["name","id","created_at","updated_at"],"title":"CategoryResponse"},"CategoryUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"},"color":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Color"},"is_active_in_kasse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active In Kasse"},"display_order":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":-2147483648.0},{"type":"null"}],"title":"Display Order"}},"type":"object","title":"CategoryUpdate"},"ClubAccountTopUpRequest":{"properties":{"amount_cents":{"type":"integer","minimum":1.0,"title":"Amount Cents"},"auth_username":{"anyOf":[{"type":"string","maxLength":50,"minLength":1},{"type":"null"}],"title":"Auth Username"},"auth_password":{"type":"string","minLength":1,"title":"Auth Password"}},"type":"object","required":["amount_cents","auth_password"],"title":"ClubAccountTopUpRequest"},"DeckelBookPayload":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DeckelItemPayload"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","title":"DeckelBookPayload"},"DeckelCreatePayload":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"items":{"items":{"$ref":"#/components/schemas/DeckelItemPayload"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","required":["name"],"title":"DeckelCreatePayload"},"DeckelItemPayload":{"properties":{"product_id":{"type":"integer","title":"Product Id"},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity"},"unit_price_cents":{"type":"integer","minimum":0.0,"title":"Unit Price Cents"},"is_internal_material":{"type":"boolean","title":"Is Internal Material","default":false},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["product_id","quantity","unit_price_cents"],"title":"DeckelItemPayload"},"DeckelPaymentPayload":{"properties":{"cash_received_cents":{"type":"integer","minimum":0.0,"title":"Cash Received Cents"},"tip_cents":{"type":"integer","minimum":0.0,"title":"Tip Cents","default":0}},"type":"object","required":["cash_received_cents"],"title":"DeckelPaymentPayload"},"DrawerOpenRequest":{"properties":{"auth_password":{"type":"string","minLength":1,"title":"Auth Password"},"target":{"type":"string","pattern":"^(main|small_parts)$","title":"Target","default":"main"}},"type":"object","required":["auth_password"],"title":"DrawerOpenRequest"},"EmailConnectionTestRequest":{"properties":{"email_sender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Sender"},"smtp_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smtp Host"},"smtp_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Smtp Port"},"smtp_username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smtp Username"},"smtp_password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smtp Password"},"smtp_use_tls":{"type":"boolean","title":"Smtp Use Tls","default":true}},"type":"object","title":"EmailConnectionTestRequest"},"EmailSendTestRequest":{"properties":{"email_sender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Sender"},"smtp_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smtp Host"},"smtp_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Smtp Port"},"smtp_username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smtp Username"},"smtp_password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smtp Password"},"smtp_use_tls":{"type":"boolean","title":"Smtp Use Tls","default":true},"recipient":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient"}},"type":"object","title":"EmailSendTestRequest"},"ExportRequest":{"properties":{"sections":{"items":{"type":"string"},"type":"array","title":"Sections"},"include_media":{"type":"boolean","title":"Include Media","default":false}},"type":"object","required":["sections"],"title":"ExportRequest"},"GuestListByProductResponse":{"properties":{"product_id":{"type":"integer","title":"Product Id"},"product_name":{"type":"string","title":"Product Name"},"entries":{"items":{"$ref":"#/components/schemas/GuestListEntryResponse"},"type":"array","title":"Entries"}},"type":"object","required":["product_id","product_name","entries"],"title":"GuestListByProductResponse"},"GuestListEntryBatchCreate":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/GuestListEntryCreate"},"type":"array","title":"Entries"}},"type":"object","required":["entries"],"title":"GuestListEntryBatchCreate"},"GuestListEntryCreate":{"properties":{"product_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Product Id"},"member_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Id"},"guest_name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Guest Name"},"guest_first_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Guest First Name"},"guest_last_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Guest Last Name"},"transaction_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Transaction Id"}},"type":"object","required":["product_id"],"title":"GuestListEntryCreate"},"GuestListEntryResponse":{"properties":{"id":{"type":"integer","title":"Id"},"product_id":{"type":"integer","title":"Product Id"},"product_name":{"type":"string","title":"Product Name"},"member_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Id"},"member_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Member Name"},"guest_name":{"type":"string","title":"Guest Name"},"guest_first_name":{"type":"string","title":"Guest First Name"},"guest_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Last Name"},"transaction_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Transaction Id"},"transaction_item_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Transaction Item Id"},"receipt_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Receipt Number"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","product_id","product_name","guest_name","guest_first_name","created_at"],"title":"GuestListEntryResponse"},"GuestListPageResponse":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/GuestListEntryResponse"},"type":"array","title":"Entries"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["entries","total","page","page_size","total_pages"],"title":"GuestListPageResponse"},"GuestListProductResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"GuestListProductResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HardResetRequest":{"properties":{"auth_password":{"type":"string","minLength":1,"title":"Auth Password"},"confirmation_text":{"type":"string","minLength":1,"title":"Confirmation Text"}},"type":"object","required":["auth_password","confirmation_text"],"title":"HardResetRequest"},"KnownGuestResponse":{"properties":{"guest_name":{"type":"string","title":"Guest Name"},"guest_first_name":{"type":"string","title":"Guest First Name"},"guest_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Last Name"},"short_display_name":{"type":"string","title":"Short Display Name"}},"type":"object","required":["guest_name","guest_first_name","short_display_name"],"title":"KnownGuestResponse"},"LoginRequest":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"type":"object","required":["username","password"],"title":"LoginRequest"},"LoginResponse":{"properties":{"id":{"type":"integer","title":"Id"},"username":{"type":"string","title":"Username"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"role":{"type":"string","title":"Role"},"message":{"type":"string","title":"Message","default":"Login successful"},"top_admin_reset_available":{"type":"boolean","title":"Top Admin Reset Available","default":false}},"type":"object","required":["id","username","email","role"],"title":"LoginResponse"},"MemberBalanceCorrectionLogResponse":{"properties":{"id":{"type":"integer","title":"Id"},"member_id":{"type":"integer","title":"Member Id"},"member_name":{"type":"string","title":"Member Name"},"old_balance_cents":{"type":"integer","title":"Old Balance Cents"},"new_balance_cents":{"type":"integer","title":"New Balance Cents"},"change_cents":{"type":"integer","title":"Change Cents"},"executed_by_username":{"type":"string","title":"Executed By Username"},"reason":{"type":"string","title":"Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","member_id","member_name","old_balance_cents","new_balance_cents","change_cents","executed_by_username","reason","created_at"],"title":"MemberBalanceCorrectionLogResponse"},"MemberBalanceCorrectionRequest":{"properties":{"new_balance_cents":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"New Balance Cents"},"reason":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reason"}},"type":"object","required":["new_balance_cents"],"title":"MemberBalanceCorrectionRequest"},"MemberCreate":{"properties":{"first_name":{"type":"string","maxLength":80,"minLength":1,"title":"First Name"},"last_name":{"type":"string","maxLength":80,"minLength":1,"title":"Last Name"},"membership_number":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Membership Number"},"email":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Phone"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"has_discount":{"type":"boolean","title":"Has Discount","default":true},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"account_password":{"anyOf":[{"type":"string","minLength":8},{"type":"null"}],"title":"Account Password"}},"type":"object","required":["first_name","last_name"],"title":"MemberCreate"},"MemberRechargeRequest":{"properties":{"amount_cents":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Amount Cents"},"auth_password":{"type":"string","title":"Auth Password"}},"type":"object","required":["amount_cents","auth_password"],"title":"MemberRechargeRequest"},"MemberRechargeResponse":{"properties":{"first_name":{"type":"string","maxLength":80,"minLength":1,"title":"First Name"},"last_name":{"type":"string","maxLength":80,"title":"Last Name","default":""},"membership_number":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Membership Number"},"email":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Phone"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"has_discount":{"type":"boolean","title":"Has Discount","default":true},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"id":{"type":"integer","title":"Id"},"member_number":{"type":"integer","title":"Member Number"},"name":{"type":"string","title":"Name"},"balance_cents":{"type":"integer","title":"Balance Cents"},"photo_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Path"},"account_username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Username"},"has_user_account":{"type":"boolean","title":"Has User Account","default":false},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"user_account_active":{"type":"boolean","title":"User Account Active","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"drawer_targets":{"items":{"type":"string"},"type":"array","title":"Drawer Targets"}},"type":"object","required":["first_name","id","member_number","name","balance_cents","created_at","updated_at"],"title":"MemberRechargeResponse"},"MemberResponse":{"properties":{"first_name":{"type":"string","maxLength":80,"minLength":1,"title":"First Name"},"last_name":{"type":"string","maxLength":80,"title":"Last Name","default":""},"membership_number":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Membership Number"},"email":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Phone"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"has_discount":{"type":"boolean","title":"Has Discount","default":true},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"id":{"type":"integer","title":"Id"},"member_number":{"type":"integer","title":"Member Number"},"name":{"type":"string","title":"Name"},"balance_cents":{"type":"integer","title":"Balance Cents"},"photo_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Path"},"account_username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Username"},"has_user_account":{"type":"boolean","title":"Has User Account","default":false},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"user_account_active":{"type":"boolean","title":"User Account Active","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["first_name","id","member_number","name","balance_cents","created_at","updated_at"],"title":"MemberResponse"},"MemberSelectionResponse":{"properties":{"id":{"type":"integer","title":"Id"},"member_number":{"type":"integer","title":"Member Number"},"membership_number":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Membership Number"},"name":{"type":"string","title":"Name"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"photo_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Path"},"has_discount":{"type":"boolean","title":"Has Discount"},"balance_cents":{"type":"integer","title":"Balance Cents"}},"type":"object","required":["id","member_number","name","first_name","last_name","has_discount","balance_cents"],"title":"MemberSelectionResponse","description":"Only the fields needed to select and charge a member at checkout."},"MemberUpdate":{"properties":{"first_name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Last Name"},"membership_number":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Membership Number"},"email":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Phone"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"has_discount":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Discount"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"account_password":{"anyOf":[{"type":"string","minLength":8},{"type":"null"}],"title":"Account Password"}},"type":"object","title":"MemberUpdate"},"PasswordResetConfirmRequest":{"properties":{"token":{"type":"string","minLength":10,"title":"Token"},"new_password":{"type":"string","minLength":8,"title":"New Password"}},"type":"object","required":["token","new_password"],"title":"PasswordResetConfirmRequest","description":"Schritt 2: neues Passwort mit dem per E-Mail erhaltenen Token setzen."},"PasswordResetRequestRequest":{"properties":{"email":{"type":"string","maxLength":120,"minLength":3,"title":"Email"}},"type":"object","required":["email"],"title":"PasswordResetRequestRequest","description":"Schritt 1 des TopAdmin-Self-Service-Resets: hinterlegte E-Mail bestätigen."},"PendingWithdrawalRequest":{"properties":{"amount_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Amount Cents"},"reason":{"type":"string","minLength":1,"title":"Reason"}},"type":"object","required":["amount_cents","reason"],"title":"PendingWithdrawalRequest"},"ProductCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"},"warengruppe":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Warengruppe"},"price_cents":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Price Cents"},"member_price_cents":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Member Price Cents"},"is_discountable":{"type":"boolean","title":"Is Discountable","default":true},"stock_quantity":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Stock Quantity","default":0},"minimum_stock_quantity":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Minimum Stock Quantity","default":0},"notify_on_low_stock":{"type":"boolean","title":"Notify On Low Stock","default":false},"is_unlimited_stock":{"type":"boolean","title":"Is Unlimited Stock","default":false},"is_variable_price":{"type":"boolean","title":"Is Variable Price","default":false},"is_visible_in_kasse":{"type":"boolean","title":"Is Visible In Kasse","default":true},"requires_guest_list":{"type":"boolean","title":"Requires Guest List","default":false},"opens_small_parts_drawer":{"type":"boolean","title":"Opens Small Parts Drawer","default":false}},"type":"object","required":["name","price_cents"],"title":"ProductCreate"},"ProductMutationResponse":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"},"warengruppe":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Warengruppe"},"price_cents":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Price Cents"},"member_price_cents":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Member Price Cents"},"is_discountable":{"type":"boolean","title":"Is Discountable","default":true},"stock_quantity":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Stock Quantity","default":0},"minimum_stock_quantity":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Minimum Stock Quantity","default":0},"notify_on_low_stock":{"type":"boolean","title":"Notify On Low Stock","default":false},"is_unlimited_stock":{"type":"boolean","title":"Is Unlimited Stock","default":false},"is_variable_price":{"type":"boolean","title":"Is Variable Price","default":false},"is_visible_in_kasse":{"type":"boolean","title":"Is Visible In Kasse","default":true},"requires_guest_list":{"type":"boolean","title":"Requires Guest List","default":false},"opens_small_parts_drawer":{"type":"boolean","title":"Opens Small Parts Drawer","default":false},"id":{"type":"integer","title":"Id"},"is_active":{"type":"boolean","title":"Is Active"},"image_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Path"},"categories":{"items":{"$ref":"#/components/schemas/CategoryInfo"},"type":"array","title":"Categories","default":[]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"drawer_targets":{"items":{"type":"string"},"type":"array","title":"Drawer Targets"}},"type":"object","required":["name","price_cents","id","is_active","created_at","updated_at"],"title":"ProductMutationResponse"},"ProductResponse":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"},"warengruppe":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Warengruppe"},"price_cents":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Price Cents"},"member_price_cents":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Member Price Cents"},"is_discountable":{"type":"boolean","title":"Is Discountable","default":true},"stock_quantity":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Stock Quantity","default":0},"minimum_stock_quantity":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Minimum Stock Quantity","default":0},"notify_on_low_stock":{"type":"boolean","title":"Notify On Low Stock","default":false},"is_unlimited_stock":{"type":"boolean","title":"Is Unlimited Stock","default":false},"is_variable_price":{"type":"boolean","title":"Is Variable Price","default":false},"is_visible_in_kasse":{"type":"boolean","title":"Is Visible In Kasse","default":true},"requires_guest_list":{"type":"boolean","title":"Requires Guest List","default":false},"opens_small_parts_drawer":{"type":"boolean","title":"Opens Small Parts Drawer","default":false},"id":{"type":"integer","title":"Id"},"is_active":{"type":"boolean","title":"Is Active"},"image_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Path"},"categories":{"items":{"$ref":"#/components/schemas/CategoryInfo"},"type":"array","title":"Categories","default":[]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["name","price_cents","id","is_active","created_at","updated_at"],"title":"ProductResponse"},"ProductStockCorrectionLogResponse":{"properties":{"id":{"type":"integer","title":"Id"},"product_id":{"type":"integer","title":"Product Id"},"product_name":{"type":"string","title":"Product Name"},"old_stock_quantity":{"type":"integer","title":"Old Stock Quantity"},"new_stock_quantity":{"type":"integer","title":"New Stock Quantity"},"change_quantity":{"type":"integer","title":"Change Quantity"},"executed_by_username":{"type":"string","title":"Executed By Username"},"reason":{"type":"string","title":"Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","product_id","product_name","old_stock_quantity","new_stock_quantity","change_quantity","executed_by_username","reason","created_at"],"title":"ProductStockCorrectionLogResponse"},"ProductStockCorrectionRequest":{"properties":{"new_stock_quantity":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"New Stock Quantity"},"reason":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reason"},"open_small_parts_drawer":{"type":"boolean","title":"Open Small Parts Drawer","default":false}},"type":"object","required":["new_stock_quantity"],"title":"ProductStockCorrectionRequest"},"ProductUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"},"warengruppe":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Warengruppe"},"price_cents":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Price Cents"},"member_price_cents":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Member Price Cents"},"is_discountable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Discountable"},"minimum_stock_quantity":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Minimum Stock Quantity"},"notify_on_low_stock":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify On Low Stock"},"is_unlimited_stock":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Unlimited Stock"},"is_variable_price":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Variable Price"},"is_visible_in_kasse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Visible In Kasse"},"requires_guest_list":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Requires Guest List"},"opens_small_parts_drawer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Opens Small Parts Drawer"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"ProductUpdate"},"PublicAppSettingsResponse":{"properties":{"app_name":{"type":"string","title":"App Name"},"background_color":{"type":"string","title":"Background Color"},"banner_color":{"type":"string","title":"Banner Color"},"highlight_color":{"type":"string","title":"Highlight Color"},"kasse_area_background_color":{"type":"string","title":"Kasse Area Background Color"},"logo_url":{"type":"string","title":"Logo Url"},"kasse_products_background_url":{"type":"string","title":"Kasse Products Background Url"},"favicon_ico_url":{"type":"string","title":"Favicon Ico Url"},"favicon_16_url":{"type":"string","title":"Favicon 16 Url"},"favicon_32_url":{"type":"string","title":"Favicon 32 Url"},"favicon_url":{"type":"string","title":"Favicon Url"},"apple_touch_icon_url":{"type":"string","title":"Apple Touch Icon Url"},"icon_192_url":{"type":"string","title":"Icon 192 Url"},"icon_512_url":{"type":"string","title":"Icon 512 Url"},"manifest_url":{"type":"string","title":"Manifest Url"},"asset_version":{"type":"string","title":"Asset Version"},"kasse_layout":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kasse Layout"},"session_timer_enabled":{"type":"boolean","title":"Session Timer Enabled","default":false},"session_timer_minutes":{"type":"integer","title":"Session Timer Minutes","default":15},"kasse_direct_login_enabled":{"type":"boolean","title":"Kasse Direct Login Enabled","default":true},"deckel_enabled":{"type":"boolean","title":"Deckel Enabled","default":true},"guest_list_enabled":{"type":"boolean","title":"Guest List Enabled","default":true},"kasse_products_background_scale":{"type":"integer","title":"Kasse Products Background Scale","default":100},"kasse_products_background_opacity":{"type":"integer","title":"Kasse Products Background Opacity","default":100},"kasse_products_background_enabled":{"type":"boolean","title":"Kasse Products Background Enabled","default":true},"send_zbon_on_create_enabled":{"type":"boolean","title":"Send Zbon On Create Enabled","default":false}},"type":"object","required":["app_name","background_color","banner_color","highlight_color","kasse_area_background_color","logo_url","kasse_products_background_url","favicon_ico_url","favicon_16_url","favicon_32_url","favicon_url","apple_touch_icon_url","icon_192_url","icon_512_url","manifest_url","asset_version"],"title":"PublicAppSettingsResponse"},"SaleGuest":{"properties":{"member_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Member Id"},"guest_first_name":{"type":"string","maxLength":120,"minLength":1,"title":"Guest First Name"},"guest_last_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Guest Last Name"}},"additionalProperties":false,"type":"object","required":["guest_first_name"],"title":"SaleGuest"},"ServiceActionRequest":{"properties":{"action":{"type":"string","minLength":1,"title":"Action"}},"type":"object","required":["action"],"title":"ServiceActionRequest"},"SetupStatusResponse":{"properties":{"setup_required":{"type":"boolean","title":"Setup Required"},"top_admin_exists":{"type":"boolean","title":"Top Admin Exists"},"top_admin_reset_email_channel_configured":{"type":"boolean","title":"Top Admin Reset Email Channel Configured","default":false}},"type":"object","required":["setup_required","top_admin_exists"],"title":"SetupStatusResponse"},"TopAdminSetupRequest":{"properties":{"username":{"type":"string","maxLength":50,"minLength":3,"title":"Username"},"password":{"type":"string","minLength":8,"title":"Password"},"email":{"type":"string","maxLength":120,"minLength":3,"title":"Email"}},"type":"object","required":["username","password","email"],"title":"TopAdminSetupRequest"},"TransactionCreate":{"properties":{"payment_method":{"type":"string","enum":["CASH","BALANCE"],"title":"Payment Method"},"user_id":{"type":"integer","title":"User Id"},"member_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Id"},"items":{"items":{"$ref":"#/components/schemas/TransactionItemCreate"},"type":"array","title":"Items"},"voucher_redemptions":{"items":{"$ref":"#/components/schemas/VoucherRedemptionData"},"type":"array","title":"Voucher Redemptions"},"balance_discount_cents":{"type":"integer","minimum":0.0,"title":"Balance Discount Cents","default":0},"tip_cents":{"type":"integer","minimum":0.0,"title":"Tip Cents","default":0},"cash_received_cents":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Cash Received Cents"},"expected_total_amount_cents":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Total Amount Cents"},"expected_member_balance_cents":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Member Balance Cents"},"trigger_cash_drawer":{"type":"boolean","title":"Trigger Cash Drawer","default":false}},"type":"object","required":["payment_method","user_id","items"],"title":"TransactionCreate"},"TransactionItemCreate":{"properties":{"product_id":{"type":"integer","title":"Product Id"},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity"},"unit_price_cents":{"type":"integer","minimum":0.0,"title":"Unit Price Cents"},"is_internal_material":{"type":"boolean","title":"Is Internal Material","default":false},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"},"guests":{"items":{"$ref":"#/components/schemas/SaleGuest"},"type":"array","title":"Guests"}},"additionalProperties":false,"type":"object","required":["product_id","quantity","unit_price_cents"],"title":"TransactionItemCreate"},"TransactionItemResponse":{"properties":{"product_id":{"type":"integer","title":"Product Id"},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity"},"unit_price_cents":{"type":"integer","minimum":0.0,"title":"Unit Price Cents"},"is_internal_material":{"type":"boolean","title":"Is Internal Material","default":false},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"},"product_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Name"},"product_group_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Group Name"},"category_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Name"},"tax_rate_snapshot":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate Snapshot"},"snapshot_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Snapshot Version"},"id":{"type":"integer","title":"Id"},"total_price_cents":{"type":"integer","title":"Total Price Cents"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["product_id","quantity","unit_price_cents","id","total_price_cents","created_at"],"title":"TransactionItemResponse"},"TransactionResponse":{"properties":{"id":{"type":"integer","title":"Id"},"receipt_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Receipt Number"},"type":{"type":"string","title":"Type"},"payment_method":{"type":"string","title":"Payment Method"},"total_amount_cents":{"type":"integer","title":"Total Amount Cents"},"user_id":{"type":"integer","title":"User Id"},"member_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Id"},"voucher_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voucher Code"},"voucher_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voucher Type"},"voucher_redemptions":{"items":{"$ref":"#/components/schemas/VoucherRedemptionResponse"},"type":"array","title":"Voucher Redemptions"},"voucher_applied_cents":{"type":"integer","title":"Voucher Applied Cents","default":0},"balance_applied_cents":{"type":"integer","title":"Balance Applied Cents","default":0},"tip_cents":{"type":"integer","title":"Tip Cents","default":0},"cash_received_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cash Received Cents"},"change_given_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Change Given Cents"},"open_small_parts_drawer":{"type":"boolean","title":"Open Small Parts Drawer","default":false},"drawer_targets":{"items":{"type":"string","enum":["main","small_parts"]},"type":"array","title":"Drawer Targets"},"items":{"items":{"$ref":"#/components/schemas/TransactionItemResponse"},"type":"array","title":"Items"},"issued_prepaid_voucher_numbers":{"items":{"type":"string"},"type":"array","title":"Issued Prepaid Voucher Numbers"},"next_unissued_prepaid_voucher_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Unissued Prepaid Voucher Number"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","type","payment_method","total_amount_cents","user_id","items","created_at","updated_at"],"title":"TransactionResponse"},"TransactionStornoCreate":{"properties":{"transaction_id":{"type":"integer","title":"Transaction Id"}},"type":"object","required":["transaction_id"],"title":"TransactionStornoCreate"},"UserCreate":{"properties":{"username":{"type":"string","maxLength":50,"minLength":3,"title":"Username"},"email":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email"},"role":{"type":"string","title":"Role","default":"VERKAUF"},"password":{"type":"string","minLength":8,"title":"Password"}},"type":"object","required":["username","password"],"title":"UserCreate"},"UserFinanceOptionResponse":{"properties":{"id":{"type":"string","title":"Id"},"username":{"type":"string","title":"Username"},"role":{"type":"string","title":"Role"},"member_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Id"},"source":{"type":"string","title":"Source","default":"user"}},"type":"object","required":["id","username","role"],"title":"UserFinanceOptionResponse"},"UserResponse":{"properties":{"username":{"type":"string","maxLength":50,"minLength":3,"title":"Username"},"email":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Email"},"role":{"type":"string","title":"Role","default":"VERKAUF"},"id":{"type":"integer","title":"Id"},"is_active":{"type":"boolean","title":"Is Active"},"member_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["username","id","is_active","created_at","updated_at"],"title":"UserResponse"},"UserUpdate":{"properties":{"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"}},"additionalProperties":false,"type":"object","title":"UserUpdate"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VoucherBatchCreateResponse":{"properties":{"vouchers":{"items":{"$ref":"#/components/schemas/VoucherResponse"},"type":"array","title":"Vouchers"},"quantity":{"type":"integer","title":"Quantity"},"product_name":{"type":"string","title":"Product Name"},"next_available_voucher_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Available Voucher Number"}},"type":"object","required":["vouchers","quantity","product_name"],"title":"VoucherBatchCreateResponse","description":"Batch response for created prepaid vouchers."},"VoucherCreateGift":{"properties":{"value_cents":{"type":"integer","minimum":1.0,"title":"Value Cents","description":"Value in cents"},"reason":{"type":"string","enum":["DYP_SIEGER","PROMOTION"],"title":"Reason","default":"DYP_SIEGER"},"auth_username":{"anyOf":[{"type":"string","maxLength":50,"minLength":1},{"type":"null"}],"title":"Auth Username"},"auth_password":{"type":"string","minLength":1,"title":"Auth Password"}},"type":"object","required":["value_cents","auth_password"],"title":"VoucherCreateGift","description":"Create a gift voucher"},"VoucherCreatePrepaid":{"properties":{"value_cents":{"type":"integer","minimum":1.0,"title":"Value Cents","description":"Value in cents"},"quantity":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Quantity","default":1},"auth_username":{"anyOf":[{"type":"string","maxLength":50,"minLength":1},{"type":"null"}],"title":"Auth Username"},"auth_password":{"type":"string","minLength":1,"title":"Auth Password"}},"type":"object","required":["value_cents","auth_password"],"title":"VoucherCreatePrepaid","description":"Create a prepaid voucher"},"VoucherListResponse":{"properties":{"vouchers":{"items":{"$ref":"#/components/schemas/VoucherResponse"},"type":"array","title":"Vouchers"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["vouchers","total","page","page_size","total_pages"],"title":"VoucherListResponse","description":"List of vouchers with pagination"},"VoucherRedeemRequest":{"properties":{"voucher_number":{"type":"string","title":"Voucher Number","description":"Voucher number (e.g., V-001)"},"member_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Id"},"cart_total_cents":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Cart Total Cents"}},"type":"object","required":["voucher_number"],"title":"VoucherRedeemRequest","description":"Redeem a voucher"},"VoucherRedeemResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"voucher_number":{"type":"string","title":"Voucher Number"},"voucher_type":{"type":"string","title":"Voucher Type"},"value_cents":{"type":"integer","title":"Value Cents"},"transaction_id":{"type":"integer","title":"Transaction Id"},"message":{"type":"string","title":"Message"},"applied_amount_cents":{"type":"integer","title":"Applied Amount Cents","default":0}},"type":"object","required":["success","voucher_number","voucher_type","value_cents","transaction_id","message"],"title":"VoucherRedeemResponse","description":"Response after redeeming a voucher"},"VoucherRedemptionData":{"properties":{"voucher_number":{"type":"string","title":"Voucher Number"}},"type":"object","required":["voucher_number"],"title":"VoucherRedemptionData"},"VoucherRedemptionResponse":{"properties":{"voucher_id":{"type":"integer","title":"Voucher Id"},"voucher_code":{"type":"string","title":"Voucher Code"},"amount_cents":{"type":"integer","title":"Amount Cents"}},"type":"object","required":["voucher_id","voucher_code","amount_cents"],"title":"VoucherRedemptionResponse"},"VoucherResponse":{"properties":{"id":{"type":"integer","title":"Id"},"voucher_number":{"type":"integer","title":"Voucher Number"},"voucher_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voucher Code"},"voucher_type":{"type":"string","title":"Voucher Type"},"value_cents":{"type":"integer","title":"Value Cents"},"original_value_cents":{"type":"integer","title":"Original Value Cents"},"remaining_value_cents":{"type":"integer","title":"Remaining Value Cents"},"status":{"type":"string","title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_by_user_id":{"type":"integer","title":"Created By User Id"},"created_by_username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By Username"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"sold_by_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sold By User Id"},"sold_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sold At"},"sold_in_transaction_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sold In Transaction Id"},"redeemed_by_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Redeemed By User Id"},"redeemed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Redeemed At"},"redeemed_amount_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Redeemed Amount Cents"}},"type":"object","required":["id","voucher_number","voucher_type","value_cents","original_value_cents","remaining_value_cents","status","created_by_user_id","created_at"],"title":"VoucherResponse","description":"Voucher response model"},"VoucherUpdateRequest":{"properties":{"value_cents":{"type":"integer","minimum":1.0,"title":"Value Cents","description":"Value in cents"},"reason":{"anyOf":[{"type":"string","enum":["DYP_SIEGER","PROMOTION"]},{"type":"null"}],"title":"Reason"},"description":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Description"},"auth_username":{"anyOf":[{"type":"string","maxLength":50,"minLength":1},{"type":"null"}],"title":"Auth Username"},"auth_password":{"type":"string","minLength":1,"title":"Auth Password"}},"type":"object","required":["value_cents","auth_password"],"title":"VoucherUpdateRequest","description":"Editable voucher fields for admin"},"VoucherValidateRequest":{"properties":{"voucher_number":{"type":"string","title":"Voucher Number","description":"Voucher number (e.g., V-001)"},"cart_total_cents":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Cart Total Cents","description":"Current cart total in cents"}},"type":"object","required":["voucher_number"],"title":"VoucherValidateRequest","description":"Validate a voucher before redemption"},"VoucherValidationResponse":{"properties":{"valid":{"type":"boolean","title":"Valid"},"voucher_number":{"type":"string","title":"Voucher Number"},"voucher_type":{"type":"string","title":"Voucher Type"},"value_cents":{"type":"integer","title":"Value Cents"},"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message","default":""},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"applicable_amount_cents":{"type":"integer","title":"Applicable Amount Cents","default":0},"remaining_value_cents":{"type":"integer","title":"Remaining Value Cents","default":0},"covers_cart_total":{"type":"boolean","title":"Covers Cart Total","default":false}},"type":"object","required":["valid","voucher_number","voucher_type","value_cents","status"],"title":"VoucherValidationResponse","description":"Response for voucher validation"},"ZBonCreateRequest":{"properties":{"created_by_id":{"type":"string","pattern":"^(user|member)-[1-9][0-9]*$","title":"Created By Id"},"cash_counted_by_member_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Cash Counted By Member Id"},"cash_count":{"anyOf":[{"$ref":"#/components/schemas/CashCountRequest"},{"type":"null"}]},"cash_count_total":{"type":"number","minimum":0.0,"title":"Cash Count Total"},"pending_withdrawals":{"items":{"$ref":"#/components/schemas/PendingWithdrawalRequest"},"type":"array","title":"Pending Withdrawals"},"difference_reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Difference Reason"},"auth_password":{"type":"string","title":"Auth Password"}},"additionalProperties":false,"type":"object","required":["created_by_id","cash_counted_by_member_id","cash_count_total","auth_password"],"title":"ZBonCreateRequest"},"ZBonEmailRequest":{"properties":{"date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"},"recipient":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient"},"report_type":{"type":"string","title":"Report Type","default":"full-zbon"},"include_cash_count":{"type":"boolean","title":"Include Cash Count","default":false}},"type":"object","title":"ZBonEmailRequest"},"ZBonGenerateRequest":{"properties":{"date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"},"cash_count":{"anyOf":[{"$ref":"#/components/schemas/CashCountRequest"},{"type":"null"}]},"report_type":{"type":"string","title":"Report Type","default":"full-zbon"}},"type":"object","title":"ZBonGenerateRequest"},"ZBonHistoryListResponse":{"properties":{"histories":{"items":{"$ref":"#/components/schemas/ZBonHistoryResponse"},"type":"array","title":"Histories"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["histories","total","page","page_size","total_pages"],"title":"ZBonHistoryListResponse","description":"List of Z-Bon history entries"},"ZBonHistoryResponse":{"properties":{"id":{"type":"integer","title":"Id"},"sequence_number":{"type":"integer","title":"Sequence Number"},"business_date":{"type":"string","format":"date-time","title":"Business Date"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"period_start":{"type":"string","format":"date-time","title":"Period Start"},"period_end":{"type":"string","format":"date-time","title":"Period End"},"gross_revenue_cash":{"type":"number","title":"Gross Revenue Cash"},"gross_revenue_balance":{"type":"number","title":"Gross Revenue Balance"},"gross_revenue_voucher":{"type":"number","title":"Gross Revenue Voucher","default":0.0},"total_revenue":{"type":"number","title":"Total Revenue","default":0.0},"recharge_total":{"type":"number","title":"Recharge Total"},"storno_total":{"type":"number","title":"Storno Total"},"voucher_created_total":{"type":"number","title":"Voucher Created Total","default":0.0},"voucher_redeemed_total":{"type":"number","title":"Voucher Redeemed Total","default":0.0},"voucher_open_total":{"type":"number","title":"Voucher Open Total","default":0.0},"cash_opening_balance":{"type":"number","title":"Cash Opening Balance"},"cash_calculated":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cash Calculated"},"cash_counted":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cash Counted"},"cash_difference":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cash Difference"},"cash_withdrawals":{"type":"number","title":"Cash Withdrawals"},"cash_deposits":{"type":"number","title":"Cash Deposits"},"article_revenue_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Revenue Cents"},"cash_sale_payments_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cash Sale Payments Cents"},"balance_redeemed_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Balance Redeemed Cents"},"voucher_redeemed_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Voucher Redeemed Cents"},"member_recharges_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Recharges Cents"},"club_account_recharges_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Club Account Recharges Cents"},"prepaid_sales_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prepaid Sales Cents"},"tip_donations_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tip Donations Cents"},"cash_opening_balance_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cash Opening Balance Cents"},"cash_deposits_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cash Deposits Cents"},"cash_withdrawals_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cash Withdrawals Cents"},"cash_calculated_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cash Calculated Cents"},"total_revenue_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Revenue Cents"},"transaction_count_sales":{"type":"integer","title":"Transaction Count Sales"},"transaction_count_recharge":{"type":"integer","title":"Transaction Count Recharge"},"transaction_count_storno":{"type":"integer","title":"Transaction Count Storno"},"transaction_count_total":{"type":"integer","title":"Transaction Count Total","default":0},"voucher_created_count":{"type":"integer","title":"Voucher Created Count","default":0},"voucher_redeemed_count":{"type":"integer","title":"Voucher Redeemed Count","default":0},"voucher_open_count":{"type":"integer","title":"Voucher Open Count","default":0},"receipt_number_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Receipt Number Min"},"receipt_number_max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Receipt Number Max"},"report_type":{"type":"string","title":"Report Type","default":"zbon"},"created_by_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By Name"},"skimmed_by_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skimmed By Name"},"cash_counted_by_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cash Counted By Name"},"cash_count_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cash Count Details"},"report_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Data"},"report_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Content"}},"type":"object","required":["id","sequence_number","business_date","generated_at","period_start","period_end","gross_revenue_cash","gross_revenue_balance","recharge_total","storno_total","cash_opening_balance","cash_withdrawals","cash_deposits","transaction_count_sales","transaction_count_recharge","transaction_count_storno"],"title":"ZBonHistoryResponse","description":"Z-Bon History entry response"},"ZBonPreviewEmailRequest":{"properties":{"html_zbon":{"type":"string","title":"Html Zbon"},"recipient":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient"},"report_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Date"},"seq_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seq Number"}},"type":"object","required":["html_zbon"],"title":"ZBonPreviewEmailRequest"},"ZBonPreviewRequest":{"properties":{"created_by_id":{"anyOf":[{"type":"string","pattern":"^(user|member)-[1-9][0-9]*$"},{"type":"null"}],"title":"Created By Id"},"cash_counted_by_member_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Cash Counted By Member Id"},"cash_count":{"anyOf":[{"$ref":"#/components/schemas/CashCountRequest"},{"type":"null"}]},"cash_count_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cash Count Total"},"pending_withdrawals":{"items":{"$ref":"#/components/schemas/PendingWithdrawalRequest"},"type":"array","title":"Pending Withdrawals"}},"additionalProperties":false,"type":"object","title":"ZBonPreviewRequest"}}}}