{"openapi":"3.1.0","info":{"title":"My API","description":"My API documentation","version":"v1"},"servers":[{"url":"https://staging-api-rido.ryenbytes.com","description":"Generated server url"}],"security":[{"bearerAuth":[]}],"paths":{"/api/settings":{"get":{"tags":["settings-controller"],"operationId":"getAllSettings","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserSettingsDto"}}}}}},"put":{"tags":["settings-controller"],"operationId":"updateSetting","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSettingDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SettingDto"}}}}}}},"/api/config":{"get":{"tags":["app-config-controller"],"operationId":"getCurrentConfig","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AppConfigDto"}}}}}},"put":{"tags":["app-config-controller"],"operationId":"updateConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAppConfigDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AppConfigDto"}}}}}}},"/api/config/driver/{driverId}":{"get":{"tags":["app-config-controller"],"operationId":"getDriverConfig","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AppConfigDto"}}}}}},"put":{"tags":["app-config-controller"],"operationId":"updateDriverConfig","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAppConfigDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AppConfigDto"}}}}}}},"/api/webhooks/payment":{"post":{"tags":["webhook-controller"],"operationId":"handlePaymentWebhook","parameters":[{"name":"Stripe-Signature","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/users":{"post":{"tags":["user-controller"],"operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"deprecated":true}},"/api/trips/{tripId}/action":{"post":{"tags":["trip-controller"],"operationId":"performAction","parameters":[{"name":"tripId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripActionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TripDto"}}}}}}},"/api/trips/route-info":{"post":{"tags":["trip-controller"],"operationId":"getRouteInfo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteInfoRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RouteInfoDto"}}}}}}},"/api/trips/request":{"post":{"tags":["trip-controller"],"operationId":"requestTrip","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TripDto"}}}}}}},"/api/trips/estimate":{"post":{"tags":["trip-controller"],"operationId":"getEstimate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TripEstimateDto"}}}}}}}},"/api/test/log":{"post":{"tags":["test-controller"],"operationId":"testLog","parameters":[{"name":"level","in":"query","required":false,"schema":{"type":"string","default":"INFO","enum":["TRACE","DEBUG","INFO","WARN","ERROR","FATAL","OFF"]}},{"name":"message","in":"query","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"/api/sessions/revoke-all":{"post":{"tags":["auth-controller"],"operationId":"revokeAllSessions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeSessionsRequestDto"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/push-token":{"post":{"tags":["push-token-controller"],"operationId":"registerPushToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushTokenRequestDto"}}},"required":true},"responses":{"200":{"description":"OK"}}},"delete":{"tags":["push-token-controller"],"operationId":"deletePushToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushTokenRequestDto"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/payouts":{"post":{"tags":["payout-controller"],"operationId":"createPayout","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePayoutDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DriverPayoutDto"}}}}}}},"/api/payouts/{payoutId}/process":{"post":{"tags":["payout-controller"],"operationId":"processPayout","parameters":[{"name":"payoutId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DriverPayoutDto"}}}}}}},"/api/payments/setup-intent":{"post":{"tags":["payment-controller"],"operationId":"createSetupIntent","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"/api/payments/payment-method":{"post":{"tags":["payment-controller"],"operationId":"setDefaultPaymentMethod","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetPaymentMethodRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}},"delete":{"tags":["payment-controller"],"operationId":"removePaymentMethod","responses":{"200":{"description":"OK"}}}},"/api/drivers/register":{"post":{"tags":["driver-controller"],"operationId":"registerDriver","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDriverDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DriverDto"}}}}}}},"/api/drivers/location":{"post":{"tags":["driver-controller"],"operationId":"updateLocation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDriverLocationDto"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/debug/log":{"post":{"tags":["debug-controller"],"operationId":"testLog_1","parameters":[{"name":"level","in":"query","required":false,"schema":{"type":"string","default":"INFO","enum":["TRACE","DEBUG","INFO","WARN","ERROR","FATAL","OFF"]}},{"name":"message","in":"query","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"/api/auth/signup":{"post":{"tags":["auth-controller"],"operationId":"signup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUpRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LoginResponseDto"}}}}}}},"/api/auth/refresh":{"post":{"tags":["auth-controller"],"operationId":"refresh","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LoginResponseDto"}}}}}}},"/api/auth/otp/signup":{"post":{"tags":["otp-auth-controller"],"operationId":"signUp","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtpSignUpEmailRequestDto"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/auth/otp/signup/verify":{"post":{"tags":["otp-auth-controller"],"operationId":"verifySignUp","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtpVerifyDto"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/auth/otp/signup/complete":{"post":{"tags":["otp-auth-controller"],"operationId":"completeSignUp","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtpSignUpCompleteRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LoginResponseDto"}}}}}}},"/api/auth/otp/login":{"post":{"tags":["otp-auth-controller"],"operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtpRequestDto"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/auth/otp/login/verify":{"post":{"tags":["otp-auth-controller"],"operationId":"verifyLogin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtpVerifyDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LoginResponseDto"}}}}}}},"/api/auth/logout":{"post":{"tags":["auth-controller"],"operationId":"logout","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenRequestDto"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/auth/login":{"post":{"tags":["auth-controller"],"operationId":"login_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequestDto"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LoginResponseDto"}}}}}}},"/api/admin/users/{userId}/deactivate":{"post":{"tags":["admin-controller"],"operationId":"deactivateUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}}}},"/api/admin/users/{userId}/activate":{"post":{"tags":["admin-controller"],"operationId":"activateUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}}}},"/api/admin/payments/{paymentId}/refund":{"post":{"tags":["admin-controller"],"operationId":"refundPayment","parameters":[{"name":"paymentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaymentDto"}}}}}}},"/api/admin/drivers/{driverId}/verify":{"post":{"tags":["admin-controller"],"operationId":"verifyDriver","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DriverDto"}}}}}}},"/api/admin/drivers/{driverId}/unverify":{"post":{"tags":["admin-controller"],"operationId":"unverifyDriver","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DriverDto"}}}}}}},"/api/admin/drivers/{driverId}/deactivate":{"post":{"tags":["admin-controller"],"operationId":"deactivateDriver","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"}}}},"/api/users/me/password":{"patch":{"tags":["user-controller"],"operationId":"changePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordDto"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/vehicle-types":{"get":{"tags":["vehicle-type-controller"],"operationId":"getVehicleTypes","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VehicleTypeDto"}}}}}}}},"/api/users/{userId}":{"get":{"tags":["user-controller"],"operationId":"getUserById","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}}}},"/api/users/me":{"get":{"tags":["user-controller"],"operationId":"getCurrentUser","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}}},"delete":{"tags":["user-controller"],"operationId":"deleteMyAccount","responses":{"200":{"description":"OK"}}}},"/api/trips/view":{"get":{"tags":["trip-controller"],"operationId":"viewTrip","parameters":[{"name":"tripId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TripWithPaymentDto"}}}}}}},"/api/trips/rider/history":{"get":{"tags":["trip-controller"],"summary":"This endpoint is not ready","description":"This endpoint is under development and is not functional yet. Please check back later.","operationId":"getRiderTripsPaged","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTripDto"}}}}}}},"/api/trips/driver/history":{"get":{"tags":["trip-controller"],"summary":"This endpoint is not ready","description":"This endpoint is under development and is not functional yet. Please check back later.","operationId":"getDriverTrips","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TripDto"}}}}}}}},"/api/trips/driver/available":{"get":{"tags":["trip-controller"],"operationId":"getAvailableTrips","parameters":[{"name":"range","in":"query","required":false,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TripDto"}}}}}}}},"/api/trips/active":{"get":{"tags":["trip-controller"],"operationId":"getActiveTrip","parameters":[{"name":"lastTrip","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TripDto"}}}}}}},"/api/test":{"get":{"tags":["test-controller"],"operationId":"test","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"/api/test/info":{"get":{"tags":["test-controller"],"operationId":"info","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/settings/{key}":{"get":{"tags":["settings-controller"],"operationId":"getSetting","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SettingDto"}}}}}},"delete":{"tags":["settings-controller"],"operationId":"resetSetting","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/payouts/{payoutId}":{"get":{"tags":["payout-controller"],"operationId":"getPayoutById","parameters":[{"name":"payoutId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DriverPayoutDto"}}}}}}},"/api/payouts/pending":{"get":{"tags":["payout-controller"],"operationId":"getPendingPayouts","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DriverPayoutDto"}}}}}}}},"/api/payouts/my":{"get":{"tags":["payout-controller"],"operationId":"getMyPayouts","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DriverPayoutDto"}}}}}}}},"/api/payouts/driver/{driverId}":{"get":{"tags":["payout-controller"],"operationId":"getDriverPayouts","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DriverPayoutDto"}}}}}}}},"/api/payouts/driver/{driverId}/paged":{"get":{"tags":["payout-controller"],"operationId":"getDriverPayoutsPaged","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageDriverPayoutDto"}}}}}}},"/api/payments/trip/{tripId}":{"get":{"tags":["payment-controller"],"operationId":"getPaymentByTripId","parameters":[{"name":"tripId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/payments/history":{"get":{"tags":["payment-controller"],"operationId":"getPaymentHistory","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentDto"}}}}}}}},"/api/payments/has-payment-method":{"get":{"tags":["payment-controller"],"operationId":"hasPaymentMethod","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"boolean"}}}}}}}},"/api/drivers/{driverId}":{"get":{"tags":["driver-controller"],"operationId":"getDriverById","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DriverDto"}}}}}}},"/api/drivers/nearby":{"get":{"tags":["driver-controller"],"operationId":"findNearbyDrivers","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number"}},{"name":"lng","in":"query","required":true,"schema":{"type":"number"}},{"name":"includeUnavailable","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DriverDto"}}}}}}}},"/api/debug":{"get":{"tags":["debug-controller"],"operationId":"test_1","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"/api/debug/info":{"get":{"tags":["debug-controller"],"operationId":"info_1","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"/api/config/driver/{driverId}/history":{"get":{"tags":["app-config-controller"],"operationId":"getDriverConfigHistory","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AppConfigDto"}}}}}}}},"/api/admin/users":{"get":{"tags":["admin-controller"],"operationId":"getAllUsers","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageUserListItemDto"}}}}}}},"/api/admin/users/riders":{"get":{"tags":["admin-controller"],"operationId":"getAllRiders","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserListItemDto"}}}}}}}},"/api/admin/users/drivers":{"get":{"tags":["admin-controller"],"operationId":"getAllDriverUsers","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserListItemDto"}}}}}}}},"/api/admin/trips":{"get":{"tags":["admin-controller"],"operationId":"getAllTrips","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTripListItemDto"}}}}}}},"/api/admin/trips/status/{status}":{"get":{"tags":["admin-controller"],"operationId":"getTripsByStatus","parameters":[{"name":"status","in":"path","required":true,"schema":{"type":"string","enum":["REQUESTED","ACCEPTED","DRIVER_ARRIVED","IN_PROGRESS","COMPLETED","CANCELLED","TERMINATED_EARLY","EXPIRED"]}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TripListItemDto"}}}}}}}},"/api/admin/reports/revenue":{"get":{"tags":["admin-controller"],"operationId":"getRevenueReport","parameters":[{"name":"startDate","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"endDate","in":"query","required":true,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RevenueReportDto"}}}}}}},"/api/admin/payments":{"get":{"tags":["admin-controller"],"operationId":"getAllPayments","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagePaymentListItemDto"}}}}}}},"/api/admin/payments/status/{status}":{"get":{"tags":["admin-controller"],"operationId":"getPaymentsByStatus","parameters":[{"name":"status","in":"path","required":true,"schema":{"type":"string","enum":["AUTHORIZED","CAPTURED","RELEASED","FAILED","REFUNDED","CASH_COLLECTED"]}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentListItemDto"}}}}}}}},"/api/admin/nearby":{"get":{"tags":["admin-controller"],"operationId":"getNearbyDrivers","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DriverDto"}}}}}}}},"/api/admin/drivers":{"get":{"tags":["admin-controller"],"operationId":"getAllDrivers","parameters":[{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageDriverListItemDto"}}}}}}},"/api/admin/drivers/{driverId}/earnings":{"get":{"tags":["admin-controller"],"operationId":"getDriverEarnings","parameters":[{"name":"driverId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DriverEarningsDto"}}}}}}},"/api/admin/drivers/pending-verification":{"get":{"tags":["admin-controller"],"operationId":"getPendingVerificationDrivers","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DriverListItemDto"}}}}}}}},"/api/admin/drivers/earnings":{"get":{"tags":["admin-controller"],"operationId":"getAllDriverEarnings","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DriverEarningsDto"}}}}}}}},"/api/admin/dashboard":{"get":{"tags":["admin-controller"],"operationId":"getDashboardStats","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DashboardStatsDto"}}}}}}},"/api/admin/users/{userId}":{"delete":{"tags":["admin-controller"],"operationId":"deleteUser","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK"}}}}},"components":{"schemas":{"UpdateSettingDto":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"object"}},"required":["key","value"]},"SettingDto":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"object"},"default":{"type":"boolean"}}},"UpdateAppConfigDto":{"type":"object","properties":{"platformCommissionPercent":{"type":"number","minimum":0.0}}},"AppConfigDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"driverId":{"type":"integer","format":"int64"},"platformCommissionPercent":{"type":"number"},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"integer","format":"int64"}}},"CreateUserDto":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string","maxLength":100,"minLength":6},"phone":{"type":"string","maxLength":20,"minLength":10},"firstName":{"type":"string","maxLength":100,"minLength":0},"lastName":{"type":"string","maxLength":100,"minLength":0},"role":{"type":"string","enum":["RIDER","DRIVER","ADMIN"]}},"required":["email","firstName","lastName","password","phone","role"]},"DriverDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"user":{"$ref":"#/components/schemas/UserDto"},"licenseNumber":{"type":"string"},"vehicleMake":{"type":"string"},"vehicleModel":{"type":"string"},"vehicleYear":{"type":"integer","format":"int32"},"vehiclePlate":{"type":"string"},"vehicleColor":{"type":"string"},"vehicleType":{"type":"string","enum":["STANDARD","COMFORT","VAN","LIMOUSINE"]},"isVerified":{"type":"boolean"},"isAvailable":{"type":"boolean"},"currentLat":{"type":"number"},"currentLng":{"type":"number"},"createdAt":{"type":"string","format":"date-time"},"completedTrips":{"type":"integer","format":"int64"},"cancelledTrips":{"type":"integer","format":"int64"},"terminatedTrips":{"type":"integer","format":"int64"}}},"UserDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"email":{"type":"string"},"phone":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"role":{"type":"string","enum":["RIDER","DRIVER","ADMIN"]},"isActive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"driver":{"$ref":"#/components/schemas/DriverDto"}}},"TripActionRequest":{"type":"object","properties":{"action":{"type":"string","enum":["ACCEPT","ARRIVED","START","COMPLETE","CANCEL","WITHDRAW","TERMINATE"]},"reason":{"type":"string"}},"required":["action"]},"LocationDto":{"type":"object","properties":{"lat":{"type":"number","maximum":90.0,"minimum":-90.0},"lng":{"type":"number","maximum":180.0,"minimum":-180.0},"address":{"type":"string"}},"required":["address","lat","lng"]},"TripDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"rider":{"$ref":"#/components/schemas/UserDto"},"driver":{"$ref":"#/components/schemas/DriverDto"},"pickup":{"$ref":"#/components/schemas/LocationDto"},"dropoff":{"$ref":"#/components/schemas/LocationDto"},"status":{"type":"string","enum":["REQUESTED","ACCEPTED","DRIVER_ARRIVED","IN_PROGRESS","COMPLETED","CANCELLED","TERMINATED_EARLY","EXPIRED"]},"vehicleType":{"type":"string","enum":["STANDARD","COMFORT","VAN","LIMOUSINE"]},"distanceKm":{"type":"number"},"durationMinutes":{"type":"integer","format":"int32"},"routePolyline":{"type":"string"},"driverRoutePolyline":{"type":"string"},"totalFare":{"type":"number"},"requestedAt":{"type":"string","format":"date-time"},"acceptedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"cancelledAt":{"type":"string","format":"date-time"},"cancelledBy":{"type":"string"},"cancellationDriverLat":{"type":"number"},"cancellationDriverLng":{"type":"number"},"terminatedAt":{"type":"string","format":"date-time"},"termination":{"$ref":"#/components/schemas/LocationDto"},"actualDistanceKm":{"type":"number"},"actualFare":{"type":"number"}}},"RouteInfoRequestDto":{"type":"object","properties":{"pickupLat":{"type":"number","maximum":90.0,"minimum":-90.0},"pickupLng":{"type":"number","maximum":180.0,"minimum":-180.0},"dropoffLat":{"type":"number","maximum":90.0,"minimum":-90.0},"dropoffLng":{"type":"number","maximum":180.0,"minimum":-180.0}},"required":["dropoffLat","dropoffLng","pickupLat","pickupLng"]},"RouteInfoDto":{"type":"object","properties":{"pickup":{"$ref":"#/components/schemas/LocationDto"},"dropoff":{"$ref":"#/components/schemas/LocationDto"},"distanceKm":{"type":"number"},"durationMinutes":{"type":"integer","format":"int32"},"polyline":{"type":"string"},"estimatedFare":{"type":"number"},"baseFare":{"type":"number"},"distanceCharge":{"type":"number"},"timeCharge":{"type":"number"}}},"TripRequestDto":{"type":"object","properties":{"pickup":{"$ref":"#/components/schemas/LocationDto"},"dropoff":{"$ref":"#/components/schemas/LocationDto"},"paymentMethod":{"type":"string","enum":["CASH","CARD","WALLET"]},"vehicleType":{"type":"string","enum":["STANDARD","COMFORT","VAN","LIMOUSINE"]}},"required":["dropoff","paymentMethod","pickup","vehicleType"]},"TripEstimateDto":{"type":"object","properties":{"distanceKm":{"type":"number"},"estimatedDurationMinutes":{"type":"integer","format":"int32"},"estimatedFare":{"type":"number"},"baseFare":{"type":"number"},"distanceCharge":{"type":"number"},"timeCharge":{"type":"number"},"vehicleType":{"type":"string","enum":["STANDARD","COMFORT","VAN","LIMOUSINE"]},"fareMultiplier":{"type":"number"},"polyline":{"type":"string"}}},"RevokeSessionsRequestDto":{"type":"object","properties":{"refreshToken":{"type":"string"},"includeCurrent":{"type":"boolean"}},"required":["refreshToken"]},"PushTokenRequestDto":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]},"CreatePayoutDto":{"type":"object","properties":{"driverId":{"type":"integer","format":"int64"},"amount":{"type":"number","minimum":0.01},"paymentMethod":{"type":"string","enum":["CASH","CARD","WALLET"]},"notes":{"type":"string"}},"required":["amount","driverId","paymentMethod"]},"DriverPayoutDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"driverId":{"type":"integer","format":"int64"},"driverName":{"type":"string"},"amount":{"type":"number"},"status":{"type":"string","enum":["PENDING","COMPLETED","FAILED"]},"paymentMethod":{"type":"string","enum":["CASH","CARD","WALLET"]},"transactionReference":{"type":"string"},"notes":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"createdById":{"type":"integer","format":"int64"}}},"SetPaymentMethodRequest":{"type":"object","properties":{"paymentMethodId":{"type":"string"}},"required":["paymentMethodId"]},"CreateDriverDto":{"type":"object","properties":{"licenseNumber":{"type":"string","maxLength":50,"minLength":0},"vehicleMake":{"type":"string","maxLength":50,"minLength":0},"vehicleModel":{"type":"string","maxLength":50,"minLength":0},"vehicleYear":{"type":"integer","format":"int32"},"vehiclePlate":{"type":"string","maxLength":20,"minLength":0},"vehicleColor":{"type":"string","maxLength":30,"minLength":0},"vehicleType":{"type":"string","enum":["STANDARD","COMFORT","VAN","LIMOUSINE"]}},"required":["licenseNumber","vehicleColor","vehicleMake","vehicleModel","vehiclePlate","vehicleType","vehicleYear"]},"UpdateDriverLocationDto":{"type":"object","properties":{"lat":{"type":"number","maximum":90.0,"minimum":-90.0},"lng":{"type":"number","maximum":180.0,"minimum":-180.0}},"required":["lat","lng"]},"SignUpRequestDto":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string","maxLength":50,"minLength":3},"phone":{"type":"string","maxLength":20,"minLength":0},"firstName":{"type":"string","maxLength":100,"minLength":0},"lastName":{"type":"string","maxLength":100,"minLength":0},"role":{"type":"string","enum":["RIDER","DRIVER","ADMIN"]}},"required":["email","firstName","lastName","password","phone","role"]},"LoginDriverDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"licenseNumber":{"type":"string"},"vehicleMake":{"type":"string"},"vehicleModel":{"type":"string"},"vehicleYear":{"type":"integer","format":"int32"},"vehiclePlate":{"type":"string"},"vehicleColor":{"type":"string"},"isVerified":{"type":"boolean"},"isAvailable":{"type":"boolean"},"currentLat":{"type":"number"},"currentLng":{"type":"number"}}},"LoginResponseDto":{"type":"object","properties":{"token":{"type":"string"},"refreshToken":{"type":"string"},"id":{"type":"integer","format":"int64"},"email":{"type":"string"},"phone":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"role":{"type":"string","enum":["RIDER","DRIVER","ADMIN"]},"isActive":{"type":"boolean"},"driver":{"$ref":"#/components/schemas/LoginDriverDto"}}},"RefreshTokenRequestDto":{"type":"object","properties":{"refreshToken":{"type":"string"}},"required":["refreshToken"]},"OtpSignUpEmailRequestDto":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"OtpVerifyDto":{"type":"object","properties":{"identifier":{"type":"string"},"code":{"type":"string"}},"required":["code","identifier"]},"OtpSignUpCompleteRequestDto":{"type":"object","properties":{"email":{"type":"string"},"phone":{"type":"string","maxLength":20,"minLength":0},"firstName":{"type":"string","maxLength":100,"minLength":0},"lastName":{"type":"string","maxLength":100,"minLength":0},"role":{"type":"string","enum":["RIDER","DRIVER","ADMIN"]}},"required":["email","firstName","lastName","phone","role"]},"OtpRequestDto":{"type":"object","properties":{"identifier":{"type":"string"}},"required":["identifier"]},"LoginRequestDto":{"type":"object","properties":{"email":{"type":"string","maxLength":50,"minLength":3},"password":{"type":"string","maxLength":50,"minLength":3}},"required":["email","password"]},"PaymentDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"tripId":{"type":"integer","format":"int64"},"amount":{"type":"number"},"paymentMethod":{"type":"string","enum":["CASH","CARD","WALLET"]},"status":{"type":"string","enum":["AUTHORIZED","CAPTURED","RELEASED","FAILED","REFUNDED","CASH_COLLECTED"]},"failureReason":{"type":"string"},"authorizedAt":{"type":"string","format":"date-time"},"capturedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}},"ChangePasswordDto":{"type":"object","properties":{"newPassword":{"type":"string","maxLength":100,"minLength":2}},"required":["newPassword"]},"VehicleTypeDto":{"type":"object","properties":{"type":{"type":"string","enum":["STANDARD","COMFORT","VAN","LIMOUSINE"]},"label":{"type":"string"},"maxPassengers":{"type":"integer","format":"int32"},"description":{"type":"string"},"fareMultiplier":{"type":"number"}}},"TripWithPaymentDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"rider":{"$ref":"#/components/schemas/UserDto"},"driver":{"$ref":"#/components/schemas/DriverDto"},"pickup":{"$ref":"#/components/schemas/LocationDto"},"dropoff":{"$ref":"#/components/schemas/LocationDto"},"status":{"type":"string","enum":["REQUESTED","ACCEPTED","DRIVER_ARRIVED","IN_PROGRESS","COMPLETED","CANCELLED","TERMINATED_EARLY","EXPIRED"]},"vehicleType":{"type":"string","enum":["STANDARD","COMFORT","VAN","LIMOUSINE"]},"distanceKm":{"type":"number"},"durationMinutes":{"type":"integer","format":"int32"},"routePolyline":{"type":"string"},"totalFare":{"type":"number"},"requestedAt":{"type":"string","format":"date-time"},"acceptedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"cancelledAt":{"type":"string","format":"date-time"},"cancelledBy":{"type":"string"},"cancellationDriverLat":{"type":"number"},"cancellationDriverLng":{"type":"number"},"terminatedAt":{"type":"string","format":"date-time"},"termination":{"$ref":"#/components/schemas/LocationDto"},"actualDistanceKm":{"type":"number"},"actualFare":{"type":"number"},"payment":{"type":"object"}}},"Pageable":{"type":"object","properties":{"page":{"type":"integer","format":"int32","minimum":0},"size":{"type":"integer","format":"int32","minimum":1},"sort":{"type":"array","items":{"type":"string"}}}},"PageTripDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/TripDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"empty":{"type":"boolean"}}},"PageableObject":{"type":"object","properties":{"unpaged":{"type":"boolean"},"pageNumber":{"type":"integer","format":"int32"},"paged":{"type":"boolean"},"pageSize":{"type":"integer","format":"int32"},"offset":{"type":"integer","format":"int64"},"sort":{"$ref":"#/components/schemas/SortObject"}}},"SortObject":{"type":"object","properties":{"unsorted":{"type":"boolean"},"sorted":{"type":"boolean"},"empty":{"type":"boolean"}}},"UserSettingsDto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64"},"role":{"type":"string","enum":["RIDER","DRIVER","ADMIN"]},"settings":{"type":"array","items":{"$ref":"#/components/schemas/SettingDto"}}}},"PageDriverPayoutDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/DriverPayoutDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"empty":{"type":"boolean"}}},"PageUserListItemDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/UserListItemDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"empty":{"type":"boolean"}}},"UserListItemDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"email":{"type":"string"},"fullName":{"type":"string"},"phone":{"type":"string"},"role":{"type":"string","enum":["RIDER","DRIVER","ADMIN"]},"isActive":{"type":"boolean"},"totalTrips":{"type":"integer","format":"int64"},"totalSpent":{"type":"number"},"createdAt":{"type":"string","format":"date-time"},"lastActivityAt":{"type":"string","format":"date-time"}}},"PageTripListItemDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/TripListItemDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"empty":{"type":"boolean"}}},"TripListItemDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"riderName":{"type":"string"},"riderId":{"type":"integer","format":"int64"},"driverName":{"type":"string"},"driverId":{"type":"integer","format":"int64"},"pickupAddress":{"type":"string"},"dropoffAddress":{"type":"string"},"distanceKm":{"type":"number"},"totalFare":{"type":"number"},"status":{"type":"string","enum":["REQUESTED","ACCEPTED","DRIVER_ARRIVED","IN_PROGRESS","COMPLETED","CANCELLED","TERMINATED_EARLY","EXPIRED"]},"vehicleType":{"type":"string","enum":["STANDARD","COMFORT","VAN","LIMOUSINE"]},"paymentStatus":{"type":"string","enum":["AUTHORIZED","CAPTURED","RELEASED","FAILED","REFUNDED","CASH_COLLECTED"]},"paymentMethod":{"type":"string","enum":["CASH","CARD","WALLET"]},"requestedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}}},"DailyRevenue":{"type":"object","properties":{"date":{"type":"string","format":"date"},"revenue":{"type":"number"},"platformEarnings":{"type":"number"},"tripCount":{"type":"integer","format":"int64"}}},"RevenueReportDto":{"type":"object","properties":{"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"totalRevenue":{"type":"number"},"platformEarnings":{"type":"number"},"driverEarnings":{"type":"number"},"totalTrips":{"type":"integer","format":"int64"},"completedTrips":{"type":"integer","format":"int64"},"cancelledTrips":{"type":"integer","format":"int64"},"averageFare":{"type":"number"},"dailyBreakdown":{"type":"array","items":{"$ref":"#/components/schemas/DailyRevenue"}}}},"PagePaymentListItemDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/PaymentListItemDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"empty":{"type":"boolean"}}},"PaymentListItemDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"tripId":{"type":"integer","format":"int64"},"riderName":{"type":"string"},"riderId":{"type":"integer","format":"int64"},"driverName":{"type":"string"},"driverId":{"type":"integer","format":"int64"},"amount":{"type":"number"},"platformFee":{"type":"number"},"driverEarnings":{"type":"number"},"paymentMethod":{"type":"string","enum":["CASH","CARD","WALLET"]},"status":{"type":"string","enum":["AUTHORIZED","CAPTURED","RELEASED","FAILED","REFUNDED","CASH_COLLECTED"]},"transactionId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"DriverListItemDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"userId":{"type":"integer","format":"int64"},"email":{"type":"string"},"fullName":{"type":"string"},"phone":{"type":"string"},"licenseNumber":{"type":"string"},"vehicleInfo":{"type":"string"},"vehicleType":{"type":"string","enum":["STANDARD","COMFORT","VAN","LIMOUSINE"]},"isVerified":{"type":"boolean"},"isAvailable":{"type":"boolean"},"isActive":{"type":"boolean"},"completedTrips":{"type":"integer","format":"int64"},"totalEarnings":{"type":"number"},"createdAt":{"type":"string","format":"date-time"},"lastTripAt":{"type":"string","format":"date-time"}}},"PageDriverListItemDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/DriverListItemDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"empty":{"type":"boolean"}}},"DriverEarningsDto":{"type":"object","properties":{"driverId":{"type":"integer","format":"int64"},"driverName":{"type":"string"},"email":{"type":"string"},"completedTrips":{"type":"integer","format":"int64"},"totalEarnings":{"type":"number"},"totalPaidOut":{"type":"number"},"pendingBalance":{"type":"number"}}},"DashboardStatsDto":{"type":"object","properties":{"totalUsers":{"type":"integer","format":"int64"},"totalRiders":{"type":"integer","format":"int64"},"totalDrivers":{"type":"integer","format":"int64"},"activeUsers":{"type":"integer","format":"int64"},"newUsersToday":{"type":"integer","format":"int64"},"newUsersThisWeek":{"type":"integer","format":"int64"},"newUsersThisMonth":{"type":"integer","format":"int64"},"verifiedDrivers":{"type":"integer","format":"int64"},"pendingVerificationDrivers":{"type":"integer","format":"int64"},"onlineDrivers":{"type":"integer","format":"int64"},"totalTrips":{"type":"integer","format":"int64"},"completedTrips":{"type":"integer","format":"int64"},"cancelledTrips":{"type":"integer","format":"int64"},"activeTrips":{"type":"integer","format":"int64"},"tripsToday":{"type":"integer","format":"int64"},"tripsThisWeek":{"type":"integer","format":"int64"},"tripsThisMonth":{"type":"integer","format":"int64"},"totalRevenue":{"type":"number"},"revenueToday":{"type":"number"},"revenueThisWeek":{"type":"number"},"revenueThisMonth":{"type":"number"},"platformEarnings":{"type":"number"},"totalDriverPayouts":{"type":"number"},"pendingPayouts":{"type":"number"}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}