{"openapi":"3.1.0","info":{"title":"C-TEAM API","version":"0.1.0"},"paths":{"/api/v1/ambassadors":{"get":{"tags":["Ambassadors"],"summary":"List Ambassadors","operationId":"list_ambassadors_api_v1_ambassadors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/ambassadors/candidates":{"get":{"tags":["Ambassadors"],"summary":"List Candidates","operationId":"list_candidates_api_v1_ambassadors_candidates_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ambassadors/{branch_id}/enable":{"post":{"tags":["Ambassadors"],"summary":"Enable Ambassador","operationId":"enable_ambassador_api_v1_ambassadors__branch_id__enable_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnableAmbassadorRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ambassadors/{branch_id}/disable":{"post":{"tags":["Ambassadors"],"summary":"Disable Ambassador","operationId":"disable_ambassador_api_v1_ambassadors__branch_id__disable_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ambassadors/{branch_id}":{"patch":{"tags":["Ambassadors"],"summary":"Update Ambassador","operationId":"update_ambassador_api_v1_ambassadors__branch_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBonusPctRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ambassadors/bonuses":{"get":{"tags":["Ambassadors"],"summary":"List Bonuses","operationId":"list_bonuses_api_v1_ambassadors_bonuses_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ambassadors/bonuses/{bonus_id}":{"patch":{"tags":["Ambassadors"],"summary":"Update Bonus","operationId":"update_bonus_api_v1_ambassadors_bonuses__bonus_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"bonus_id","in":"path","required":true,"schema":{"type":"string","title":"Bonus Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBonusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ambassadors/run-monthly-bonus":{"post":{"tags":["Ambassadors"],"summary":"Run Monthly Bonus","operationId":"run_monthly_bonus_api_v1_ambassadors_run_monthly_bonus_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunBonusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/onboarding/run-lifecycle-emails":{"post":{"tags":["Onboarding"],"summary":"Run Lifecycle Emails","description":"Cron-triggered: send any due onboarding / trial follow-up lifecycle emails.","operationId":"run_lifecycle_emails_api_v1_onboarding_run_lifecycle_emails_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/onboarding/unsubscribe":{"get":{"tags":["Onboarding"],"summary":"Unsubscribe Marketing","description":"Public, one-click opt-out from lifecycle / marketing emails (LQPD Art. 24(2)).\n\nThe token is a signed link embedded in every lifecycle email; no login is\nrequired. Idempotent — re-visiting keeps the branch opted out.","operationId":"unsubscribe_marketing_api_v1_onboarding_unsubscribe_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/branches/{branch_id}/access":{"get":{"tags":["Admin Branches"],"summary":"Get Branch Access","operationId":"get_branch_access_api_v1_admin_branches__branch_id__access_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Admin Branches"],"summary":"Change Branch Access","operationId":"change_branch_access_api_v1_admin_branches__branch_id__access_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchAccessChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/branches/":{"get":{"tags":["Admin Branches"],"summary":"List Branches","operationId":"list_branches_api_v1_admin_branches__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/branches/stripe-sales":{"get":{"tags":["Admin Branches"],"summary":"Stripe Sales","operationId":"stripe_sales_api_v1_admin_branches_stripe_sales_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/branches/{branch_id}/accreditation":{"post":{"tags":["Admin Branches"],"summary":"Decide Branch Accreditation","operationId":"decide_branch_accreditation_api_v1_admin_branches__branch_id__accreditation_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccreditationDecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/branches/{branch_id}/admin-candidates":{"get":{"tags":["Admin Branches"],"summary":"List Branch Admin Candidates","operationId":"list_branch_admin_candidates_api_v1_admin_branches__branch_id__admin_candidates_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/branches/{branch_id}/admin":{"patch":{"tags":["Admin Branches"],"summary":"Update Branch Admin","operationId":"update_branch_admin_api_v1_admin_branches__branch_id__admin_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchAdminUpdateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/branches/{branch_id}":{"delete":{"tags":["Admin Branches"],"summary":"Delete Branch","operationId":"delete_branch_api_v1_admin_branches__branch_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteBranchBody"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/branches/{branch_id}/email-admins":{"post":{"tags":["Admin Branches"],"summary":"Email Branch Admins","operationId":"email_branch_admins_api_v1_admin_branches__branch_id__email_admins_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchAdminEmailBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/bans":{"get":{"tags":["Admin Bans"],"summary":"List Bans","operationId":"list_bans_api_v1_admin_bans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Admin Bans"],"summary":"Add Ban","operationId":"add_ban_api_v1_admin_bans_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BanChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/bans/revoke":{"post":{"tags":["Admin Bans"],"summary":"Revoke Ban","operationId":"revoke_ban_api_v1_admin_bans_revoke_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BanChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/branch-deletions":{"get":{"tags":["Branch Deletions"],"summary":"List Branch Deletions","operationId":"list_branch_deletions_api_v1_admin_branch_deletions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/branch-deletions/{job_id}":{"get":{"tags":["Branch Deletions"],"summary":"Get Branch Deletion","operationId":"get_branch_deletion_api_v1_admin_branch_deletions__job_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/branch-deletions/{job_id}/report.pdf":{"get":{"tags":["Branch Deletions"],"summary":"Get Branch Deletion Report","operationId":"get_branch_deletion_report_api_v1_admin_branch_deletions__job_id__report_pdf_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/branch-deletions/{job_id}/send-report":{"post":{"tags":["Branch Deletions"],"summary":"Send Branch Deletion Report","operationId":"send_branch_deletion_report_api_v1_admin_branch_deletions__job_id__send_report_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendReportConfirmation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branch-deletion-jobs/run":{"post":{"tags":["Branch Deletion Jobs"],"summary":"Run Branch Deletion Jobs","operationId":"run_branch_deletion_jobs_api_v1_branch_deletion_jobs_run_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/stripe-sales":{"get":{"tags":["Admin Analytics"],"summary":"Stripe Sales","operationId":"stripe_sales_api_v1_admin_analytics_stripe_sales_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/analytics/growth-graph":{"get":{"tags":["Admin Analytics"],"summary":"Growth Graph","operationId":"growth_graph_api_v1_admin_analytics_growth_graph_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/analytics/run-weekly-growth-snapshot":{"post":{"tags":["Admin Analytics"],"summary":"Run Weekly Growth Snapshot","operationId":"run_weekly_growth_snapshot_api_v1_admin_analytics_run_weekly_growth_snapshot_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunGrowthSnapshotBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/backfill-weekly-growth-snapshots":{"post":{"tags":["Admin Analytics"],"summary":"Backfill Weekly Growth Snapshots","operationId":"backfill_weekly_growth_snapshots_api_v1_admin_analytics_backfill_weekly_growth_snapshots_post","parameters":[{"name":"weeks","in":"query","required":false,"schema":{"type":"integer","default":52,"title":"Weeks"}},{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/athletes":{"get":{"tags":["Admin Athletes"],"summary":"List Admin Athletes","operationId":"list_admin_athletes_api_v1_admin_athletes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"branch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch Id"}},{"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":50,"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/v1/admin/athletes/messages":{"post":{"tags":["Admin Athletes"],"summary":"Message Admin Athletes","operationId":"message_admin_athletes_api_v1_admin_athletes_messages_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__admin_athletes__AthleteMessageBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/gym-leads/unsubscribe":{"get":{"tags":["Admin Gym Leads"],"summary":"Unsubscribe Gym Lead","operationId":"unsubscribe_gym_lead_api_v1_admin_gym_leads_unsubscribe_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/gym-leads/":{"get":{"tags":["Admin Gym Leads"],"summary":"List Gym Leads","operationId":"list_gym_leads_api_v1_admin_gym_leads__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["new","contacted","converted","lost"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},{"name":"include_unsubscribed","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Unsubscribed"}},{"name":"claimed","in":"query","required":false,"schema":{"enum":["all","claimed","unclaimed"],"type":"string","default":"all","title":"Claimed"}},{"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":200,"minimum":1,"default":100,"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/v1/admin/gym-leads/discovery-runs":{"post":{"tags":["Admin Gym Leads"],"summary":"Create Gym Lead Discovery Run","operationId":"create_gym_lead_discovery_run_api_v1_admin_gym_leads_discovery_runs_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GymLeadDiscoveryRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Admin Gym Leads"],"summary":"List Gym Lead Discovery Runs","operationId":"list_gym_lead_discovery_runs_api_v1_admin_gym_leads_discovery_runs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5,"minimum":1,"default":5,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/gym-leads/invitations/preview":{"post":{"tags":["Admin Gym Leads"],"summary":"Preview Gym Lead Invitations","operationId":"preview_gym_lead_invitations_api_v1_admin_gym_leads_invitations_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GymLeadInvitationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/gym-leads/invitations":{"post":{"tags":["Admin Gym Leads"],"summary":"Send Gym Lead Invitations","operationId":"send_gym_lead_invitations_api_v1_admin_gym_leads_invitations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GymLeadInvitationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/gym-leads/unattached-users":{"get":{"tags":["Admin Gym Leads"],"summary":"List Unattached Authenticated Users","operationId":"list_unattached_authenticated_users_api_v1_admin_gym_leads_unattached_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/gym-leads/unattached-users/{user_id}":{"delete":{"tags":["Admin Gym Leads"],"summary":"Delete Unattached Authenticated User","operationId":"delete_unattached_authenticated_user_api_v1_admin_gym_leads_unattached_users__user_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/gym-leads/unattached-users/{user_id}/followup":{"post":{"tags":["Admin Gym Leads"],"summary":"Send Unattached Authenticated User Followup","operationId":"send_unattached_authenticated_user_followup_api_v1_admin_gym_leads_unattached_users__user_id__followup_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/gym-leads/{lead_id}":{"patch":{"tags":["Admin Gym Leads"],"summary":"Update Gym Lead","operationId":"update_gym_lead_api_v1_admin_gym_leads__lead_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GymLeadUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin Gym Leads"],"summary":"Delete Gym Lead","operationId":"delete_gym_lead_api_v1_admin_gym_leads__lead_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/gym-leads/{lead_id}/outreach":{"post":{"tags":["Admin Gym Leads"],"summary":"Send Gym Lead Outreach","operationId":"send_gym_lead_outreach_api_v1_admin_gym_leads__lead_id__outreach_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GymLeadOutreach"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/gym-leads/{lead_id}/message-athlete":{"post":{"tags":["Admin Gym Leads"],"summary":"Send Gym Lead Athlete Message","operationId":"send_gym_lead_athlete_message_api_v1_admin_gym_leads__lead_id__message_athlete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GymLeadAthleteMessage"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/highlevel/":{"get":{"tags":["Admin HighLevel"],"summary":"List Highlevel Branches","operationId":"list_highlevel_branches_api_v1_admin_highlevel__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/admin/highlevel/{branch_id}":{"patch":{"tags":["Admin HighLevel"],"summary":"Update Highlevel Branch","operationId":"update_highlevel_branch_api_v1_admin_highlevel__branch_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminHighLevelUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin HighLevel"],"summary":"Force Disconnect Highlevel","operationId":"force_disconnect_highlevel_api_v1_admin_highlevel__branch_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/highlevel/{branch_id}/test-sync":{"post":{"tags":["Admin HighLevel"],"summary":"Test Sync Highlevel Branch","operationId":"test_sync_highlevel_branch_api_v1_admin_highlevel__branch_id__test_sync_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/highlevel/{branch_id}/backfill":{"post":{"tags":["Admin HighLevel"],"summary":"Backfill Highlevel Branch","operationId":"backfill_highlevel_branch_api_v1_admin_highlevel__branch_id__backfill_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminHighLevelBackfillRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accreditation/status":{"get":{"tags":["Accreditation"],"summary":"Get Accreditation Status","operationId":"get_accreditation_status_api_v1_accreditation_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accreditation/document":{"post":{"tags":["Accreditation"],"summary":"Submit Accreditation Document","operationId":"submit_accreditation_document_api_v1_accreditation_document_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_submit_accreditation_document_api_v1_accreditation_document_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accreditation/decide":{"get":{"tags":["Accreditation"],"summary":"Decide Accreditation","operationId":"decide_accreditation_api_v1_accreditation_decide_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}},{"name":"action","in":"query","required":true,"schema":{"enum":["approve","decline"],"type":"string","title":"Action"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/agent/chat":{"post":{"tags":["AI Companion"],"summary":"Chat","operationId":"chat_api_v1_agent_chat_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-language","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Language"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__agent__ChatRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/agent/scan":{"post":{"tags":["AI Companion"],"summary":"Scan","operationId":"scan_api_v1_agent_scan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-language","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Language"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/agent/dashboard-scan":{"post":{"tags":["AI Companion"],"summary":"Dashboard Scan","operationId":"dashboard_scan_api_v1_agent_dashboard_scan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-language","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Language"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athlete-goals/chat":{"post":{"tags":["Athlete Goal Agent"],"summary":"Chat","operationId":"chat_api_v1_athlete_goals_chat_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-language","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Language"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__athlete_goals__ChatRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athlete-goals/draft":{"post":{"tags":["Athlete Goal Agent"],"summary":"Draft","operationId":"draft_api_v1_athlete_goals_draft_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-language","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Language"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__athlete_goals__ChatRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athlete-goals/me":{"get":{"tags":["Athlete Goal Agent"],"summary":"Get My Plan","operationId":"get_my_plan_api_v1_athlete_goals_me_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Athlete Goal Agent"],"summary":"Save My Plan","operationId":"save_my_plan_api_v1_athlete_goals_me_put","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalPlanSave"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Athlete Goal Agent"],"summary":"Delete My Plan","operationId":"delete_my_plan_api_v1_athlete_goals_me_delete","security":[{"HTTPBearer":[]}],"responses":{"204":{"description":"Successful Response"}}}},"/api/v1/athletes/me/injuries":{"get":{"tags":["Athlete Injuries"],"summary":"List My Injuries","operationId":"list_my_injuries_api_v1_athletes_me_injuries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Athlete Injuries"],"summary":"Create My Injury","operationId":"create_my_injury_api_v1_athletes_me_injuries_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjuryCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/athletes/me/injuries/{injury_id}":{"patch":{"tags":["Athlete Injuries"],"summary":"Extend My Injury","operationId":"extend_my_injury_api_v1_athletes_me_injuries__injury_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"injury_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Injury Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealingDateUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me/injuries/{injury_id}/resolve":{"post":{"tags":["Athlete Injuries"],"summary":"Resolve My Injury","operationId":"resolve_my_injury_api_v1_athletes_me_injuries__injury_id__resolve_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"injury_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Injury Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me/injuries/{injury_id}/notes":{"post":{"tags":["Athlete Injuries"],"summary":"Add Note To My Injury","operationId":"add_note_to_my_injury_api_v1_athletes_me_injuries__injury_id__notes_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"injury_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Injury Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjuryNoteCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me/injuries/{injury_id}/report":{"post":{"tags":["Athlete Injuries"],"summary":"Upload My Injury Report","operationId":"upload_my_injury_report_api_v1_athletes_me_injuries__injury_id__report_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"injury_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Injury Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_my_injury_report_api_v1_athletes_me_injuries__injury_id__report_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/injuries":{"get":{"tags":["Athlete Injuries"],"summary":"List Athlete Injuries For Staff","operationId":"list_athlete_injuries_for_staff_api_v1_athletes__athlete_id__injuries_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/injuries/{injury_id}/notes":{"post":{"tags":["Athlete Injuries"],"summary":"Staff Note For Athlete Injury","operationId":"staff_note_for_athlete_injury_api_v1_athletes__athlete_id__injuries__injury_id__notes_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}},{"name":"injury_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Injury Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjuryNoteCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/injuries":{"get":{"tags":["Athlete Injuries"],"summary":"List Guardian Kid Injuries","operationId":"list_guardian_kid_injuries_api_v1_guardian_kids__kid_id__injuries_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Athlete Injuries"],"summary":"Create Guardian Kid Injury","operationId":"create_guardian_kid_injury_api_v1_guardian_kids__kid_id__injuries_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjuryCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/injuries/{injury_id}":{"patch":{"tags":["Athlete Injuries"],"summary":"Extend Guardian Kid Injury","operationId":"extend_guardian_kid_injury_api_v1_guardian_kids__kid_id__injuries__injury_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}},{"name":"injury_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Injury Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealingDateUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/injuries/{injury_id}/resolve":{"post":{"tags":["Athlete Injuries"],"summary":"Resolve Guardian Kid Injury","operationId":"resolve_guardian_kid_injury_api_v1_guardian_kids__kid_id__injuries__injury_id__resolve_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}},{"name":"injury_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Injury Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/injuries/{injury_id}/notes":{"post":{"tags":["Athlete Injuries"],"summary":"Add Guardian Kid Injury Note","operationId":"add_guardian_kid_injury_note_api_v1_guardian_kids__kid_id__injuries__injury_id__notes_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}},{"name":"injury_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Injury Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjuryNoteCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/injuries/{injury_id}/report":{"post":{"tags":["Athlete Injuries"],"summary":"Upload Guardian Kid Injury Report","operationId":"upload_guardian_kid_injury_report_api_v1_guardian_kids__kid_id__injuries__injury_id__report_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}},{"name":"injury_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Injury Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_guardian_kid_injury_report_api_v1_guardian_kids__kid_id__injuries__injury_id__report_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athlete-injuries/run-resolution-sweep":{"post":{"tags":["Athlete Injuries"],"summary":"Run Injury Resolution Sweep","operationId":"run_injury_resolution_sweep_api_v1_athlete_injuries_run_resolution_sweep_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/club-financials/graph":{"get":{"tags":["Club Financials"],"summary":"Get Club Financials Graph","operationId":"get_club_financials_graph_api_v1_club_financials_graph_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/club-briefing/run-club-briefings":{"post":{"tags":["Club Briefing Cron"],"summary":"Run Club Briefings","description":"Cron-triggered: email each eligible (Blue/Purple tier or ambassador) branch\nadmin a weekly AI-generated briefing of issues needing attention.","operationId":"run_club_briefings_api_v1_club_briefing_run_club_briefings_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athlete-coaches/{athlete_id}":{"get":{"tags":["Athlete Coaches"],"summary":"List Coaches For Athlete","operationId":"list_coaches_for_athlete_api_v1_athlete_coaches__athlete_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athlete-coaches/":{"post":{"tags":["Athlete Coaches"],"summary":"Assign Coach","operationId":"assign_coach_api_v1_athlete_coaches__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoachAssign"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athlete-coaches/{athlete_id}/{coach_id}":{"delete":{"tags":["Athlete Coaches"],"summary":"Unassign Coach","operationId":"unassign_coach_api_v1_athlete_coaches__athlete_id___coach_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}},{"name":"coach_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Coach Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branch-settings/me":{"get":{"tags":["Branch Settings"],"summary":"Get My Branch Summary","operationId":"get_my_branch_summary_api_v1_branch_settings_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/logo":{"post":{"tags":["Branch Settings"],"summary":"Upload Branch Logo","operationId":"upload_branch_logo_api_v1_branch_settings_logo_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_branch_logo_api_v1_branch_settings_logo_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["Branch Settings"],"summary":"Delete Branch Logo","operationId":"delete_branch_logo_api_v1_branch_settings_logo_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/logo-url":{"get":{"tags":["Branch Settings"],"summary":"Get Branch Logo Url","operationId":"get_branch_logo_url_api_v1_branch_settings_logo_url_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/secondary-logo":{"post":{"tags":["Branch Settings"],"summary":"Upload Secondary Branch Logo","operationId":"upload_secondary_branch_logo_api_v1_branch_settings_secondary_logo_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_secondary_branch_logo_api_v1_branch_settings_secondary_logo_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["Branch Settings"],"summary":"Delete Secondary Branch Logo","operationId":"delete_secondary_branch_logo_api_v1_branch_settings_secondary_logo_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/secondary-logo-url":{"get":{"tags":["Branch Settings"],"summary":"Get Secondary Branch Logo Url","operationId":"get_secondary_branch_logo_url_api_v1_branch_settings_secondary_logo_url_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/recruitment-pdf":{"get":{"tags":["Branch Settings"],"summary":"Download Recruitment Pdf","operationId":"download_recruitment_pdf_api_v1_branch_settings_recruitment_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/branch":{"get":{"tags":["Branch Settings"],"summary":"Get Branch","operationId":"get_branch_api_v1_branch_settings_branch_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["Branch Settings"],"summary":"Delete Branch","operationId":"delete_branch_api_v1_branch_settings_branch_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteBranchBody"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["Branch Settings"],"summary":"Update Branch","operationId":"update_branch_api_v1_branch_settings_branch_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/branch/organization":{"put":{"tags":["Branch Settings"],"summary":"Reassign Branch Organization","operationId":"reassign_branch_organization_api_v1_branch_settings_branch_organization_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationAssignmentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/stripe":{"get":{"tags":["Branch Settings"],"summary":"Get Stripe Config","operationId":"get_stripe_config_api_v1_branch_settings_stripe_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["Branch Settings"],"summary":"Upsert Stripe Config","operationId":"upsert_stripe_config_api_v1_branch_settings_stripe_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeConfigIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/stripe/connect":{"get":{"tags":["Branch Settings"],"summary":"Connect Stripe","operationId":"connect_stripe_api_v1_branch_settings_stripe_connect_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/stripe/account-session":{"post":{"tags":["Branch Settings"],"summary":"Create Stripe Account Session","operationId":"create_stripe_account_session_api_v1_branch_settings_stripe_account_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/stripe/catalog":{"get":{"tags":["Branch Settings"],"summary":"Get Stripe Catalog","operationId":"get_stripe_catalog_api_v1_branch_settings_stripe_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/stripe/connection":{"delete":{"tags":["Branch Settings"],"summary":"Disconnect Stripe Connection","operationId":"disconnect_stripe_connection_api_v1_branch_settings_stripe_connection_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/stripe/{field}":{"delete":{"tags":["Branch Settings"],"summary":"Revoke Stripe Secret","operationId":"revoke_stripe_secret_api_v1_branch_settings_stripe__field__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"field","in":"path","required":true,"schema":{"enum":["secret_key","webhook_secret"],"type":"string","title":"Field"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branch-settings/stripe/account":{"get":{"tags":["Branch Settings"],"summary":"Get Stripe Account","operationId":"get_stripe_account_api_v1_branch_settings_stripe_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/branch-settings/stripe/oauth/callback":{"get":{"tags":["Branch Settings"],"summary":"Stripe Oauth Callback","operationId":"stripe_oauth_callback_api_v1_branch_settings_stripe_oauth_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/platform-subscription/reconcile-member-overages":{"post":{"tags":["Platform Subscription"],"summary":"Reconcile Member Overages","operationId":"reconcile_member_overages_api_v1_platform_subscription_reconcile_member_overages_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/platform-subscription":{"get":{"tags":["Platform Subscription"],"summary":"Get Subscription","operationId":"get_subscription_api_v1_platform_subscription_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/platform-subscription/subscribe":{"post":{"tags":["Platform Subscription"],"summary":"Subscribe","operationId":"subscribe_api_v1_platform_subscription_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__platform_subscription__SubscribeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/platform-subscription/change":{"post":{"tags":["Platform Subscription"],"summary":"Change Tier","operationId":"change_tier_api_v1_platform_subscription_change_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeTierRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/platform-subscription/reconcile":{"post":{"tags":["Platform Subscription"],"summary":"Reconcile","operationId":"reconcile_api_v1_platform_subscription_reconcile_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/platform-subscription/cancel":{"post":{"tags":["Platform Subscription"],"summary":"Cancel","operationId":"cancel_api_v1_platform_subscription_cancel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/public/branches/{branch_slug}/booking-config":{"get":{"tags":["Public Booking"],"summary":"Get Booking Config","operationId":"get_booking_config_api_v1_public_branches__branch_slug__booking_config_get","parameters":[{"name":"branch_slug","in":"path","required":true,"schema":{"type":"string","title":"Branch Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"tags":["Public Booking"],"summary":"Booking Config Options","operationId":"booking_config_options_api_v1_public_branches__branch_slug__booking_config_options","parameters":[{"name":"branch_slug","in":"path","required":true,"schema":{"type":"string","title":"Branch Slug"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/branches/{branch_slug}/check-in-options":{"get":{"tags":["Public Booking"],"summary":"Get Check In Options","operationId":"get_check_in_options_api_v1_public_branches__branch_slug__check_in_options_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_slug","in":"path","required":true,"schema":{"type":"string","title":"Branch Slug"}},{"name":"checkin_token","in":"query","required":true,"schema":{"type":"string","title":"Checkin Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/branches/{branch_slug}/check-in":{"post":{"tags":["Public Booking"],"summary":"Create Branch Check In","operationId":"create_branch_check_in_api_v1_public_branches__branch_slug__check_in_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_slug","in":"path","required":true,"schema":{"type":"string","title":"Branch Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchCheckInCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/branches/{branch_slug}/schedule":{"get":{"tags":["Public Booking"],"summary":"Get Schedule","operationId":"get_schedule_api_v1_public_branches__branch_slug__schedule_get","parameters":[{"name":"branch_slug","in":"path","required":true,"schema":{"type":"string","title":"Branch Slug"}},{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Start"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"tags":["Public Booking"],"summary":"Schedule Options","operationId":"schedule_options_api_v1_public_branches__branch_slug__schedule_options","parameters":[{"name":"branch_slug","in":"path","required":true,"schema":{"type":"string","title":"Branch Slug"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/branches/{branch_slug}/booking-intents":{"post":{"tags":["Public Booking"],"summary":"Create Booking Intent","operationId":"create_booking_intent_api_v1_public_branches__branch_slug__booking_intents_post","parameters":[{"name":"branch_slug","in":"path","required":true,"schema":{"type":"string","title":"Branch Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicBookingIntentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/booking-intents/{intent_id}":{"get":{"tags":["Public Booking"],"summary":"Get Booking Intent","operationId":"get_booking_intent_api_v1_public_booking_intents__intent_id__get","parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/mcp-client-registration/bootstrap":{"get":{"tags":["Public MCP"],"summary":"Mcp Client Registration Bootstrap","description":"Return the safe, client-scoped OAuth bootstrap contract.\n\nThis descriptor is intentionally public and read-only. It tells an MCP\nclient where to discover the protected-resource and authorization-server\nmetadata, and where an operator can request approval. It never creates an\nOAuth client, returns a client secret, or treats a submitted request as\napproved. Client IDs and resource audiences are activated only after\nmanual review in the Supabase OAuth configuration.","operationId":"mcp_client_registration_bootstrap_api_v1_public_mcp_client_registration_bootstrap_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Mcp Client Registration Bootstrap Api V1 Public Mcp Client Registration Bootstrap Get"}}}}}}},"/api/v1/public/mcp-client-registration/profile":{"get":{"tags":["Public MCP"],"summary":"Mcp Client Registration Profile","description":"Return only the consent copy profile for an active, exact client ID.","operationId":"mcp_client_registration_profile_api_v1_public_mcp_client_registration_profile_get","parameters":[{"name":"client_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":300,"title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Mcp Client Registration Profile Api V1 Public Mcp Client Registration Profile Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/mcp-client-registration":{"post":{"tags":["Public MCP"],"summary":"Create Mcp Client Registration Request","operationId":"create_mcp_client_registration_request_api_v1_public_mcp_client_registration_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpClientRegistrationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public-booking-followups/run-attendance-followups":{"post":{"tags":["Public Booking Follow-up Cron"],"summary":"Run Attendance Followups","operationId":"run_attendance_followups_api_v1_public_booking_followups_run_attendance_followups_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me":{"get":{"tags":["Athletes"],"summary":"Get My Profile","operationId":"get_my_profile_api_v1_athletes_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"delete":{"tags":["Athletes"],"summary":"Delete My Account","description":"Right to erasure.\n\nSelf-service deletion is blocked while an active membership is still in\nforce, including open-ended memberships without a recorded end date.\nOtherwise the account is erased, or blocked when financial records must be\nretained for statutory accounting obligations.","operationId":"delete_my_account_api_v1_athletes_me_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"patch":{"tags":["Athletes"],"summary":"Update My Profile","operationId":"update_my_profile_api_v1_athletes_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/profile-summary":{"get":{"tags":["Athletes"],"summary":"Get My Profile Summary","operationId":"get_my_profile_summary_api_v1_athletes_me_profile_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/attendance-history":{"get":{"tags":["Athletes"],"summary":"Get My Attendance History","operationId":"get_my_attendance_history_api_v1_athletes_me_attendance_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/branches":{"get":{"tags":["Athletes"],"summary":"List My Branches","operationId":"list_my_branches_api_v1_athletes_me_branches_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/active-branch":{"post":{"tags":["Athletes"],"summary":"Set Active Branch","operationId":"set_active_branch_api_v1_athletes_me_active_branch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActiveBranchUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/":{"get":{"tags":["Athletes"],"summary":"List Branch Athletes","operationId":"list_branch_athletes_api_v1_athletes__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/club-directory":{"get":{"tags":["Athletes"],"summary":"Get My Club Directory","operationId":"get_my_club_directory_api_v1_athletes_me_club_directory_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"title":"Limit"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me/club-directory/collage":{"get":{"tags":["Athletes"],"summary":"Get My Club Directory Collage","operationId":"get_my_club_directory_collage_api_v1_athletes_me_club_directory_collage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/club-directory/{athlete_id}/competitions":{"get":{"tags":["Athletes"],"summary":"Get Club Directory Competitions","operationId":"get_club_directory_competitions_api_v1_athletes_me_club_directory__athlete_id__competitions_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/messages":{"post":{"tags":["Athletes"],"summary":"Create Athlete Message","operationId":"create_athlete_message_api_v1_athletes_messages_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__athletes__AthleteMessageBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Athletes"],"summary":"List Athlete Messages","operationId":"list_athlete_messages_api_v1_athletes_messages_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending":{"get":{"tags":["Athletes"],"summary":"List Pending Athletes","operationId":"list_pending_athletes_api_v1_athletes_pending_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"delete":{"tags":["Athletes"],"summary":"Delete Pending Athletes","operationId":"delete_pending_athletes_api_v1_athletes_pending_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/pending/{pending_id}/iban":{"patch":{"tags":["Athletes"],"summary":"Update Pending Iban","operationId":"update_pending_iban_api_v1_athletes_pending__pending_id__iban_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"pending_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pending Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingIbanUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending/{pending_id}/billing":{"patch":{"tags":["Athletes"],"summary":"Update Pending Billing","operationId":"update_pending_billing_api_v1_athletes_pending__pending_id__billing_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"pending_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pending Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingBillingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending/{pending_id}/is-kid":{"patch":{"tags":["Athletes"],"summary":"Update Pending Is Kid","operationId":"update_pending_is_kid_api_v1_athletes_pending__pending_id__is_kid_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"pending_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pending Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingIsKidUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending/{pending_id}":{"delete":{"tags":["Athletes"],"summary":"Delete Pending Athlete","operationId":"delete_pending_athlete_api_v1_athletes_pending__pending_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"pending_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pending Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending/{pending_id}/documents":{"get":{"tags":["Athletes"],"summary":"List Pending Documents","operationId":"list_pending_documents_api_v1_athletes_pending__pending_id__documents_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"pending_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pending Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Athletes"],"summary":"Upload Pending Document","operationId":"upload_pending_document_api_v1_athletes_pending__pending_id__documents_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"pending_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pending Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_pending_document_api_v1_athletes_pending__pending_id__documents_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending/{pending_id}/plan":{"patch":{"tags":["Athletes"],"summary":"Assign Pending Plan","operationId":"assign_pending_plan_api_v1_athletes_pending__pending_id__plan_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"pending_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pending Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingPlanAssign"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending/{pending_id}/invite":{"post":{"tags":["Athletes"],"summary":"Invite Pending Athlete","operationId":"invite_pending_athlete_api_v1_athletes_pending__pending_id__invite_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"pending_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pending Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending/invite":{"post":{"tags":["Athletes"],"summary":"Invite Pending Athletes","operationId":"invite_pending_athletes_api_v1_athletes_pending_invite_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/pending/activate":{"post":{"tags":["Athletes"],"summary":"Activate Pending Athletes","operationId":"activate_pending_athletes_api_v1_athletes_pending_activate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/pending/{pending_id}/activate":{"post":{"tags":["Athletes"],"summary":"Activate Pending Athlete","operationId":"activate_pending_athlete_api_v1_athletes_pending__pending_id__activate_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"pending_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pending Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending-self-subscriptions":{"get":{"tags":["Athletes"],"summary":"List Pending Self Subscriptions","operationId":"list_pending_self_subscriptions_api_v1_athletes_pending_self_subscriptions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/pending-self-subscriptions/{athlete_id}/approve":{"post":{"tags":["Athletes"],"summary":"Approve Self Subscription","operationId":"approve_self_subscription_api_v1_athletes_pending_self_subscriptions__athlete_id__approve_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SelfSubscriptionApproval"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending-self-subscriptions/{athlete_id}/approve-with-unpaid-signup-fee":{"post":{"tags":["Athletes"],"summary":"Approve Self Subscription With Unpaid Signup Fee","operationId":"approve_self_subscription_with_unpaid_signup_fee_api_v1_athletes_pending_self_subscriptions__athlete_id__approve_with_unpaid_signup_fee_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/pending-self-subscriptions/{athlete_id}/decline":{"post":{"tags":["Athletes"],"summary":"Decline Self Subscription","operationId":"decline_self_subscription_api_v1_athletes_pending_self_subscriptions__athlete_id__decline_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/competition-photos":{"get":{"tags":["Athletes"],"summary":"List Athlete Competition Photos","operationId":"list_athlete_competition_photos_api_v1_athletes__athlete_id__competition_photos_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}":{"get":{"tags":["Athletes"],"summary":"Get Athlete","operationId":"get_athlete_api_v1_athletes__athlete_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Athletes"],"summary":"Update Athlete As Admin","operationId":"update_athlete_as_admin_api_v1_athletes__athlete_id__patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/tier":{"patch":{"tags":["Athletes"],"summary":"Update Athlete Tier","operationId":"update_athlete_tier_api_v1_athletes__athlete_id__tier_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AthleteTierUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/import-parameters":{"patch":{"tags":["Athletes"],"summary":"Update Athlete Import Parameters","operationId":"update_athlete_import_parameters_api_v1_athletes__athlete_id__import_parameters_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportParametersUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/consent-history.csv":{"get":{"tags":["Athletes"],"summary":"Export Athlete Consent History","operationId":"export_athlete_consent_history_api_v1_athletes__athlete_id__consent_history_csv_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/photo-permissions":{"get":{"tags":["Athletes"],"summary":"Get Athlete Photo Permissions","operationId":"get_athlete_photo_permissions_api_v1_athletes__athlete_id__photo_permissions_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/membership-agreements":{"get":{"tags":["Athletes"],"summary":"List Athlete Membership Agreements","operationId":"list_athlete_membership_agreements_api_v1_athletes__athlete_id__membership_agreements_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/guardians":{"get":{"tags":["Athletes"],"summary":"Get Athlete Guardians","operationId":"get_athlete_guardians_api_v1_athletes__athlete_id__guardians_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/magic-link":{"post":{"tags":["Athletes"],"summary":"Send Magic Link","operationId":"send_magic_link_api_v1_athletes__athlete_id__magic_link_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/convert-to-self-managed":{"post":{"tags":["Athletes"],"summary":"Convert To Self Managed","operationId":"convert_to_self_managed_api_v1_athletes__athlete_id__convert_to_self_managed_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvertToSelfManagedRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/convert-to-guardian":{"post":{"tags":["Athletes"],"summary":"Convert To Guardian","operationId":"convert_to_guardian_api_v1_athletes__athlete_id__convert_to_guardian_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvertToGuardianRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me/weight":{"get":{"tags":["Athletes"],"summary":"Get My Weight History","operationId":"get_my_weight_history_api_v1_athletes_me_weight_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["Athletes"],"summary":"Log Weight","operationId":"log_weight_api_v1_athletes_me_weight_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeightLogCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/{athlete_id}/weight":{"get":{"tags":["Athletes"],"summary":"Get Athlete Weight History","operationId":"get_athlete_weight_history_api_v1_athletes__athlete_id__weight_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/training-stats":{"get":{"tags":["Athletes"],"summary":"Get Athlete Training Stats","operationId":"get_athlete_training_stats_api_v1_athletes__athlete_id__training_stats_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/attendance-history":{"get":{"tags":["Athletes"],"summary":"Get Athlete Attendance History","operationId":"get_athlete_attendance_history_api_v1_athletes__athlete_id__attendance_history_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me/photo":{"post":{"tags":["Athletes"],"summary":"Upload My Photo","operationId":"upload_my_photo_api_v1_athletes_me_photo_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_my_photo_api_v1_athletes_me_photo_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/photo-base64":{"post":{"tags":["Athletes"],"summary":"Upload My Photo Base64","operationId":"upload_my_photo_base64_api_v1_athletes_me_photo_base64_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhotoBase64Upload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/photo-url":{"get":{"tags":["Athletes"],"summary":"Get My Photo Url","operationId":"get_my_photo_url_api_v1_athletes_me_photo_url_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/{athlete_id}/photo-url":{"get":{"tags":["Athletes"],"summary":"Get Athlete Photo Url","operationId":"get_athlete_photo_url_api_v1_athletes__athlete_id__photo_url_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/photo":{"post":{"tags":["Athletes"],"summary":"Upload Athlete Photo As Admin","operationId":"upload_athlete_photo_as_admin_api_v1_athletes__athlete_id__photo_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_athlete_photo_as_admin_api_v1_athletes__athlete_id__photo_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me/billing":{"get":{"tags":["Athletes"],"summary":"Get My Billing","operationId":"get_my_billing_api_v1_athletes_me_billing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"put":{"tags":["Athletes"],"summary":"Update My Billing","operationId":"update_my_billing_api_v1_athletes_me_billing_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingDetailsUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/mandate":{"delete":{"tags":["Athletes"],"summary":"Revoke My Mandate","operationId":"revoke_my_mandate_api_v1_athletes_me_mandate_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/emergency-contact":{"put":{"tags":["Athletes"],"summary":"Update My Emergency Contact","operationId":"update_my_emergency_contact_api_v1_athletes_me_emergency_contact_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmergencyContactUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/{athlete_id}/emergency-contact":{"get":{"tags":["Athletes"],"summary":"Get Athlete Emergency Contact","operationId":"get_athlete_emergency_contact_api_v1_athletes__athlete_id__emergency_contact_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me/medical-docs":{"get":{"tags":["Athletes"],"summary":"List My Medical Docs","operationId":"list_my_medical_docs_api_v1_athletes_me_medical_docs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["Athletes"],"summary":"Upload My Medical Doc","operationId":"upload_my_medical_doc_api_v1_athletes_me_medical_docs_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_my_medical_doc_api_v1_athletes_me_medical_docs_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/me/medical-docs/{doc_id}":{"delete":{"tags":["Athletes"],"summary":"Delete My Medical Doc","operationId":"delete_my_medical_doc_api_v1_athletes_me_medical_docs__doc_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Doc Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/medical-docs":{"get":{"tags":["Athletes"],"summary":"List Athlete Medical Docs","operationId":"list_athlete_medical_docs_api_v1_athletes__athlete_id__medical_docs_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/me/export":{"get":{"tags":["Athletes"],"summary":"Export My Data","description":"Right of access / portability — download all of my personal data as JSON.","operationId":"export_my_data_api_v1_athletes_me_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/import":{"post":{"tags":["Athletes"],"summary":"Import Athletes","operationId":"import_athletes_api_v1_athletes_import_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_athletes_api_v1_athletes_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"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/athletes/purge-pending":{"post":{"tags":["Athletes"],"summary":"Purge Pending Athletes","operationId":"purge_pending_athletes_api_v1_athletes_purge_pending_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/purge-blocked":{"post":{"tags":["Athletes"],"summary":"Purge Blocked Profiles","description":"LQPD Art. 30: destroy blocked profiles whose retention period has lapsed.","operationId":"purge_blocked_profiles_api_v1_athletes_purge_blocked_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/purge-inactive":{"post":{"tags":["Athletes"],"summary":"Purge Inactive Athletes","operationId":"purge_inactive_athletes_api_v1_athletes_purge_inactive_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/export":{"get":{"tags":["Athletes"],"summary":"Admin Export Athlete Data","description":"Admin: export all personal data for an athlete in this branch.","operationId":"admin_export_athlete_data_api_v1_athletes__athlete_id__export_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/athletes/{athlete_id}/erase":{"delete":{"tags":["Athletes"],"summary":"Admin Erase Athlete Account","description":"Admin: right to erasure for an athlete in this branch.\n\nBranch-admin erasure follows the same active-contract guard as athlete\nself-service deletion.","operationId":"admin_erase_athlete_account_api_v1_athletes__athlete_id__erase_delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/belt-promotions/":{"post":{"tags":["Belt Promotions"],"summary":"Create Promotion","operationId":"create_promotion_api_v1_belt_promotions__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeltPromotionCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/belt-promotions/athlete/{athlete_id}":{"get":{"tags":["Belt Promotions"],"summary":"Get Athlete Promotions","operationId":"get_athlete_promotions_api_v1_belt_promotions_athlete__athlete_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/belt-promotions/{promotion_id}":{"patch":{"tags":["Belt Promotions"],"summary":"Update Promotion Date","operationId":"update_promotion_date_api_v1_belt_promotions__promotion_id__patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"promotion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Promotion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeltPromotionDateUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/belt-certificate/me/pdf":{"get":{"tags":["Belt Certificate"],"summary":"Download My Certificate","operationId":"download_my_certificate_api_v1_belt_certificate_me_pdf_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"include_address","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Address"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/belt-certificate/verify/{token}":{"get":{"tags":["Belt Certificate"],"summary":"Verify Certificate","description":"Public — no auth. Re-validates the signature and returns the live record.","operationId":"verify_certificate_api_v1_belt_certificate_verify__token__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wallet-pass/me":{"get":{"tags":["Wallet Pass"],"summary":"Download My Wallet Pass","operationId":"download_my_wallet_pass_api_v1_wallet_pass_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/wallet-pass/me/install-link":{"get":{"tags":["Wallet Pass"],"summary":"Get My Wallet Pass Install Link","operationId":"get_my_wallet_pass_install_link_api_v1_wallet_pass_me_install_link_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/wallet-pass/install/{token}":{"get":{"tags":["Wallet Pass"],"summary":"Install Wallet Pass","operationId":"install_wallet_pass_api_v1_wallet_pass_install__token__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wallet-pass/verify/{token}":{"get":{"tags":["Wallet Pass"],"summary":"Verify Wallet Pass","operationId":"verify_wallet_pass_api_v1_wallet_pass_verify__token__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wallet-pass/webservice/devices/{device_library_identifier}/registrations/{pass_type_identifier}/{serial_number}":{"post":{"tags":["Wallet Pass"],"summary":"Register Wallet Pass Device","operationId":"register_wallet_pass_device_api_v1_wallet_pass_webservice_devices__device_library_identifier__registrations__pass_type_identifier___serial_number__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"device_library_identifier","in":"path","required":true,"schema":{"type":"string","title":"Device Library Identifier"}},{"name":"pass_type_identifier","in":"path","required":true,"schema":{"type":"string","title":"Pass Type Identifier"}},{"name":"serial_number","in":"path","required":true,"schema":{"type":"string","title":"Serial Number"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Wallet Pass"],"summary":"Unregister Wallet Pass Device","operationId":"unregister_wallet_pass_device_api_v1_wallet_pass_webservice_devices__device_library_identifier__registrations__pass_type_identifier___serial_number__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"device_library_identifier","in":"path","required":true,"schema":{"type":"string","title":"Device Library Identifier"}},{"name":"pass_type_identifier","in":"path","required":true,"schema":{"type":"string","title":"Pass Type Identifier"}},{"name":"serial_number","in":"path","required":true,"schema":{"type":"string","title":"Serial Number"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wallet-pass/webservice/devices/{device_library_identifier}/registrations/{pass_type_identifier}":{"get":{"tags":["Wallet Pass"],"summary":"List Wallet Pass Updates","operationId":"list_wallet_pass_updates_api_v1_wallet_pass_webservice_devices__device_library_identifier__registrations__pass_type_identifier__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"device_library_identifier","in":"path","required":true,"schema":{"type":"string","title":"Device Library Identifier"}},{"name":"pass_type_identifier","in":"path","required":true,"schema":{"type":"string","title":"Pass Type Identifier"}},{"name":"passesUpdatedSince","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Passesupdatedsince"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wallet-pass/webservice/passes/{pass_type_identifier}/{serial_number}":{"get":{"tags":["Wallet Pass"],"summary":"Get Latest Wallet Pass","operationId":"get_latest_wallet_pass_api_v1_wallet_pass_webservice_passes__pass_type_identifier___serial_number__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pass_type_identifier","in":"path","required":true,"schema":{"type":"string","title":"Pass Type Identifier"}},{"name":"serial_number","in":"path","required":true,"schema":{"type":"string","title":"Serial Number"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wallet-pass/webservice/log":{"post":{"tags":["Wallet Pass"],"summary":"Wallet Pass Log","operationId":"wallet_pass_log_api_v1_wallet_pass_webservice_log_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/competitions/":{"get":{"tags":["Competitions"],"summary":"List Competitions","operationId":"list_competitions_api_v1_competitions__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["Competitions"],"summary":"Create Competition","operationId":"create_competition_api_v1_competitions__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompetitionCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/competitions/global-events":{"get":{"tags":["Competitions"],"summary":"List Global Smoothcomp Events","operationId":"list_global_smoothcomp_events_api_v1_competitions_global_events_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/from-global-event/{global_event_id}":{"post":{"tags":["Competitions"],"summary":"Create Competition From Global Event","operationId":"create_competition_from_global_event_api_v1_competitions_from_global_event__global_event_id__post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"global_event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Global Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/leaderboard":{"get":{"tags":["Competitions"],"summary":"List Competitions Leaderboard","operationId":"list_competitions_leaderboard_api_v1_competitions_leaderboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/competitions/{competition_id}/photos":{"get":{"tags":["Competitions"],"summary":"List Competition Photos","operationId":"list_competition_photos_api_v1_competitions__competition_id__photos_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Competitions"],"summary":"Upload Competition Photo","operationId":"upload_competition_photo_api_v1_competitions__competition_id__photos_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_competition_photo_api_v1_competitions__competition_id__photos_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/{competition_id}/photos/{photo_id}/download":{"get":{"tags":["Competitions"],"summary":"Download Competition Photo","operationId":"download_competition_photo_api_v1_competitions__competition_id__photos__photo_id__download_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Photo Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/{competition_id}/photos/{photo_id}":{"delete":{"tags":["Competitions"],"summary":"Delete Competition Photo","operationId":"delete_competition_photo_api_v1_competitions__competition_id__photos__photo_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Photo Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/{competition_id}/photo-athletes":{"get":{"tags":["Competitions"],"summary":"List Competition Photo Athletes","operationId":"list_competition_photo_athletes_api_v1_competitions__competition_id__photo_athletes_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/{competition_id}/photos/{photo_id}/athletes/{athlete_id}":{"put":{"tags":["Competitions"],"summary":"Link Competition Photo Athlete","operationId":"link_competition_photo_athlete_api_v1_competitions__competition_id__photos__photo_id__athletes__athlete_id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Photo Id"}},{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Competitions"],"summary":"Unlink Competition Photo Athlete","operationId":"unlink_competition_photo_athlete_api_v1_competitions__competition_id__photos__photo_id__athletes__athlete_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Photo Id"}},{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/{competition_id}":{"patch":{"tags":["Competitions"],"summary":"Update Competition","operationId":"update_competition_api_v1_competitions__competition_id__patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompetitionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Competitions"],"summary":"Get Competition","operationId":"get_competition_api_v1_competitions__competition_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/entries":{"post":{"tags":["Competitions"],"summary":"Register Entry","operationId":"register_entry_api_v1_competitions_entries_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntryCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/competitions/entries/on-behalf":{"post":{"tags":["Competitions"],"summary":"Register Entry On Behalf","operationId":"register_entry_on_behalf_api_v1_competitions_entries_on_behalf_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEntryCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/competitions/entries/for-kid":{"post":{"tags":["Competitions"],"summary":"Register Entry For Managed Kid","operationId":"register_entry_for_managed_kid_api_v1_competitions_entries_for_kid_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedKidEntryCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/competitions/{competition_id}/my-entries":{"get":{"tags":["Competitions"],"summary":"List My Entries","operationId":"list_my_entries_api_v1_competitions__competition_id__my_entries_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/{competition_id}/participants":{"get":{"tags":["Competitions"],"summary":"List Competition Participants","operationId":"list_competition_participants_api_v1_competitions__competition_id__participants_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/entries/{entry_id}/resend-consent-email":{"post":{"tags":["Competitions"],"summary":"Resend Consent Email","operationId":"resend_consent_email_api_v1_competitions_entries__entry_id__resend_consent_email_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/entries/{entry_id}":{"delete":{"tags":["Competitions"],"summary":"Cancel Entry","operationId":"cancel_entry_api_v1_competitions_entries__entry_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/{competition_id}/entries":{"get":{"tags":["Competitions"],"summary":"List Entries","operationId":"list_entries_api_v1_competitions__competition_id__entries_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/competitions/results":{"post":{"tags":["Competitions"],"summary":"Submit Result","operationId":"submit_result_api_v1_competitions_results_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/competitions/results/record":{"post":{"tags":["Competitions"],"summary":"Record Result","operationId":"record_result_api_v1_competitions_results_record_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoachResultUpsert"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/competitions/me/results":{"get":{"tags":["Competitions"],"summary":"Get My Results","operationId":"get_my_results_api_v1_competitions_me_results_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/competitions/athlete/{athlete_id}/results":{"get":{"tags":["Competitions"],"summary":"Get Athlete Results","operationId":"get_athlete_results_api_v1_competitions_athlete__athlete_id__results_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/consents/me/tasks":{"get":{"tags":["Consents"],"summary":"Get My Tasks","operationId":"get_my_tasks_api_v1_consents_me_tasks_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"language","in":"query","required":false,"schema":{"enum":["en","de","es","fr","pl"],"type":"string","default":"en","title":"Language"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/consents/terms":{"post":{"tags":["Consents"],"summary":"Accept Terms","operationId":"accept_terms_api_v1_consents_terms_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"language","in":"query","required":false,"schema":{"enum":["en","de","es","fr","pl"],"type":"string","default":"en","title":"Language"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsAcceptance"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/consents/photo":{"post":{"tags":["Consents"],"summary":"Decide Photo","operationId":"decide_photo_api_v1_consents_photo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"language","in":"query","required":false,"schema":{"enum":["en","de","es","fr","pl"],"type":"string","default":"en","title":"Language"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhotoDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/consents/face":{"post":{"tags":["Consents"],"summary":"Decide Face","operationId":"decide_face_api_v1_consents_face_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"language","in":"query","required":false,"schema":{"enum":["en","de","es","fr","pl"],"type":"string","default":"en","title":"Language"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaceDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/demo-activity/run-nightly":{"post":{"tags":["Demo Activity Cron"],"summary":"Run Nightly Demo Activity","operationId":"run_nightly_demo_activity_api_v1_demo_activity_run_nightly_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/discount-codes":{"get":{"tags":["Discount Codes"],"summary":"List Discount Codes","operationId":"list_discount_codes_api_v1_discount_codes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Discount Codes"],"summary":"Create Discount Code","operationId":"create_discount_code_api_v1_discount_codes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountCodeCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/discount-codes/validate":{"post":{"tags":["Discount Codes"],"summary":"Validate Discount Code","operationId":"validate_discount_code_api_v1_discount_codes_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountCodeValidation"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/discount-codes/{code_id}":{"patch":{"tags":["Discount Codes"],"summary":"Update Discount Code","operationId":"update_discount_code_api_v1_discount_codes__code_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"code_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Code Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountCodeUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/evaluations/criteria":{"get":{"tags":["Evaluations"],"summary":"List Criteria","operationId":"list_criteria_api_v1_evaluations_criteria_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/evaluations/request":{"get":{"tags":["Evaluations"],"summary":"Get Pending Evaluation Request","operationId":"get_pending_evaluation_request_api_v1_evaluations_request_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["Evaluations"],"summary":"Request Evaluation","operationId":"request_evaluation_api_v1_evaluations_request_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/evaluations/":{"post":{"tags":["Evaluations"],"summary":"Create Evaluation","operationId":"create_evaluation_api_v1_evaluations__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/evaluations/athlete/{athlete_id}":{"get":{"tags":["Evaluations"],"summary":"Get Athlete Evaluations","operationId":"get_athlete_evaluations_api_v1_evaluations_athlete__athlete_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/evaluations/{evaluation_id}":{"patch":{"tags":["Evaluations"],"summary":"Update Evaluation","operationId":"update_evaluation_api_v1_evaluations__evaluation_id__patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Evaluations"],"summary":"Get Evaluation","operationId":"get_evaluation_api_v1_evaluations__evaluation_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/invite/{token}":{"get":{"tags":["Guardian"],"summary":"Get Invite Info","operationId":"get_invite_info_api_v1_guardian_invite__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/accept":{"post":{"tags":["Guardian"],"summary":"Accept Guardian Invite","operationId":"accept_guardian_invite_api_v1_guardian_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteAccept"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/guardian/consent/{token}":{"get":{"tags":["Guardian"],"summary":"Get Consent Info","operationId":"get_consent_info_api_v1_guardian_consent__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Guardian"],"summary":"Submit Consent By Token","operationId":"submit_consent_by_token_api_v1_guardian_consent__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompetitionConsentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/link":{"post":{"tags":["Guardian"],"summary":"Link Guardian","operationId":"link_guardian_api_v1_guardian_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianLinkCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/guardian/invites/{invite_id}/resend":{"post":{"tags":["Guardian"],"summary":"Resend Guardian Invite","operationId":"resend_guardian_invite_api_v1_guardian_invites__invite_id__resend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invite Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids":{"get":{"tags":["Guardian"],"summary":"List My Kids","operationId":"list_my_kids_api_v1_guardian_kids_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Guardian"],"summary":"Register Kid","operationId":"register_kid_api_v1_guardian_kids_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianKidRegistrationCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/guardian/kids/{kid_id}/evaluation-request":{"post":{"tags":["Guardian"],"summary":"Request Kid Evaluation","operationId":"request_kid_evaluation_api_v1_guardian_kids__kid_id__evaluation_request_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Guardian"],"summary":"Get Kid Evaluation Request","operationId":"get_kid_evaluation_request_api_v1_guardian_kids__kid_id__evaluation_request_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/training-consent":{"put":{"tags":["Guardian"],"summary":"Update Training Consent","operationId":"update_training_consent_api_v1_guardian_kids__kid_id__training_consent_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingConsentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/competition-consent/{competition_id}":{"put":{"tags":["Guardian"],"summary":"Update Competition Consent","operationId":"update_competition_consent_api_v1_guardian_kids__kid_id__competition_consent__competition_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}},{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompetitionConsentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/competition-consents":{"get":{"tags":["Guardian"],"summary":"List Competition Consents","operationId":"list_competition_consents_api_v1_guardian_kids__kid_id__competition_consents_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/competition-results":{"get":{"tags":["Guardian"],"summary":"List Kid Competition Results","operationId":"list_kid_competition_results_api_v1_guardian_kids__kid_id__competition_results_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/billing":{"put":{"tags":["Guardian"],"summary":"Update Kid Billing","operationId":"update_kid_billing_api_v1_guardian_kids__kid_id__billing_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KidBillingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/profile":{"put":{"tags":["Guardian"],"summary":"Update Kid Profile","operationId":"update_kid_profile_api_v1_guardian_kids__kid_id__profile_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KidProfileUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/photo":{"post":{"tags":["Guardian"],"summary":"Upload Kid Photo","operationId":"upload_kid_photo_api_v1_guardian_kids__kid_id__photo_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_kid_photo_api_v1_guardian_kids__kid_id__photo_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/photo-url":{"get":{"tags":["Guardian"],"summary":"Get Kid Photo Url","operationId":"get_kid_photo_url_api_v1_guardian_kids__kid_id__photo_url_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/weight":{"post":{"tags":["Guardian"],"summary":"Log Kid Weight","operationId":"log_kid_weight_api_v1_guardian_kids__kid_id__weight_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KidWeightLogCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Guardian"],"summary":"Get Kid Weight History","operationId":"get_kid_weight_history_api_v1_guardian_kids__kid_id__weight_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/certificate/pdf":{"get":{"tags":["Guardian"],"summary":"Download Kid Certificate","operationId":"download_kid_certificate_api_v1_guardian_kids__kid_id__certificate_pdf_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}},{"name":"include_address","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Address"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/membership":{"get":{"tags":["Guardian"],"summary":"Get Kid Membership","operationId":"get_kid_membership_api_v1_guardian_kids__kid_id__membership_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/membership/history":{"get":{"tags":["Guardian"],"summary":"Get Kid Membership History","operationId":"get_kid_membership_history_api_v1_guardian_kids__kid_id__membership_history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/membership/pause-requests":{"get":{"tags":["Guardian"],"summary":"List Kid Membership Pause Requests","operationId":"list_kid_membership_pause_requests_api_v1_guardian_kids__kid_id__membership_pause_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Guardian"],"summary":"Request Kid Membership Pause","operationId":"request_kid_membership_pause_api_v1_guardian_kids__kid_id__membership_pause_requests_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_request_kid_membership_pause_api_v1_guardian_kids__kid_id__membership_pause_requests_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}":{"delete":{"tags":["Guardian"],"summary":"Delete Kid Account","description":"Delete a managed kid account under the same erasure rules as /athletes/me.","operationId":"delete_kid_account_api_v1_guardian_kids__kid_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/membership/subscribe":{"post":{"tags":["Guardian"],"summary":"Subscribe Kid To Plan","operationId":"subscribe_kid_to_plan_api_v1_guardian_kids__kid_id__membership_subscribe_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KidSubscribeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/kids/{kid_id}/membership/cancel":{"post":{"tags":["Guardian"],"summary":"Cancel Kid Membership","operationId":"cancel_kid_membership_api_v1_guardian_kids__kid_id__membership_cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kid_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Kid Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfCancelMembershipRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/travel-consent/{token}":{"get":{"tags":["Guardian"],"summary":"Get Travel Consent Info","operationId":"get_travel_consent_info_api_v1_guardian_travel_consent__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Guardian"],"summary":"Submit Travel Consent","operationId":"submit_travel_consent_api_v1_guardian_travel_consent__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TravelConsentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/highlevel/status":{"get":{"tags":["HighLevel"],"summary":"Get Highlevel Status","operationId":"get_highlevel_status_api_v1_branches__branch_id__highlevel_status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/highlevel/connect":{"get":{"tags":["HighLevel"],"summary":"Connect Highlevel","operationId":"connect_highlevel_api_v1_branches__branch_id__highlevel_connect_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marketplace/callback":{"get":{"tags":["HighLevel"],"summary":"Marketplace Callback","operationId":"marketplace_callback_api_v1_marketplace_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/highlevel/callback":{"get":{"tags":["HighLevel"],"summary":"Highlevel Callback","operationId":"highlevel_callback_api_v1_highlevel_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/highlevel":{"delete":{"tags":["HighLevel"],"summary":"Disconnect Highlevel","operationId":"disconnect_highlevel_api_v1_branches__branch_id__highlevel_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/highlevel/backfill":{"post":{"tags":["HighLevel"],"summary":"Backfill Highlevel","operationId":"backfill_highlevel_api_v1_branches__branch_id__highlevel_backfill_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HighLevelBackfillRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/highlevel/test-sync":{"post":{"tags":["HighLevel"],"summary":"Test Sync Highlevel","operationId":"test_sync_highlevel_api_v1_branches__branch_id__highlevel_test_sync_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/highlevel/run-contact-sync":{"post":{"tags":["HighLevel"],"summary":"Run Highlevel Contact Sync","operationId":"run_highlevel_contact_sync_api_v1_highlevel_run_contact_sync_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/instagram/status":{"get":{"tags":["Instagram"],"summary":"Get Instagram Status","operationId":"get_instagram_status_api_v1_branches__branch_id__instagram_status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/instagram/connect":{"get":{"tags":["Instagram"],"summary":"Connect Instagram","operationId":"connect_instagram_api_v1_branches__branch_id__instagram_connect_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/instagram/callback":{"get":{"tags":["Instagram"],"summary":"Instagram Callback","description":"Meta redirects here after the OAuth dialog. `state` carries `branch_id:user_id`.","operationId":"instagram_callback_api_v1_instagram_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/instagram":{"delete":{"tags":["Instagram"],"summary":"Disconnect Instagram","operationId":"disconnect_instagram_api_v1_branches__branch_id__instagram_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/instagram/review/simulate-message":{"post":{"tags":["Instagram"],"summary":"Simulate Review Instagram Message","description":"Inject a Meta-shaped inbound DM for controlled App Review recordings.\n\nThis is intentionally disabled by default and only creates `review_sim_*`\nsender conversations. It exists for review/staging environments where Meta\nOAuth works but test-account DM webhooks do not arrive reliably.","operationId":"simulate_review_instagram_message_api_v1_branches__branch_id__instagram_review_simulate_message_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstagramReviewMessageCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/inventory/materials":{"get":{"tags":["Inventory"],"summary":"List Materials","operationId":"list_materials_api_v1_inventory_materials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/inventory/stock":{"get":{"tags":["Inventory"],"summary":"List Stock","operationId":"list_stock_api_v1_inventory_stock_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/inventory/transactions":{"get":{"tags":["Inventory"],"summary":"List Transactions","operationId":"list_transactions_api_v1_inventory_transactions_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/inventory/gear-orders":{"get":{"tags":["Inventory"],"summary":"List Open Gear Orders","operationId":"list_open_gear_orders_api_v1_inventory_gear_orders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/inventory/receipts":{"post":{"tags":["Inventory"],"summary":"Post Receipt","operationId":"post_receipt_api_v1_inventory_receipts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/inventory/issues":{"post":{"tags":["Inventory"],"summary":"Post Issue","operationId":"post_issue_api_v1_inventory_issues_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/inventory/transfers":{"post":{"tags":["Inventory"],"summary":"Post Transfer","operationId":"post_transfer_api_v1_inventory_transfers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/internal-competitions/":{"get":{"tags":["Internal Competitions"],"summary":"List Internal Competitions","operationId":"list_internal_competitions_api_v1_internal_competitions__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["Internal Competitions"],"summary":"Create Internal Competition","operationId":"create_internal_competition_api_v1_internal_competitions__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalCompetitionCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/internal-competitions/leaderboard":{"get":{"tags":["Internal Competitions"],"summary":"List Internal Competitions Leaderboard","operationId":"list_internal_competitions_leaderboard_api_v1_internal_competitions_leaderboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/internal-competitions/{competition_id}/photos":{"get":{"tags":["Internal Competitions"],"summary":"List Internal Competition Photos","operationId":"list_internal_competition_photos_api_v1_internal_competitions__competition_id__photos_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Internal Competitions"],"summary":"Upload Internal Competition Photo","operationId":"upload_internal_competition_photo_api_v1_internal_competitions__competition_id__photos_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_internal_competition_photo_api_v1_internal_competitions__competition_id__photos_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/{competition_id}/photos/{photo_id}/download":{"get":{"tags":["Internal Competitions"],"summary":"Download Internal Competition Photo","operationId":"download_internal_competition_photo_api_v1_internal_competitions__competition_id__photos__photo_id__download_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Photo Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/{competition_id}/photos/{photo_id}":{"delete":{"tags":["Internal Competitions"],"summary":"Delete Internal Competition Photo","operationId":"delete_internal_competition_photo_api_v1_internal_competitions__competition_id__photos__photo_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Photo Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/{competition_id}/photo-athletes":{"get":{"tags":["Internal Competitions"],"summary":"List Internal Competition Photo Athletes","operationId":"list_internal_competition_photo_athletes_api_v1_internal_competitions__competition_id__photo_athletes_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/{competition_id}/photos/{photo_id}/athletes/{athlete_id}":{"put":{"tags":["Internal Competitions"],"summary":"Link Internal Competition Photo Athlete","operationId":"link_internal_competition_photo_athlete_api_v1_internal_competitions__competition_id__photos__photo_id__athletes__athlete_id__put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Photo Id"}},{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Internal Competitions"],"summary":"Unlink Internal Competition Photo Athlete","operationId":"unlink_internal_competition_photo_athlete_api_v1_internal_competitions__competition_id__photos__photo_id__athletes__athlete_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Photo Id"}},{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/{competition_id}":{"get":{"tags":["Internal Competitions"],"summary":"Get Internal Competition","operationId":"get_internal_competition_api_v1_internal_competitions__competition_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Internal Competitions"],"summary":"Update Internal Competition","operationId":"update_internal_competition_api_v1_internal_competitions__competition_id__patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalCompetitionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/{competition_id}/participants":{"post":{"tags":["Internal Competitions"],"summary":"Add Internal Competition Participant","operationId":"add_internal_competition_participant_api_v1_internal_competitions__competition_id__participants_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParticipantCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/{competition_id}/athletes":{"get":{"tags":["Internal Competitions"],"summary":"List Internal Competition Athletes","operationId":"list_internal_competition_athletes_api_v1_internal_competitions__competition_id__athletes_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/{competition_id}/matches":{"post":{"tags":["Internal Competitions"],"summary":"Create Internal Competition Match","operationId":"create_internal_competition_match_api_v1_internal_competitions__competition_id__matches_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/matches/{match_id}":{"patch":{"tags":["Internal Competitions"],"summary":"Update Internal Competition Match","operationId":"update_internal_competition_match_api_v1_internal_competitions_matches__match_id__patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"match_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Match Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/matches/{match_id}/link-opponent":{"post":{"tags":["Internal Competitions"],"summary":"Link Internal Competition Opponent","operationId":"link_internal_competition_opponent_api_v1_internal_competitions_matches__match_id__link_opponent_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"match_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Match Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpponentLink"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal-competitions/matches/{match_id}/history":{"get":{"tags":["Internal Competitions"],"summary":"Get Internal Competition Match History","operationId":"get_internal_competition_match_history_api_v1_internal_competitions_matches__match_id__history_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"match_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Match Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads/{lead_id}/membership-conversion":{"post":{"tags":["Lead Membership Conversions"],"summary":"Create Lead Membership Conversion","operationId":"create_lead_membership_conversion_api_v1_branches__branch_id__leads__lead_id__membership_conversion_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffConversionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Lead Membership Conversions"],"summary":"Get Lead Membership Conversion","operationId":"get_lead_membership_conversion_api_v1_branches__branch_id__leads__lead_id__membership_conversion_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads/{lead_id}/membership-conversion/cancel":{"post":{"tags":["Lead Membership Conversions"],"summary":"Cancel Lead Membership Conversion","operationId":"cancel_lead_membership_conversion_api_v1_branches__branch_id__leads__lead_id__membership_conversion_cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lead-membership-conversions/{token}/start":{"post":{"tags":["Lead Membership Conversions"],"summary":"Start Lead Membership Conversion","operationId":"start_lead_membership_conversion_api_v1_lead_membership_conversions__token__start_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lead-membership-conversions/{token}":{"get":{"tags":["Lead Membership Conversions"],"summary":"Get Lead Membership Conversion Details","operationId":"get_lead_membership_conversion_details_api_v1_lead_membership_conversions__token__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lead-membership-conversions/{token}/complete":{"post":{"tags":["Lead Membership Conversions"],"summary":"Complete Lead Membership Conversion","operationId":"complete_lead_membership_conversion_api_v1_lead_membership_conversions__token__complete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversionComplete"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads":{"get":{"tags":["Leads"],"summary":"List Leads","operationId":"list_leads_api_v1_branches__branch_id__leads_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["new","contacted","converted","lost"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"enum":["manual","public_booking","instagram_dm","highlevel"],"type":"string"},{"type":"null"}],"title":"Source"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Leads"],"summary":"Create Lead","operationId":"create_lead_api_v1_branches__branch_id__leads_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads/{lead_id}":{"patch":{"tags":["Leads"],"summary":"Update Lead","operationId":"update_lead_api_v1_branches__branch_id__leads__lead_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Leads"],"summary":"Delete Lead","operationId":"delete_lead_api_v1_branches__branch_id__leads__lead_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads/white-belt-cheat-sheet":{"get":{"tags":["Leads"],"summary":"Get White Belt Cheat Sheet","operationId":"get_white_belt_cheat_sheet_api_v1_branches__branch_id__leads_white_belt_cheat_sheet_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Leads"],"summary":"Update White Belt Cheat Sheet","operationId":"update_white_belt_cheat_sheet_api_v1_branches__branch_id__leads_white_belt_cheat_sheet_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhiteBeltCheatSheetUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads/email-config":{"get":{"tags":["Leads"],"summary":"Get Lead Email Config","operationId":"get_lead_email_config_api_v1_branches__branch_id__leads_email_config_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Leads"],"summary":"Update Lead Email Config","operationId":"update_lead_email_config_api_v1_branches__branch_id__leads_email_config_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadEmailConfigUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads/white-belt-cheat-sheet/pdf":{"get":{"tags":["Leads"],"summary":"Download White Belt Cheat Sheet","operationId":"download_white_belt_cheat_sheet_api_v1_branches__branch_id__leads_white_belt_cheat_sheet_pdf_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads/{lead_id}/messages":{"get":{"tags":["Leads"],"summary":"List Lead Messages","operationId":"list_lead_messages_api_v1_branches__branch_id__leads__lead_id__messages_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Leads"],"summary":"Send Lead Message","operationId":"send_lead_message_api_v1_branches__branch_id__leads__lead_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadMessageCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads/{lead_id}/public-booking-followup":{"post":{"tags":["Leads"],"summary":"Send Public Booking Followup","operationId":"send_public_booking_followup_api_v1_branches__branch_id__leads__lead_id__public_booking_followup_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/branches/{branch_id}/leads/mass-action":{"post":{"tags":["Leads"],"summary":"Mass Action","operationId":"mass_action_api_v1_branches__branch_id__leads_mass_action_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","title":"Branch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/sync-due-plan-changes":{"post":{"tags":["Memberships"],"summary":"Sync Due Membership Plan Changes","operationId":"sync_due_membership_plan_changes_api_v1_memberships_sync_due_plan_changes_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/expire-trials":{"post":{"tags":["Memberships"],"summary":"Expire Membership Trials","description":"Cron-triggered: deactivate branch memberships whose trial has ended.","operationId":"expire_membership_trials_api_v1_memberships_expire_trials_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/plans":{"get":{"tags":["Memberships"],"summary":"List Plans","operationId":"list_plans_api_v1_memberships_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["Memberships"],"summary":"Create Plan","operationId":"create_plan_api_v1_memberships_plans_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipPlanCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/memberships/plans/{plan_id}":{"get":{"tags":["Memberships"],"summary":"Get Plan","operationId":"get_plan_api_v1_memberships_plans__plan_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Memberships"],"summary":"Update Plan","operationId":"update_plan_api_v1_memberships_plans__plan_id__patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipPlanUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Memberships"],"summary":"Delete Plan","operationId":"delete_plan_api_v1_memberships_plans__plan_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/":{"get":{"tags":["Memberships"],"summary":"List Branch Memberships","operationId":"list_branch_memberships_api_v1_memberships__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["Memberships"],"summary":"Create Membership","operationId":"create_membership_api_v1_memberships__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/memberships/athlete/{athlete_id}":{"get":{"tags":["Memberships"],"summary":"Get Athlete Membership","operationId":"get_athlete_membership_api_v1_memberships_athlete__athlete_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/athlete/{athlete_id}/pause-requests":{"get":{"tags":["Memberships"],"summary":"List Athlete Pause Requests","operationId":"list_athlete_pause_requests_api_v1_memberships_athlete__athlete_id__pause_requests_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/athlete/{athlete_id}/pause-requests/{request_id}/decision":{"post":{"tags":["Memberships"],"summary":"Decide Athlete Pause Request","operationId":"decide_athlete_pause_request_api_v1_memberships_athlete__athlete_id__pause_requests__request_id__decision_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PauseDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/me":{"get":{"tags":["Memberships"],"summary":"Get My Membership","operationId":"get_my_membership_api_v1_memberships_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/memberships/me/history":{"get":{"tags":["Memberships"],"summary":"Get My Membership History","operationId":"get_my_membership_history_api_v1_memberships_me_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/memberships/me/pause-requests":{"get":{"tags":["Memberships"],"summary":"List My Pause Requests","operationId":"list_my_pause_requests_api_v1_memberships_me_pause_requests_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["Memberships"],"summary":"Request My Membership Pause","operationId":"request_my_membership_pause_api_v1_memberships_me_pause_requests_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_request_my_membership_pause_api_v1_memberships_me_pause_requests_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/memberships/me/agreement-preview":{"get":{"tags":["Memberships"],"summary":"Get Membership Agreement Preview","operationId":"get_membership_agreement_preview_api_v1_memberships_me_agreement_preview_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"plan_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/me/subscribe":{"post":{"tags":["Memberships"],"summary":"Subscribe To Plan","operationId":"subscribe_to_plan_api_v1_memberships_me_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__v1__endpoints__memberships__SubscribeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/memberships/me/cancel":{"post":{"tags":["Memberships"],"summary":"Cancel My Membership","operationId":"cancel_my_membership_api_v1_memberships_me_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfCancelMembershipRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/memberships/me/cancel/revoke":{"post":{"tags":["Memberships"],"summary":"Revoke My Membership Cancellation","operationId":"revoke_my_membership_cancellation_api_v1_memberships_me_cancel_revoke_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/memberships/me/change":{"post":{"tags":["Memberships"],"summary":"Change My Plan","operationId":"change_my_plan_api_v1_memberships_me_change_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePlanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/memberships/athlete/{athlete_id}/change-plan":{"post":{"tags":["Memberships"],"summary":"Change Athlete Plan As Staff","operationId":"change_athlete_plan_as_staff_api_v1_memberships_athlete__athlete_id__change_plan_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffChangePlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/athlete/{athlete_id}/change-plan-preview":{"get":{"tags":["Memberships"],"summary":"Preview Athlete Plan Change As Staff","operationId":"preview_athlete_plan_change_as_staff_api_v1_memberships_athlete__athlete_id__change_plan_preview_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}},{"name":"plan_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"effective_on","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Effective On"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/athlete/{athlete_id}/history":{"get":{"tags":["Memberships"],"summary":"Get Athlete Membership History","operationId":"get_athlete_membership_history_api_v1_memberships_athlete__athlete_id__history_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/{membership_id}/status":{"patch":{"tags":["Memberships"],"summary":"Update Membership Status","operationId":"update_membership_status_api_v1_memberships__membership_id__status_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}},{"name":"status","in":"query","required":true,"schema":{"type":"string","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/memberships/{membership_id}/cancel":{"post":{"tags":["Memberships"],"summary":"Cancel Membership As Staff","operationId":"cancel_membership_as_staff_api_v1_memberships__membership_id__cancel_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CancelMembershipRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/outstanding":{"get":{"tags":["Billing"],"summary":"Get Outstanding Payments","operationId":"get_outstanding_payments_api_v1_billing_outstanding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/association-balances":{"get":{"tags":["Billing"],"summary":"Get Association Balances","operationId":"get_association_balances_api_v1_billing_association_balances_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/association-settlements":{"post":{"tags":["Billing"],"summary":"Record Association Settlement","operationId":"record_association_settlement_api_v1_billing_association_settlements_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationSettlementRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/manual":{"post":{"tags":["Billing"],"summary":"Create Manual Payment Record","operationId":"create_manual_payment_record_api_v1_billing_manual_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualPaymentRecord"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/documents/{payment_id}":{"get":{"tags":["Billing"],"summary":"Get Billing Document","operationId":"get_billing_document_api_v1_billing_documents__payment_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/{payment_id}/mark-paid":{"patch":{"tags":["Billing"],"summary":"Mark Payment Paid","operationId":"mark_payment_paid_api_v1_billing__payment_id__mark_paid_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkPaid"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/{payment_id}/cash-paid":{"patch":{"tags":["Billing"],"summary":"Mark Cash Payment Paid","operationId":"mark_cash_payment_paid_api_v1_billing__payment_id__cash_paid_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkPaid"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/{payment_id}/gear-cash-paid":{"patch":{"tags":["Billing"],"summary":"Mark Gear Cash Payment Paid","operationId":"mark_gear_cash_payment_paid_api_v1_billing__payment_id__gear_cash_paid_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkPaid"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/{payment_id}/reconcile":{"post":{"tags":["Billing"],"summary":"Reconcile Payment","operationId":"reconcile_payment_api_v1_billing__payment_id__reconcile_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/{payment_id}/waive":{"patch":{"tags":["Billing"],"summary":"Waive Payment","operationId":"waive_payment_api_v1_billing__payment_id__waive_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/bulk-status":{"post":{"tags":["Billing"],"summary":"Bulk Update Status","operationId":"bulk_update_status_api_v1_billing_bulk_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkStatusUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/me":{"get":{"tags":["Billing"],"summary":"Get My Billing","operationId":"get_my_billing_api_v1_billing_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/athlete/{athlete_id}":{"get":{"tags":["Billing"],"summary":"Get Athlete Billing","operationId":"get_athlete_billing_api_v1_billing_athlete__athlete_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/gear":{"post":{"tags":["Billing"],"summary":"Run Gear Invoices","operationId":"run_gear_invoices_api_v1_billing_gear_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/run-monthly-invoice/me":{"post":{"tags":["Billing"],"summary":"Run Monthly Invoice Me","operationId":"run_monthly_invoice_me_api_v1_billing_run_monthly_invoice_me_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/preview-monthly-invoice/me":{"get":{"tags":["Billing"],"summary":"Preview Monthly Invoice Me","operationId":"preview_monthly_invoice_me_api_v1_billing_preview_monthly_invoice_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/run-monthly-invoice":{"post":{"tags":["Billing"],"summary":"Run Monthly Invoice","operationId":"run_monthly_invoice_api_v1_billing_run_monthly_invoice_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"}},{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/mark-overdue":{"post":{"tags":["Billing"],"summary":"Mark Overdue","operationId":"mark_overdue_api_v1_billing_mark_overdue_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/documents/{document_id}/pdf":{"get":{"tags":["Billing"],"summary":"Download Billing Pdf","operationId":"download_billing_pdf_api_v1_billing_documents__document_id__pdf_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/credit-notes/{note_id}/pdf":{"get":{"tags":["Billing"],"summary":"Download Credit Note Pdf","operationId":"download_credit_note_pdf_api_v1_billing_credit_notes__note_id__pdf_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/retry-credit-note-email":{"post":{"tags":["Billing"],"summary":"Retry Credit Note Email Job","operationId":"retry_credit_note_email_job_api_v1_billing_retry_credit_note_email_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/retry-sepa-notice-email":{"post":{"tags":["Billing"],"summary":"Retry Sepa Notice Email Job","operationId":"retry_sepa_notice_email_job_api_v1_billing_retry_sepa_notice_email_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/sepa-readiness":{"get":{"tags":["Billing"],"summary":"Get Sepa Readiness","operationId":"get_sepa_readiness_api_v1_billing_sepa_readiness_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"month","in":"query","required":true,"schema":{"type":"integer","title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/athlete/{athlete_id}/sepa":{"put":{"tags":["Billing"],"summary":"Repair Managed Athlete Sepa","operationId":"repair_managed_athlete_sepa_api_v1_billing_athlete__athlete_id__sepa_put","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedAthleteSepaRepair"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Billing"],"summary":"Get Managed Athlete Sepa Details","operationId":"get_managed_athlete_sepa_details_api_v1_billing_athlete__athlete_id__sepa_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/credit-memos":{"post":{"tags":["Billing"],"summary":"Issue Credit Memo","operationId":"issue_credit_memo_api_v1_billing_credit_memos_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditMemoIssue"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/credit-memos/source-invoice/{document_number}":{"get":{"tags":["Billing"],"summary":"Find Credit Memo Source Invoice","operationId":"find_credit_memo_source_invoice_api_v1_billing_credit_memos_source_invoice__document_number__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"document_number","in":"path","required":true,"schema":{"type":"integer","title":"Document Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/credit-memos/athlete/{athlete_id}":{"get":{"tags":["Billing"],"summary":"Get Athlete Credit Memos","operationId":"get_athlete_credit_memos_api_v1_billing_credit_memos_athlete__athlete_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"athlete_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Athlete Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/credit-memos/{note_id}/pdf":{"get":{"tags":["Billing"],"summary":"Download Billing Credit Memo Pdf","operationId":"download_billing_credit_memo_pdf_api_v1_billing_credit_memos__note_id__pdf_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/sepa-preview":{"get":{"tags":["Billing"],"summary":"Get Sepa Batch Preview","operationId":"get_sepa_batch_preview_api_v1_billing_sepa_preview_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"month","in":"query","required":true,"schema":{"type":"integer","title":"Month"}},{"name":"mode","in":"query","required":false,"schema":{"enum":["net","per_invoice"],"type":"string","default":"net","title":"Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/sepa-allocate-credits":{"post":{"tags":["Billing"],"summary":"Allocate Sepa Credits","operationId":"allocate_sepa_credits_api_v1_billing_sepa_allocate_credits_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"month","in":"query","required":true,"schema":{"type":"integer","title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/sepa-batches":{"get":{"tags":["Billing"],"summary":"List Sepa Batches","operationId":"list_sepa_batches_api_v1_billing_sepa_batches_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/sepa-batches/{batch_id}/notice-preview":{"get":{"tags":["Billing"],"summary":"Preview Sepa Batch Notices","operationId":"preview_sepa_batch_notices_api_v1_billing_sepa_batches__batch_id__notice_preview_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/sepa-batches/{batch_id}/send-notices":{"post":{"tags":["Billing"],"summary":"Send Sepa Batch Notices","operationId":"send_sepa_batch_notices_api_v1_billing_sepa_batches__batch_id__send_notices_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SepaNoticeSendRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/sepa-batches/export":{"post":{"tags":["Billing"],"summary":"Export Sepa Batch","operationId":"export_sepa_batch_api_v1_billing_sepa_batches_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SepaBatchExportRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/sepa-batches/{batch_id}/redownload":{"post":{"tags":["Billing"],"summary":"Reviewed Sepa Redownload","operationId":"reviewed_sepa_redownload_api_v1_billing_sepa_batches__batch_id__redownload_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SepaReviewedReason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/sepa-batches/{batch_id}/retry":{"post":{"tags":["Billing"],"summary":"Reviewed Sepa Retry","operationId":"reviewed_sepa_retry_api_v1_billing_sepa_batches__batch_id__retry_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SepaReviewedRetry"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/export-sepa":{"get":{"tags":["Billing"],"summary":"Export Sepa","operationId":"export_sepa_api_v1_billing_export_sepa_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"month","in":"query","required":true,"schema":{"type":"integer","title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/export-sepa-v08":{"get":{"tags":["Billing"],"summary":"Export Sepa V08","operationId":"export_sepa_v08_api_v1_billing_export_sepa_v08_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"month","in":"query","required":true,"schema":{"type":"integer","title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/export-sepa-excel":{"get":{"tags":["Billing"],"summary":"Export Sepa Excel","operationId":"export_sepa_excel_api_v1_billing_export_sepa_excel_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"month","in":"query","required":true,"schema":{"type":"integer","title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/{payment_id}/failed-debit":{"patch":{"tags":["Billing"],"summary":"Mark Failed Debit","operationId":"mark_failed_debit_api_v1_billing__payment_id__failed_debit_patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/{payment_id}/reverse":{"post":{"tags":["Billing"],"summary":"Reverse Payment","operationId":"reverse_payment_api_v1_billing__payment_id__reverse_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/bank-statement":{"post":{"tags":["Billing"],"summary":"Upload Bank Statement","operationId":"upload_bank_statement_api_v1_billing_bank_statement_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_bank_statement_api_v1_billing_bank_statement_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/bank-clearing-documents":{"post":{"tags":["Billing"],"summary":"Upload Bank Clearing Documents","operationId":"upload_bank_clearing_documents_api_v1_billing_bank_clearing_documents_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_bank_clearing_documents_api_v1_billing_bank_clearing_documents_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankClearingDocumentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/bank-clearing-documents/pending":{"get":{"tags":["Billing"],"summary":"Pending Bank Clearing Documents","operationId":"pending_bank_clearing_documents_api_v1_billing_bank_clearing_documents_pending_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankClearingDocumentsResponse"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/billing/bank-clearing-documents/{statement_id}/export-candidates":{"get":{"tags":["Billing"],"summary":"Bank Clearing Document Export Candidates","operationId":"bank_clearing_document_export_candidates_api_v1_billing_bank_clearing_documents__statement_id__export_candidates_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"statement_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Statement Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/bank-clearing-documents/{statement_id}/link-export":{"post":{"tags":["Billing"],"summary":"Link Bank Clearing Document Export","operationId":"link_bank_clearing_document_export_api_v1_billing_bank_clearing_documents__statement_id__link_export_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"statement_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Statement Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankDocumentExportLink"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/bank-statement/{row_id}/invoice-options":{"get":{"tags":["Billing"],"summary":"Bank Statement Invoice Options","operationId":"bank_statement_invoice_options_api_v1_billing_bank_statement__row_id__invoice_options_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/bank-statement/{row_id}/sepa-line-options":{"get":{"tags":["Billing"],"summary":"Bank Statement Sepa Line Options","operationId":"bank_statement_sepa_line_options_api_v1_billing_bank_statement__row_id__sepa_line_options_get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/bank-statement/{row_id}/confirm":{"post":{"tags":["Billing"],"summary":"Confirm Bank Statement Row","operationId":"confirm_bank_statement_row_api_v1_billing_bank_statement__row_id__confirm_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Row Id"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankRowConfirmation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/kiosk-devices/provision":{"post":{"tags":["Mobile"],"summary":"Provision Kiosk Device","operationId":"provision_kiosk_device_api_v1_mobile_kiosk_devices_provision_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KioskProvisionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KioskProvisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/kiosk-devices/{device_id}/revoke":{"post":{"tags":["Mobile"],"summary":"Revoke Kiosk Device","operationId":"revoke_kiosk_device_api_v1_mobile_kiosk_devices__device_id__revoke_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KioskDeviceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/kiosk/current-class":{"get":{"tags":["Mobile"],"summary":"Get Kiosk Current Class","operationId":"get_kiosk_current_class_api_v1_mobile_kiosk_current_class_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/kiosk/attendance/{occurrence_key}":{"get":{"tags":["Mobile"],"summary":"Get Kiosk Attendance","operationId":"get_kiosk_attendance_api_v1_mobile_kiosk_attendance__occurrence_key__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/kiosk/check-in":{"post":{"tags":["Mobile"],"summary":"Kiosk Check In","operationId":"kiosk_check_in_api_v1_mobile_kiosk_check_in_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KioskCheckInRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/kiosk/guest-check-in":{"post":{"tags":["Mobile"],"summary":"Kiosk Guest Check In","operationId":"kiosk_guest_check_in_api_v1_mobile_kiosk_guest_check_in_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KioskGuestCheckInRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/push-token":{"post":{"tags":["Mobile"],"summary":"Register Push Token","operationId":"register_push_token_api_v1_mobile_push_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushTokenRegister"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["Mobile"],"summary":"Disable Push Token","operationId":"disable_push_token_api_v1_mobile_push_token_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushTokenDisable"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/test-push":{"post":{"tags":["Mobile"],"summary":"Send Test Push","operationId":"send_test_push_api_v1_mobile_test_push_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/entries":{"get":{"tags":["Accounting"],"summary":"List Entries","operationId":"list_entries_api_v1_accounting_entries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/account-ledger":{"get":{"tags":["Accounting"],"summary":"Get Account Ledger","operationId":"get_account_ledger_api_v1_accounting_account_ledger_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":3000,"minimum":1900},{"type":"null"}],"title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/account-ledger/{account_code}":{"get":{"tags":["Accounting"],"summary":"Get Account Ledger Account","operationId":"get_account_ledger_account_api_v1_accounting_account_ledger__account_code__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"account_code","in":"path","required":true,"schema":{"type":"string","title":"Account Code"}},{"name":"year","in":"query","required":true,"schema":{"type":"integer","maximum":3000,"minimum":1900,"title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/balances":{"get":{"tags":["Accounting"],"summary":"Get Balances","operationId":"get_balances_api_v1_accounting_balances_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/accounts":{"get":{"tags":["Accounting"],"summary":"List Accounts","operationId":"list_accounts_api_v1_accounting_accounts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/reconcile-stripe-payouts":{"post":{"tags":["Accounting"],"summary":"Reconcile Stripe Payouts","operationId":"reconcile_stripe_payouts_api_v1_accounting_reconcile_stripe_payouts_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/manual-entry":{"post":{"tags":["Accounting"],"summary":"Post Manual Entry","operationId":"post_manual_entry_api_v1_accounting_manual_entry_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualEntryBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/close-fiscal-year":{"post":{"tags":["Accounting"],"summary":"Close Fiscal Year","operationId":"close_fiscal_year_api_v1_accounting_close_fiscal_year_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseFiscalYearBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/lines/{line_id}/bank-reconciled":{"patch":{"tags":["Accounting"],"summary":"Set Bank Reconciled","operationId":"set_bank_reconciled_api_v1_accounting_lines__line_id__bank_reconciled_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"line_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Line Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankReconciledBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/revenue-graph":{"get":{"tags":["Accounting"],"summary":"Get Revenue Graph","operationId":"get_revenue_graph_api_v1_accounting_revenue_graph_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/attrition-graph":{"get":{"tags":["Accounting"],"summary":"Get Attrition Graph","operationId":"get_attrition_graph_api_v1_accounting_attrition_graph_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/attrition-events":{"get":{"tags":["Accounting"],"summary":"Get Attrition Events","operationId":"get_attrition_events_api_v1_accounting_attrition_events_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/leads-graph":{"get":{"tags":["Accounting"],"summary":"Get Leads Graph","operationId":"get_leads_graph_api_v1_accounting_leads_graph_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/accounting/club-development":{"get":{"tags":["Accounting"],"summary":"Get Club Development","operationId":"get_club_development_api_v1_accounting_club_development_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/payroll/":{"get":{"tags":["Payroll"],"summary":"List Payroll","operationId":"list_payroll_api_v1_payroll__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Payroll"],"summary":"Create Payroll","operationId":"create_payroll_api_v1_payroll__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/payroll/{record_id}":{"patch":{"tags":["Payroll"],"summary":"Update Payroll","operationId":"update_payroll_api_v1_payroll__record_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Payroll"],"summary":"Delete Payroll","operationId":"delete_payroll_api_v1_payroll__record_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Record Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payroll/{record_id}/run":{"post":{"tags":["Payroll"],"summary":"Run Payroll","operationId":"run_payroll_api_v1_payroll__record_id__run_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/run-monthly-revenue-snapshot":{"post":{"tags":["Revenue Snapshot Cron"],"summary":"Run Monthly Revenue Snapshot","operationId":"run_monthly_revenue_snapshot_api_v1_accounting_run_monthly_revenue_snapshot_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunRevenueSnapshotBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/backfill-revenue-snapshots":{"post":{"tags":["Revenue Snapshot Cron"],"summary":"Backfill Revenue Snapshots","operationId":"backfill_revenue_snapshots_api_v1_accounting_backfill_revenue_snapshots_post","parameters":[{"name":"months","in":"query","required":false,"schema":{"type":"integer","default":24,"title":"Months"}},{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/run-club-financials-snapshot":{"post":{"tags":["Financial Snapshot Cron"],"summary":"Run Club Financials Snapshot","operationId":"run_club_financials_snapshot_api_v1_accounting_run_club_financials_snapshot_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/run-fiscal-year-close":{"post":{"tags":["Fiscal Year Close Cron"],"summary":"Run Fiscal Year Close","operationId":"run_fiscal_year_close_api_v1_accounting_run_fiscal_year_close_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiscalYearCloseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/backfill-fiscal-year-closures":{"post":{"tags":["Fiscal Year Close Cron"],"summary":"Backfill Fiscal Year Closures","operationId":"backfill_fiscal_year_closures_api_v1_accounting_backfill_fiscal_year_closures_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiscalYearBackfillBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/run-monthly-leads-snapshot":{"post":{"tags":["Leads Snapshot Cron"],"summary":"Run Monthly Leads Snapshot","operationId":"run_monthly_leads_snapshot_api_v1_accounting_run_monthly_leads_snapshot_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunLeadsSnapshotBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/backfill-leads-snapshots":{"post":{"tags":["Leads Snapshot Cron"],"summary":"Backfill Leads Snapshots","operationId":"backfill_leads_snapshots_api_v1_accounting_backfill_leads_snapshots_post","parameters":[{"name":"months","in":"query","required":false,"schema":{"type":"integer","default":24,"title":"Months"}},{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/accounting/run-monthly-costs":{"post":{"tags":["Monthly Costs Cron"],"summary":"Run Monthly Costs","description":"Post monthly location costs and coach payroll journal entries for all branches.","operationId":"run_monthly_costs_api_v1_accounting_run_monthly_costs_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunMonthlyCostsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orders/":{"get":{"tags":["Orders"],"summary":"List Branch Orders","operationId":"list_branch_orders_api_v1_orders__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Orders"],"summary":"Create Order","operationId":"create_order_api_v1_orders__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/orders/availability":{"get":{"tags":["Orders"],"summary":"Get Order Availability","operationId":"get_order_availability_api_v1_orders_availability_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"product_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}},{"name":"location_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Location Id"}},{"name":"quantity","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Quantity"}},{"name":"variant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orders/me":{"get":{"tags":["Orders"],"summary":"Get My Orders","operationId":"get_my_orders_api_v1_orders_me_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"for_kid_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"For Kid Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orders/capabilities":{"get":{"tags":["Orders"],"summary":"Get Order Capabilities","operationId":"get_order_capabilities_api_v1_orders_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/orders/{order_id}/cancel":{"post":{"tags":["Orders"],"summary":"Cancel My Order","operationId":"cancel_my_order_api_v1_orders__order_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orders/{order_id}/status":{"patch":{"tags":["Orders"],"summary":"Update Order Status","operationId":"update_order_status_api_v1_orders__order_id__status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/products/categories":{"get":{"tags":["Products"],"summary":"List Categories","operationId":"list_categories_api_v1_products_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Products"],"summary":"Create Category","operationId":"create_category_api_v1_products_categories_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/products/":{"get":{"tags":["Products"],"summary":"List Products","operationId":"list_products_api_v1_products__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Products"],"summary":"Create Product","operationId":"create_product_api_v1_products__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/products/{product_id}":{"get":{"tags":["Products"],"summary":"Get Product","operationId":"get_product_api_v1_products__product_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Products"],"summary":"Update Product","operationId":"update_product_api_v1_products__product_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/products/{product_id}/photos/{position}":{"post":{"tags":["Products"],"summary":"Upload Product Photo","operationId":"upload_product_photo_api_v1_products__product_id__photos__position__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}},{"name":"position","in":"path","required":true,"schema":{"type":"integer","title":"Position"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_product_photo_api_v1_products__product_id__photos__position__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 Photo","operationId":"delete_product_photo_api_v1_products__product_id__photos__position__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}},{"name":"position","in":"path","required":true,"schema":{"type":"integer","title":"Position"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/products/variants":{"post":{"tags":["Products"],"summary":"Create Variant","operationId":"create_variant_api_v1_products_variants_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/products/{product_id}/variants/import-image":{"post":{"tags":["Products"],"summary":"Import Variants From Image","operationId":"import_variants_from_image_api_v1_products__product_id__variants_import_image_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_variants_from_image_api_v1_products__product_id__variants_import_image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/products/variants/{variant_id}":{"delete":{"tags":["Products"],"summary":"Delete Variant","operationId":"delete_variant_api_v1_products_variants__variant_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scm/vendors":{"get":{"tags":["SCM"],"summary":"List Vendors","operationId":"list_vendors_api_v1_scm_vendors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["SCM"],"summary":"Create Vendor","operationId":"create_vendor_api_v1_scm_vendors_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/scm/vendors/{vendor_id}":{"patch":{"tags":["SCM"],"summary":"Update Vendor","operationId":"update_vendor_api_v1_scm_vendors__vendor_id__patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Vendor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scm/materials":{"get":{"tags":["SCM"],"summary":"List Materials","operationId":"list_materials_api_v1_scm_materials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["SCM"],"summary":"Create Material","operationId":"create_material_api_v1_scm_materials_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/scm/materials/{material_id}":{"patch":{"tags":["SCM"],"summary":"Update Material","operationId":"update_material_api_v1_scm_materials__material_id__patch","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterialUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["SCM"],"summary":"Delete Material","operationId":"delete_material_api_v1_scm_materials__material_id__delete","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scm/purchase-orders":{"get":{"tags":["SCM"],"summary":"List Purchase Orders","operationId":"list_purchase_orders_api_v1_scm_purchase_orders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]},"post":{"tags":["SCM"],"summary":"Create Purchase Order","operationId":"create_purchase_order_api_v1_scm_purchase_orders_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/scm/purchase-order-service-items":{"get":{"tags":["SCM"],"summary":"List Purchase Order Service Items","operationId":"list_purchase_order_service_items_api_v1_scm_purchase_order_service_items_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/scm/purchase-orders/{purchase_order_id}":{"get":{"tags":["SCM"],"summary":"Get Purchase Order","operationId":"get_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__get","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"purchase_order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Purchase Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scm/purchase-orders/from-association-payable":{"post":{"tags":["SCM"],"summary":"Create Association Payable Purchase Order","operationId":"create_association_payable_purchase_order_api_v1_scm_purchase_orders_from_association_payable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationPayablePurchaseOrderCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"HTTPBearer":[]}]}},"/api/v1/scm/purchase-orders/{purchase_order_id}/confirm":{"post":{"tags":["SCM"],"summary":"Confirm Purchase Order","operationId":"confirm_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__confirm_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"purchase_order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Purchase Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scm/purchase-orders/{purchase_order_id}/ship":{"post":{"tags":["SCM"],"summary":"Ship Purchase Order","operationId":"ship_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__ship_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"purchase_order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Purchase Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scm/purchase-orders/{purchase_order_id}/receive":{"post":{"tags":["SCM"],"summary":"Receive Purchase Order","operationId":"receive_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__receive_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"purchase_order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Purchase Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/scm/purchase-orders/{purchase_order_id}/pay":{"post":{"tags":["SCM"],"summary":"Pay Purchase Order","operationId":"pay_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__pay_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"purchase_order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Purchase Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/smoothcomp/import":{"post":{"tags":["Smoothcomp Import"],"summary":"Import Smoothcomp Csv","description":"Upload a Smoothcomp CSV export and import results for matched athletes.","operationId":"import_smoothcomp_csv_api_v1_smoothcomp_import_post","security":[{"HTTPBearer":[]},{"HTTPBearer":[]}],"parameters":[{"name":"competition_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Competition Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_smoothcomp_csv_api_v1_smoothcomp_import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/smoothcomp-registrations/id-prompt/claim":{"post":{"tags":["Smoothcomp Registrations"],"summary":"Claim Missing Smoothcomp Id Prompt","description":"Atomically claim the once-ever missing-ID prompt for self and children.","operationId":"claim_missing_smoothcomp_id_prompt_api_v1_smoothcomp_registrations_id_prompt_claim_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/smoothcomp-events/run-nightly-import":{"post":{"tags":["Smoothcomp Event Cron"],"summary":"Run Nightly Smoothcomp Event Import","operationId":"run_nightly_smoothcomp_event_import_api_v1_smoothcomp_events_run_nightly_import_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/smoothcomp-events/latest-run":{"get":{"tags":["Smoothcomp Event Cron"],"summary":"Get Latest Smoothcomp Event Import Run","operationId":"get_latest_smoothcomp_event_import_run_api_v1_smoothcomp_events_latest_run_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/smoothcomp-registrations/run-due-import":{"post":{"tags":["Smoothcomp Registration Cron"],"summary":"Run Due Smoothcomp Registration Import","operationId":"run_due_smoothcomp_registration_import_api_v1_smoothcomp_registrations_run_due_import_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/smoothcomp-registrations/latest-runs":{"get":{"tags":["Smoothcomp Registration Cron"],"summary":"Get Latest Smoothcomp Registration Runs","operationId":"get_latest_smoothcomp_registration_runs_api_v1_smoothcomp_registrations_latest_runs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/smoothcomp-registrations/operations/latest-runs":{"get":{"tags":["Smoothcomp Registration Cron"],"summary":"Get Latest Smoothcomp Registration Runs For Operations","operationId":"get_latest_smoothcomp_registration_runs_for_operations_api_v1_smoothcomp_registrations_operations_latest_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/smoothcomp-results/run-nightly-import":{"post":{"tags":["Smoothcomp Results Cron"],"summary":"Run Nightly Smoothcomp Results Import","operationId":"run_nightly_smoothcomp_results_import_api_v1_smoothcomp_results_run_nightly_import_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/smoothcomp-results/latest-runs":{"get":{"tags":["Smoothcomp Results Cron"],"summary":"Get Latest Smoothcomp Result Runs","description":"Recent per-competition import logs (newest first, last 20).","operationId":"get_latest_smoothcomp_result_runs_api_v1_smoothcomp_results_latest_runs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/smoothcomp-results/competition-status":{"get":{"tags":["Smoothcomp Results Cron"],"summary":"Get Competition Result Status","description":"Status of all competitions with a smoothcomp_event_id.","operationId":"get_competition_result_status_api_v1_smoothcomp_results_competition_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/registration/organizations":{"get":{"tags":["Registration"],"summary":"List Organizations","operationId":"list_organizations_api_v1_registration_organizations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OrgOption"},"type":"array","title":"Response List Organizations Api V1 Registration Organizations Get"}}}}}}},"/api/v1/registration/prepare-account":{"post":{"tags":["Registration"],"summary":"Prepare Account","operationId":"prepare_account_api_v1_registration_prepare_account_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareAccountRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/registration/andorra-migration/legacy":{"post":{"tags":["Registration"],"summary":"Migrate Andorra With Legacy Password","description":"Verify the legacy password, attach Auth to the imported profile, and sign in.","operationId":"migrate_andorra_with_legacy_password_api_v1_registration_andorra_migration_legacy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AndorraLegacyMigrationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/registration/mobile-login":{"post":{"tags":["Registration"],"summary":"Mobile Login","operationId":"mobile_login_api_v1_registration_mobile_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/registration/gym-lead":{"post":{"tags":["Registration"],"summary":"Capture Gym Lead","description":"Capture a gym that isn't on CompTeam yet, surfaced by an athlete at a\ndead-end. Public — works logged-out — but attaches the athlete's identity\nwhen a session is present so the founder can close the loop.","operationId":"capture_gym_lead_api_v1_registration_gym_lead_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GymLeadRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/registration/setup":{"post":{"tags":["Registration"],"summary":"Complete Admin Setup","operationId":"complete_admin_setup_api_v1_registration_setup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationSetupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/registration/branches":{"get":{"tags":["Registration"],"summary":"List Branches","operationId":"list_branches_api_v1_registration_branches_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"organization_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BranchOption"},"title":"Response List Branches Api V1 Registration Branches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/registration/branches/{branch_id}":{"get":{"tags":["Registration"],"summary":"Get Branch","operationId":"get_branch_api_v1_registration_branches__branch_id__get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchOption"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/registration/branches/{branch_id}/terms":{"get":{"tags":["Registration"],"summary":"Get Branch Terms","operationId":"get_branch_terms_api_v1_registration_branches__branch_id__terms_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchTerms"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/registration/branches/{branch_id}/membership-plans":{"get":{"tags":["Registration"],"summary":"List Branch Membership Plans","operationId":"list_branch_membership_plans_api_v1_registration_branches__branch_id__membership_plans_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RegistrationMembershipPlan"},"title":"Response List Branch Membership Plans Api V1 Registration Branches  Branch Id  Membership Plans Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/registration/check-profile-fields":{"get":{"tags":["Registration"],"summary":"Check Profile Fields","description":"Check whether a smoothcomp_id or instagram_handle is already taken by another profile.","operationId":"check_profile_fields_api_v1_registration_check_profile_fields_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"smoothcomp_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smoothcomp Id"}},{"name":"instagram_handle","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Handle"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/registration/pending":{"get":{"tags":["Registration"],"summary":"Get Pending Athlete","description":"Return pre-filled data for this athlete if the branch admin imported them.","operationId":"get_pending_athlete_api_v1_registration_pending_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"branch_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/registration/athlete":{"post":{"tags":["Registration"],"summary":"Register Athlete","operationId":"register_athlete_api_v1_registration_athlete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AthleteRegistrationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/registration/athlete/join-branch":{"post":{"tags":["Registration"],"summary":"Join Branch","description":"An existing athlete joins an additional branch (global profile untouched).","operationId":"join_branch_api_v1_registration_athlete_join_branch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinBranchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/support/":{"get":{"tags":["Support"],"summary":"List Support Requests","operationId":"list_support_requests_api_v1_support__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Support"],"summary":"Create Support Request","operationId":"create_support_request_api_v1_support__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_support_request_api_v1_support__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/support/{request_id}":{"get":{"tags":["Support"],"summary":"Get Support Request","operationId":"get_support_request_api_v1_support__request_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/support/{request_id}/comments":{"post":{"tags":["Support"],"summary":"Add Comment","operationId":"add_comment_api_v1_support__request_id__comments_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddComment"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/support/admin/list":{"get":{"tags":["Support"],"summary":"Admin List Support Requests","operationId":"admin_list_support_requests_api_v1_support_admin_list_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/support/admin/{request_id}":{"get":{"tags":["Support"],"summary":"Admin Get Support Request","operationId":"admin_get_support_request_api_v1_support_admin__request_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/support/admin/{request_id}/comments":{"post":{"tags":["Support"],"summary":"Admin Add Comment","operationId":"admin_add_comment_api_v1_support_admin__request_id__comments_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddComment"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/support/admin/{request_id}/status":{"patch":{"tags":["Support"],"summary":"Admin Set Status","operationId":"admin_set_status_api_v1_support_admin__request_id__status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetStatus"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/system/dev-mode":{"get":{"tags":["System"],"summary":"Get Dev Mode","description":"Return public feature flags for the frontend.\n\nThe frontend uses dev_mode to suppress the email-verification banner in\nlocal development.\n\nleads_crm_enabled reflects whether the base Leads CRM is available on the\nplatform. Source integrations such as Instagram and HighLevel still expose\ntheir own dedicated flags and tier gates.\n\nThe Blue Belt early-bird offer is closed to new subscriptions.","operationId":"get_dev_mode_api_v1_system_dev_mode_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/training/locations":{"get":{"tags":["Training"],"summary":"List Locations","operationId":"list_locations_api_v1_training_locations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Training"],"summary":"Create Location","operationId":"create_location_api_v1_training_locations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/locations/{location_id}":{"patch":{"tags":["Training"],"summary":"Update Location","operationId":"update_location_api_v1_training_locations__location_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"location_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Location Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Training"],"summary":"Delete Location","operationId":"delete_location_api_v1_training_locations__location_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"location_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Location Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/coaches":{"get":{"tags":["Training"],"summary":"List Coaches","operationId":"list_coaches_api_v1_training_coaches_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/week":{"get":{"tags":["Training"],"summary":"Get Week","operationId":"get_week_api_v1_training_week_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Start"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/group-photo/{occurrence_key}/download":{"get":{"tags":["Training"],"summary":"Download Group Photo","operationId":"download_group_photo_api_v1_training_group_photo__occurrence_key__download_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/group-photo/{occurrence_key}":{"get":{"tags":["Training"],"summary":"Get Group Photo","operationId":"get_group_photo_api_v1_training_group_photo__occurrence_key__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Training"],"summary":"Upload Group Photo","operationId":"upload_group_photo_api_v1_training_group_photo__occurrence_key__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_group_photo_api_v1_training_group_photo__occurrence_key__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Training"],"summary":"Delete Group Photo","operationId":"delete_group_photo_api_v1_training_group_photo__occurrence_key__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/group-photo/{occurrence_key}/face-matches":{"get":{"tags":["Training"],"summary":"Get Group Photo Face Matches","operationId":"get_group_photo_face_matches_api_v1_training_group_photo__occurrence_key__face_matches_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/group-photo/{occurrence_key}/face-matches/reprocess":{"post":{"tags":["Training"],"summary":"Reprocess Group Photo Faces","operationId":"reprocess_group_photo_faces_api_v1_training_group_photo__occurrence_key__face_matches_reprocess_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/group-photo/{occurrence_key}/face-matches/{face_id}/decision":{"post":{"tags":["Training"],"summary":"Decide Group Photo Face Match","operationId":"decide_group_photo_face_match_api_v1_training_group_photo__occurrence_key__face_matches__face_id__decision_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}},{"name":"face_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Face Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaceMatchDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/series":{"get":{"tags":["Training"],"summary":"List Series","operationId":"list_series_api_v1_training_series_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Training"],"summary":"Create Series","operationId":"create_series_api_v1_training_series_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeriesCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/series/{series_id}":{"patch":{"tags":["Training"],"summary":"Update Series","operationId":"update_series_api_v1_training_series__series_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Series Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeriesUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Training"],"summary":"Delete Series","operationId":"delete_series_api_v1_training_series__series_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Series Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/series/{series_id}/occurrences/{original_date}":{"patch":{"tags":["Training"],"summary":"Update Occurrence","operationId":"update_occurrence_api_v1_training_series__series_id__occurrences__original_date__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Series Id"}},{"name":"original_date","in":"path","required":true,"schema":{"type":"string","format":"date","title":"Original Date"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OccurrencePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Training"],"summary":"Cancel Occurrence","operationId":"cancel_occurrence_api_v1_training_series__series_id__occurrences__original_date__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Series Id"}},{"name":"original_date","in":"path","required":true,"schema":{"type":"string","format":"date","title":"Original Date"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/occurrences":{"post":{"tags":["Training"],"summary":"Create One Off","operationId":"create_one_off_api_v1_training_occurrences_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneOffCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/occurrences/{occurrence_id}":{"patch":{"tags":["Training"],"summary":"Update One Off","operationId":"update_one_off_api_v1_training_occurrences__occurrence_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Occurrence Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OccurrencePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Training"],"summary":"Delete One Off","operationId":"delete_one_off_api_v1_training_occurrences__occurrence_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Occurrence Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/attendance":{"post":{"tags":["Training"],"summary":"Set Attendance","operationId":"set_attendance_api_v1_training_attendance_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendanceSet"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/attendance/guardian":{"post":{"tags":["Training"],"summary":"Set Guardian Attendance","description":"Guardian sets attendance on behalf of one of their kids.","operationId":"set_guardian_attendance_api_v1_training_attendance_guardian_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianAttendanceSet"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/attendance/check-in":{"post":{"tags":["Training"],"summary":"Set Check In","operationId":"set_check_in_api_v1_training_attendance_check_in_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInSet"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/attendance/provisional-check-in":{"post":{"tags":["Training"],"summary":"Set Provisional Check In","operationId":"set_provisional_check_in_api_v1_training_attendance_provisional_check_in_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisionalCheckInSet"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/attendance/kiosk-browser-check-in/{token}":{"post":{"tags":["Training"],"summary":"Kiosk Browser Check In","operationId":"kiosk_browser_check_in_api_v1_training_attendance_kiosk_browser_check_in__token__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KioskBrowserCheckInResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/attendance/eligible-walk-ins/{occurrence_key}":{"get":{"tags":["Training"],"summary":"List Eligible Walk Ins","operationId":"list_eligible_walk_ins_api_v1_training_attendance_eligible_walk_ins__occurrence_key__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/attendance/{occurrence_key}":{"get":{"tags":["Training"],"summary":"Get Attendance","operationId":"get_attendance_api_v1_training_attendance__occurrence_key__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"occurrence_key","in":"path","required":true,"schema":{"type":"string","title":"Occurrence Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/group-photo-face-jobs/run":{"post":{"tags":["Training Cron"],"summary":"Recover Group Photo Face Jobs","operationId":"recover_group_photo_face_jobs_api_v1_training_group_photo_face_jobs_run_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training-analytics/attendance-graph":{"get":{"tags":["Training Analytics"],"summary":"Get Attendance Graph","operationId":"get_attendance_graph_api_v1_training_analytics_attendance_graph_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training-analytics/run-nightly-attendance-snapshot":{"post":{"tags":["Training Analytics"],"summary":"Run Nightly Attendance Snapshot","operationId":"run_nightly_attendance_snapshot_api_v1_training_analytics_run_nightly_attendance_snapshot_post","parameters":[{"name":"x-cron-secret","in":"header","required":false,"schema":{"type":"string","title":"X-Cron-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/offerings":{"get":{"tags":["Training Bookings"],"summary":"List Offerings","operationId":"list_offerings_api_v1_training_offerings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"include_history","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include History"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Training Bookings"],"summary":"Create Offering","operationId":"create_offering_api_v1_training_offerings_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferingCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/offerings/{offering_id}":{"patch":{"tags":["Training Bookings"],"summary":"Update Offering","operationId":"update_offering_api_v1_training_offerings__offering_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offering_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Offering Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/training/bookings":{"get":{"tags":["Training Bookings"],"summary":"List Branch Bookings","operationId":"list_branch_bookings_api_v1_training_bookings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Training Bookings"],"summary":"Create Booking","operationId":"create_booking_api_v1_training_bookings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/bookings/drop-in":{"post":{"tags":["Training Bookings"],"summary":"Create Drop In Booking","operationId":"create_drop_in_booking_api_v1_training_bookings_drop_in_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DropInBookingCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/bookings/coach-record":{"post":{"tags":["Training Bookings"],"summary":"Coach Record Booking","operationId":"coach_record_booking_api_v1_training_bookings_coach_record_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoachRecordBooking"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/bookings/me":{"get":{"tags":["Training Bookings"],"summary":"List My Bookings","operationId":"list_my_bookings_api_v1_training_bookings_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/training/bookings/{booking_id}":{"delete":{"tags":["Training Bookings"],"summary":"Cancel Booking","operationId":"cancel_booking_api_v1_training_bookings__booking_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Booking Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/":{"get":{"tags":["Travel"],"summary":"List Groups","operationId":"list_groups_api_v1_travel_groups__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Travel"],"summary":"Create Group","operationId":"create_group_api_v1_travel_groups__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/travel-groups/{group_id}":{"get":{"tags":["Travel"],"summary":"Get Group","operationId":"get_group_api_v1_travel_groups__group_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Travel"],"summary":"Update Group","operationId":"update_group_api_v1_travel_groups__group_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Travel"],"summary":"Delete Group","operationId":"delete_group_api_v1_travel_groups__group_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/{group_id}/responsible":{"post":{"tags":["Travel"],"summary":"Set Responsible","operationId":"set_responsible_api_v1_travel_groups__group_id__responsible_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsibleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/{group_id}/eligible-athletes":{"get":{"tags":["Travel"],"summary":"List Eligible Athletes","operationId":"list_eligible_athletes_api_v1_travel_groups__group_id__eligible_athletes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/{group_id}/eligible-coaches":{"get":{"tags":["Travel"],"summary":"List Eligible Coaches","operationId":"list_eligible_coaches_api_v1_travel_groups__group_id__eligible_coaches_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/{group_id}/items":{"post":{"tags":["Travel"],"summary":"Add Item","operationId":"add_item_api_v1_travel_groups__group_id__items_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/items/{item_id}":{"patch":{"tags":["Travel"],"summary":"Update Item","operationId":"update_item_api_v1_travel_groups_items__item_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Travel"],"summary":"Delete Item","operationId":"delete_item_api_v1_travel_groups_items__item_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/{group_id}/assignments":{"post":{"tags":["Travel"],"summary":"Assign Member","operationId":"assign_member_api_v1_travel_groups__group_id__assignments_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/assignments/{assignment_id}":{"delete":{"tags":["Travel"],"summary":"Remove Assignment","operationId":"remove_assignment_api_v1_travel_groups_assignments__assignment_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/{group_id}/join":{"post":{"tags":["Travel"],"summary":"Self Join","operationId":"self_join_api_v1_travel_groups__group_id__join_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/{group_id}/leave":{"delete":{"tags":["Travel"],"summary":"Self Leave","operationId":"self_leave_api_v1_travel_groups__group_id__leave_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/{group_id}/consent/request":{"post":{"tags":["Travel"],"summary":"Request Consent","operationId":"request_consent_api_v1_travel_groups__group_id__consent_request_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel-groups/{group_id}/complete":{"post":{"tags":["Travel"],"summary":"Complete Travel","operationId":"complete_travel_api_v1_travel_groups__group_id__complete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/stripe":{"post":{"tags":["Webhooks"],"summary":"Stripe Platform Webhook","operationId":"stripe_platform_webhook_api_v1_webhooks_stripe_post","parameters":[{"name":"stripe-signature","in":"header","required":false,"schema":{"type":"string","title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/stripe/branch/{branch_id}":{"post":{"tags":["Webhooks"],"summary":"Stripe Branch Webhook","operationId":"stripe_branch_webhook_api_v1_webhooks_stripe_branch__branch_id__post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"stripe-signature","in":"header","required":false,"schema":{"type":"string","title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/instagram":{"get":{"tags":["Webhooks"],"summary":"Instagram Webhook Verify","description":"Meta's webhook verification handshake, performed once when the\nSubscribe-to-events config is saved in the App Dashboard.","operationId":"instagram_webhook_verify_api_v1_webhooks_instagram_get","parameters":[{"name":"hub.mode","in":"query","required":false,"schema":{"type":"string","title":"Hub.Mode"}},{"name":"hub.verify_token","in":"query","required":false,"schema":{"type":"string","title":"Hub.Verify Token"}},{"name":"hub.challenge","in":"query","required":false,"schema":{"type":"string","title":"Hub.Challenge"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Webhooks"],"summary":"Instagram Webhook","operationId":"instagram_webhook_api_v1_webhooks_instagram_post","parameters":[{"name":"x-hub-signature-256","in":"header","required":false,"schema":{"type":"string","title":"X-Hub-Signature-256"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/marketplace":{"post":{"tags":["Webhooks"],"summary":"Marketplace Webhook","operationId":"marketplace_webhook_api_v1_webhooks_marketplace_post","parameters":[{"name":"x-highlevel-signature","in":"header","required":false,"schema":{"type":"string","title":"X-Highlevel-Signature"}},{"name":"x-ghl-signature","in":"header","required":false,"schema":{"type":"string","title":"X-Ghl-Signature"}},{"name":"x-wh-signature","in":"header","required":false,"schema":{"type":"string","title":"X-Wh-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/highlevel":{"post":{"tags":["Webhooks"],"summary":"Highlevel Webhook","operationId":"highlevel_webhook_api_v1_webhooks_highlevel_post","parameters":[{"name":"x-highlevel-signature","in":"header","required":false,"schema":{"type":"string","title":"X-Highlevel-Signature"}},{"name":"x-ghl-signature","in":"header","required":false,"schema":{"type":"string","title":"X-Ghl-Signature"}},{"name":"x-wh-signature","in":"header","required":false,"schema":{"type":"string","title":"X-Wh-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AccreditationDecisionBody":{"properties":{"decision":{"type":"string","enum":["approve","decline"],"title":"Decision"}},"type":"object","required":["decision"],"title":"AccreditationDecisionBody"},"ActiveBranchUpdate":{"properties":{"branch_id":{"type":"string","format":"uuid","title":"Branch Id"}},"type":"object","required":["branch_id"],"title":"ActiveBranchUpdate"},"AddComment":{"properties":{"body":{"type":"string","maxLength":500,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"AddComment"},"AdminEntryCreate":{"properties":{"competition_id":{"type":"string","format":"uuid","title":"Competition Id"},"division":{"type":"string","title":"Division"},"weight_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weight Class"},"ruleset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ruleset"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"belt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Belt"},"weight_kg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Kg"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"age_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age Type"},"gi_nogi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gi Nogi"},"athlete_id":{"type":"string","format":"uuid","title":"Athlete Id"}},"type":"object","required":["competition_id","division","athlete_id"],"title":"AdminEntryCreate"},"AdminHighLevelBackfillRequest":{"properties":{"window_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":1.0},{"type":"null"}],"title":"Window Days","default":30},"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":100}},"type":"object","title":"AdminHighLevelBackfillRequest"},"AdminHighLevelUpdate":{"properties":{"provisioning_status":{"anyOf":[{"type":"string","enum":["not_connected","pending","connected","reconnect_required"]},{"type":"null"}],"title":"Provisioning Status"},"admin_invites_status":{"anyOf":[{"type":"string","enum":["not_started","pending","sent"]},{"type":"null"}],"title":"Admin Invites Status"},"highlevel_location_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Highlevel Location Id"},"highlevel_location_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Highlevel Location Name"},"highlevel_company_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Highlevel Company Id"},"operator_notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Operator Notes"}},"type":"object","title":"AdminHighLevelUpdate"},"AndorraLegacyMigrationRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":1024,"minLength":1,"title":"Password"},"captcha_token":{"type":"string","maxLength":2048,"minLength":1,"title":"Captcha Token"}},"type":"object","required":["email","password","captcha_token"],"title":"AndorraLegacyMigrationRequest"},"AssignBody":{"properties":{"athlete_id":{"type":"string","format":"uuid","title":"Athlete Id"},"member_role":{"type":"string","title":"Member Role","default":"athlete"}},"type":"object","required":["athlete_id"],"title":"AssignBody"},"AssociationPayablePurchaseOrderCreate":{"properties":{"host_branch_id":{"type":"string","format":"uuid","title":"Host Branch Id"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency"},"charge_ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1,"title":"Charge Ids"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"}},"type":"object","required":["host_branch_id","currency","charge_ids","idempotency_key"],"title":"AssociationPayablePurchaseOrderCreate"},"AssociationSettlementRequest":{"properties":{"home_branch_id":{"type":"string","format":"uuid","title":"Home Branch Id"},"received_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,10}|(?=[\\d.]{1,13}0*$)\\d{0,10}\\.\\d{0,2}0*$)"}],"title":"Received Amount"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency"},"charge_ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1,"title":"Charge Ids"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"settled_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Settled On"},"reference":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reference"}},"type":"object","required":["home_branch_id","received_amount","currency","charge_ids","idempotency_key"],"title":"AssociationSettlementRequest"},"AthleteRegistrationRequest":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"date_of_birth":{"type":"string","format":"date","title":"Date Of Birth"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"},"new_branch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Branch Name"},"new_branch_city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Branch City"},"new_branch_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Branch Country"},"gender":{"anyOf":[{"type":"string","enum":["male","female","other"]},{"type":"null"}],"title":"Gender"},"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"smoothcomp_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smoothcomp Id"},"instagram_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Handle"},"membership_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Membership Plan Id"},"account_holder_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Holder Name"},"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"},"accept_terms":{"type":"boolean","title":"Accept Terms","default":false},"accept_data_processing":{"type":"boolean","title":"Accept Data Processing","default":false},"terms_version":{"type":"integer","title":"Terms Version"}},"type":"object","required":["first_name","last_name","date_of_birth","terms_version"],"title":"AthleteRegistrationRequest"},"AthleteTierUpdate":{"properties":{"athlete_tier":{"type":"string","enum":["amateur","amateur_reduced","competitor","kid"],"title":"Athlete Tier"}},"type":"object","required":["athlete_tier"],"title":"AthleteTierUpdate"},"AttendanceSet":{"properties":{"occurrence_key":{"type":"string","title":"Occurrence Key"},"status":{"type":"string","enum":["attending","cancelled"],"title":"Status"}},"type":"object","required":["occurrence_key","status"],"title":"AttendanceSet"},"BanChange":{"properties":{"email":{"type":"string","title":"Email"},"reason":{"type":"string","minLength":10,"title":"Reason"}},"type":"object","required":["email","reason"],"title":"BanChange"},"BankClearingBatchLineCandidate":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"end_to_end_id":{"type":"string","title":"End To End Id"},"debtor_name":{"type":"string","title":"Debtor Name"},"amount":{"type":"number","title":"Amount"},"collection_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Collection Date"},"action":{"type":"string","enum":["mark_paid","reverse_payment"],"title":"Action"},"date_matches":{"type":"boolean","title":"Date Matches","default":false},"name_matches":{"type":"boolean","title":"Name Matches","default":false},"eligible":{"type":"boolean","title":"Eligible","default":false},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["id","end_to_end_id","debtor_name","amount","action"],"title":"BankClearingBatchLineCandidate"},"BankClearingDocumentsResponse":{"properties":{"summary":{"$ref":"#/components/schemas/BankClearingSummary"},"files":{"items":{"$ref":"#/components/schemas/BankClearingFileResult"},"type":"array","title":"Files"},"pending_rows":{"items":{"$ref":"#/components/schemas/BankClearingPendingRow"},"type":"array","title":"Pending Rows"}},"type":"object","required":["summary","files","pending_rows"],"title":"BankClearingDocumentsResponse"},"BankClearingFileError":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}},"type":"object","required":["code","message"],"title":"BankClearingFileError"},"BankClearingFileResult":{"properties":{"file_index":{"type":"integer","title":"File Index"},"filename":{"type":"string","title":"Filename"},"status":{"type":"string","enum":["processed","review_required","duplicate","invalid"],"title":"Status"},"statement_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Statement Id"},"document_type":{"anyOf":[{"type":"string","enum":["collection_credit","debit_return"]},{"type":"null"}],"title":"Document Type"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"collection_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Collection Date"},"processing_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Processing Date"},"linked_sepa_batch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Linked Sepa Batch Id"},"linked_collection_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Linked Collection Date"},"totals":{"anyOf":[{"$ref":"#/components/schemas/BankClearingTotals"},{"type":"null"}]},"total_rows":{"type":"integer","title":"Total Rows"},"auto_applied":{"type":"integer","title":"Auto Applied"},"needs_confirm":{"type":"integer","title":"Needs Confirm"},"fee_status":{"type":"string","enum":["pending","posted","not_applicable","unavailable"],"title":"Fee Status"},"pending_rows":{"items":{"$ref":"#/components/schemas/BankClearingPendingRow"},"type":"array","title":"Pending Rows"},"error":{"anyOf":[{"$ref":"#/components/schemas/BankClearingFileError"},{"type":"null"}]}},"type":"object","required":["file_index","filename","status","total_rows","auto_applied","needs_confirm","fee_status"],"title":"BankClearingFileResult"},"BankClearingPendingMatch":{"properties":{"action":{"type":"string","const":"pending_confirm","title":"Action"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["action","reason"],"title":"BankClearingPendingMatch"},"BankClearingPendingRow":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"file_index":{"type":"integer","title":"File Index"},"statement_id":{"type":"string","format":"uuid","title":"Statement Id"},"document_type":{"type":"string","enum":["collection_credit","debit_return"],"title":"Document Type"},"source_page":{"type":"integer","title":"Source Page"},"mandate_reference":{"type":"string","title":"Mandate Reference"},"booking_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Booking Date"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"counterparty":{"type":"string","title":"Counterparty"},"match":{"$ref":"#/components/schemas/BankClearingPendingMatch"},"batch_line_candidates":{"items":{"$ref":"#/components/schemas/BankClearingBatchLineCandidate"},"type":"array","title":"Batch Line Candidates"}},"type":"object","required":["id","file_index","statement_id","document_type","source_page","mandate_reference","amount","counterparty","match"],"title":"BankClearingPendingRow"},"BankClearingSummary":{"properties":{"file_count":{"type":"integer","title":"File Count"},"processed_files":{"type":"integer","title":"Processed Files"},"duplicate_files":{"type":"integer","title":"Duplicate Files"},"invalid_files":{"type":"integer","title":"Invalid Files"},"total_rows":{"type":"integer","title":"Total Rows"},"auto_applied":{"type":"integer","title":"Auto Applied"},"needs_confirm":{"type":"integer","title":"Needs Confirm"},"fees_posted":{"type":"integer","title":"Fees Posted"},"fees_pending":{"type":"integer","title":"Fees Pending"}},"type":"object","required":["file_count","processed_files","duplicate_files","invalid_files","total_rows","auto_applied","needs_confirm","fees_posted","fees_pending"],"title":"BankClearingSummary"},"BankClearingTotals":{"properties":{"gross":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross"},"commission":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Commission"},"tax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax"},"net":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net"}},"type":"object","title":"BankClearingTotals"},"BankDocumentExportLink":{"properties":{"batch_id":{"type":"string","format":"uuid","title":"Batch Id"}},"type":"object","required":["batch_id"],"title":"BankDocumentExportLink"},"BankReconciledBody":{"properties":{"reconciled":{"type":"boolean","title":"Reconciled"}},"type":"object","required":["reconciled"],"title":"BankReconciledBody"},"BankRowConfirmation":{"properties":{"invoice":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Invoice"},"invoices":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":20,"title":"Invoices"},"batch_line_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Batch Line Id"}},"type":"object","title":"BankRowConfirmation"},"BeltPromotionCreate":{"properties":{"athlete_id":{"type":"string","format":"uuid","title":"Athlete Id"},"belt":{"type":"string","title":"Belt"},"stripes":{"type":"string","title":"Stripes","default":"0"},"is_stripe_only":{"type":"boolean","title":"Is Stripe Only","default":false},"promoted_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Promoted At"},"ceremony":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ceremony"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["athlete_id","belt"],"title":"BeltPromotionCreate"},"BeltPromotionDateUpdate":{"properties":{"promoted_at":{"type":"string","format":"date","title":"Promoted At"}},"type":"object","required":["promoted_at"],"title":"BeltPromotionDateUpdate"},"BillingDetailsUpdate":{"properties":{"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"},"account_holder_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Holder Name"}},"type":"object","title":"BillingDetailsUpdate"},"Body_create_support_request_api_v1_support__post":{"properties":{"message":{"type":"string","title":"Message"},"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files","default":[]}},"type":"object","required":["message"],"title":"Body_create_support_request_api_v1_support__post"},"Body_import_athletes_api_v1_athletes_import_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"use_ai":{"type":"boolean","title":"Use Ai","default":true}},"type":"object","required":["file"],"title":"Body_import_athletes_api_v1_athletes_import_post"},"Body_import_smoothcomp_csv_api_v1_smoothcomp_import_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_smoothcomp_csv_api_v1_smoothcomp_import_post"},"Body_import_variants_from_image_api_v1_products__product_id__variants_import_image_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"allow_backorder":{"type":"boolean","title":"Allow Backorder","default":true}},"type":"object","required":["file"],"title":"Body_import_variants_from_image_api_v1_products__product_id__variants_import_image_post"},"Body_request_kid_membership_pause_api_v1_guardian_kids__kid_id__membership_pause_requests_post":{"properties":{"reason":{"type":"string","title":"Reason"},"start_month":{"type":"string","title":"Start Month"},"end_month":{"type":"string","title":"End Month"},"document":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Document"}},"type":"object","required":["reason","start_month","end_month"],"title":"Body_request_kid_membership_pause_api_v1_guardian_kids__kid_id__membership_pause_requests_post"},"Body_request_my_membership_pause_api_v1_memberships_me_pause_requests_post":{"properties":{"reason":{"type":"string","title":"Reason"},"start_month":{"type":"string","title":"Start Month"},"end_month":{"type":"string","title":"End Month"},"document":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Document"}},"type":"object","required":["reason","start_month","end_month"],"title":"Body_request_my_membership_pause_api_v1_memberships_me_pause_requests_post"},"Body_submit_accreditation_document_api_v1_accreditation_document_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_submit_accreditation_document_api_v1_accreditation_document_post"},"Body_upload_athlete_photo_as_admin_api_v1_athletes__athlete_id__photo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_athlete_photo_as_admin_api_v1_athletes__athlete_id__photo_post"},"Body_upload_bank_clearing_documents_api_v1_billing_bank_clearing_documents_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_upload_bank_clearing_documents_api_v1_billing_bank_clearing_documents_post"},"Body_upload_bank_statement_api_v1_billing_bank_statement_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_bank_statement_api_v1_billing_bank_statement_post"},"Body_upload_branch_logo_api_v1_branch_settings_logo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_branch_logo_api_v1_branch_settings_logo_post"},"Body_upload_competition_photo_api_v1_competitions__competition_id__photos_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_competition_photo_api_v1_competitions__competition_id__photos_post"},"Body_upload_group_photo_api_v1_training_group_photo__occurrence_key__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_group_photo_api_v1_training_group_photo__occurrence_key__post"},"Body_upload_guardian_kid_injury_report_api_v1_guardian_kids__kid_id__injuries__injury_id__report_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_guardian_kid_injury_report_api_v1_guardian_kids__kid_id__injuries__injury_id__report_post"},"Body_upload_internal_competition_photo_api_v1_internal_competitions__competition_id__photos_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_internal_competition_photo_api_v1_internal_competitions__competition_id__photos_post"},"Body_upload_kid_photo_api_v1_guardian_kids__kid_id__photo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_kid_photo_api_v1_guardian_kids__kid_id__photo_post"},"Body_upload_my_injury_report_api_v1_athletes_me_injuries__injury_id__report_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_my_injury_report_api_v1_athletes_me_injuries__injury_id__report_post"},"Body_upload_my_medical_doc_api_v1_athletes_me_medical_docs_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_my_medical_doc_api_v1_athletes_me_medical_docs_post"},"Body_upload_my_photo_api_v1_athletes_me_photo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_my_photo_api_v1_athletes_me_photo_post"},"Body_upload_pending_document_api_v1_athletes_pending__pending_id__documents_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_pending_document_api_v1_athletes_pending__pending_id__documents_post"},"Body_upload_product_photo_api_v1_products__product_id__photos__position__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_product_photo_api_v1_products__product_id__photos__position__post"},"Body_upload_secondary_branch_logo_api_v1_branch_settings_secondary_logo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_secondary_branch_logo_api_v1_branch_settings_secondary_logo_post"},"BookingCreate":{"properties":{"offering_id":{"type":"string","format":"uuid","title":"Offering Id"},"payment_method":{"type":"string","title":"Payment Method","default":"manual"},"session_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Session Date"},"discount_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Discount Code"}},"type":"object","required":["offering_id"],"title":"BookingCreate"},"BranchAccessChange":{"properties":{"suspend":{"type":"boolean","title":"Suspend"},"expected_suspended":{"type":"boolean","title":"Expected Suspended"},"reason":{"type":"string","minLength":10,"title":"Reason"}},"type":"object","required":["suspend","expected_suspended","reason"],"title":"BranchAccessChange"},"BranchAdminEmailBody":{"properties":{"subject":{"type":"string","title":"Subject"},"message":{"type":"string","title":"Message"},"recipient_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1},{"type":"null"}],"title":"Recipient Ids"}},"type":"object","required":["subject","message"],"title":"BranchAdminEmailBody"},"BranchAdminUpdateBody":{"properties":{"coach_user_id":{"type":"string","title":"Coach User Id"}},"type":"object","required":["coach_user_id"],"title":"BranchAdminUpdateBody"},"BranchCheckInCreate":{"properties":{"occurrence_key":{"type":"string","title":"Occurrence Key"},"checkin_token":{"type":"string","title":"Checkin Token"}},"type":"object","required":["occurrence_key","checkin_token"],"title":"BranchCheckInCreate"},"BranchOption":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"secondary_logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secondary Logo Url"},"secondary_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secondary Name"},"organization_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Organization Id"},"require_self_subscription_approval":{"type":"boolean","title":"Require Self Subscription Approval","default":false},"require_member_photo":{"type":"boolean","title":"Require Member Photo","default":false},"is_unmanaged":{"type":"boolean","title":"Is Unmanaged","default":false}},"type":"object","required":["id","name"],"title":"BranchOption"},"BranchTerms":{"properties":{"terms_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms Text"},"terms_version":{"type":"integer","title":"Terms Version"},"allow_registration_without_membership":{"type":"boolean","title":"Allow Registration Without Membership","default":false},"require_member_photo":{"type":"boolean","title":"Require Member Photo","default":false}},"type":"object","required":["terms_version"],"title":"BranchTerms"},"BranchUpdate":{"properties":{"coach_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coach User Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"secondary_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Secondary Name"},"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"join_requirements":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Join Requirements"},"included_perks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Included Perks"},"recruitment_headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recruitment Headline"},"background_choice":{"anyOf":[{"type":"string","enum":["collage_1","collage_2","collage_3","collage_4","collage_5","collage_6","collage_7"]},{"type":"null"}],"title":"Background Choice"},"terms_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms Text"},"clearing_mode":{"anyOf":[{"type":"string","enum":["easy","full_bank"]},{"type":"null"}],"title":"Clearing Mode"},"creditor_identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Creditor Identifier"},"sepa_iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sepa Iban"},"sepa_bic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sepa Bic"},"sepa_collection_day":{"anyOf":[{"type":"integer","maximum":28.0,"minimum":1.0},{"type":"null"}],"title":"Sepa Collection Day"},"instagram_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Handle"},"smoothcomp_club_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smoothcomp Club Id"},"default_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Language"},"club_billing_terminology_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Club Billing Terminology Enabled"},"email_manual_invoices_to_athletes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email Manual Invoices To Athletes"},"require_self_subscription_approval":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Self Subscription Approval"},"allow_registration_without_membership":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Registration Without Membership"},"require_member_photo":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Member Photo"},"require_signup_fee_clearance_before_activation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Signup Fee Clearance Before Activation"},"signup_fee_payment_instructions":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Signup Fee Payment Instructions"},"allow_managed_adult_pending_activation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Managed Adult Pending Activation"},"require_membership_signature":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Membership Signature"},"auto_checkin_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Checkin Enabled"},"face_recognition_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Face Recognition Enabled"},"face_auto_attendance_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Face Auto Attendance Enabled"},"allow_kiosk_walk_ins":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Kiosk Walk Ins"},"allow_athlete_gear_orders":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Athlete Gear Orders"},"require_gear_payment_clearance_before_confirmation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Gear Payment Clearance Before Confirmation"},"allow_coach_gear_payment_actions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Coach Gear Payment Actions"},"allow_athlete_paid_training":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Athlete Paid Training"},"allow_athlete_competitions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Athlete Competitions"},"allow_athlete_travel":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Athlete Travel"},"allow_athlete_my_bills":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Athlete My Bills"},"migration_mode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Migration Mode"},"migration_membership_start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Migration Membership Start Date"},"trial_period_days":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":1.0},{"type":"null"}],"title":"Trial Period Days"},"membership_cancellation_notice_months":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":0.0},{"type":"null"}],"title":"Membership Cancellation Notice Months"},"tax_rate_pct":{"anyOf":[{"type":"number","exclusiveMaximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Tax Rate Pct"}},"type":"object","title":"BranchUpdate"},"BulkStatusUpdate":{"properties":{"payment_ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1,"title":"Payment Ids"},"action":{"type":"string","enum":["mark_paid","waive","failed_debit"],"title":"Action"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["payment_ids","action"],"title":"BulkStatusUpdate"},"CancelMembershipRequest":{"properties":{"cancelled_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Cancelled On"}},"type":"object","title":"CancelMembershipRequest"},"CategoryCreate":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"CategoryCreate"},"ChangePlanRequest":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"signer_name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Signer Name"}},"type":"object","required":["plan_id"],"title":"ChangePlanRequest"},"ChangeTierRequest":{"properties":{"tier":{"type":"string","title":"Tier"},"success_url":{"type":"string","title":"Success Url"},"cancel_url":{"type":"string","title":"Cancel Url"}},"type":"object","required":["tier","success_url","cancel_url"],"title":"ChangeTierRequest"},"CheckInSet":{"properties":{"occurrence_key":{"type":"string","title":"Occurrence Key"},"athlete_user_id":{"type":"string","format":"uuid","title":"Athlete User Id"},"checked_in":{"type":"boolean","title":"Checked In"}},"type":"object","required":["occurrence_key","athlete_user_id","checked_in"],"title":"CheckInSet"},"CloseFiscalYearBody":{"properties":{"year":{"anyOf":[{"type":"integer","maximum":3000.0,"minimum":1900.0},{"type":"null"}],"title":"Year"}},"type":"object","title":"CloseFiscalYearBody"},"CoachAssign":{"properties":{"athlete_id":{"type":"string","format":"uuid","title":"Athlete Id"},"coach_id":{"type":"string","format":"uuid","title":"Coach Id"}},"type":"object","required":["athlete_id","coach_id"],"title":"CoachAssign"},"CoachRecordBooking":{"properties":{"offering_id":{"type":"string","format":"uuid","title":"Offering Id"},"athlete_id":{"type":"string","format":"uuid","title":"Athlete Id"},"payment_method":{"type":"string","title":"Payment Method","default":"manual"},"session_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Session Date"}},"type":"object","required":["offering_id","athlete_id"],"title":"CoachRecordBooking"},"CoachResultUpsert":{"properties":{"entry_id":{"type":"string","format":"uuid","title":"Entry Id"},"participated":{"type":"boolean","title":"Participated","default":true},"placement":{"type":"string","title":"Placement","default":"no_placement"},"wins":{"type":"integer","title":"Wins","default":0},"losses":{"type":"integer","title":"Losses","default":0},"win_methods":{"items":{"type":"string"},"type":"array","title":"Win Methods","default":[]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["entry_id"],"title":"CoachResultUpsert","description":"A branch admin / coach recording a result for an entry."},"CompetitionConsentUpdate":{"properties":{"consented":{"type":"boolean","title":"Consented"},"document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Url"},"signer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer Name"}},"type":"object","required":["consented"],"title":"CompetitionConsentUpdate"},"CompetitionCreate":{"properties":{"name":{"type":"string","title":"Name"},"promoter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promoter"},"ruleset":{"type":"string","title":"Ruleset"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"event_date":{"type":"string","format":"date","title":"Event Date"},"registration_deadline":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Registration Deadline"},"smoothcomp_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smoothcomp Event Id"}},"type":"object","required":["name","ruleset","event_date"],"title":"CompetitionCreate"},"CompetitionUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"promoter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promoter"},"ruleset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ruleset"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"event_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Event Date"},"registration_deadline":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Registration Deadline"},"smoothcomp_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smoothcomp Event Id"}},"type":"object","title":"CompetitionUpdate"},"ConversionComplete":{"properties":{"terms_version":{"type":"integer","title":"Terms Version"},"accept_terms":{"type":"boolean","title":"Accept Terms","default":false},"accept_data_processing":{"type":"boolean","title":"Accept Data Processing","default":false},"accept_training_consent":{"type":"boolean","title":"Accept Training Consent","default":false},"gender":{"anyOf":[{"type":"string","enum":["male","female","other"]},{"type":"null"}],"title":"Gender"},"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"account_holder_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Account Holder Name"},"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"},"guardian_first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guardian First Name"},"guardian_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guardian Last Name"},"relationship":{"type":"string","enum":["parent","legal_guardian"],"title":"Relationship","default":"parent"}},"type":"object","required":["terms_version"],"title":"ConversionComplete"},"ConvertToGuardianRequest":{"properties":{"kid_athlete_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Kid Athlete Id"},"relationship":{"type":"string","enum":["parent","legal_guardian"],"title":"Relationship","default":"parent"}},"type":"object","title":"ConvertToGuardianRequest"},"ConvertToSelfManagedRequest":{"properties":{"email":{"type":"string","title":"Email"},"convert_tier":{"type":"boolean","title":"Convert Tier","default":false}},"type":"object","required":["email"],"title":"ConvertToSelfManagedRequest"},"CreditMemoIssue":{"properties":{"source_document_id":{"type":"string","format":"uuid","title":"Source Document Id"},"amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,8}|(?=[\\d.]{1,11}0*$)\\d{0,8}\\.\\d{0,2}0*$)"}],"title":"Amount"},"reason":{"type":"string","maxLength":500,"minLength":5,"title":"Reason"}},"type":"object","required":["source_document_id","amount","reason"],"title":"CreditMemoIssue"},"DeleteBranchBody":{"properties":{"confirm_name":{"type":"string","title":"Confirm Name"}},"type":"object","required":["confirm_name"],"title":"DeleteBranchBody"},"DiscountCodeCreate":{"properties":{"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"},"category":{"type":"string","enum":["membership","gear","seminar"],"title":"Category"},"discount_type":{"type":"string","enum":["fixed","percentage"],"title":"Discount Type"},"discount_value":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Discount Value"},"membership_duration_months":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Membership Duration Months"},"membership_fee_coverage":{"anyOf":[{"type":"string","enum":["recurring","signup_fee","both"]},{"type":"null"}],"title":"Membership Fee Coverage"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid Until"},"max_redemptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Redemptions"},"target_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Target Ids"},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["code","category","discount_type","discount_value"],"title":"DiscountCodeCreate"},"DiscountCodeUpdate":{"properties":{"code":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Code"},"discount_type":{"anyOf":[{"type":"string","enum":["fixed","percentage"]},{"type":"null"}],"title":"Discount Type"},"discount_value":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Discount Value"},"membership_duration_months":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Membership Duration Months"},"membership_fee_coverage":{"anyOf":[{"type":"string","enum":["recurring","signup_fee","both"]},{"type":"null"}],"title":"Membership Fee Coverage"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid Until"},"max_redemptions":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Redemptions"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"target_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Target Ids"}},"type":"object","title":"DiscountCodeUpdate"},"DiscountCodeValidation":{"properties":{"code":{"type":"string","title":"Code"},"category":{"type":"string","enum":["membership","gear","seminar"],"title":"Category"},"target_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Target Ids"},"gross_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Gross Amount"},"currency":{"type":"string","title":"Currency"},"existing_discount_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Existing Discount Amount","default":"0"}},"type":"object","required":["code","category","gross_amount","currency"],"title":"DiscountCodeValidation"},"DropInBookingCreate":{"properties":{"occurrence_key":{"type":"string","title":"Occurrence Key"},"payment_method":{"type":"string","title":"Payment Method","default":"manual"}},"type":"object","required":["occurrence_key"],"title":"DropInBookingCreate"},"EmergencyContactUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","title":"EmergencyContactUpdate"},"EnableAmbassadorRequest":{"properties":{"bonus_pct":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Bonus Pct","default":10.0}},"type":"object","title":"EnableAmbassadorRequest"},"EntryCreate":{"properties":{"competition_id":{"type":"string","format":"uuid","title":"Competition Id"},"division":{"type":"string","title":"Division"},"weight_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weight Class"},"ruleset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ruleset"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"belt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Belt"},"weight_kg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Kg"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"age_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age Type"},"gi_nogi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gi Nogi"}},"type":"object","required":["competition_id","division"],"title":"EntryCreate"},"EvaluationCreate":{"properties":{"athlete_id":{"type":"string","format":"uuid","title":"Athlete Id"},"target_belt":{"type":"string","title":"Target Belt"},"target_stripes":{"type":"string","title":"Target Stripes","default":"0"},"evaluated_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Evaluated At"},"overall_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Overall Notes"},"visible_to_athlete":{"type":"boolean","title":"Visible To Athlete","default":false},"scores":{"items":{"$ref":"#/components/schemas/EvaluationScoreCreate"},"type":"array","title":"Scores","default":[]}},"type":"object","required":["athlete_id","target_belt"],"title":"EvaluationCreate"},"EvaluationScoreCreate":{"properties":{"criterion_code":{"type":"string","title":"Criterion Code"},"score":{"type":"integer","title":"Score"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["criterion_code","score"],"title":"EvaluationScoreCreate"},"EvaluationUpdate":{"properties":{"visible_to_athlete":{"type":"boolean","title":"Visible To Athlete"}},"type":"object","required":["visible_to_athlete"],"title":"EvaluationUpdate"},"FaceDecision":{"properties":{"subject_id":{"type":"string","format":"uuid","title":"Subject Id"},"version":{"type":"string","title":"Version"},"granted":{"type":"boolean","title":"Granted"}},"type":"object","required":["subject_id","version","granted"],"title":"FaceDecision"},"FaceMatchDecision":{"properties":{"decision":{"type":"string","enum":["confirm","reject","undo"],"title":"Decision"},"athlete_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Athlete Id"}},"type":"object","required":["decision"],"title":"FaceMatchDecision"},"FiscalYearBackfillBody":{"properties":{"current_year":{"anyOf":[{"type":"integer","maximum":3000.0,"minimum":1900.0},{"type":"null"}],"title":"Current Year"}},"type":"object","title":"FiscalYearBackfillBody"},"FiscalYearCloseBody":{"properties":{"year":{"anyOf":[{"type":"integer","maximum":3000.0,"minimum":1900.0},{"type":"null"}],"title":"Year"}},"type":"object","title":"FiscalYearCloseBody"},"GoalPlanItem":{"properties":{"activity_title":{"type":"string","maxLength":120,"minLength":1,"title":"Activity Title"},"activity_type":{"type":"string","maxLength":60,"minLength":1,"title":"Activity Type"},"day_of_week":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Day Of Week"},"start_time":{"anyOf":[{"type":"string","pattern":"^\\d{2}:\\d{2}$"},{"type":"null"}],"title":"Start Time"},"time_block":{"anyOf":[{"type":"string","enum":["morning","lunch","afternoon","evening","weekend"]},{"type":"null"}],"title":"Time Block"},"duration_min":{"type":"integer","maximum":480.0,"minimum":5.0,"title":"Duration Min"},"intensity":{"anyOf":[{"type":"string","enum":["light","moderate","hard"]},{"type":"null"}],"title":"Intensity"},"notes":{"type":"string","maxLength":4000,"title":"Notes","default":""}},"type":"object","required":["activity_title","activity_type","day_of_week","duration_min"],"title":"GoalPlanItem"},"GoalPlanSave":{"properties":{"goal_summary":{"type":"string","maxLength":1000,"minLength":1,"title":"Goal Summary"},"nutrition_notes":{"type":"string","maxLength":12000,"title":"Nutrition Notes","default":""},"items":{"items":{"$ref":"#/components/schemas/GoalPlanItem"},"type":"array","maxItems":28,"minItems":1,"title":"Items"}},"type":"object","required":["goal_summary","items"],"title":"GoalPlanSave"},"GroupCreate":{"properties":{"competition_id":{"type":"string","format":"uuid","title":"Competition Id"},"name":{"type":"string","title":"Name"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"fixed_group_price":{"type":"number","title":"Fixed Group Price","default":0},"planned_headcount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Planned Headcount"},"charge_method":{"type":"string","title":"Charge Method","default":"stripe"},"currency":{"type":"string","title":"Currency","default":"EUR"},"departure_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Departure At"},"return_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Return At"},"departure_location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Location"},"dropoff_location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dropoff Location"}},"type":"object","required":["competition_id","name"],"title":"GroupCreate"},"GroupUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"fixed_group_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fixed Group Price"},"planned_headcount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Planned Headcount"},"charge_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Charge Method"},"departure_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Departure At"},"return_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Return At"},"departure_location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Location"},"dropoff_location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dropoff Location"}},"type":"object","title":"GroupUpdate"},"GuardianAttendanceSet":{"properties":{"occurrence_key":{"type":"string","title":"Occurrence Key"},"kid_id":{"type":"string","format":"uuid","title":"Kid Id"},"status":{"type":"string","enum":["attending","cancelled"],"title":"Status"}},"type":"object","required":["occurrence_key","kid_id","status"],"title":"GuardianAttendanceSet"},"GuardianKidRegistrationCreate":{"properties":{"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"guardian_first_name":{"type":"string","title":"Guardian First Name"},"guardian_last_name":{"type":"string","title":"Guardian Last Name"},"relationship":{"type":"string","enum":["parent","legal_guardian"],"title":"Relationship"},"kid_first_name":{"type":"string","title":"Kid First Name"},"kid_last_name":{"type":"string","title":"Kid Last Name"},"kid_date_of_birth":{"type":"string","format":"date","title":"Kid Date Of Birth"},"kid_gender":{"anyOf":[{"type":"string","enum":["male","female","other"]},{"type":"null"}],"title":"Kid Gender"},"kid_smoothcomp_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kid Smoothcomp Id"},"membership_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Membership Plan Id"},"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"account_holder_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Holder Name"},"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"},"accept_terms":{"type":"boolean","title":"Accept Terms","default":false},"accept_data_processing":{"type":"boolean","title":"Accept Data Processing","default":false},"accept_training_consent":{"type":"boolean","title":"Accept Training Consent","default":false},"terms_version":{"type":"integer","title":"Terms Version"}},"type":"object","required":["branch_id","guardian_first_name","guardian_last_name","relationship","kid_first_name","kid_last_name","kid_date_of_birth","terms_version"],"title":"GuardianKidRegistrationCreate"},"GuardianLinkCreate":{"properties":{"kid_athlete_id":{"type":"string","format":"uuid","title":"Kid Athlete Id"},"guardian_email":{"type":"string","maxLength":254,"format":"email","title":"Guardian Email"},"relationship":{"type":"string","enum":["parent","legal_guardian"],"title":"Relationship"}},"type":"object","required":["kid_athlete_id","guardian_email","relationship"],"title":"GuardianLinkCreate"},"GymLeadAthleteMessage":{"properties":{"subject":{"type":"string","maxLength":120,"minLength":1,"title":"Subject"},"message":{"type":"string","maxLength":2000,"minLength":1,"title":"Message"}},"type":"object","required":["subject","message"],"title":"GymLeadAthleteMessage"},"GymLeadDiscoveryRunRequest":{"properties":{"country":{"type":"string","maxLength":80,"minLength":1,"title":"Country"},"max_results":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Max Results","default":50}},"type":"object","required":["country"],"title":"GymLeadDiscoveryRunRequest"},"GymLeadInvitationRequest":{"properties":{"lead_ids":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Lead Ids"},"custom_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Note"},"language":{"type":"string","enum":["en","es","fr","de","pl"],"title":"Language","default":"en"},"currency":{"type":"string","enum":["USD","EUR","EGP","NOK","DKK","CHF","GBP","CZK","HUF","PLN","RON","SEK","ALL","TRY"],"title":"Currency","default":"EUR"},"weight_unit":{"type":"string","enum":["kg","lbs"],"title":"Weight Unit","default":"kg"}},"type":"object","required":["lead_ids"],"title":"GymLeadInvitationRequest"},"GymLeadOutreach":{"properties":{"custom_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Note"}},"type":"object","title":"GymLeadOutreach"},"GymLeadRequest":{"properties":{"gym_name":{"type":"string","title":"Gym Name"},"town":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Town"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"coach_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coach Name"},"coach_contact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coach Contact"},"athlete_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Athlete Name"},"athlete_contact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Athlete Contact"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"source":{"type":"string","enum":["gym_not_found","athlete_signup"],"title":"Source","default":"gym_not_found"}},"type":"object","required":["gym_name"],"title":"GymLeadRequest"},"GymLeadUpdate":{"properties":{"status":{"anyOf":[{"type":"string","enum":["new","contacted","converted","lost"]},{"type":"null"}],"title":"Status"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"GymLeadUpdate"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HealingDateUpdate":{"properties":{"expected_healing_date":{"type":"string","format":"date","title":"Expected Healing Date"}},"type":"object","required":["expected_healing_date"],"title":"HealingDateUpdate"},"HighLevelBackfillRequest":{"properties":{"window_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":1.0},{"type":"null"}],"title":"Window Days","default":30},"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":100}},"type":"object","title":"HighLevelBackfillRequest"},"ImportParametersUpdate":{"properties":{"historical_membership_start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Historical Membership Start Date"},"signup_fee_charged":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Signup Fee Charged"}},"type":"object","title":"ImportParametersUpdate"},"InjuryCreate":{"properties":{"kind":{"type":"string","enum":["sprain","strain","fracture","dislocation","bruise","cut","concussion","other"],"title":"Kind"},"description":{"type":"string","maxLength":200,"minLength":1,"title":"Description"},"expected_healing_date":{"type":"string","format":"date","title":"Expected Healing Date"}},"type":"object","required":["kind","description","expected_healing_date"],"title":"InjuryCreate"},"InjuryNoteCreate":{"properties":{"content":{"type":"string","maxLength":4000,"minLength":1,"title":"Content"}},"type":"object","required":["content"],"title":"InjuryNoteCreate"},"InstagramReviewMessageCreate":{"properties":{"message":{"type":"string","maxLength":1000,"minLength":1,"title":"Message","default":"Hi, can I book a trial class?"},"sender_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Sender Id"},"name":{"type":"string","maxLength":120,"title":"Name","default":"Review Prospect"},"instagram_handle":{"type":"string","maxLength":30,"title":"Instagram Handle","default":"review.prospect"},"avatar_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Avatar Url"}},"type":"object","title":"InstagramReviewMessageCreate"},"InternalCompetitionCreate":{"properties":{"name":{"type":"string","title":"Name"},"event_date":{"type":"string","format":"date","title":"Event Date"},"competition_type":{"type":"string","title":"Competition Type","default":"sparring"},"training_location_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Training Location Id"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"training_occurrence_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Occurrence Key"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name","event_date"],"title":"InternalCompetitionCreate"},"InternalCompetitionUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"event_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Event Date"},"competition_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Competition Type"},"training_location_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Training Location Id"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"training_occurrence_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Training Occurrence Key"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"InternalCompetitionUpdate"},"InviteAccept":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"InviteAccept"},"IssueCreate":{"properties":{"material_id":{"type":"string","format":"uuid","title":"Material Id"},"location_id":{"type":"string","format":"uuid","title":"Location Id"},"quantity":{"type":"integer","exclusiveMinimum":0.0,"title":"Quantity"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Id"},"order_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Item Id"},"athlete_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Athlete Id"}},"type":"object","required":["material_id","location_id","quantity"],"title":"IssueCreate"},"ItemCreate":{"properties":{"type":{"type":"string","title":"Type"},"label":{"type":"string","title":"Label"},"amount":{"type":"number","title":"Amount"},"is_per_athlete":{"type":"boolean","title":"Is Per Athlete","default":false},"distribute":{"type":"boolean","title":"Distribute","default":true}},"type":"object","required":["type","label","amount"],"title":"ItemCreate"},"ItemUpdate":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount"},"is_per_athlete":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Per Athlete"},"distribute":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Distribute"}},"type":"object","title":"ItemUpdate"},"JoinBranchRequest":{"properties":{"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"membership_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Membership Plan Id"},"account_holder_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Holder Name"},"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"},"accept_terms":{"type":"boolean","title":"Accept Terms","default":false},"accept_data_processing":{"type":"boolean","title":"Accept Data Processing","default":false},"terms_version":{"type":"integer","title":"Terms Version"}},"type":"object","required":["branch_id","terms_version"],"title":"JoinBranchRequest"},"KidBillingUpdate":{"properties":{"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"account_holder_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Holder Name"},"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"}},"type":"object","title":"KidBillingUpdate"},"KidProfileUpdate":{"properties":{"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"smoothcomp_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smoothcomp Id"}},"type":"object","title":"KidProfileUpdate"},"KidSubscribeRequest":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"signer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer Name"}},"type":"object","required":["plan_id"],"title":"KidSubscribeRequest"},"KidWeightLogCreate":{"properties":{"weight_kg":{"type":"number","title":"Weight Kg"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"logged_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Logged At"}},"type":"object","required":["weight_kg"],"title":"KidWeightLogCreate"},"KioskBrowserCheckInResponse":{"properties":{"checked_in":{"type":"boolean","title":"Checked In"},"occurrence_key":{"type":"string","title":"Occurrence Key"}},"type":"object","required":["checked_in","occurrence_key"],"title":"KioskBrowserCheckInResponse"},"KioskCheckInRequest":{"properties":{"occurrence_key":{"type":"string","title":"Occurrence Key"},"athlete_user_id":{"type":"string","format":"uuid","title":"Athlete User Id"}},"type":"object","required":["occurrence_key","athlete_user_id"],"title":"KioskCheckInRequest"},"KioskDeviceResponse":{"properties":{"device_id":{"type":"string","format":"uuid","title":"Device Id"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"branch_name":{"type":"string","title":"Branch Name"},"label":{"type":"string","title":"Label"}},"type":"object","required":["device_id","branch_id","branch_name","label"],"title":"KioskDeviceResponse"},"KioskGuestCheckInRequest":{"properties":{"occurrence_key":{"type":"string","title":"Occurrence Key"},"intent_id":{"type":"string","title":"Intent Id"}},"type":"object","required":["occurrence_key","intent_id"],"title":"KioskGuestCheckInRequest"},"KioskProvisionRequest":{"properties":{"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"}},"type":"object","required":["label"],"title":"KioskProvisionRequest"},"KioskProvisionResponse":{"properties":{"device_id":{"type":"string","format":"uuid","title":"Device Id"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"branch_name":{"type":"string","title":"Branch Name"},"label":{"type":"string","title":"Label"},"token":{"type":"string","title":"Token"}},"type":"object","required":["device_id","branch_id","branch_name","label","token"],"title":"KioskProvisionResponse"},"LeadCreate":{"properties":{"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"instagram_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Handle"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name"],"title":"LeadCreate"},"LeadEmailConfigUpdate":{"properties":{"manual_reply":{"$ref":"#/components/schemas/LeadEmailTemplateConfig"},"booking_confirmation":{"$ref":"#/components/schemas/LeadEmailTemplateConfig"},"attendance_followup":{"$ref":"#/components/schemas/LeadEmailTemplateConfig"},"no_show_followup":{"$ref":"#/components/schemas/LeadEmailTemplateConfig"}},"type":"object","title":"LeadEmailConfigUpdate"},"LeadEmailTemplateConfig":{"properties":{"subject":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Subject"},"greeting":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Greeting"},"intro":{"anyOf":[{"type":"string","maxLength":800},{"type":"null"}],"title":"Intro"},"body":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Body"}},"type":"object","title":"LeadEmailTemplateConfig"},"LeadMessageCreate":{"properties":{"content":{"type":"string","title":"Content"},"attach_white_belt_cheat_sheet":{"type":"boolean","title":"Attach White Belt Cheat Sheet","default":false}},"type":"object","required":["content"],"title":"LeadMessageCreate"},"LeadUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"instagram_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Handle"},"status":{"anyOf":[{"type":"string","enum":["new","contacted","converted","lost"]},{"type":"null"}],"title":"Status"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"converted_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Converted Profile Id"}},"type":"object","title":"LeadUpdate"},"LocationCreate":{"properties":{"name":{"type":"string","title":"Name"},"monthly_rent":{"type":"number","title":"Monthly Rent","default":0.0},"related_costs":{"type":"number","title":"Related Costs","default":0.0}},"type":"object","required":["name"],"title":"LocationCreate"},"LocationUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"monthly_rent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Rent"},"related_costs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Related Costs"}},"type":"object","title":"LocationUpdate"},"ManagedAthleteSepaRepair":{"properties":{"account_holder_name":{"type":"string","maxLength":70,"minLength":2,"title":"Account Holder Name"},"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"},"record_mandate":{"type":"boolean","title":"Record Mandate","default":false},"authorization_confirmed":{"type":"boolean","const":true,"title":"Authorization Confirmed"},"authorization_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Authorization Date"}},"type":"object","required":["account_holder_name","authorization_confirmed"],"title":"ManagedAthleteSepaRepair"},"ManagedKidEntryCreate":{"properties":{"competition_id":{"type":"string","format":"uuid","title":"Competition Id"},"division":{"type":"string","title":"Division"},"weight_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weight Class"},"ruleset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ruleset"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"belt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Belt"},"weight_kg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Kg"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"age_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age Type"},"gi_nogi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gi Nogi"},"kid_id":{"type":"string","format":"uuid","title":"Kid Id"}},"type":"object","required":["competition_id","division","kid_id"],"title":"ManagedKidEntryCreate"},"ManualEntryBody":{"properties":{"description":{"type":"string","minLength":1,"title":"Description"},"lines":{"items":{"$ref":"#/components/schemas/ManualEntryLine"},"type":"array","minItems":2,"title":"Lines"},"entry_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Entry Date"}},"type":"object","required":["description","lines"],"title":"ManualEntryBody"},"ManualEntryLine":{"properties":{"account_code":{"type":"string","title":"Account Code"},"debit":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Debit","default":"0"},"credit":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Credit","default":"0"},"memo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memo"}},"type":"object","required":["account_code"],"title":"ManualEntryLine"},"ManualPaymentRecord":{"properties":{"membership_id":{"type":"string","format":"uuid","title":"Membership Id"},"amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount"},"currency":{"type":"string","title":"Currency","default":"EUR"},"due_date":{"type":"string","format":"date","title":"Due Date"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["membership_id","amount","due_date"],"title":"ManualPaymentRecord"},"MarkPaid":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"MarkPaid"},"MassActionRequest":{"properties":{"lead_ids":{"items":{"type":"string"},"type":"array","title":"Lead Ids"},"action":{"anyOf":[{"type":"string","enum":["schedule","registration_link","location","white_belt_cheat_sheet"]},{"type":"null"}],"title":"Action"},"actions":{"anyOf":[{"items":{"type":"string","enum":["schedule","registration_link","location","white_belt_cheat_sheet"]},"type":"array"},{"type":"null"}],"title":"Actions"},"schedule_kinds":{"anyOf":[{"items":{"type":"string","enum":["kids","amateur","competitor"]},"type":"array"},{"type":"null"}],"title":"Schedule Kinds"},"custom_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Message"}},"type":"object","required":["lead_ids"],"title":"MassActionRequest"},"MatchCreate":{"properties":{"participant_athlete_id":{"type":"string","format":"uuid","title":"Participant Athlete Id"},"opponent_athlete_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Opponent Athlete Id"},"opponent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opponent Name"},"referee_athlete_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Referee Athlete Id"},"referee_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referee Name"},"participant_points":{"type":"integer","title":"Participant Points","default":0},"opponent_points":{"type":"integer","title":"Opponent Points","default":0},"winner_side":{"type":"string","title":"Winner Side"},"win_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Win Method"},"weight_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weight Class"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["participant_athlete_id","winner_side"],"title":"MatchCreate"},"MatchUpdate":{"properties":{"participant_points":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Participant Points"},"opponent_points":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Opponent Points"},"winner_side":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Winner Side"},"win_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Win Method"},"weight_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weight Class"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"opponent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opponent Name"},"referee_athlete_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Referee Athlete Id"},"referee_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referee Name"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"MatchUpdate"},"MaterialCreate":{"properties":{"material_number":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Material Number"},"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"allow_backorder":{"type":"boolean","title":"Allow Backorder","default":true}},"type":"object","required":["name"],"title":"MaterialCreate"},"MaterialUpdate":{"properties":{"allow_backorder":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Backorder"}},"type":"object","title":"MaterialUpdate"},"McpClientRegistrationRequest":{"properties":{"contact_name":{"type":"string","maxLength":160,"minLength":1,"title":"Contact Name"},"work_email":{"type":"string","maxLength":254,"format":"email","title":"Work Email"},"organization":{"type":"string","maxLength":200,"minLength":1,"title":"Organization"},"client_name":{"type":"string","maxLength":200,"minLength":1,"title":"Client Name"},"client_website":{"type":"string","maxLength":2000,"title":"Client Website"},"security_contact":{"type":"string","maxLength":254,"format":"email","title":"Security Contact"},"privacy_policy_url":{"type":"string","maxLength":2000,"title":"Privacy Policy Url"},"terms_url":{"type":"string","maxLength":2000,"title":"Terms Url"},"application_type":{"type":"string","maxLength":80,"minLength":1,"title":"Application Type"},"registration_method":{"type":"string","maxLength":80,"minLength":1,"title":"Registration Method"},"token_auth_method":{"type":"string","maxLength":80,"minLength":1,"title":"Token Auth Method"},"redirect_uris":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Redirect Uris"},"intended_use":{"type":"string","maxLength":4000,"minLength":1,"title":"Intended Use"},"requested_capabilities":{"type":"string","maxLength":2000,"minLength":1,"title":"Requested Capabilities"},"data_retention":{"type":"string","maxLength":2000,"minLength":1,"title":"Data Retention"},"notes":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Notes"},"language":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Language"},"turnstile_token":{"type":"string","maxLength":4096,"minLength":1,"title":"Turnstile Token"}},"type":"object","required":["contact_name","work_email","organization","client_name","client_website","security_contact","privacy_policy_url","terms_url","application_type","registration_method","token_auth_method","redirect_uris","intended_use","requested_capabilities","data_retention","turnstile_token"],"title":"McpClientRegistrationRequest"},"MembershipCreate":{"properties":{"athlete_id":{"type":"string","format":"uuid","title":"Athlete Id"},"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"payment_method":{"type":"string","title":"Payment Method","default":"manual"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"trial_ends_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trial Ends At"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["athlete_id","plan_id"],"title":"MembershipCreate"},"MembershipPlanCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Price Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"billing_interval":{"type":"string","title":"Billing Interval","default":"month"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"},"stripe_signup_fee_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Signup Fee Price Id"},"signup_fee_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Signup Fee Amount"},"membership_cancellation_notice_months":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":0.0},{"type":"null"}],"title":"Membership Cancellation Notice Months"},"includes_gear_discount":{"type":"boolean","title":"Includes Gear Discount","default":false},"gear_discount_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Gear Discount Pct","default":"0"},"allowed_tiers":{"anyOf":[{"items":{"type":"string","enum":["amateur","amateur_reduced","competitor","kid"]},"type":"array","minItems":1},{"type":"null"}],"title":"Allowed Tiers"},"min_age_years":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":0.0},{"type":"null"}],"title":"Min Age Years"},"max_age_years":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":0.0},{"type":"null"}],"title":"Max Age Years"}},"type":"object","required":["name"],"title":"MembershipPlanCreate"},"MembershipPlanUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Price Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"billing_interval":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Interval"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"},"stripe_signup_fee_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Signup Fee Price Id"},"signup_fee_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Signup Fee Amount"},"membership_cancellation_notice_months":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":0.0},{"type":"null"}],"title":"Membership Cancellation Notice Months"},"includes_gear_discount":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Includes Gear Discount"},"gear_discount_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Gear Discount Pct"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"allowed_tiers":{"anyOf":[{"items":{"type":"string","enum":["amateur","amateur_reduced","competitor","kid"]},"type":"array","minItems":1},{"type":"null"}],"title":"Allowed Tiers"},"min_age_years":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":0.0},{"type":"null"}],"title":"Min Age Years"},"max_age_years":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":0.0},{"type":"null"}],"title":"Max Age Years"}},"type":"object","title":"MembershipPlanUpdate"},"MobileLoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"MobileLoginRequest"},"OccurrencePatch":{"properties":{"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"},"start_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Time"},"duration_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Min"},"discipline":{"anyOf":[{"type":"string","enum":["bjj","luta_livre","taekwondo","karate","muay_thai","sambo","kickboxing","judo","aikido","mma"]},{"type":"null"}],"title":"Discipline"},"kind":{"anyOf":[{"type":"string","enum":["gi","no_gi","open_mat","kids","other"]},{"type":"null"}],"title":"Kind"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"coach_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Coach User Id"},"location_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Id"},"allowed_tiers":{"anyOf":[{"items":{"type":"string","enum":["amateur","competitor","kid"]},"type":"array"},{"type":"null"}],"title":"Allowed Tiers"},"allowed_plan_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Allowed Plan Ids"}},"type":"object","title":"OccurrencePatch"},"OfferingCreate":{"properties":{"type":{"type":"string","title":"Type","description":"drop_in | private_lesson | seminar"},"discipline":{"anyOf":[{"type":"string","enum":["bjj","luta_livre","taekwondo","karate","muay_thai","sambo","kickboxing","judo","aikido","mma"]},{"type":"null"}],"title":"Discipline","default":"bjj"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_amount":{"type":"number","title":"Price Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"},"occurrence_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Occurrence Key"},"purchase_order_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Purchase Order Item Id"},"coach_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Coach User Id"},"scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled At"},"duration_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Min"},"sessions":{"anyOf":[{"items":{"$ref":"#/components/schemas/OfferingSession"},"type":"array"},{"type":"null"}],"title":"Sessions"},"location_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Id"},"location_text":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Location Text"},"capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Capacity"},"rrule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrule"},"dtstart_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Dtstart Date"},"until_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Until Date"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"is_organization_wide":{"type":"boolean","title":"Is Organization Wide","default":false},"visitor_billing_mode":{"type":"string","enum":["home_branch_invoice","host_branch_invoice"],"title":"Visitor Billing Mode","default":"host_branch_invoice"},"host_invoice_payment_method":{"type":"string","enum":["manual","stripe"],"title":"Host Invoice Payment Method","default":"manual"},"home_branch_commission_pct":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Home Branch Commission Pct","default":0}},"type":"object","required":["type","title","price_amount"],"title":"OfferingCreate"},"OfferingSession":{"properties":{"scheduled_at":{"type":"string","format":"date-time","title":"Scheduled At"},"duration_min":{"type":"integer","exclusiveMinimum":0.0,"title":"Duration Min"}},"type":"object","required":["scheduled_at","duration_min"],"title":"OfferingSession"},"OfferingUpdate":{"properties":{"discipline":{"anyOf":[{"type":"string","enum":["bjj","luta_livre","taekwondo","karate","muay_thai","sambo","kickboxing","judo","aikido","mma"]},{"type":"null"}],"title":"Discipline"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"},"purchase_order_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Purchase Order Item Id"},"scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled At"},"duration_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Min"},"sessions":{"anyOf":[{"items":{"$ref":"#/components/schemas/OfferingSession"},"type":"array"},{"type":"null"}],"title":"Sessions"},"location_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Id"},"location_text":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Location Text"},"capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Capacity"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"rrule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrule"},"dtstart_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Dtstart Date"},"until_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Until Date"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"is_organization_wide":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Organization Wide"},"visitor_billing_mode":{"anyOf":[{"type":"string","enum":["home_branch_invoice","host_branch_invoice"]},{"type":"null"}],"title":"Visitor Billing Mode"},"host_invoice_payment_method":{"anyOf":[{"type":"string","enum":["manual","stripe"]},{"type":"null"}],"title":"Host Invoice Payment Method"},"home_branch_commission_pct":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Home Branch Commission Pct"}},"type":"object","title":"OfferingUpdate"},"OneOffCreate":{"properties":{"kind":{"type":"string","enum":["gi","no_gi","open_mat","kids","other"],"title":"Kind"},"discipline":{"type":"string","enum":["bjj","luta_livre","taekwondo","karate","muay_thai","sambo","kickboxing","judo","aikido","mma"],"title":"Discipline","default":"bjj"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"date":{"type":"string","format":"date","title":"Date"},"start_time":{"type":"string","title":"Start Time"},"duration_min":{"type":"integer","title":"Duration Min"},"coach_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Coach User Id"},"location_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Id"},"allowed_tiers":{"anyOf":[{"items":{"type":"string","enum":["amateur","competitor","kid"]},"type":"array"},{"type":"null"}],"title":"Allowed Tiers"},"allowed_plan_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Allowed Plan Ids"}},"type":"object","required":["kind","date","start_time","duration_min"],"title":"OneOffCreate"},"OpponentLink":{"properties":{"opponent_athlete_id":{"type":"string","format":"uuid","title":"Opponent Athlete Id"}},"type":"object","required":["opponent_athlete_id"],"title":"OpponentLink"},"OrderCreate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OrderItemInput"},"type":"array","title":"Items"},"pickup_location_id":{"type":"string","format":"uuid","title":"Pickup Location Id"},"shipping_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipping Name"},"shipping_address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipping Address Line1"},"shipping_address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipping Address Line2"},"shipping_city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipping City"},"shipping_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipping Country"},"shipping_postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipping Postal Code"},"payment_method":{"type":"string","title":"Payment Method","default":"stripe"},"for_kid_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"For Kid Id"},"discount_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Discount Code"}},"type":"object","required":["items","pickup_location_id"],"title":"OrderCreate"},"OrderItemInput":{"properties":{"product_id":{"type":"string","format":"uuid","title":"Product Id"},"variant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Variant Id"},"quantity":{"type":"integer","exclusiveMinimum":0.0,"title":"Quantity","default":1}},"type":"object","required":["product_id"],"title":"OrderItemInput"},"OrderStatusUpdate":{"properties":{"status":{"type":"string","title":"Status"},"tracking_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tracking Number"},"override_payment_clearance":{"type":"boolean","title":"Override Payment Clearance","default":false}},"type":"object","required":["status"],"title":"OrderStatusUpdate"},"OrgOption":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"OrgOption"},"OrganizationAssignmentUpdate":{"properties":{"organization_id":{"type":"string","title":"Organization Id"},"confirm_name":{"type":"string","title":"Confirm Name"}},"type":"object","required":["organization_id","confirm_name"],"title":"OrganizationAssignmentUpdate"},"ParticipantCreate":{"properties":{"athlete_id":{"type":"string","format":"uuid","title":"Athlete Id"}},"type":"object","required":["athlete_id"],"title":"ParticipantCreate"},"PauseDecisionRequest":{"properties":{"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","required":["decision"],"title":"PauseDecisionRequest"},"PayrollCreate":{"properties":{"coach_id":{"type":"string","format":"uuid","title":"Coach Id"},"period_label":{"type":"string","title":"Period Label"},"net_salary":{"type":"number","title":"Net Salary"},"withholdings":{"type":"number","title":"Withholdings","default":0.0},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["coach_id","period_label","net_salary"],"title":"PayrollCreate"},"PayrollUpdate":{"properties":{"net_salary":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Salary"},"withholdings":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Withholdings"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"PayrollUpdate"},"PendingBillingUpdate":{"properties":{"account_holder_name":{"type":"string","title":"Account Holder Name"},"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"},"authorization_confirmed":{"type":"boolean","const":true,"title":"Authorization Confirmed"},"authorization_date":{"type":"string","format":"date","title":"Authorization Date"}},"type":"object","required":["account_holder_name","authorization_confirmed","authorization_date"],"title":"PendingBillingUpdate"},"PendingIbanUpdate":{"properties":{"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"}},"type":"object","title":"PendingIbanUpdate"},"PendingIsKidUpdate":{"properties":{"is_kid":{"type":"boolean","title":"Is Kid"}},"type":"object","required":["is_kid"],"title":"PendingIsKidUpdate"},"PendingPlanAssign":{"properties":{"membership_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Membership Plan Id"},"signup_fee_charged":{"type":"boolean","title":"Signup Fee Charged","default":false}},"type":"object","title":"PendingPlanAssign"},"PhotoBase64Upload":{"properties":{"data_base64":{"type":"string","title":"Data Base64"},"content_type":{"type":"string","enum":["image/jpeg","image/jpg","image/png","image/webp","image/heic","image/heif"],"title":"Content Type"},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Name"}},"type":"object","required":["data_base64","content_type"],"title":"PhotoBase64Upload"},"PhotoDecision":{"properties":{"subject_id":{"type":"string","format":"uuid","title":"Subject Id"},"version":{"type":"string","title":"Version"},"public_promotion":{"type":"boolean","title":"Public Promotion"},"internal_use":{"type":"boolean","title":"Internal Use"}},"type":"object","required":["subject_id","version","public_promotion","internal_use"],"title":"PhotoDecision"},"PrepareAccountRequest":{"properties":{"email":{"type":"string","title":"Email"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"},"start_managed_claim":{"type":"boolean","title":"Start Managed Claim","default":false}},"type":"object","required":["email"],"title":"PrepareAccountRequest"},"ProductCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"sku":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sku"},"price_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Price Amount"},"currency":{"type":"string","title":"Currency","default":"EUR"},"delivery_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Delivery Days"},"category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category Id"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"stock_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stock Count"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"},"allow_backorder":{"type":"boolean","title":"Allow Backorder","default":true}},"type":"object","required":["name","price_amount"],"title":"ProductCreate"},"ProductUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"sku":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sku"},"price_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Price Amount"},"delivery_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Delivery Days"},"category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"stock_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stock Count"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"}},"type":"object","title":"ProductUpdate"},"ProfileUpdate":{"properties":{"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"belt":{"anyOf":[{"type":"string","enum":["white","blue","purple","brown","black","grey","grey-white","grey-black","yellow","yellow-white","yellow-black","orange","orange-white","orange-black","green","green-white","green-black"]},{"type":"null"}],"title":"Belt"},"stripes":{"anyOf":[{"type":"string","enum":["0","1","2","3","4","5","6","7","8","9","10","11"]},{"type":"null"}],"title":"Stripes"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"competition_weight_kg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Competition Weight Kg"},"imported_training_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Imported Training Hours"},"smoothcomp_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Smoothcomp Id"},"instagram_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Handle"},"theme_preference":{"anyOf":[{"type":"string","enum":["dark","light","tatami","oled"]},{"type":"null"}],"title":"Theme Preference"},"role":{"anyOf":[{"type":"string","enum":["athlete","coach","branch_admin"]},{"type":"null"}],"title":"Role"},"dashboard_preferences":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Dashboard Preferences"},"monthly_net_salary":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Net Salary"},"monthly_withholdings":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Withholdings"},"historical_membership_start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Historical Membership Start Date"},"member_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Member Number"}},"type":"object","title":"ProfileUpdate"},"ProvisionalCheckInSet":{"properties":{"occurrence_key":{"type":"string","title":"Occurrence Key"},"intent_id":{"type":"string","title":"Intent Id"}},"type":"object","required":["occurrence_key","intent_id"],"title":"ProvisionalCheckInSet"},"PublicBookingIntentCreate":{"properties":{"occurrence_key":{"type":"string","title":"Occurrence Key"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","title":"Email"},"date_of_birth":{"type":"string","format":"date","title":"Date Of Birth"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"turnstile_token":{"type":"string","title":"Turnstile Token"}},"type":"object","required":["occurrence_key","first_name","last_name","email","date_of_birth","turnstile_token"],"title":"PublicBookingIntentCreate"},"PurchaseOrderCreate":{"properties":{"vendor_id":{"type":"string","format":"uuid","title":"Vendor Id"},"po_number":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Po Number"},"order_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Order Date"},"currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Currency"},"shipping_cost":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Shipping Cost","default":"0.00"},"import_cost":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Import Cost","default":"0.00"},"items":{"items":{"$ref":"#/components/schemas/PurchaseOrderItemCreate"},"type":"array","minItems":1,"title":"Items"}},"type":"object","required":["vendor_id","items"],"title":"PurchaseOrderCreate"},"PurchaseOrderItemCreate":{"properties":{"line_type":{"type":"string","enum":["goods","service"],"title":"Line Type"},"material_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Material Id"},"description":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Description"},"quantity":{"type":"integer","exclusiveMinimum":0.0,"title":"Quantity"},"location_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Id"},"unit_price":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Unit Price"}},"type":"object","required":["line_type","quantity","unit_price"],"title":"PurchaseOrderItemCreate"},"PushTokenDisable":{"properties":{"token":{"type":"string","maxLength":512,"minLength":32,"title":"Token"},"platform":{"type":"string","enum":["ios","android"],"title":"Platform","default":"ios"}},"type":"object","required":["token"],"title":"PushTokenDisable"},"PushTokenRegister":{"properties":{"token":{"type":"string","maxLength":512,"minLength":32,"title":"Token"},"platform":{"type":"string","enum":["ios","android"],"title":"Platform","default":"ios"},"environment":{"anyOf":[{"type":"string","enum":["sandbox","production"]},{"type":"null"}],"title":"Environment"},"bundle_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bundle Id"}},"type":"object","required":["token"],"title":"PushTokenRegister"},"ReceiptCreate":{"properties":{"material_id":{"type":"string","format":"uuid","title":"Material Id"},"location_id":{"type":"string","format":"uuid","title":"Location Id"},"quantity":{"type":"integer","exclusiveMinimum":0.0,"title":"Quantity"},"unit_valuation":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Unit Valuation"}},"type":"object","required":["material_id","location_id","quantity","unit_valuation"],"title":"ReceiptCreate"},"RegistrationMembershipPlan":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_amount":{"anyOf":[{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Price Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"billing_interval":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Interval"},"allowed_tiers":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Tiers"},"min_age_years":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Age Years"},"max_age_years":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Age Years"},"perks":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Perks"}},"type":"object","required":["id","name"],"title":"RegistrationMembershipPlan"},"RegistrationSetupRequest":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"branch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch Name"},"organization_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Organization Id"},"new_org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Org Name"},"claim_branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Claim Branch Id"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"weight_unit":{"type":"string","enum":["kg","lbs"],"title":"Weight Unit","default":"kg"},"billing_currency":{"type":"string","enum":["USD","EUR","EGP","NOK","DKK","CHF","GBP","CZK","HUF","PLN","RON","SEK","ALL","TRY"],"title":"Billing Currency","default":"EUR"},"default_language":{"type":"string","enum":["en","de","fr","es","pl"],"title":"Default Language","default":"en"},"ref_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Code"},"accept_terms":{"type":"boolean","title":"Accept Terms","default":false},"accept_privacy":{"type":"boolean","title":"Accept Privacy","default":false}},"type":"object","required":["first_name","last_name"],"title":"RegistrationSetupRequest"},"ResponsibleBody":{"properties":{"athlete_id":{"type":"string","format":"uuid","title":"Athlete Id"}},"type":"object","required":["athlete_id"],"title":"ResponsibleBody"},"ResultCreate":{"properties":{"entry_id":{"type":"string","format":"uuid","title":"Entry Id"},"placement":{"type":"string","title":"Placement"},"division":{"type":"string","title":"Division"},"opponent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opponent Name"},"win_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Win Method"},"submission_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Submission Name"},"match_duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Match Duration Seconds"},"wins":{"type":"integer","title":"Wins","default":0},"losses":{"type":"integer","title":"Losses","default":0},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["entry_id","placement","division"],"title":"ResultCreate"},"RunBonusRequest":{"properties":{"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Month"}},"type":"object","title":"RunBonusRequest"},"RunGrowthSnapshotBody":{"properties":{"snapshot_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Snapshot Date"}},"type":"object","title":"RunGrowthSnapshotBody"},"RunLeadsSnapshotBody":{"properties":{"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Month"}},"type":"object","title":"RunLeadsSnapshotBody"},"RunMonthlyCostsBody":{"properties":{"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Month"}},"type":"object","title":"RunMonthlyCostsBody"},"RunRevenueSnapshotBody":{"properties":{"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Month"}},"type":"object","title":"RunRevenueSnapshotBody"},"SelfCancelMembershipRequest":{"properties":{"reason":{"type":"string","enum":["financial_reasons","relocation","schedule_conflict","health_or_injury","dissatisfaction","other"],"title":"Reason"},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"}},"type":"object","required":["reason"],"title":"SelfCancelMembershipRequest"},"SelfSubscriptionApproval":{"properties":{"membership_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Membership Plan Id"},"waive_signup_fee":{"type":"boolean","title":"Waive Signup Fee","default":false},"bill_first_month_full":{"type":"boolean","title":"Bill First Month Full","default":false}},"type":"object","title":"SelfSubscriptionApproval"},"SendReportConfirmation":{"properties":{"confirm":{"type":"boolean","title":"Confirm"}},"type":"object","required":["confirm"],"title":"SendReportConfirmation"},"SepaBatchExportRequest":{"properties":{"year":{"type":"integer","maximum":2100.0,"minimum":2000.0,"title":"Year"},"month":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Month"},"mode":{"type":"string","enum":["net","per_invoice"],"title":"Mode","default":"net"},"format":{"type":"string","enum":["xml_v02","xml_v08","xlsx"],"title":"Format","default":"xml_v02"},"scope":{"type":"string","enum":["full","valid_only"],"title":"Scope","default":"full"},"preview_token":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Preview Token"}},"type":"object","required":["year","month"],"title":"SepaBatchExportRequest"},"SepaNoticeSendRequest":{"properties":{"preview_token":{"type":"string","maxLength":512,"minLength":1,"title":"Preview Token"},"acknowledge_short_notice":{"type":"boolean","title":"Acknowledge Short Notice","default":false}},"type":"object","required":["preview_token"],"title":"SepaNoticeSendRequest"},"SepaReviewedReason":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":10,"title":"Reason"}},"type":"object","required":["reason"],"title":"SepaReviewedReason"},"SepaReviewedRetry":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":10,"title":"Reason"},"basis":{"type":"string","enum":["bank_rejected","never_submitted","returned"],"title":"Basis"}},"type":"object","required":["reason","basis"],"title":"SepaReviewedRetry"},"SeriesCreate":{"properties":{"kind":{"type":"string","enum":["gi","no_gi","open_mat","kids","other"],"title":"Kind"},"discipline":{"type":"string","enum":["bjj","luta_livre","taekwondo","karate","muay_thai","sambo","kickboxing","judo","aikido","mma"],"title":"Discipline","default":"bjj"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"coach_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Coach User Id"},"location_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Id"},"start_time":{"type":"string","title":"Start Time"},"duration_min":{"type":"integer","title":"Duration Min"},"capacity":{"type":"integer","exclusiveMinimum":0.0,"title":"Capacity"},"leads_capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Leads Capacity"},"allow_over_attendance":{"type":"boolean","title":"Allow Over Attendance","default":false},"rrule":{"type":"string","title":"Rrule"},"dtstart_date":{"type":"string","format":"date","title":"Dtstart Date"},"until_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Until Date"},"allowed_tiers":{"anyOf":[{"items":{"type":"string","enum":["amateur","competitor","kid"]},"type":"array"},{"type":"null"}],"title":"Allowed Tiers"},"allowed_plan_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Allowed Plan Ids"},"drop_in_fee_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Drop In Fee Amount"}},"type":"object","required":["kind","start_time","duration_min","capacity","rrule","dtstart_date"],"title":"SeriesCreate"},"SeriesUpdate":{"properties":{"kind":{"anyOf":[{"type":"string","enum":["gi","no_gi","open_mat","kids","other"]},{"type":"null"}],"title":"Kind"},"discipline":{"anyOf":[{"type":"string","enum":["bjj","luta_livre","taekwondo","karate","muay_thai","sambo","kickboxing","judo","aikido","mma"]},{"type":"null"}],"title":"Discipline"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"coach_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Coach User Id"},"location_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Id"},"start_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Time"},"duration_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Min"},"capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Capacity"},"leads_capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Leads Capacity"},"allow_over_attendance":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Over Attendance"},"rrule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rrule"},"dtstart_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Dtstart Date"},"until_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Until Date"},"allowed_tiers":{"anyOf":[{"items":{"type":"string","enum":["amateur","competitor","kid"]},"type":"array"},{"type":"null"}],"title":"Allowed Tiers"},"allowed_plan_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Allowed Plan Ids"},"drop_in_fee_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Drop In Fee Amount"}},"type":"object","title":"SeriesUpdate"},"SetStatus":{"properties":{"status":{"type":"string","pattern":"^(open|closed)$","title":"Status"}},"type":"object","required":["status"],"title":"SetStatus"},"StaffChangePlanRequest":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"effective_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective On"}},"type":"object","required":["plan_id"],"title":"StaffChangePlanRequest"},"StaffConversionCreate":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"date_of_birth":{"type":"string","format":"date","title":"Date Of Birth"},"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},"type":"object","required":["plan_id","first_name","last_name","email","date_of_birth"],"title":"StaffConversionCreate"},"StripeConfigIn":{"properties":{"stripe_secret_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Secret Key"},"stripe_webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Webhook Secret"}},"type":"object","title":"StripeConfigIn"},"TermsAcceptance":{"properties":{"subject_id":{"type":"string","format":"uuid","title":"Subject Id"},"terms_version":{"type":"integer","title":"Terms Version"}},"type":"object","required":["subject_id","terms_version"],"title":"TermsAcceptance"},"TrainingConsentUpdate":{"properties":{"consented":{"type":"boolean","title":"Consented"}},"type":"object","required":["consented"],"title":"TrainingConsentUpdate"},"TransferCreate":{"properties":{"material_id":{"type":"string","format":"uuid","title":"Material Id"},"source_location_id":{"type":"string","format":"uuid","title":"Source Location Id"},"destination_location_id":{"type":"string","format":"uuid","title":"Destination Location Id"},"quantity":{"type":"integer","exclusiveMinimum":0.0,"title":"Quantity"}},"type":"object","required":["material_id","source_location_id","destination_location_id","quantity"],"title":"TransferCreate"},"TravelConsentUpdate":{"properties":{"consented":{"type":"boolean","title":"Consented"},"signer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer Name"}},"type":"object","required":["consented"],"title":"TravelConsentUpdate"},"UpdateBonusPctRequest":{"properties":{"bonus_pct":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Bonus Pct"}},"type":"object","required":["bonus_pct"],"title":"UpdateBonusPctRequest"},"UpdateBonusRequest":{"properties":{"status":{"type":"string","title":"Status"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["status"],"title":"UpdateBonusRequest"},"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"},"VariantCreate":{"properties":{"product_id":{"type":"string","format":"uuid","title":"Product Id"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"sku":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sku"},"stock_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stock Count"},"price_override":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Price Override"},"allow_backorder":{"type":"boolean","title":"Allow Backorder","default":true}},"type":"object","required":["product_id"],"title":"VariantCreate"},"VendorCreate":{"properties":{"contact_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Contact Name"},"email":{"anyOf":[{"type":"string","maxLength":254},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"address_line1":{"type":"string","maxLength":160,"minLength":1,"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Address Line2"},"city":{"type":"string","maxLength":100,"minLength":1,"title":"City"},"postal_code":{"type":"string","maxLength":20,"minLength":2,"title":"Postal Code"},"country":{"type":"string","maxLength":2,"minLength":2,"title":"Country"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"type":"object","required":["address_line1","city","postal_code","country","name"],"title":"VendorCreate"},"VendorUpdate":{"properties":{"contact_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Contact Name"},"email":{"anyOf":[{"type":"string","maxLength":254},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"address_line1":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Address Line2"},"city":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"City"},"postal_code":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string","maxLength":2,"minLength":2},{"type":"null"}],"title":"Country"},"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Name"}},"type":"object","title":"VendorUpdate"},"WeightLogCreate":{"properties":{"weight_kg":{"type":"number","title":"Weight Kg"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"logged_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Logged At"}},"type":"object","required":["weight_kg"],"title":"WeightLogCreate"},"WhiteBeltCheatSheetUpdate":{"properties":{"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"introduction":{"type":"string","maxLength":1200,"minLength":1,"title":"Introduction"},"rules":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Rules"},"closing":{"type":"string","maxLength":600,"minLength":1,"title":"Closing"}},"type":"object","required":["title","introduction","rules","closing"],"title":"WhiteBeltCheatSheetUpdate"},"app__api__v1__endpoints__admin_athletes__AthleteMessageBody":{"properties":{"athlete_ids":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Athlete Ids"},"subject":{"type":"string","maxLength":120,"minLength":1,"title":"Subject"},"message":{"type":"string","maxLength":2000,"minLength":1,"title":"Message"}},"type":"object","required":["athlete_ids","subject","message"],"title":"AthleteMessageBody"},"app__api__v1__endpoints__agent__ChatMessage":{"properties":{"role":{"type":"string","enum":["user","assistant"],"title":"Role"},"content":{"type":"string","title":"Content"}},"type":"object","required":["role","content"],"title":"ChatMessage"},"app__api__v1__endpoints__agent__ChatRequest":{"properties":{"messages":{"items":{"$ref":"#/components/schemas/app__api__v1__endpoints__agent__ChatMessage"},"type":"array","title":"Messages"}},"type":"object","required":["messages"],"title":"ChatRequest"},"app__api__v1__endpoints__athlete_goals__ChatMessage":{"properties":{"role":{"type":"string","enum":["user","assistant"],"title":"Role"},"content":{"type":"string","maxLength":8000,"minLength":1,"title":"Content"}},"type":"object","required":["role","content"],"title":"ChatMessage"},"app__api__v1__endpoints__athlete_goals__ChatRequest":{"properties":{"messages":{"items":{"$ref":"#/components/schemas/app__api__v1__endpoints__athlete_goals__ChatMessage"},"type":"array","maxItems":30,"minItems":1,"title":"Messages"}},"type":"object","required":["messages"],"title":"ChatRequest"},"app__api__v1__endpoints__athletes__AthleteMessageBody":{"properties":{"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"}},"type":"object","required":["title","body"],"title":"AthleteMessageBody"},"app__api__v1__endpoints__memberships__SubscribeRequest":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"signer_name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Signer Name"},"discount_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Discount Code"}},"type":"object","required":["plan_id"],"title":"SubscribeRequest"},"app__api__v1__endpoints__platform_subscription__SubscribeRequest":{"properties":{"tier":{"type":"string","title":"Tier"},"success_url":{"type":"string","title":"Success Url"},"cancel_url":{"type":"string","title":"Cancel Url"}},"type":"object","required":["tier","success_url","cancel_url"],"title":"SubscribeRequest"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}