{"openapi":"3.1.0","info":{"title":"MXLaMove API","version":"1.0.0","description":"Generated from the registered Fastify routes. Resource schemas are per-route unless noted; all mutation endpoints accept an Idempotency-Key header."},"servers":[{"url":"/"}],"tags":[{"name":"health"},{"name":"auth"},{"name":"admin"},{"name":"cities"},{"name":"quotes"},{"name":"promos"},{"name":"orders"},{"name":"track"},{"name":"driver"},{"name":"demo"},{"name":"business"},{"name":"fleet"},{"name":"me"},{"name":"public"},{"name":"wallet"},{"name":"payments"},{"name":"invoices"},{"name":"support"},{"name":"disputes"},{"name":"flags"},{"name":"files"},{"name":"notifications"},{"name":"devices"},{"name":"webhooks"},{"name":"kyc"},{"name":"loyalty"},{"name":"experiments"},{"name":"growth"},{"name":"openapi.json"}],"paths":{"/health":{"get":{"tags":["health"],"summary":"Health","operationId":"get_health","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/health/ready":{"get":{"tags":["health"],"summary":"Ready","operationId":"get_health_ready","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"post_auth_register","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"post_auth_login","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/otp/request":{"post":{"tags":["auth"],"summary":"Otp request","operationId":"post_auth_otp_request","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/otp/verify":{"post":{"tags":["auth"],"summary":"Otp verify","operationId":"post_auth_otp_verify","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh","operationId":"post_auth_refresh","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"post_auth_logout","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/2fa/status":{"get":{"tags":["auth"],"summary":"2fa status","operationId":"get_auth_2fa_status","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/2fa/setup":{"post":{"tags":["auth"],"summary":"2fa setup","operationId":"post_auth_2fa_setup","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/2fa/verify":{"post":{"tags":["auth"],"summary":"2fa verify","operationId":"post_auth_2fa_verify","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/2fa/disable":{"post":{"tags":["auth"],"summary":"2fa disable","operationId":"post_auth_2fa_disable","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/step-up/request":{"post":{"tags":["auth"],"summary":"Step up request","operationId":"post_auth_step_up_request","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/step-up/verify":{"post":{"tags":["auth"],"summary":"Step up verify","operationId":"post_auth_step_up_verify","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"get_auth_me","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/sessions":{"get":{"tags":["auth"],"summary":"Sessions","operationId":"get_auth_sessions","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/sessions/{id}":{"delete":{"tags":["auth"],"summary":"Sessions id","operationId":"delete_auth_sessions_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/integrations/catalog":{"get":{"tags":["admin"],"summary":"Integrations catalog","operationId":"get_admin_integrations_catalog","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/integrations":{"get":{"tags":["admin"],"summary":"Integrations","operationId":"get_admin_integrations","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Integrations","operationId":"post_admin_integrations","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/integrations/{key}":{"patch":{"tags":["admin"],"summary":"Integrations key","operationId":"patch_admin_integrations_key","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/integrations/{key}/test":{"post":{"tags":["admin"],"summary":"Integrations key test","operationId":"post_admin_integrations_key_test","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/analytics":{"get":{"tags":["admin"],"summary":"Analytics","operationId":"get_admin_analytics","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/drivers":{"get":{"tags":["admin"],"summary":"Drivers","operationId":"get_admin_drivers","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/drivers/{id}":{"patch":{"tags":["admin"],"summary":"Drivers id","operationId":"patch_admin_drivers_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/pricing":{"get":{"tags":["admin"],"summary":"Pricing","operationId":"get_admin_pricing","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/pricing/rules/{id}":{"patch":{"tags":["admin"],"summary":"Pricing rules id","operationId":"patch_admin_pricing_rules_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/pricing/surges/{id}":{"patch":{"tags":["admin"],"summary":"Pricing surges id","operationId":"patch_admin_pricing_surges_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/users":{"get":{"tags":["admin"],"summary":"Users","operationId":"get_admin_users","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/roles":{"get":{"tags":["admin"],"summary":"Roles","operationId":"get_admin_roles","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/users/{id}/roles":{"put":{"tags":["admin"],"summary":"Users id roles","operationId":"put_admin_users_id_roles","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/users/{id}/status":{"patch":{"tags":["admin"],"summary":"Users id status","operationId":"patch_admin_users_id_status","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/overview":{"get":{"tags":["admin"],"summary":"Overview","operationId":"get_admin_overview","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/audit":{"get":{"tags":["admin"],"summary":"Audit","operationId":"get_admin_audit","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/cities":{"get":{"tags":["cities"],"summary":"Cities","operationId":"get_cities","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/cities/{slug}/vehicles":{"get":{"tags":["cities"],"summary":"Slug vehicles","operationId":"get_cities_slug_vehicles","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/quotes":{"post":{"tags":["quotes"],"summary":"Quotes","operationId":"post_quotes","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/quotes/{id}":{"get":{"tags":["quotes"],"summary":"Id","operationId":"get_quotes_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/promos/validate":{"post":{"tags":["promos"],"summary":"Validate","operationId":"post_promos_validate","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders":{"post":{"tags":["orders"],"summary":"Orders","operationId":"post_orders","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"tags":["orders"],"summary":"Orders","operationId":"get_orders","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}":{"get":{"tags":["orders"],"summary":"Id","operationId":"get_orders_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/cancel-preview":{"get":{"tags":["orders"],"summary":"Id cancel preview","operationId":"get_orders_id_cancel_preview","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/schedule":{"patch":{"tags":["orders"],"summary":"Id schedule","operationId":"patch_orders_id_schedule","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/rebook":{"post":{"tags":["orders"],"summary":"Id rebook","operationId":"post_orders_id_rebook","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/cancel":{"post":{"tags":["orders"],"summary":"Id cancel","operationId":"post_orders_id_cancel","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/assign":{"post":{"tags":["orders"],"summary":"Id assign","operationId":"post_orders_id_assign","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/dispatch":{"post":{"tags":["orders"],"summary":"Id dispatch","operationId":"post_orders_id_dispatch","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/track/{code}":{"get":{"tags":["track"],"summary":"Code","operationId":"get_track_code","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/breadcrumbs":{"get":{"tags":["orders"],"summary":"Id breadcrumbs","operationId":"get_orders_id_breadcrumbs","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/me":{"get":{"tags":["driver"],"summary":"Me","operationId":"get_driver_me","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/online":{"post":{"tags":["driver"],"summary":"Online","operationId":"post_driver_online","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/offers":{"get":{"tags":["driver"],"summary":"Offers","operationId":"get_driver_offers","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/offers/{id}/accept":{"post":{"tags":["driver"],"summary":"Offers id accept","operationId":"post_driver_offers_id_accept","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/offers/{id}/reject":{"post":{"tags":["driver"],"summary":"Offers id reject","operationId":"post_driver_offers_id_reject","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/orders":{"get":{"tags":["driver"],"summary":"Orders","operationId":"get_driver_orders","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/orders/{id}/evidence-pack":{"get":{"tags":["admin"],"summary":"Orders id evidence pack","operationId":"get_admin_orders_id_evidence_pack","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/optimise":{"post":{"tags":["orders"],"summary":"Id optimise","operationId":"post_orders_id_optimise","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/orders/{id}/arrive":{"post":{"tags":["driver"],"summary":"Orders id arrive","operationId":"post_driver_orders_id_arrive","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/orders/{id}/pickup":{"post":{"tags":["driver"],"summary":"Orders id pickup","operationId":"post_driver_orders_id_pickup","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/orders/{id}/stops/{sequence}/complete":{"post":{"tags":["driver"],"summary":"Orders id stops sequence complete","operationId":"post_driver_orders_id_stops_sequence_complete","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/orders/{id}/deliver":{"post":{"tags":["driver"],"summary":"Orders id deliver","operationId":"post_driver_orders_id_deliver","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/earnings":{"get":{"tags":["driver"],"summary":"Earnings","operationId":"get_driver_earnings","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/stream":{"get":{"tags":["orders"],"summary":"Id stream","operationId":"get_orders_id_stream","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/demo/accounts":{"get":{"tags":["demo"],"summary":"Accounts","operationId":"get_demo_accounts","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/me":{"get":{"tags":["business"],"summary":"Me","operationId":"get_business_me","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/summary":{"get":{"tags":["business"],"summary":"Summary","operationId":"get_business_summary","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/orders":{"get":{"tags":["business"],"summary":"Orders","operationId":"get_business_orders","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["business"],"summary":"Orders","operationId":"post_business_orders","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/invoices":{"get":{"tags":["business"],"summary":"Invoices","operationId":"get_business_invoices","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/members":{"post":{"tags":["business"],"summary":"Members","operationId":"post_business_members","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/me":{"get":{"tags":["fleet"],"summary":"Me","operationId":"get_fleet_me","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/overview":{"get":{"tags":["fleet"],"summary":"Overview","operationId":"get_fleet_overview","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/drivers":{"get":{"tags":["fleet"],"summary":"Drivers","operationId":"get_fleet_drivers","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["fleet"],"summary":"Drivers","operationId":"post_fleet_drivers","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/drivers/{id}/status":{"patch":{"tags":["fleet"],"summary":"Drivers id status","operationId":"patch_fleet_drivers_id_status","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/vehicles":{"get":{"tags":["fleet"],"summary":"Vehicles","operationId":"get_fleet_vehicles","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["fleet"],"summary":"Vehicles","operationId":"post_fleet_vehicles","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/vehicle-types":{"get":{"tags":["fleet"],"summary":"Vehicle types","operationId":"get_fleet_vehicle_types","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/vehicles/{id}":{"patch":{"tags":["fleet"],"summary":"Vehicles id","operationId":"patch_fleet_vehicles_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/orders":{"get":{"tags":["fleet"],"summary":"Orders","operationId":"get_fleet_orders","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/settlements":{"get":{"tags":["fleet"],"summary":"Settlements","operationId":"get_fleet_settlements","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/addresses":{"get":{"tags":["me"],"summary":"Addresses","operationId":"get_me_addresses","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["me"],"summary":"Addresses","operationId":"post_me_addresses","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/addresses/{id}":{"patch":{"tags":["me"],"summary":"Addresses id","operationId":"patch_me_addresses_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["me"],"summary":"Addresses id","operationId":"delete_me_addresses_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/recipients":{"get":{"tags":["me"],"summary":"Recipients","operationId":"get_me_recipients","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["me"],"summary":"Recipients","operationId":"post_me_recipients","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/recipients/{id}":{"delete":{"tags":["me"],"summary":"Recipients id","operationId":"delete_me_recipients_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/profile":{"patch":{"tags":["me"],"summary":"Profile","operationId":"patch_me_profile","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/consents":{"post":{"tags":["me"],"summary":"Consents","operationId":"post_me_consents","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/referrals":{"get":{"tags":["me"],"summary":"Referrals","operationId":"get_me_referrals","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/referrals/redeem":{"post":{"tags":["me"],"summary":"Referrals redeem","operationId":"post_me_referrals_redeem","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/export":{"get":{"tags":["me"],"summary":"Export","operationId":"get_me_export","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/erasure":{"post":{"tags":["me"],"summary":"Erasure","operationId":"post_me_erasure","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/business-upgrade":{"get":{"tags":["me"],"summary":"Business upgrade","operationId":"get_me_business_upgrade","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["me"],"summary":"Business upgrade","operationId":"post_me_business_upgrade","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/notification-preferences":{"get":{"tags":["me"],"summary":"Notification preferences","operationId":"get_me_notification_preferences","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["me"],"summary":"Notification preferences","operationId":"patch_me_notification_preferences","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/thread":{"get":{"tags":["orders"],"summary":"Id thread","operationId":"get_orders_id_thread","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/messages":{"post":{"tags":["orders"],"summary":"Id messages","operationId":"post_orders_id_messages","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/tip":{"post":{"tags":["orders"],"summary":"Id tip","operationId":"post_orders_id_tip","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/reviews":{"get":{"tags":["orders"],"summary":"Id reviews","operationId":"get_orders_id_reviews","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["orders"],"summary":"Id reviews","operationId":"post_orders_id_reviews","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/history":{"get":{"tags":["driver"],"summary":"History","operationId":"get_driver_history","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/performance":{"get":{"tags":["driver"],"summary":"Performance","operationId":"get_driver_performance","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/wallet":{"get":{"tags":["driver"],"summary":"Wallet","operationId":"get_driver_wallet","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/payouts":{"post":{"tags":["driver"],"summary":"Payouts","operationId":"post_driver_payouts","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/payout-account":{"get":{"tags":["driver"],"summary":"Payout account","operationId":"get_driver_payout_account","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["driver"],"summary":"Payout account","operationId":"post_driver_payout_account","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/location":{"post":{"tags":["driver"],"summary":"Location","operationId":"post_driver_location","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/expenses":{"get":{"tags":["driver"],"summary":"Expenses","operationId":"get_driver_expenses","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["driver"],"summary":"Expenses","operationId":"post_driver_expenses","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/incidents":{"get":{"tags":["driver"],"summary":"Incidents","operationId":"get_driver_incidents","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["driver"],"summary":"Incidents","operationId":"post_driver_incidents","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/training":{"get":{"tags":["driver"],"summary":"Training","operationId":"get_driver_training","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/training/{key}/complete":{"post":{"tags":["driver"],"summary":"Training key complete","operationId":"post_driver_training_key_complete","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/preferences":{"get":{"tags":["driver"],"summary":"Preferences","operationId":"get_driver_preferences","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["driver"],"summary":"Preferences","operationId":"patch_driver_preferences","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/orders/{id}/fail":{"post":{"tags":["driver"],"summary":"Orders id fail","operationId":"post_driver_orders_id_fail","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/approval-rules":{"get":{"tags":["business"],"summary":"Approval rules","operationId":"get_business_approval_rules","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["business"],"summary":"Approval rules","operationId":"post_business_approval_rules","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/approvals":{"get":{"tags":["business"],"summary":"Approvals","operationId":"get_business_approvals","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/orders/{id}/approve":{"post":{"tags":["business"],"summary":"Orders id approve","operationId":"post_business_orders_id_approve","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/orders/{id}/reject":{"post":{"tags":["business"],"summary":"Orders id reject","operationId":"post_business_orders_id_reject","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/orders/bulk":{"post":{"tags":["business"],"summary":"Orders bulk","operationId":"post_business_orders_bulk","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/recipients":{"get":{"tags":["business"],"summary":"Recipients","operationId":"get_business_recipients","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["business"],"summary":"Recipients","operationId":"post_business_recipients","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/cost-centres":{"get":{"tags":["business"],"summary":"Cost centres","operationId":"get_business_cost_centres","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["business"],"summary":"Cost centres","operationId":"post_business_cost_centres","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/rate-cards":{"get":{"tags":["business"],"summary":"Rate cards","operationId":"get_business_rate_cards","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/analytics":{"get":{"tags":["business"],"summary":"Analytics","operationId":"get_business_analytics","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/api-keys":{"get":{"tags":["business"],"summary":"Api keys","operationId":"get_business_api_keys","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["business"],"summary":"Api keys","operationId":"post_business_api_keys","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/webhooks":{"get":{"tags":["business"],"summary":"Webhooks","operationId":"get_business_webhooks","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["business"],"summary":"Webhooks","operationId":"post_business_webhooks","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/webhooks/{id}":{"delete":{"tags":["business"],"summary":"Webhooks id","operationId":"delete_business_webhooks_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/webhooks/{id}/deliveries":{"get":{"tags":["business"],"summary":"Webhooks id deliveries","operationId":"get_business_webhooks_id_deliveries","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/webhooks/{id}/replay":{"post":{"tags":["business"],"summary":"Webhooks id replay","operationId":"post_business_webhooks_id_replay","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/statements":{"get":{"tags":["business"],"summary":"Statements","operationId":"get_business_statements","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/assignments":{"get":{"tags":["fleet"],"summary":"Assignments","operationId":"get_fleet_assignments","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/orders/{id}/assign":{"post":{"tags":["fleet"],"summary":"Orders id assign","operationId":"post_fleet_orders_id_assign","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/live":{"get":{"tags":["fleet"],"summary":"Live","operationId":"get_fleet_live","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/earnings":{"get":{"tags":["fleet"],"summary":"Earnings","operationId":"get_fleet_earnings","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/documents":{"get":{"tags":["fleet"],"summary":"Documents","operationId":"get_fleet_documents","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/reports":{"get":{"tags":["fleet"],"summary":"Reports","operationId":"get_fleet_reports","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/fleet/profile":{"get":{"tags":["fleet"],"summary":"Profile","operationId":"get_fleet_profile","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["fleet"],"summary":"Profile","operationId":"patch_fleet_profile","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/live":{"get":{"tags":["admin"],"summary":"Live","operationId":"get_admin_live","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/customers":{"get":{"tags":["admin"],"summary":"Customers","operationId":"get_admin_customers","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/vehicles":{"get":{"tags":["admin"],"summary":"Vehicles","operationId":"get_admin_vehicles","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/exceptions":{"get":{"tags":["admin"],"summary":"Exceptions","operationId":"get_admin_exceptions","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/wallets":{"get":{"tags":["admin"],"summary":"Wallets","operationId":"get_admin_wallets","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/payments":{"get":{"tags":["admin"],"summary":"Payments","operationId":"get_admin_payments","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/payouts":{"get":{"tags":["admin"],"summary":"Payouts","operationId":"get_admin_payouts","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/settlements":{"get":{"tags":["admin"],"summary":"Settlements","operationId":"get_admin_settlements","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/reconciliation":{"get":{"tags":["admin"],"summary":"Reconciliation","operationId":"get_admin_reconciliation","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/invoices":{"get":{"tags":["admin"],"summary":"Invoices","operationId":"get_admin_invoices","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/reviews":{"get":{"tags":["admin"],"summary":"Reviews","operationId":"get_admin_reviews","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/reviews/{id}/status":{"post":{"tags":["admin"],"summary":"Reviews id status","operationId":"post_admin_reviews_id_status","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/notifications":{"get":{"tags":["admin"],"summary":"Notifications","operationId":"get_admin_notifications","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/search":{"get":{"tags":["admin"],"summary":"Search","operationId":"get_admin_search","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/coverage":{"get":{"tags":["public"],"summary":"Coverage","operationId":"get_public_coverage","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/stats":{"get":{"tags":["public"],"summary":"Stats","operationId":"get_public_stats","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/recurring":{"get":{"tags":["business"],"summary":"Recurring","operationId":"get_business_recurring","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["business"],"summary":"Recurring","operationId":"post_business_recurring","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/recurring/{id}":{"patch":{"tags":["business"],"summary":"Recurring id","operationId":"patch_business_recurring_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/recurring/{id}/blackouts":{"post":{"tags":["business"],"summary":"Recurring id blackouts","operationId":"post_business_recurring_id_blackouts","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/business/recurring/{id}/blackouts/{date}":{"delete":{"tags":["business"],"summary":"Recurring id blackouts date","operationId":"delete_business_recurring_id_blackouts_date","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/wallet":{"get":{"tags":["wallet"],"summary":"Wallet","operationId":"get_wallet","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/wallet/topups":{"post":{"tags":["wallet"],"summary":"Topups","operationId":"post_wallet_topups","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/wallet/topups/{id}/confirm":{"post":{"tags":["wallet"],"summary":"Topups id confirm","operationId":"post_wallet_topups_id_confirm","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/payments/intent":{"post":{"tags":["payments"],"summary":"Intent","operationId":"post_payments_intent","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/payments/{id}/confirm":{"post":{"tags":["payments"],"summary":"Id confirm","operationId":"post_payments_id_confirm","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/payments":{"get":{"tags":["payments"],"summary":"Payments","operationId":"get_payments","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/payments/{id}/refund":{"post":{"tags":["payments"],"summary":"Id refund","operationId":"post_payments_id_refund","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/refunds":{"get":{"tags":["admin"],"summary":"Refunds","operationId":"get_admin_refunds","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/cash":{"get":{"tags":["driver"],"summary":"Cash","operationId":"get_driver_cash","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/cash":{"get":{"tags":["admin"],"summary":"Cash","operationId":"get_admin_cash","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/cash/remittances":{"post":{"tags":["admin"],"summary":"Cash remittances","operationId":"post_admin_cash_remittances","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/ledger/trial-balance":{"get":{"tags":["admin"],"summary":"Ledger trial balance","operationId":"get_admin_ledger_trial_balance","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/ledger/journals":{"get":{"tags":["admin"],"summary":"Ledger journals","operationId":"get_admin_ledger_journals","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/finance/summary":{"get":{"tags":["admin"],"summary":"Finance summary","operationId":"get_admin_finance_summary","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/payouts/batches":{"get":{"tags":["admin"],"summary":"Payouts batches","operationId":"get_admin_payouts_batches","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Payouts batches","operationId":"post_admin_payouts_batches","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/payouts/batches/{id}/{action}":{"post":{"tags":["admin"],"summary":"Payouts batches id action","operationId":"post_admin_payouts_batches_id_action","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/invoices":{"get":{"tags":["invoices"],"summary":"Invoices","operationId":"get_invoices","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/invoices/{id}":{"get":{"tags":["invoices"],"summary":"Id","operationId":"get_invoices_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/invoice":{"post":{"tags":["orders"],"summary":"Id invoice","operationId":"post_orders_id_invoice","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/support/tickets":{"get":{"tags":["support"],"summary":"Tickets","operationId":"get_support_tickets","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["support"],"summary":"Tickets","operationId":"post_support_tickets","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/support/tickets/{id}":{"get":{"tags":["support"],"summary":"Tickets id","operationId":"get_support_tickets_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["support"],"summary":"Tickets id","operationId":"patch_support_tickets_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/support/tickets/{id}/messages":{"post":{"tags":["support"],"summary":"Tickets id messages","operationId":"post_support_tickets_id_messages","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/sla":{"get":{"tags":["admin"],"summary":"Sla","operationId":"get_admin_sla","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/sla/policies":{"post":{"tags":["admin"],"summary":"Sla policies","operationId":"post_admin_sla_policies","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/sla/sweep":{"post":{"tags":["admin"],"summary":"Sla sweep","operationId":"post_admin_sla_sweep","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/disputes":{"post":{"tags":["disputes"],"summary":"Disputes","operationId":"post_disputes","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/disputes":{"get":{"tags":["admin"],"summary":"Disputes","operationId":"get_admin_disputes","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/disputes/{id}/decide":{"post":{"tags":["admin"],"summary":"Disputes id decide","operationId":"post_admin_disputes_id_decide","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/promos":{"get":{"tags":["admin"],"summary":"Promos","operationId":"get_admin_promos","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Promos","operationId":"post_admin_promos","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/promos/{id}":{"patch":{"tags":["admin"],"summary":"Promos id","operationId":"patch_admin_promos_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/business":{"get":{"tags":["admin"],"summary":"Business","operationId":"get_admin_business","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Business","operationId":"post_admin_business","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/approvals":{"get":{"tags":["admin"],"summary":"Approvals","operationId":"get_admin_approvals","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/approvals/{id}/decide":{"post":{"tags":["admin"],"summary":"Approvals id decide","operationId":"post_admin_approvals_id_decide","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/business/{id}/rate-cards":{"post":{"tags":["admin"],"summary":"Business id rate cards","operationId":"post_admin_business_id_rate_cards","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/fleets":{"get":{"tags":["admin"],"summary":"Fleets","operationId":"get_admin_fleets","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Fleets","operationId":"post_admin_fleets","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/fleets/{id}/settlements":{"post":{"tags":["admin"],"summary":"Fleets id settlements","operationId":"post_admin_fleets_id_settlements","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/crm/leads":{"get":{"tags":["admin"],"summary":"Crm leads","operationId":"get_admin_crm_leads","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Crm leads","operationId":"post_admin_crm_leads","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/crm/leads/{id}":{"patch":{"tags":["admin"],"summary":"Crm leads id","operationId":"patch_admin_crm_leads_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/settings":{"get":{"tags":["admin"],"summary":"Settings","operationId":"get_admin_settings","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/settings/{key}":{"put":{"tags":["admin"],"summary":"Settings key","operationId":"put_admin_settings_key","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/flags/{key}":{"patch":{"tags":["admin"],"summary":"Flags key","operationId":"patch_admin_flags_key","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/flags":{"get":{"tags":["flags"],"summary":"Flags","operationId":"get_flags","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/payment-routes":{"get":{"tags":["admin"],"summary":"Payment routes","operationId":"get_admin_payment_routes","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["admin"],"summary":"Payment routes","operationId":"put_admin_payment_routes","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/api-keys":{"get":{"tags":["admin"],"summary":"Api keys","operationId":"get_admin_api_keys","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Api keys","operationId":"post_admin_api_keys","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/api-keys/{id}":{"delete":{"tags":["admin"],"summary":"Api keys id","operationId":"delete_admin_api_keys_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/webhooks":{"get":{"tags":["admin"],"summary":"Webhooks","operationId":"get_admin_webhooks","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Webhooks","operationId":"post_admin_webhooks","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/webhooks/{id}/test":{"post":{"tags":["admin"],"summary":"Webhooks id test","operationId":"post_admin_webhooks_id_test","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/webhook-deliveries":{"get":{"tags":["admin"],"summary":"Webhook deliveries","operationId":"get_admin_webhook_deliveries","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/webhook-deliveries/{id}/replay":{"post":{"tags":["admin"],"summary":"Webhook deliveries id replay","operationId":"post_admin_webhook_deliveries_id_replay","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/jobs":{"get":{"tags":["admin"],"summary":"Jobs","operationId":"get_admin_jobs","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/jobs/{id}/retry":{"post":{"tags":["admin"],"summary":"Jobs id retry","operationId":"post_admin_jobs_id_retry","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/jobs/{id}/cancel":{"post":{"tags":["admin"],"summary":"Jobs id cancel","operationId":"post_admin_jobs_id_cancel","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/outbox":{"get":{"tags":["admin"],"summary":"Outbox","operationId":"get_admin_outbox","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/outbox/{id}/retry":{"post":{"tags":["admin"],"summary":"Outbox id retry","operationId":"post_admin_outbox_id_retry","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/reports/finance":{"get":{"tags":["admin"],"summary":"Reports finance","operationId":"get_admin_reports_finance","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/v1/track/{code}":{"get":{"tags":["public"],"summary":"V1 track code","operationId":"get_public_v1_track_code","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/files":{"post":{"tags":["files"],"summary":"Files","operationId":"post_files","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/files/{id}":{"get":{"tags":["files"],"summary":"Id","operationId":"get_files_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/files/{id}/content":{"get":{"tags":["files"],"summary":"Id content","operationId":"get_files_id_content","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/files/purge":{"post":{"tags":["admin"],"summary":"Files purge","operationId":"post_admin_files_purge","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/notifications":{"get":{"tags":["notifications"],"summary":"Notifications","operationId":"get_notifications","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/notifications/{id}/read":{"post":{"tags":["notifications"],"summary":"Id read","operationId":"post_notifications_id_read","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/notifications/read-all":{"post":{"tags":["notifications"],"summary":"Read all","operationId":"post_notifications_read_all","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/devices/push-token":{"post":{"tags":["devices"],"summary":"Push token","operationId":"post_devices_push_token","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["devices"],"summary":"Push token","operationId":"delete_devices_push_token","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/documents":{"get":{"tags":["driver"],"summary":"Documents","operationId":"get_driver_documents","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["driver"],"summary":"Documents","operationId":"post_driver_documents","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/documents":{"get":{"tags":["admin"],"summary":"Documents","operationId":"get_admin_documents","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/documents/{id}/review":{"post":{"tags":["admin"],"summary":"Documents id review","operationId":"post_admin_documents_id_review","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{orderId}/returns":{"post":{"tags":["orders"],"summary":"OrderId returns","operationId":"post_orders_orderId_returns","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"tags":["orders"],"summary":"OrderId returns","operationId":"get_orders_orderId_returns","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/returns":{"get":{"tags":["admin"],"summary":"Returns","operationId":"get_admin_returns","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/returns/{id}/decide":{"post":{"tags":["admin"],"summary":"Returns id decide","operationId":"post_admin_returns_id_decide","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{orderId}/claims":{"post":{"tags":["orders"],"summary":"OrderId claims","operationId":"post_orders_orderId_claims","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"tags":["orders"],"summary":"OrderId claims","operationId":"get_orders_orderId_claims","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/claims":{"get":{"tags":["admin"],"summary":"Claims","operationId":"get_admin_claims","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/claims/{id}/status":{"post":{"tags":["admin"],"summary":"Claims id status","operationId":"post_admin_claims_id_status","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/cms/{slug}":{"get":{"tags":["public"],"summary":"Cms slug","operationId":"get_public_cms_slug","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/faqs":{"get":{"tags":["public"],"summary":"Faqs","operationId":"get_public_faqs","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/cms":{"get":{"tags":["admin"],"summary":"Cms","operationId":"get_admin_cms","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Cms","operationId":"post_admin_cms","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/cms/faqs":{"post":{"tags":["admin"],"summary":"Cms faqs","operationId":"post_admin_cms_faqs","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/cms/faqs/{id}":{"patch":{"tags":["admin"],"summary":"Cms faqs id","operationId":"patch_admin_cms_faqs_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/metrics/rollup":{"post":{"tags":["admin"],"summary":"Metrics rollup","operationId":"post_admin_metrics_rollup","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/metrics/daily":{"get":{"tags":["admin"],"summary":"Metrics daily","operationId":"get_admin_metrics_daily","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/webhooks/payments/{provider}":{"post":{"tags":["webhooks"],"summary":"Payments provider","operationId":"post_webhooks_payments_provider","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/credit":{"get":{"tags":["admin"],"summary":"Credit","operationId":"get_admin_credit","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/credit/{businessId}":{"patch":{"tags":["admin"],"summary":"Credit businessId","operationId":"patch_admin_credit_businessId","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/credit/{businessId}/dun":{"post":{"tags":["admin"],"summary":"Credit businessId dun","operationId":"post_admin_credit_businessId_dun","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/crm/segments":{"get":{"tags":["admin"],"summary":"Crm segments","operationId":"get_admin_crm_segments","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Crm segments","operationId":"post_admin_crm_segments","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/crm/segments/{id}":{"patch":{"tags":["admin"],"summary":"Crm segments id","operationId":"patch_admin_crm_segments_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/crm/campaigns":{"get":{"tags":["admin"],"summary":"Crm campaigns","operationId":"get_admin_crm_campaigns","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Crm campaigns","operationId":"post_admin_crm_campaigns","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/crm/campaigns/{id}/send":{"post":{"tags":["admin"],"summary":"Crm campaigns id send","operationId":"post_admin_crm_campaigns_id_send","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/crm/targets":{"get":{"tags":["admin"],"summary":"Crm targets","operationId":"get_admin_crm_targets","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Crm targets","operationId":"post_admin_crm_targets","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/supply":{"get":{"tags":["admin"],"summary":"Supply","operationId":"get_admin_supply","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/supply/shifts":{"post":{"tags":["admin"],"summary":"Supply shifts","operationId":"post_admin_supply_shifts","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/risk/rules":{"get":{"tags":["admin"],"summary":"Risk rules","operationId":"get_admin_risk_rules","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Risk rules","operationId":"post_admin_risk_rules","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/risk/cases":{"get":{"tags":["admin"],"summary":"Risk cases","operationId":"get_admin_risk_cases","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/risk/cases/{id}":{"patch":{"tags":["admin"],"summary":"Risk cases id","operationId":"patch_admin_risk_cases_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/risk/evaluate":{"post":{"tags":["admin"],"summary":"Risk evaluate","operationId":"post_admin_risk_evaluate","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/compliance":{"get":{"tags":["admin"],"summary":"Compliance","operationId":"get_admin_compliance","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Compliance","operationId":"post_admin_compliance","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/compliance/{id}":{"patch":{"tags":["admin"],"summary":"Compliance id","operationId":"patch_admin_compliance_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/intelligence/eta":{"get":{"tags":["admin"],"summary":"Intelligence eta","operationId":"get_admin_intelligence_eta","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/intelligence/eta/mode":{"get":{"tags":["admin"],"summary":"Intelligence eta mode","operationId":"get_admin_intelligence_eta_mode","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["admin"],"summary":"Intelligence eta mode","operationId":"patch_admin_intelligence_eta_mode","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/intelligence/eta/approve":{"post":{"tags":["admin"],"summary":"Intelligence eta approve","operationId":"post_admin_intelligence_eta_approve","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/cities":{"get":{"tags":["admin"],"summary":"Cities","operationId":"get_admin_cities","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/cities/{id}/launch":{"get":{"tags":["admin"],"summary":"Cities id launch","operationId":"get_admin_cities_id_launch","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Cities id launch","operationId":"post_admin_cities_id_launch","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/cities/{id}/launch-checks":{"patch":{"tags":["admin"],"summary":"Cities id launch checks","operationId":"patch_admin_cities_id_launch_checks","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/cities/{id}/pause":{"post":{"tags":["admin"],"summary":"Cities id pause","operationId":"post_admin_cities_id_pause","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/weather":{"get":{"tags":["admin"],"summary":"Weather","operationId":"get_admin_weather","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Weather","operationId":"post_admin_weather","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/incentives":{"get":{"tags":["admin"],"summary":"Incentives","operationId":"get_admin_incentives","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Incentives","operationId":"post_admin_incentives","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/incentives/{id}":{"patch":{"tags":["admin"],"summary":"Incentives id","operationId":"patch_admin_incentives_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/incentives":{"get":{"tags":["driver"],"summary":"Incentives","operationId":"get_driver_incentives","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/incentives/{id}/award/{driverId}":{"post":{"tags":["admin"],"summary":"Incentives id award driverId","operationId":"post_admin_incentives_id_award_driverId","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/security/events":{"get":{"tags":["admin"],"summary":"Security events","operationId":"get_admin_security_events","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/security/events/{id}":{"patch":{"tags":["admin"],"summary":"Security events id","operationId":"patch_admin_security_events_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/chargebacks":{"get":{"tags":["admin"],"summary":"Chargebacks","operationId":"get_admin_chargebacks","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Chargebacks","operationId":"post_admin_chargebacks","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/chargebacks/{id}":{"patch":{"tags":["admin"],"summary":"Chargebacks id","operationId":"patch_admin_chargebacks_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/kyc/submissions":{"post":{"tags":["kyc"],"summary":"Submissions","operationId":"post_kyc_submissions","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/kyc/me":{"get":{"tags":["kyc"],"summary":"Me","operationId":"get_kyc_me","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/kyc":{"get":{"tags":["admin"],"summary":"Kyc","operationId":"get_admin_kyc","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/kyc/{id}/review":{"post":{"tags":["admin"],"summary":"Kyc id review","operationId":"post_admin_kyc_id_review","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/forecast":{"get":{"tags":["admin"],"summary":"Forecast","operationId":"get_admin_forecast","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/batching":{"get":{"tags":["admin"],"summary":"Batching","operationId":"get_admin_batching","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/churn":{"get":{"tags":["admin"],"summary":"Churn","operationId":"get_admin_churn","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/orders/{id}/cargo":{"patch":{"tags":["admin"],"summary":"Orders id cargo","operationId":"patch_admin_orders_id_cargo","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/orders/{id}/custody":{"post":{"tags":["driver"],"summary":"Orders id custody","operationId":"post_driver_orders_id_custody","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/driver/orders/{id}/temperature":{"post":{"tags":["driver"],"summary":"Orders id temperature","operationId":"post_driver_orders_id_temperature","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/custody":{"get":{"tags":["orders"],"summary":"Id custody","operationId":"get_orders_id_custody","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/esg":{"get":{"tags":["admin"],"summary":"Esg","operationId":"get_admin_esg","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/esg/export.csv":{"get":{"tags":["admin"],"summary":"Esg export.csv","operationId":"get_admin_esg_export_csv","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/fx":{"get":{"tags":["admin"],"summary":"Fx","operationId":"get_admin_fx","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Fx","operationId":"post_admin_fx","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/knowledge":{"get":{"tags":["admin"],"summary":"Knowledge","operationId":"get_admin_knowledge","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Knowledge","operationId":"post_admin_knowledge","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/knowledge/{id}":{"patch":{"tags":["admin"],"summary":"Knowledge id","operationId":"patch_admin_knowledge_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/support/assistant":{"post":{"tags":["support"],"summary":"Assistant","operationId":"post_support_assistant","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/accounting/periods":{"get":{"tags":["admin"],"summary":"Accounting periods","operationId":"get_admin_accounting_periods","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Accounting periods","operationId":"post_admin_accounting_periods","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/accounting/periods/{id}/close":{"post":{"tags":["admin"],"summary":"Accounting periods id close","operationId":"post_admin_accounting_periods_id_close","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/accounting/periods/{id}/reopen":{"post":{"tags":["admin"],"summary":"Accounting periods id reopen","operationId":"post_admin_accounting_periods_id_reopen","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/markets":{"get":{"tags":["admin"],"summary":"Markets","operationId":"get_admin_markets","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Markets","operationId":"post_admin_markets","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/markets/{code}/tax-rules":{"post":{"tags":["admin"],"summary":"Markets code tax rules","operationId":"post_admin_markets_code_tax_rules","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/loyalty/me":{"get":{"tags":["loyalty"],"summary":"Me","operationId":"get_loyalty_me","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/loyalty/redeem":{"post":{"tags":["loyalty"],"summary":"Redeem","operationId":"post_loyalty_redeem","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/experiments/{key}/expose":{"post":{"tags":["experiments"],"summary":"Key expose","operationId":"post_experiments_key_expose","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/experiments/{key}/convert":{"post":{"tags":["experiments"],"summary":"Key convert","operationId":"post_experiments_key_convert","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/growth/attribution":{"post":{"tags":["growth"],"summary":"Attribution","operationId":"post_growth_attribution","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/growth/experiments":{"get":{"tags":["admin"],"summary":"Growth experiments","operationId":"get_admin_growth_experiments","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Growth experiments","operationId":"post_admin_growth_experiments","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/growth/experiments/{id}":{"patch":{"tags":["admin"],"summary":"Growth experiments id","operationId":"patch_admin_growth_experiments_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/growth/lifecycle":{"get":{"tags":["admin"],"summary":"Growth lifecycle","operationId":"get_admin_growth_lifecycle","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Growth lifecycle","operationId":"post_admin_growth_lifecycle","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/growth/lifecycle/{id}":{"patch":{"tags":["admin"],"summary":"Growth lifecycle id","operationId":"patch_admin_growth_lifecycle_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/growth/lifecycle/run":{"post":{"tags":["admin"],"summary":"Growth lifecycle run","operationId":"post_admin_growth_lifecycle_run","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/growth/attribution":{"get":{"tags":["admin"],"summary":"Growth attribution","operationId":"get_admin_growth_attribution","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/sso/connections":{"get":{"tags":["admin"],"summary":"Sso connections","operationId":"get_admin_sso_connections","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["admin"],"summary":"Sso connections","operationId":"post_admin_sso_connections","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/sso/discover":{"post":{"tags":["admin"],"summary":"Sso discover","operationId":"post_admin_sso_discover","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/sso/connections/{id}":{"patch":{"tags":["admin"],"summary":"Sso connections id","operationId":"patch_admin_sso_connections_id","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/sso/discover":{"get":{"tags":["auth"],"summary":"Sso discover","operationId":"get_auth_sso_discover","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/sso/{key}/start":{"get":{"tags":["auth"],"summary":"Sso key start","operationId":"get_auth_sso_key_start","responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/sso/{key}/acs":{"post":{"tags":["auth"],"summary":"Sso key acs","operationId":"post_auth_sso_key_acs","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/sso/exchange":{"post":{"tags":["auth"],"summary":"Sso exchange","operationId":"post_auth_sso_exchange","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response"},"400":{"description":"Validation or business-rule error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key"}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}