{"openapi":"3.1.0","info":{"title":"Touricon API","version":"1.0.0"},"paths":{"/health":{"get":{"summary":"Root Health Check","operationId":"root_health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/properties":{"get":{"summary":"Get Properties","description":"Get properties with optional filtering, including enhanced data with room types","operationId":"get_properties_api_properties_get","parameters":[{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},{"name":"featured","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Featured"}},{"name":"guests","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Guests"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/properties/featured":{"get":{"summary":"Get Featured Properties","description":"Get featured properties","operationId":"get_featured_properties_api_properties_featured_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":6,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Property"},"title":"Response Get Featured Properties Api Properties Featured Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/properties/{property_id}":{"get":{"summary":"Get Property","description":"Get a single property by ID with enhanced data including room types","operationId":"get_property_api_properties__property_id__get","parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/properties/search":{"post":{"summary":"Search Properties","description":"Advanced property search","operationId":"search_properties_api_properties_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertySearch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Property"},"type":"array","title":"Response Search Properties Api Properties Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/destinations":{"get":{"summary":"Get Destinations","description":"Get all destinations","operationId":"get_destinations_api_destinations_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Destination"},"title":"Response Get Destinations Api Destinations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/":{"get":{"summary":"Root","operationId":"root_api__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health":{"get":{"summary":"Health Check","operationId":"health_check_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/availability/check":{"post":{"summary":"Check Availability Public","description":"Check availability for a potential booking (public endpoint).","operationId":"check_availability_public_api_availability_check_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Availability Check"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/moderator-login":{"post":{"tags":["Authentication"],"summary":"Moderator Login","description":"Login endpoint for moderators with httpOnly cookies.\n\nSecurity Features:\n- httpOnly cookies (XSS protection)\n- Secure + SameSite cookies (CSRF protection)\n- Audit logging","operationId":"moderator_login_api_auth_moderator_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserLogin"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/moderator-logout":{"post":{"tags":["Authentication"],"summary":"Moderator Logout","description":"Logout endpoint for moderators.\n\nThere was previously no backend logout endpoint at all for\nmoderators — the frontend only cleared a localStorage display-cache\nkey and never even cleared the moderator_access_token /\nmoderator_refresh_token cookies, let alone revoked the session.","operationId":"moderator_logout_api_auth_moderator_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/sales-login":{"post":{"tags":["Authentication"],"summary":"Sales Login","description":"Login endpoint for sales team members with enhanced security.\n\nSecurity Features:\n- Rate limiting: 5 attempts per minute per email\n- Account lockout after 5 failed attempts (30 minutes)\n- Audit logging of all login attempts\n- Generic error messages to prevent user enumeration\n- httpOnly cookies for token storage (XSS protection)\n- Secure + SameSite cookies (CSRF protection)","operationId":"sales_login_api_auth_sales_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserLogin"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/sales-logout":{"post":{"tags":["Authentication"],"summary":"Sales Logout","description":"Logout endpoint for sales team members.\n\nSecurity: revokes the session server-side (previously this only\ncleared cookies client-side — the token itself stayed valid until\nnatural expiry, same gap /logout had before it was fixed).","operationId":"sales_logout_api_auth_sales_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/register":{"post":{"tags":["Authentication"],"summary":"Register User","description":"Register a new user account.","operationId":"register_user_api_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/accept-invitation":{"post":{"tags":["Authentication"],"summary":"Accept Invitation","description":"Accept a Phase 21 user invitation - creates the real User with the\ninvited role, marks the invitation accepted, and (for a staff invite,\nwhich carries vendor_id/staff_role_id) creates the VendorStaffMember\nlink, then logs the new user in immediately (same session-cookie\nflow as /login) since accepting the invite already proves control\nof the email.","operationId":"accept_invitation_api_auth_accept_invitation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInvitationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login":{"post":{"tags":["Authentication"],"summary":"Login User","description":"Authenticate user and return JWT tokens in httpOnly cookies.\n\nSecurity Features:\n- httpOnly cookies (XSS protection)\n- Secure flag (HTTPS only)\n- SameSite=Strict (CSRF protection)\n- Session tracking\n- Failed login tracking","operationId":"login_user_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserLogin"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/logout":{"post":{"tags":["Authentication"],"summary":"Logout User","description":"Logout user: revoke the server-side session and clear httpOnly cookies.\n\nSecurity: without the session revocation, the access/refresh tokens\nwould stay valid (accepted by the API) until their natural expiry even\nafter \"logging out\" — clearing cookies only stops the browser from\nsending them, it doesn't invalidate the tokens themselves.","operationId":"logout_user_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/refresh":{"post":{"tags":["Authentication"],"summary":"Refresh Token","description":"Refresh access token using refresh token.","operationId":"refresh_token_api_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenRefresh"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/verify-email":{"post":{"tags":["Authentication"],"summary":"Verify Email","description":"Verify user email address.","operationId":"verify_email_api_auth_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailVerificationConfirm"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/resend-verification":{"post":{"tags":["Authentication"],"summary":"Resend Verification","description":"Resend email verification.","operationId":"resend_verification_api_auth_resend_verification_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailVerification"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/forgot-password":{"post":{"tags":["Authentication"],"summary":"Forgot Password","description":"Request password reset.","operationId":"forgot_password_api_auth_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordReset"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/reset-password":{"post":{"tags":["Authentication"],"summary":"Reset Password","description":"Reset password using reset token.","operationId":"reset_password_api_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirm"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/me":{"get":{"tags":["Authentication"],"summary":"Get Current User Profile","description":"Get current user profile.","operationId":"get_current_user_profile_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["Authentication"],"summary":"Update Current User Profile","description":"Update current user profile.","operationId":"update_current_user_profile_api_auth_me_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/models__auth__UserUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/accept-legal":{"post":{"tags":["Authentication"],"summary":"Accept Legal","description":"Record that a signed-in account accepts the current Terms/Privacy and is 18+.\n\nFor accounts created before sign-up asked, or before the last update of the\npages. Same two boxes and the same stored record as sign-up.","operationId":"accept_legal_api_auth_accept_legal_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptLegalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/change-password":{"put":{"tags":["Profile Management"],"summary":"Change Password","description":"Change user password","operationId":"change_password_api_auth_change_password_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Authentication"],"summary":"Change Password","description":"Change user password.","operationId":"change_password_api_auth_change_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendors/register":{"post":{"tags":["Vendor Management"],"summary":"Register Vendor","description":"Register as a vendor (for authenticated users).","operationId":"register_vendor_api_vendors_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendors/me":{"get":{"tags":["Vendor Management"],"summary":"Get My Vendor Profile","description":"Get current user's vendor profile.","operationId":"get_my_vendor_profile_api_vendors_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorDetailResponse"}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["Vendor Management"],"summary":"Update My Vendor Profile","description":"Update current user's vendor profile.","operationId":"update_my_vendor_profile_api_vendors_me_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendors/":{"get":{"tags":["Vendor Management"],"summary":"List Vendors","description":"List all vendors (admin only).","operationId":"list_vendors_api_vendors__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/VerificationStatus"},{"type":"null"}],"title":"Status"}},{"name":"business_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/VendorBusinessType"},{"type":"null"}],"title":"Business Type"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendors/{vendor_id}":{"get":{"tags":["Vendor Management"],"summary":"Get Vendor Details","description":"Get vendor details.","operationId":"get_vendor_details_api_vendors__vendor_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Management"],"summary":"Deactivate Vendor","description":"Deactivate vendor account (admin only).","operationId":"deactivate_vendor_api_vendors__vendor_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendors/{vendor_id}/verify":{"post":{"tags":["Vendor Management"],"summary":"Verify Vendor","description":"Verify or reject vendor (admin only).","operationId":"verify_vendor_api_vendors__vendor_id__verify_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorVerification"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendors/{vendor_id}/commission":{"put":{"tags":["Vendor Management"],"summary":"Update Vendor Commission","description":"Set a negotiated commission rate for a vendor (admin only).\n\nCreates a new commission_contracts record rather than overwriting the\nvendor document directly, so rate history is preserved (MIRA spec\n§56-57) and per-product overrides are possible (§72). Existing bookings\nalready priced under a prior rate are unaffected.","operationId":"update_vendor_commission_api_vendors__vendor_id__commission_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorCommissionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Vendor Management"],"summary":"Get Vendor Commission Info","description":"Get a vendor's currently active commission rate plus full contract history.","operationId":"get_vendor_commission_info_api_vendors__vendor_id__commission_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendors/{vendor_id}/enabled-products":{"put":{"tags":["Vendor Management"],"summary":"Update Vendor Enabled Products","description":"Set which listing categories a vendor may create new listings in\n(admin only). Never affects listings the vendor already has live -\ncore/permissions.py::require_enabled_product only gates creation.","operationId":"update_vendor_enabled_products_api_vendors__vendor_id__enabled_products_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorEnabledProductsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendors/{vendor_id}/touricon-rating":{"put":{"tags":["Vendor Management"],"summary":"Update Vendor Touricon Rating","description":"Set (or clear) the rating Touricon gives this vendor as an operator\n(admin only). Shown on its excursions, labelled as Touricon's rating -\nit is not an average of guest reviews.","operationId":"update_vendor_touricon_rating_api_vendors__vendor_id__touricon_rating_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorTouriconRatingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendors/stats/overview":{"get":{"tags":["Vendor Management"],"summary":"Get Vendor Stats","description":"Get vendor statistics (admin only).","operationId":"get_vendor_stats_api_vendors_stats_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorStats"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/coupons/validate":{"post":{"tags":["Coupons"],"summary":"Validate Coupon","operationId":"validate_coupon_api_coupons_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponValidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/coupons":{"get":{"tags":["Admin - Coupons"],"summary":"List Coupons","operationId":"list_coupons_api_admin_coupons_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CouponResponse"},"type":"array","title":"Response List Coupons Api Admin Coupons Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Admin - Coupons"],"summary":"Create Coupon","operationId":"create_coupon_api_admin_coupons_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/coupons/{coupon_id}":{"put":{"tags":["Admin - Coupons"],"summary":"Update Coupon","operationId":"update_coupon_api_admin_coupons__coupon_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"coupon_id","in":"path","required":true,"schema":{"type":"string","title":"Coupon Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin - Coupons"],"summary":"Delete Coupon","operationId":"delete_coupon_api_admin_coupons__coupon_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"coupon_id","in":"path","required":true,"schema":{"type":"string","title":"Coupon Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wishlist":{"get":{"tags":["Wishlist"],"summary":"Get Wishlist","operationId":"get_wishlist_api_wishlist_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WishlistItemResponse"},"type":"array","title":"Response Get Wishlist Api Wishlist Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Wishlist"],"summary":"Add To Wishlist","operationId":"add_to_wishlist_api_wishlist_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WishlistAdd"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WishlistItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/wishlist/ids":{"get":{"tags":["Wishlist"],"summary":"Get Wishlist Ids","description":"Cheap set of \"item_type:item_id\" strings for initial heart-icon state\non listing/detail pages, without fetching full listing enrichment.","operationId":"get_wishlist_ids_api_wishlist_ids_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/wishlist/{item_type}/{item_id}":{"delete":{"tags":["Wishlist"],"summary":"Remove From Wishlist","operationId":"remove_from_wishlist_api_wishlist__item_type___item_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"item_type","in":"path","required":true,"schema":{"$ref":"#/components/schemas/WishlistItemType"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/support/tickets":{"get":{"tags":["Support"],"summary":"List My Tickets","operationId":"list_my_tickets_api_support_tickets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SupportTicketResponse"},"type":"array","title":"Response List My Tickets Api Support Tickets Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Support"],"summary":"Create Ticket","operationId":"create_ticket_api_support_tickets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/support/tickets/{ticket_id}":{"get":{"tags":["Support"],"summary":"Get My Ticket","operationId":"get_my_ticket_api_support_tickets__ticket_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/support/tickets/{ticket_id}/messages":{"post":{"tags":["Support"],"summary":"Reply To My Ticket","operationId":"reply_to_my_ticket_api_support_tickets__ticket_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/support/tickets":{"get":{"tags":["Admin - Support"],"summary":"List All Tickets","operationId":"list_all_tickets_api_admin_support_tickets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SupportTicketResponse"},"title":"Response List All Tickets Api Admin Support Tickets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/support/tickets/{ticket_id}":{"get":{"tags":["Admin - Support"],"summary":"Get Ticket Staff","operationId":"get_ticket_staff_api_admin_support_tickets__ticket_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Admin - Support"],"summary":"Update Ticket Staff","operationId":"update_ticket_staff_api_admin_support_tickets__ticket_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/support/tickets/{ticket_id}/messages":{"post":{"tags":["Admin - Support"],"summary":"Reply To Ticket Staff","operationId":"reply_to_ticket_staff_api_admin_support_tickets__ticket_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pricing/preview":{"post":{"tags":["Pricing"],"summary":"Preview Pricing","operationId":"preview_pricing_api_pricing_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingPreviewRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/trip-planner/plan":{"post":{"tags":["Trip Planner"],"summary":"Plan Trip","operationId":"plan_trip_api_trip_planner_plan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripPlanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripPlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/{vendor_id}/calendar":{"get":{"tags":["Vendor Calendar & Availability"],"summary":"Get Vendor Calendar","description":"Get calendar view for vendor property management.","operationId":"get_vendor_calendar_api_vendor__vendor_id__calendar_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}},{"name":"property_id","in":"query","required":true,"schema":{"type":"string","description":"Property ID","title":"Property Id"},"description":"Property ID"},{"name":"month","in":"query","required":true,"schema":{"type":"string","description":"Month in YYYY-MM format","title":"Month"},"description":"Month in YYYY-MM format"},{"name":"room_type_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Room type ID (optional)","title":"Room Type Id"},"description":"Room type ID (optional)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/{vendor_id}/calendar/availability":{"post":{"tags":["Vendor Calendar & Availability"],"summary":"Create Bulk Availability","description":"Create availability records for a date range.","operationId":"create_bulk_availability_api_vendor__vendor_id__calendar_availability_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/{vendor_id}/calendar/block":{"post":{"tags":["Vendor Calendar & Availability"],"summary":"Block Dates","description":"Block specific dates for a property/room type.","operationId":"block_dates_api_vendor__vendor_id__calendar_block_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockDatesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Calendar & Availability"],"summary":"Unblock Dates","description":"Unblock previously blocked dates.","operationId":"unblock_dates_api_vendor__vendor_id__calendar_block_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}},{"name":"property_id","in":"query","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"date_from","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date From"}},{"name":"date_to","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date To"}},{"name":"room_type_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/{vendor_id}/calendar/rates":{"put":{"tags":["Vendor Calendar & Availability"],"summary":"Set Rate Overrides","description":"Set rate overrides for specific dates.","operationId":"set_rate_overrides_api_vendor__vendor_id__calendar_rates_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateOverrideRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/availability/check":{"post":{"tags":["Vendor Calendar & Availability"],"summary":"Check Availability","description":"Check availability for a potential booking (public endpoint).","operationId":"check_availability_api_vendor_availability_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityCheckResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/{vendor_id}/dashboard/stats":{"get":{"tags":["Vendor Calendar & Availability"],"summary":"Get Vendor Dashboard Stats","description":"Get dashboard statistics for vendor.","operationId":"get_vendor_dashboard_stats_api_vendor__vendor_id__dashboard_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}},{"name":"property_id","in":"query","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorDashboardStats"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/{vendor_id}/inventory/transactions":{"get":{"tags":["Vendor Calendar & Availability"],"summary":"Get Inventory Transactions","description":"Get inventory transaction history for audit purposes.","operationId":"get_inventory_transactions_api_vendor__vendor_id__inventory_transactions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}},{"name":"property_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users":{"get":{"tags":["Admin Management"],"summary":"Get Users","description":"Get users with pagination and filtering for admin dashboard.","operationId":"get_users_api_admin_users_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","description":"Search by name or email","default":"","title":"Search"},"description":"Search by name or email"},{"name":"role","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by role","title":"Role"},"description":"Filter by role"},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by active status","title":"Is Active"},"description":"Filter by active status"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Admin Management"],"summary":"Create User","description":"Create a new user account.","operationId":"create_user_api_admin_users_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"User Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/settings":{"get":{"tags":["Admin Management"],"summary":"Get System Settings","description":"Get system configuration settings.","operationId":"get_system_settings_api_admin_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["Admin Management"],"summary":"Update System Settings","description":"Update system configuration settings.","operationId":"update_system_settings_api_admin_settings_put","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Settings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/financials/dashboard":{"get":{"tags":["Admin Management"],"summary":"Get Financial Dashboard","description":"Get financial dashboard statistics.\n\nReal numbers computed on read across all 4 live booking collections\n(stays, packages, excursions, transport) via utils.booking_aggregation -\nthis used to count/sum `enhanced_bookings`, a collection nothing in the\nreal booking flows ever writes to, and had monthly_revenue/growth_rate\nhardcoded to fixed placeholder values.","operationId":"get_financial_dashboard_api_admin_financials_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/dashboard/recent-activity":{"get":{"tags":["Admin Management"],"summary":"Get Recent Activity","description":"Real recent-activity feed for the admin dashboard: the most recent\npaid bookings, new vendor registrations, and new user signups, merged\nand sorted by timestamp. Replaces a previous version of this dashboard\nthat showed 4 hardcoded, unchanging activity entries.","operationId":"get_recent_activity_api_admin_dashboard_recent_activity_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":8,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/audit-logs":{"get":{"tags":["Admin Management"],"summary":"List Audit Logs","description":"Phase 21: a real, searchable read surface over db.audit_logs - no\nschema change, just the query surface that never existed (writes\nonly, via log_admin_action, before this).\n\ndb.audit_logs is shared with at least two other producers discovered\nduring verification - a generic per-request HTTP access log\n(method/path/client_ip/status_code, no `action` field) and auth.py's\nown login-event writes (event_type/user_email, also no `action`\nfield) - both several orders of magnitude higher-volume than genuine\nadmin actions. Filtering to documents that actually have an `action`\nfield (only ever set by log_admin_action) is what keeps this a real\nadmin-action audit trail instead of being drowned out by routine\nrequest-log noise.","operationId":"list_audit_logs_api_admin_audit_logs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"resource_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Type"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Case-insensitive substring match on action/resource_type","title":"Search"},"description":"Case-insensitive substring match on action/resource_type"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/register":{"post":{"tags":["Vendor Dashboard"],"summary":"Register Vendor","description":"Register a new vendor account.","operationId":"register_vendor_api_vendor_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/profile":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Profile","description":"Get vendor profile information. Staff-aware (get_own_vendor_context\nresolves the owner first, then falls back to an active vendor_staff\nlink) so a Phase 21 staff account can view its vendor's profile too -\nrequire_vendor_or_admin doesn't include UserRole.STAFF, and this\nendpoint is the vendor portal's own landing/profile page, so a staff\nlogin needs it to work regardless of role.","operationId":"get_vendor_profile_api_vendor_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorDetailResponse"}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["Vendor Dashboard"],"summary":"Update Vendor Profile","description":"Update vendor profile information.","operationId":"update_vendor_profile_api_vendor_profile_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/me":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Me","description":"Resolved identity for the vendor mobile app (see MOBILE.md):\nget_own_vendor_context's is_owner/permissions are computed for every\nrequest that needs them but were never themselves returned to any\nclient - the web app has no client-side permission-based nav\nfiltering to need this (it's reactive-only, a 403 per screen). The\nvendor app needs it proactively, to hide nav sections a staff\nmember's role doesn't cover instead of letting them tap through to\na 403.","operationId":"get_vendor_me_api_vendor_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/documents/upload":{"post":{"tags":["Vendor Dashboard"],"summary":"Upload Kyc Document","description":"Upload KYC document for vendor verification.","operationId":"upload_kyc_document_api_vendor_documents_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_kyc_document_api_vendor_documents_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/documents":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Documents","description":"Get list of uploaded KYC documents.","operationId":"get_vendor_documents_api_vendor_documents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/media/upload":{"post":{"tags":["Vendor Dashboard"],"summary":"Upload Property Media","description":"Upload media files for property listings.\n\n`property_id` is optional: omit it while a new property is still being\ndrafted (nothing to check ownership against yet - the images get\nattached when the property is created). When editing an existing\nproperty, `property_id` must be supplied and must belong to this vendor.","operationId":"upload_property_media_api_vendor_media_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_property_media_api_vendor_media_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/dashboard/stats":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Dashboard Stats","description":"Get vendor dashboard statistics.","operationId":"get_dashboard_stats_api_vendor_dashboard_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/bookings":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Bookings List","description":"Get vendor bookings with filtering and pagination.","operationId":"get_vendor_bookings_list_api_vendor_bookings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/BookingStatus"},{"type":"null"}],"title":"Status"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"view","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Front-desk classification: 'arrivals', 'in_house', or 'departures'. Layers on top of status/date filters; computed against the server's own notion of today, never a client-supplied date.","title":"View"},"description":"Front-desk classification: 'arrivals', 'in_house', or 'departures'. Layers on top of status/date filters; computed against the server's own notion of today, never a client-supplied date."},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Case-insensitive substring match on booking reference or guest name/email","title":"Search"},"description":"Case-insensitive substring match on booking reference or guest name/email"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/bookings/{booking_id}/status":{"put":{"tags":["Vendor Dashboard"],"summary":"Update Booking Status","description":"Update booking status (confirm, cancel, etc.).","operationId":"update_booking_status_api_vendor_bookings__booking_id__status_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}},{"name":"new_status","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BookingStatus"}},{"name":"notes","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},{"name":"assigned_room_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Room Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/bookings/{booking_id}/assign-room":{"patch":{"tags":["Vendor Dashboard"],"summary":"Assign Room To Booking","description":"Attach a specific physical room to a booking that's already\nchecked in (Phase 8, Milestone 8.5's housekeeping board) - separate\nfrom update_booking_status's own assigned_room_id param, which only\napplies at the moment of check-in. This covers the common case of an\nalready-in-house booking with no room assigned yet, without forcing a\nre-send of new_status=checked_in just to attach a room after the fact.","operationId":"assign_room_to_booking_api_vendor_bookings__booking_id__assign_room_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}},{"name":"assigned_room_id","in":"query","required":true,"schema":{"type":"string","title":"Assigned Room Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/financials/revenue":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Revenue Report","description":"Get detailed revenue report for vendor.","operationId":"get_revenue_report_api_vendor_financials_revenue_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/financials/stats":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Financial Stats","description":"Get real vendor earnings/payout summary.","operationId":"get_vendor_financial_stats_api_vendor_financials_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/financials/transactions":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Transactions","description":"Get paginated transaction history (paid bookings) for the vendor.","operationId":"get_vendor_transactions_api_vendor_financials_transactions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/financials/payout-request":{"post":{"tags":["Vendor Dashboard"],"summary":"Request Vendor Payout","description":"Create a vendor payout request against their real available balance.","operationId":"request_vendor_payout_api_vendor_financials_payout_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorPayoutRequestBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/financials/payouts/export":{"get":{"tags":["Vendor Dashboard"],"summary":"Export Payouts Csv","description":"Export payout data as CSV.","operationId":"export_payouts_csv_api_vendor_financials_payouts_export_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Properties List","description":"Get list of vendor properties.","operationId":"get_vendor_properties_list_api_vendor_properties_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Vendor Dashboard"],"summary":"Create Vendor Property","description":"Create a new property owned by the calling vendor.","operationId":"create_vendor_property_api_vendor_properties_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/properties/{property_id}":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Property Detail","description":"Get one of the vendor's own properties, for the edit form.\n\nExcluded from S3ResolverMiddleware (server.py) - this feeds the edit\nform, which round-trips `images` straight back on save, so it must stay\nthe raw s3:// reference or a save-without-touching-photos would bake a\ntemporary presigned URL back into the database. `images_preview_urls`\ncarries resolved, viewable URLs (same order as `images`) for the form's\nthumbnail preview only - never submit this field back.","operationId":"get_vendor_property_detail_api_vendor_properties__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Vendor Dashboard"],"summary":"Update Vendor Property","description":"Update a property owned by the calling vendor.","operationId":"update_vendor_property_api_vendor_properties__property_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/{vendor_id}/properties/{property_id}":{"delete":{"tags":["Vendor Dashboard"],"summary":"Delete Vendor Property","description":"Delete a property owned by the calling vendor.\n\n`vendor_id` in the path is not trusted for authorization - it's only\nthere to match the frontend's existing URL shape. Ownership is always\nre-derived from the authenticated session.","operationId":"delete_vendor_property_api_vendor__vendor_id__properties__property_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}},{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/{vendor_id}/properties/{property_id}/featured":{"put":{"tags":["Vendor Dashboard"],"summary":"Toggle Vendor Property Featured","description":"Toggle a property's featured flag. Same ownership note as delete above.","operationId":"toggle_vendor_property_featured_api_vendor__vendor_id__properties__property_id__featured_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}},{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedToggle"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/excursions":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Excursions List","description":"Get list of the calling vendor's excursions.","operationId":"get_vendor_excursions_list_api_vendor_excursions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Vendor Dashboard"],"summary":"Create Vendor Excursion","description":"Create a new excursion owned by the calling vendor.","operationId":"create_vendor_excursion_api_vendor_excursions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionCreateIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/excursions/{excursion_id}":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Excursion Detail","description":"Get one of the vendor's own excursions, for the edit form.","operationId":"get_vendor_excursion_detail_api_vendor_excursions__excursion_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Vendor Dashboard"],"summary":"Update Vendor Excursion","description":"Update an excursion owned by the calling vendor. Nested objects are\nreplaced wholesale when provided, not deep-merged (matches the admin\nendpoint's behaviour).","operationId":"update_vendor_excursion_api_vendor_excursions__excursion_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Dashboard"],"summary":"Delete Vendor Excursion","description":"Delete an excursion owned by the calling vendor.","operationId":"delete_vendor_excursion_api_vendor_excursions__excursion_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/transport":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Transport List","description":"Get list of the calling vendor's transport listings.","operationId":"get_vendor_transport_list_api_vendor_transport_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Vendor Dashboard"],"summary":"Create Vendor Transport","description":"Create a new transport listing owned by the calling vendor.","operationId":"create_vendor_transport_api_vendor_transport_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/transport/{transport_id}":{"get":{"tags":["Vendor Dashboard"],"summary":"Get Vendor Transport Detail","description":"Get one of the vendor's own transport listings, for the edit form.","operationId":"get_vendor_transport_detail_api_vendor_transport__transport_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Vendor Dashboard"],"summary":"Update Vendor Transport","description":"Update a transport listing owned by the calling vendor.","operationId":"update_vendor_transport_api_vendor_transport__transport_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Dashboard"],"summary":"Delete Vendor Transport","description":"Delete a transport listing owned by the calling vendor.","operationId":"delete_vendor_transport_api_vendor_transport__transport_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/media/{kind}":{"get":{"tags":["Listing Media"],"summary":"List My Listings","description":"Return every listing of this kind the caller can edit, with media counts only.","operationId":"list_my_listings_api_vendor_media__kind__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"enum":["properties","excursions","transport"],"type":"string","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/media/{kind}/{item_id}":{"get":{"tags":["Listing Media"],"summary":"Get Listing Media","description":"Return the full `photos_360` + `videos_30s` arrays for one listing.","operationId":"get_listing_media_api_vendor_media__kind___item_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"enum":["properties","excursions","transport"],"type":"string","title":"Kind"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/media/{kind}/{item_id}/photos-360":{"post":{"tags":["Listing Media"],"summary":"Add 360 Photo","description":"Append a single 360° tour (image OR YouTube).","operationId":"add_360_photo_api_vendor_media__kind___item_id__photos_360_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"enum":["properties","excursions","transport"],"type":"string","title":"Kind"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Media360In"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/media/{kind}/{item_id}/photos-360/{media_id}":{"put":{"tags":["Listing Media"],"summary":"Update 360 Photo","description":"Update a 360° tour in-place (matched by `id`).","operationId":"update_360_photo_api_vendor_media__kind___item_id__photos_360__media_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"enum":["properties","excursions","transport"],"type":"string","title":"Kind"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"media_id","in":"path","required":true,"schema":{"type":"string","title":"Media Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Media360In"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Listing Media"],"summary":"Delete 360 Photo","description":"Remove a 360° tour.","operationId":"delete_360_photo_api_vendor_media__kind___item_id__photos_360__media_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"enum":["properties","excursions","transport"],"type":"string","title":"Kind"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"media_id","in":"path","required":true,"schema":{"type":"string","title":"Media Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/media/{kind}/{item_id}/videos":{"post":{"tags":["Listing Media"],"summary":"Add Video","operationId":"add_video_api_vendor_media__kind___item_id__videos_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"enum":["properties","excursions","transport"],"type":"string","title":"Kind"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/media/{kind}/{item_id}/videos/{media_id}":{"delete":{"tags":["Listing Media"],"summary":"Delete Video","operationId":"delete_video_api_vendor_media__kind___item_id__videos__media_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"enum":["properties","excursions","transport"],"type":"string","title":"Kind"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"media_id","in":"path","required":true,"schema":{"type":"string","title":"Media Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent/register":{"post":{"tags":["Agent Dashboard"],"summary":"Register Agent","description":"Register a new agent account.","operationId":"register_agent_api_agent_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/agent/profile":{"get":{"tags":["Agent Dashboard"],"summary":"Get Agent Profile","description":"Get agent profile information.","operationId":"get_agent_profile_api_agent_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDetailResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/agent/dashboard/stats":{"get":{"tags":["Agent Dashboard"],"summary":"Get Agent Dashboard Stats","description":"Get agent dashboard statistics.","operationId":"get_agent_dashboard_stats_api_agent_dashboard_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/agent/documents/upload":{"post":{"tags":["Agent Dashboard"],"summary":"Upload Agent Document","description":"Upload KYC document for agent verification.","operationId":"upload_agent_document_api_agent_documents_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_agent_document_api_agent_documents_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/agent/commission/ledger":{"get":{"tags":["Agent Dashboard"],"summary":"Get Commission Ledger","description":"Get agent commission ledger.","operationId":"get_commission_ledger_api_agent_commission_ledger_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent/payout/request":{"post":{"tags":["Agent Dashboard"],"summary":"Create Payout Request","description":"Create a new payout request.","operationId":"create_payout_request_api_agent_payout_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutRequestCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/agent/bookings":{"get":{"tags":["Agent Dashboard"],"summary":"Get Agent Bookings","description":"Get bookings created by the agent.","operationId":"get_agent_bookings_api_agent_bookings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/test-auth":{"get":{"tags":["Admin Agent Management"],"summary":"Test Auth","description":"Test authentication","operationId":"test_auth_api_admin_agents_test_auth_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/agents/":{"get":{"tags":["Admin Agent Management"],"summary":"Get All Agents","description":"Get all agents with filtering and pagination.","operationId":"get_all_agents_api_admin_agents__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"verification_status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Status"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/{agent_id}":{"get":{"tags":["Admin Agent Management"],"summary":"Get Agent Details","description":"Get detailed information about a specific agent.","operationId":"get_agent_details_api_admin_agents__agent_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/{agent_id}/verify":{"put":{"tags":["Admin Agent Management"],"summary":"Verify Agent","description":"Approve/verify an agent.","operationId":"verify_agent_api_admin_agents__agent_id__verify_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentVerificationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/{agent_id}/reject":{"put":{"tags":["Admin Agent Management"],"summary":"Reject Agent","description":"Reject an agent verification.","operationId":"reject_agent_api_admin_agents__agent_id__reject_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRejectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/{agent_id}/commission":{"put":{"tags":["Admin Agent Management"],"summary":"Update Agent Commission","description":"Update agent commission rate.","operationId":"update_agent_commission_api_admin_agents__agent_id__commission_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCommissionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/{agent_id}/commission-ledger":{"get":{"tags":["Admin Agent Management"],"summary":"Get Agent Commission Ledger","description":"Admin-facing, date-range-filterable JSON view of one agent's\ncommission ledger - reuses the exact same data-layer call the CSV\nexport already uses (get_all_commission_ledger_entries), so this\nview and that export can never disagree for the same filters.","operationId":"get_agent_commission_ledger_api_admin_agents__agent_id__commission_ledger_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/{agent_id}/statement.pdf":{"get":{"tags":["Admin Agent Management"],"summary":"Download Agent Statement Pdf","description":"Streams a real Agent Statement PDF for the given (optional) date\nrange - calls the same get_all_commission_ledger_entries the JSON\nledger endpoint and CSV export both use, so all three always agree.","operationId":"download_agent_statement_pdf_api_admin_agents__agent_id__statement_pdf_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/payouts/requests":{"get":{"tags":["Admin Agent Management"],"summary":"Get All Payout Requests","description":"Get all payout requests with filtering.","operationId":"get_all_payout_requests_api_admin_agents_payouts_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PayoutStatus"},{"type":"null"}],"title":"Status Filter"}},{"name":"agent_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/payouts/{payout_id}/approve":{"put":{"tags":["Admin Agent Management"],"summary":"Approve Payout Request","description":"Approve a payout request (does not move money - admin transfers funds\nseparately and then marks it completed).","operationId":"approve_payout_request_api_admin_agents_payouts__payout_id__approve_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}},{"name":"admin_notes","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Notes"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/payouts/{payout_id}/reject":{"put":{"tags":["Admin Agent Management"],"summary":"Reject Payout Request","description":"Reject a payout request.","operationId":"reject_payout_request_api_admin_agents_payouts__payout_id__reject_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}},{"name":"rejection_reason","in":"query","required":true,"schema":{"type":"string","title":"Rejection Reason"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/payouts/{payout_id}/complete":{"put":{"tags":["Admin Agent Management"],"summary":"Complete Payout Request","description":"Mark a payout as completed after the admin has actually transferred\nthe funds outside the app. Draws down the agent's balance and marks the\nunderlying commission ledger entries as paid, so they can't be paid out\nagain on a future request.","operationId":"complete_payout_request_api_admin_agents_payouts__payout_id__complete_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}},{"name":"transaction_reference","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Reference"}},{"name":"processing_fee","in":"query","required":false,"schema":{"type":"number","default":0.0,"title":"Processing Fee"}},{"name":"admin_notes","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Notes"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/analytics/overview":{"get":{"tags":["Admin Agent Management"],"summary":"Get Agent Analytics Overview","description":"Get overall agent analytics and statistics.","operationId":"get_agent_analytics_overview_api_admin_agents_analytics_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/agents/export/agents":{"get":{"tags":["Admin Agent Management"],"summary":"Export Agents Csv","description":"Export agents data as CSV.","operationId":"export_agents_csv_api_admin_agents_export_agents_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"verification_status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/AgentVerificationStatus"},{"type":"null"}],"title":"Verification Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents/export/commissions":{"get":{"tags":["Admin Agent Management"],"summary":"Export Commissions Csv","description":"Export commission data as CSV.","operationId":"export_commissions_csv_api_admin_agents_export_commissions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"agent_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent-registration/upload-document-temp":{"post":{"tags":["Agent Registration"],"summary":"Upload Document Temp","description":"Upload agent document to temporary S3 location","operationId":"upload_document_temp_api_agent_registration_upload_document_temp_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_document_temp_api_agent_registration_upload_document_temp_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent-registration/submit":{"post":{"tags":["Agent Registration"],"summary":"Submit Agent Registration","description":"Submit agent registration for admin approval","operationId":"submit_agent_registration_api_agent_registration_submit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRegistrationSubmit"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/payments/create-intent":{"post":{"tags":["Payments"],"summary":"Create Payment Intent","description":"Create a payment intent for booking payment.","operationId":"create_payment_intent_api_payments_create_intent_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/payments/intent/{payment_intent_id}":{"get":{"tags":["Payments"],"summary":"Get Payment Intent Status","description":"Get payment intent status.","operationId":"get_payment_intent_status_api_payments_intent__payment_intent_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","title":"Payment Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/payments/webhook":{"post":{"tags":["Payments"],"summary":"Stripe Webhook","description":"Handle Stripe webhooks for payment confirmations.","operationId":"stripe_webhook_api_payments_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/payments/refund":{"post":{"tags":["Payments"],"summary":"Create Refund","description":"Create a refund for a payment.","operationId":"create_refund_api_payments_refund_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/payments/refunds":{"get":{"tags":["Payments"],"summary":"Get Refunds","description":"Get refund history with filtering.","operationId":"get_refunds_api_payments_refunds_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Booking Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RefundStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/payments/financial/summary":{"get":{"tags":["Payments"],"summary":"Get Financial Summary","description":"Get financial summary for admin dashboard.","operationId":"get_financial_summary_api_payments_financial_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/properties/{property_id}/reviews/eligibility":{"get":{"tags":["Reviews & FAQs"],"summary":"Get Property Review Eligibility","description":"Whether the signed-in guest may review this property, and if not, why.","operationId":"get_property_review_eligibility_api_properties__property_id__reviews_eligibility_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/properties/{property_id}/reviews":{"post":{"tags":["Reviews & FAQs"],"summary":"Create Property Review","description":"Create a review for a property.\n\nOnly a guest with a completed paid stay may review, once per property.\nThe booking, verified flag, stay date, nights and room type all come from\nthat booking on the server. The review is stored pending: it is neither\nshown nor counted until an admin approves it.","operationId":"create_property_review_api_properties__property_id__reviews_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyReviewCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Reviews & FAQs"],"summary":"Get Property Reviews","description":"Get reviews for a property with pagination and sorting.","operationId":"get_property_reviews_api_properties__property_id__reviews_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","pattern":"^(newest|oldest|highest_rated|lowest_rated)$","default":"newest","title":"Sort By"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/reviews/{review_id}/helpful":{"put":{"tags":["Reviews & FAQs"],"summary":"Mark Review Helpful","description":"Mark a review as helpful.","operationId":"mark_review_helpful_api_reviews__review_id__helpful_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faqs":{"get":{"tags":["Reviews & FAQs"],"summary":"Get Faqs","description":"Get FAQs, optionally filtered by property or category.","operationId":"get_faqs_api_faqs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/faqs":{"post":{"tags":["Reviews & FAQs"],"summary":"Create Faq","description":"Create a new FAQ (Admin only).","operationId":"create_faq_api_admin_faqs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FAQCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/faqs/{faq_id}":{"put":{"tags":["Reviews & FAQs"],"summary":"Update Faq","description":"Update an FAQ (Admin only).","operationId":"update_faq_api_admin_faqs__faq_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"faq_id","in":"path","required":true,"schema":{"type":"string","title":"Faq Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FAQUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Reviews & FAQs"],"summary":"Delete Faq","description":"Delete an FAQ (Admin only).","operationId":"delete_faq_api_admin_faqs__faq_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"faq_id","in":"path","required":true,"schema":{"type":"string","title":"Faq Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/properties/{property_id}/details":{"get":{"tags":["Reviews & FAQs"],"summary":"Get Property Details","description":"Get comprehensive property details including reviews and FAQs.","operationId":"get_property_details_api_properties__property_id__details_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/properties/{property_id}/reviews/stats":{"get":{"tags":["Reviews & FAQs"],"summary":"Get Review Statistics","description":"Get detailed review statistics for a property.","operationId":"get_review_statistics_api_properties__property_id__reviews_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/excursions":{"get":{"tags":["Excursions"],"summary":"Get Excursions","description":"Get excursions with optional filtering","operationId":"get_excursions_api_excursions_get","parameters":[{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"featured","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Featured"}},{"name":"min_price","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Price"}},{"name":"max_price","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Price"}},{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duration"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Excursion"},"title":"Response Get Excursions Api Excursions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/excursions/categories":{"get":{"tags":["Excursions"],"summary":"Get Excursion Categories","description":"Get available excursion categories","operationId":"get_excursion_categories_api_excursions_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/excursions/featured":{"get":{"tags":["Excursions"],"summary":"Get Featured Excursions","description":"Get featured excursions for homepage","operationId":"get_featured_excursions_api_excursions_featured_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":6,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Excursion"},"title":"Response Get Featured Excursions Api Excursions Featured Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/excursions/{excursion_id}":{"get":{"tags":["Excursions"],"summary":"Get Excursion","description":"Get a single excursion by ID","operationId":"get_excursion_api_excursions__excursion_id__get","parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Excursions"],"summary":"Update Excursion Admin","description":"Update an excursion (admin only). Nested objects (operator, pricing,\ngallery, availability, inclusions) are replaced wholesale when provided,\nnot deep-merged.","operationId":"update_excursion_admin_api_excursions__excursion_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Excursion"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Excursions"],"summary":"Delete Excursion Admin","description":"Delete an excursion (admin only).","operationId":"delete_excursion_admin_api_excursions__excursion_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/excursions/search":{"post":{"tags":["Excursions"],"summary":"Search Excursions","description":"Advanced excursion search","operationId":"search_excursions_api_excursions_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionSearch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Excursion"},"type":"array","title":"Response Search Excursions Api Excursions Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/excursions/{excursion_id}/availability":{"get":{"tags":["Excursions"],"summary":"Get Excursion Availability","description":"Get availability for a specific excursion","operationId":"get_excursion_availability_api_excursions__excursion_id__availability_get","parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/excursions/{excursion_id}/book":{"post":{"tags":["Excursions"],"summary":"Book Excursion","description":"Book an excursion with Stripe payment.","operationId":"book_excursion_api_excursions__excursion_id__book_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionBookingWithPayment"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/excursions/payment-status/{session_id}":{"get":{"tags":["Excursions"],"summary":"Get Excursion Payment Status","description":"Check excursion booking payment status.","operationId":"get_excursion_payment_status_api_excursions_payment_status__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/excursions/webhook/stripe":{"post":{"tags":["Excursions"],"summary":"Excursion Stripe Webhook","description":"Stripe webhook for excursion bookings.","operationId":"excursion_stripe_webhook_api_excursions_webhook_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/excursions/{excursion_id}/reviews":{"get":{"tags":["Excursions"],"summary":"Get Excursion Reviews","description":"Get reviews for an excursion","operationId":"get_excursion_reviews_api_excursions__excursion_id__reviews_get","parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExcursionReviewPublic"},"title":"Response Get Excursion Reviews Api Excursions  Excursion Id  Reviews Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Excursions"],"summary":"Create Excursion Review","description":"Submit a review for an excursion.\n\nOnly a guest with a completed paid booking for it may review, once per\nexcursion. The booking, the verified flag and the trip date all come from\nthat booking on the server - never from the request. The review is stored\nunapproved: only approved reviews are shown or counted in the excursion's\nrating, so a submission can never publish itself.","operationId":"create_excursion_review_api_excursions__excursion_id__reviews_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionReviewCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionReviewPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/excursions/{excursion_id}/reviews/eligibility":{"get":{"tags":["Excursions"],"summary":"Get Excursion Review Eligibility","description":"Whether the signed-in guest may review this excursion, and if not, why.","operationId":"get_excursion_review_eligibility_api_excursions__excursion_id__reviews_eligibility_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operators":{"get":{"tags":["Excursions"],"summary":"Get Operators","description":"Get tour operators","operationId":"get_operators_api_operators_get","parameters":[{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExcursionOperator"},"title":"Response Get Operators Api Operators Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operators/{operator_id}/excursions":{"get":{"tags":["Excursions"],"summary":"Get Operator Excursions","description":"Get excursions by a specific operator","operationId":"get_operator_excursions_api_operators__operator_id__excursions_get","parameters":[{"name":"operator_id","in":"path","required":true,"schema":{"type":"string","title":"Operator Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Excursion"},"title":"Response Get Operator Excursions Api Operators  Operator Id  Excursions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-flow/create-booking":{"post":{"tags":["Booking Flow"],"summary":"Create Booking","description":"Step 1: Create booking and initiate Stripe checkout\n\nSECURITY FEATURES:\n- ✅ Server-side price calculation (NEVER trust client)\n- ✅ Fetches prices from database\n- ✅ Price integrity verification\n- ✅ Fraud detection logging\n- ✅ Validates booking data\n- ✅ Creates booking record (pending payment)\n- ✅ Creates Stripe checkout session","operationId":"create_booking_api_booking_flow_create_booking_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/booking-flow/payment-status/{session_id}":{"get":{"tags":["Booking Flow"],"summary":"Get Payment Status","description":"Step 2: Check payment status after redirect from Stripe\n- Polls Stripe for payment status\n- Updates booking and payment transaction records\n- Sends confirmation emails\n- Returns booking details","operationId":"get_payment_status_api_booking_flow_payment_status__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-flow/webhook/stripe":{"post":{"tags":["Booking Flow"],"summary":"Stripe Webhook","description":"Stripe webhook endpoint for payment events","operationId":"stripe_webhook_api_booking_flow_webhook_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/properties":{"get":{"tags":["Admin Properties"],"summary":"Get All Properties","description":"Get all properties with pagination for admin dashboard","operationId":"get_all_properties_api_admin_properties_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","description":"Search by name or location","default":"","title":"Search"},"description":"Search by name or location"},{"name":"featured","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Featured"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Admin Properties"],"summary":"Create Property","description":"Create new property","operationId":"create_property_api_admin_properties_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/properties/{property_id}":{"get":{"tags":["Admin Properties"],"summary":"Get Property","description":"Get single property by ID.\n\nExcluded from S3ResolverMiddleware (server.py) - this feeds the edit\nform, which round-trips `images` straight back on save, so it must stay\nthe raw s3:// reference or a save-without-touching-photos would bake a\ntemporary presigned URL back into the database. `images_preview_urls`\ncarries resolved, viewable URLs (same order as `images`) for the form's\nthumbnail preview only - never submit this field back.","operationId":"get_property_api_admin_properties__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Admin Properties"],"summary":"Update Property","description":"Update existing property","operationId":"update_property_api_admin_properties__property_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin Properties"],"summary":"Delete Property","description":"Delete property (soft delete by setting active=false)","operationId":"delete_property_api_admin_properties__property_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/properties/{property_id}/toggle-featured":{"post":{"tags":["Admin Properties"],"summary":"Toggle Featured","description":"Toggle featured status of property","operationId":"toggle_featured_api_admin_properties__property_id__toggle_featured_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/properties/upload-image":{"post":{"tags":["Admin Properties"],"summary":"Upload Property Image","description":"Upload property image to S3","operationId":"upload_property_image_api_admin_properties_upload_image_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_property_image_api_admin_properties_upload_image_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/bookings":{"get":{"tags":["Admin Bookings"],"summary":"Get All Bookings","description":"Get all bookings with pagination and filtering","operationId":"get_all_bookings_api_admin_bookings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","description":"Search by booking reference or guest name","default":"","title":"Search"},"description":"Search by booking reference or guest name"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by status","title":"Status"},"description":"Filter by status"},{"name":"property_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by property","title":"Property Id"},"description":"Filter by property"},{"name":"view","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Front-desk classification: 'arrivals', 'in_house', or 'departures'. Computed against the server's own notion of today; when set, it supplies its own status constraint (overriding `status` if both are passed).","title":"View"},"description":"Front-desk classification: 'arrivals', 'in_house', or 'departures'. Computed against the server's own notion of today; when set, it supplies its own status constraint (overriding `status` if both are passed)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bookings/{booking_id}":{"get":{"tags":["Admin Bookings"],"summary":"Get Booking","description":"Get single booking by ID","operationId":"get_booking_api_admin_bookings__booking_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bookings/{booking_id}/status":{"patch":{"tags":["Admin Bookings"],"summary":"Update Booking Status","description":"Update booking status","operationId":"update_booking_status_api_admin_bookings__booking_id__status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bookings/{booking_id}/mark-paid":{"post":{"tags":["Admin Bookings"],"summary":"Mark Booking Paid","description":"Mark a booking as paid when payment came in outside Stripe\n(cash, bank transfer, POS, etc.). Idempotent — no-op if already paid.","operationId":"mark_booking_paid_api_admin_bookings__booking_id__mark_paid_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkPaidPayload","default":{"payment_method":"manual"}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bookings/{booking_id}/undo-mark-paid":{"post":{"tags":["Admin Bookings"],"summary":"Undo Mark Booking Paid","description":"Revert a manual mark-paid.\nAllowed ONLY for bookings that were marked paid manually (have `manual_payment`);\nrefuses to touch Stripe-paid bookings. Appends an audit entry instead of losing history.","operationId":"undo_mark_booking_paid_api_admin_bookings__booking_id__undo_mark_paid_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndoMarkPaidPayload","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bookings/stats/summary":{"get":{"tags":["Admin Bookings"],"summary":"Get Booking Stats","description":"Get booking statistics summary","operationId":"get_booking_stats_api_admin_bookings_stats_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/refunds/requests":{"get":{"tags":["Admin Refunds"],"summary":"List Cancellation Requests","description":"List customer-submitted cancellation requests (routes/cancellation_requests.py)\nfor admin review. Joined with each booking's live refundable balance so\nan admin can decide the refund amount without a second lookup.","operationId":"list_cancellation_requests_api_admin_refunds_requests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"pending","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/refunds/requests/{request_id}/dismiss":{"post":{"tags":["Admin Refunds"],"summary":"Dismiss Cancellation Request","description":"Close out a request without refunding (e.g. resolved another way).","operationId":"dismiss_cancellation_request_api_admin_refunds_requests__request_id__dismiss_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DismissCancellationRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/refunds/lookup":{"get":{"tags":["Admin Refunds"],"summary":"Lookup Booking For Refund","description":"Find a booking by its human-facing reference and return everything\nneeded to decide on and process a refund.","operationId":"lookup_booking_for_refund_api_admin_refunds_lookup_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_type","in":"query","required":true,"schema":{"type":"string","title":"Booking Type"}},{"name":"booking_reference","in":"query","required":true,"schema":{"type":"string","title":"Booking Reference"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/refunds/process":{"post":{"tags":["Admin Refunds"],"summary":"Process Refund","description":"Cancel a booking and issue a real Stripe refund, reversing the\noriginal ledger entry proportionally. Supports repeated partial refunds\nup to the booking's total.","operationId":"process_refund_api_admin_refunds_process_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessRefundRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/users/{user_id}":{"get":{"tags":["Admin Users"],"summary":"Get User","description":"Get single user by ID","operationId":"get_user_api_admin_users__user_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Admin Users"],"summary":"Update User","description":"Update user information","operationId":"update_user_api_admin_users__user_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/routes__admin_users__UserUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin Users"],"summary":"Delete User","description":"Soft delete user (set is_active to false)","operationId":"delete_user_api_admin_users__user_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/activate":{"post":{"tags":["Admin Users"],"summary":"Activate User","description":"Activate a deactivated user","operationId":"activate_user_api_admin_users__user_id__activate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/stats/summary":{"get":{"tags":["Admin Users"],"summary":"Get User Stats","description":"Get user statistics summary","operationId":"get_user_stats_api_admin_users_stats_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/reports/overview":{"get":{"tags":["Admin Reports"],"summary":"Get Reports Overview","description":"Get comprehensive reports overview.","operationId":"get_reports_overview_api_admin_reports_overview_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Start date YYYY-MM-DD","title":"Start Date"},"description":"Start date YYYY-MM-DD"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"End date YYYY-MM-DD","title":"End Date"},"description":"End date YYYY-MM-DD"},{"name":"property_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Restrict to one property (stays only)","title":"Property Id"},"description":"Restrict to one property (stays only)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/reports/export.csv":{"get":{"tags":["Admin Reports"],"summary":"Export Reports Csv","description":"CSV export of the same data /overview returns, so the two can\nnever disagree for the same filters - multi-block layout mirroring\nadmin_financials.py's established CSV shape (StringIO + csv.writer,\nutf-8-sig BOM for Excel).","operationId":"export_reports_csv_api_admin_reports_export_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"property_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/reports/saved-filters":{"get":{"tags":["Admin Reports"],"summary":"List Saved Filters","operationId":"list_saved_filters_api_admin_reports_saved_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Admin Reports"],"summary":"Create Saved Filter","operationId":"create_saved_filter_api_admin_reports_saved_filters_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedReportFilterCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/reports/saved-filters/{filter_id}":{"delete":{"tags":["Admin Reports"],"summary":"Delete Saved Filter","operationId":"delete_saved_filter_api_admin_reports_saved_filters__filter_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"filter_id","in":"path","required":true,"schema":{"type":"string","title":"Filter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/staff":{"get":{"tags":["Vendor Staff"],"summary":"List Staff","operationId":"list_staff_api_vendor_staff_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/staff/roles":{"get":{"tags":["Vendor Staff"],"summary":"List Available Roles","description":"The 4 seeded system roles, for the invite/edit-role picker.","operationId":"list_available_roles_api_vendor_staff_roles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/staff/invite":{"post":{"tags":["Vendor Staff"],"summary":"Invite Staff","operationId":"invite_staff_api_vendor_staff_invite_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorStaffInviteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/staff/{staff_id}":{"patch":{"tags":["Vendor Staff"],"summary":"Update Staff Role","operationId":"update_staff_role_api_vendor_staff__staff_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"staff_id","in":"path","required":true,"schema":{"type":"string","title":"Staff Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorStaffUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Staff"],"summary":"Revoke Staff","operationId":"revoke_staff_api_vendor_staff__staff_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"staff_id","in":"path","required":true,"schema":{"type":"string","title":"Staff Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/account/delete":{"post":{"tags":["Account"],"summary":"Delete My Account","operationId":"delete_my_account_api_account_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccountRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/integrations":{"get":{"tags":["Vendor Integrations"],"summary":"List My Services","operationId":"list_my_services_api_vendor_integrations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/integrations/{service}/request":{"post":{"tags":["Vendor Integrations"],"summary":"Request Service","operationId":"request_service_api_vendor_integrations__service__request_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Integrations"],"summary":"Cancel Service Request","operationId":"cancel_service_request_api_vendor_integrations__service__request_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/integrations":{"get":{"tags":["Admin Integrations"],"summary":"List Requests","description":"Clients waiting on (or already using) a service, newest first.","operationId":"list_requests_api_admin_integrations_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"requested","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/integrations/vendors/{vendor_id}":{"get":{"tags":["Admin Integrations"],"summary":"Get Vendor Services","operationId":"get_vendor_services_api_admin_integrations_vendors__vendor_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/integrations/vendors/{vendor_id}/{service}":{"put":{"tags":["Admin Integrations"],"summary":"Switch Vendor Service","description":"Switch a service on or off for one client. Does not connect anything.","operationId":"switch_vendor_service_api_admin_integrations_vendors__vendor_id___service__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vendor_id","in":"path","required":true,"schema":{"type":"string","title":"Vendor Id"}},{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminServiceSwitch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/invitations":{"get":{"tags":["Admin Invitations"],"summary":"List Invitations","operationId":"list_invitations_api_admin_invitations_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Admin Invitations"],"summary":"Create Admin Invitation","operationId":"create_admin_invitation_api_admin_invitations_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserInvitationCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/invitations/{invitation_id}":{"delete":{"tags":["Admin Invitations"],"summary":"Revoke Invitation","operationId":"revoke_invitation_api_admin_invitations__invitation_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"invitation_id","in":"path","required":true,"schema":{"type":"string","title":"Invitation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/email-templates":{"get":{"tags":["Admin Email Templates"],"summary":"List Email Templates","operationId":"list_email_templates_api_admin_email_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/email-templates/{template_key}":{"put":{"tags":["Admin Email Templates"],"summary":"Upsert Email Template Override","operationId":"upsert_email_template_override_api_admin_email_templates__template_key__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateOverrideUpsertRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin Email Templates"],"summary":"Revert Email Template Override","operationId":"revert_email_template_override_api_admin_email_templates__template_key__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"template_key","in":"path","required":true,"schema":{"type":"string","title":"Template Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/loyalty/config":{"get":{"tags":["Admin - Loyalty Management"],"summary":"Get Loyalty Config","description":"Get current loyalty program configuration","operationId":"get_loyalty_config_api_admin_loyalty_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/loyalty/config/tier":{"put":{"tags":["Admin - Loyalty Management"],"summary":"Update Tier Config","description":"Update tier configuration (min bookings, discount, benefits)","operationId":"update_tier_config_api_admin_loyalty_config_tier_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierConfigUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/loyalty/config/points":{"put":{"tags":["Admin - Loyalty Management"],"summary":"Update Points Config","description":"Update points configuration","operationId":"update_points_config_api_admin_loyalty_config_points_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointsConfigUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/loyalty/statistics":{"get":{"tags":["Admin - Loyalty Management"],"summary":"Get Loyalty Statistics","description":"Get loyalty program statistics","operationId":"get_loyalty_statistics_api_admin_loyalty_statistics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/loyalty/members":{"get":{"tags":["Admin - Loyalty Management"],"summary":"Get Loyalty Members","description":"Get paginated list of loyalty members","operationId":"get_loyalty_members_api_admin_loyalty_members_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"tier_filter","in":"query","required":false,"schema":{"type":"string","title":"Tier Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/loyalty/members/{user_id}/adjust-points":{"post":{"tags":["Admin - Loyalty Management"],"summary":"Adjust Member Points","description":"Manually adjust a member's points (positive or negative)","operationId":"adjust_member_points_api_admin_loyalty_members__user_id__adjust_points_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"points","in":"query","required":true,"schema":{"type":"integer","title":"Points"}},{"name":"reason","in":"query","required":true,"schema":{"type":"string","title":"Reason"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/loyalty/members/{user_id}/change-tier":{"post":{"tags":["Admin - Loyalty Management"],"summary":"Change Member Tier","description":"Manually change a member's tier","operationId":"change_member_tier_api_admin_loyalty_members__user_id__change_tier_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"new_tier","in":"query","required":true,"schema":{"type":"string","title":"New Tier"}},{"name":"reason","in":"query","required":true,"schema":{"type":"string","title":"Reason"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/reviews/all":{"get":{"tags":["Admin - Reviews Moderation"],"summary":"Get All Reviews","description":"Get all reviews with filtering and pagination for moderation","operationId":"get_all_reviews_api_admin_reviews_all_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(pending|approved|rejected|flagged|all)$"},{"type":"null"}],"title":"Status"}},{"name":"property_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"}},{"name":"rating_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(low|medium|high)$"},{"type":"null"}],"title":"Rating Filter"}},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","pattern":"^(newest|oldest|rating_high|rating_low)$","default":"newest","title":"Sort By"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/reviews/statistics":{"get":{"tags":["Admin - Reviews Moderation"],"summary":"Get Review Statistics","description":"Get review moderation statistics","operationId":"get_review_statistics_api_admin_reviews_statistics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/reviews/moderate":{"post":{"tags":["Admin - Reviews Moderation"],"summary":"Moderate Review","description":"Moderate a single review (approve/reject/flag)","operationId":"moderate_review_api_admin_reviews_moderate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewModerationAction"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/reviews/moderate/bulk":{"post":{"tags":["Admin - Reviews Moderation"],"summary":"Moderate Reviews Bulk","description":"Moderate multiple reviews at once","operationId":"moderate_reviews_bulk_api_admin_reviews_moderate_bulk_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkModerationAction"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/reviews/{review_id}":{"delete":{"tags":["Admin - Reviews Moderation"],"summary":"Delete Review","description":"Permanently delete a review","operationId":"delete_review_api_admin_reviews__review_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/reviews/property/{property_id}":{"get":{"tags":["Admin - Reviews Moderation"],"summary":"Get Property Reviews Admin","description":"Get all reviews for a specific property (admin view)","operationId":"get_property_reviews_admin_api_admin_reviews_property__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/excursion-reviews":{"get":{"tags":["Admin - Excursion Reviews"],"summary":"List Excursion Reviews","description":"The moderation queue, newest pending first by default.","operationId":"list_excursion_reviews_api_admin_excursion_reviews_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"enum":["pending","approved","rejected","all"],"type":"string","default":"pending","title":"Status"}},{"name":"excursion_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excursion Id"}},{"name":"sort_by","in":"query","required":false,"schema":{"enum":["newest","oldest","rating_high","rating_low"],"type":"string","default":"newest","title":"Sort By"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/excursion-reviews/statistics":{"get":{"tags":["Admin - Excursion Reviews"],"summary":"Excursion Review Statistics","description":"Queue counts, plus the average of what visitors can actually see.","operationId":"excursion_review_statistics_api_admin_excursion_reviews_statistics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/excursion-reviews/{review_id}":{"patch":{"tags":["Admin - Excursion Reviews"],"summary":"Moderate Excursion Review","description":"Approve, reject or send a review back to pending.","operationId":"moderate_excursion_review_api_admin_excursion_reviews__review_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionReviewModeration"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin - Excursion Reviews"],"summary":"Delete Excursion Review","operationId":"delete_excursion_review_api_admin_excursion_reviews__review_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/currency/supported":{"get":{"tags":["Currency"],"summary":"Get Supported Currencies","description":"Get list of supported currencies.","operationId":"get_supported_currencies_api_currency_supported_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/currency/rates":{"get":{"tags":["Currency"],"summary":"Get Exchange Rates","description":"Get current exchange rates for a base currency.","operationId":"get_exchange_rates_api_currency_rates_get","parameters":[{"name":"base","in":"query","required":false,"schema":{"type":"string","description":"Base currency code","default":"USD","title":"Base"},"description":"Base currency code"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/currency/convert":{"post":{"tags":["Currency"],"summary":"Convert Currency","description":"Convert amount from one currency to another.","operationId":"convert_currency_api_currency_convert_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrencyConversion"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrencyConversionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/currency/rate":{"get":{"tags":["Currency"],"summary":"Get Exchange Rate","description":"Get exchange rate between two currencies.","operationId":"get_exchange_rate_api_currency_rate_get","parameters":[{"name":"from_currency","in":"query","required":false,"schema":{"type":"string","description":"Source currency","default":"USD","title":"From Currency"},"description":"Source currency"},{"name":"to_currency","in":"query","required":false,"schema":{"type":"string","description":"Target currency","default":"EUR","title":"To Currency"},"description":"Target currency"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/currency/convert-price":{"post":{"tags":["Currency"],"summary":"Convert Price","description":"Convert a USD price to target currency with formatting.","operationId":"convert_price_api_currency_convert_price_post","parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"number","description":"Price in USD","title":"Amount"},"description":"Price in USD"},{"name":"to_currency","in":"query","required":false,"schema":{"type":"string","description":"Target currency","default":"USD","title":"To Currency"},"description":"Target currency"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/currency/track-selection":{"post":{"tags":["Currency"],"summary":"Track Currency Selection","description":"Track when a user changes currency selection.","operationId":"track_currency_selection_api_currency_track_selection_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"to_currency","in":"query","required":true,"schema":{"type":"string","description":"Selected currency","title":"To Currency"},"description":"Selected currency"},{"name":"from_currency","in":"query","required":false,"schema":{"type":"string","description":"Previous currency","default":"USD","title":"From Currency"},"description":"Previous currency"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/currency/analytics/stats":{"get":{"tags":["Currency"],"summary":"Get Currency Analytics","description":"Get comprehensive currency usage analytics (Admin only).","operationId":"get_currency_analytics_api_currency_analytics_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Start date (ISO format)","title":"Start Date"},"description":"Start date (ISO format)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"End date (ISO format)","title":"End Date"},"description":"End date (ISO format)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/currency/analytics/trends/{currency_code}":{"get":{"tags":["Currency"],"summary":"Get Currency Trends","description":"Get usage trends for a specific currency (Admin only).","operationId":"get_currency_trends_api_currency_analytics_trends__currency_code__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"currency_code","in":"path","required":true,"schema":{"type":"string","title":"Currency Code"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","description":"Number of days to analyze","default":30,"title":"Days"},"description":"Number of days to analyze"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/currency/analytics/user-preferences":{"get":{"tags":["Currency"],"summary":"Get User Currency Preferences","description":"Get currency preferences for the authenticated user.","operationId":"get_user_currency_preferences_api_currency_analytics_user_preferences_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/member/stats":{"get":{"tags":["Loyalty Program"],"summary":"Get Member Stats","description":"Get loyalty program stats for authenticated user","operationId":"get_member_stats_api_loyalty_member_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/record-booking":{"post":{"tags":["Loyalty Program"],"summary":"Record Booking Completion","description":"Record completed booking and award points (called after successful booking)","operationId":"record_booking_completion_api_loyalty_record_booking_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingRecordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/redeem":{"post":{"tags":["Loyalty Program"],"summary":"Redeem Points","description":"Redeem loyalty points for discounts","operationId":"redeem_points_api_loyalty_redeem_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedeemPointsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/tier-benefits":{"get":{"tags":["Loyalty Program"],"summary":"Get Tier Benefits","description":"Get benefits for all loyalty tiers (public endpoint)","operationId":"get_tier_benefits_api_loyalty_tier_benefits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/loyalty/check-tier-maintenance":{"post":{"tags":["Loyalty Program"],"summary":"Check User Tier Maintenance","description":"Check if user's tier needs maintenance (1 booking per 6 months required)","operationId":"check_user_tier_maintenance_api_loyalty_check_tier_maintenance_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/admin/check-all-tier-maintenance":{"post":{"tags":["Loyalty Program"],"summary":"Check All Tier Maintenance","description":"Admin endpoint to check tier maintenance for all members (scheduled job)","operationId":"check_all_tier_maintenance_api_loyalty_admin_check_all_tier_maintenance_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/admin/all-members":{"get":{"tags":["Loyalty Program"],"summary":"Get All Members","description":"Get all loyalty program members (Admin only)","operationId":"get_all_members_api_loyalty_admin_all_members_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/calculate-discount":{"get":{"tags":["Loyalty Program"],"summary":"Calculate Loyalty Discount","description":"Calculate loyalty discount for a booking","operationId":"calculate_loyalty_discount_api_loyalty_calculate_discount_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_amount","in":"query","required":true,"schema":{"type":"number","title":"Booking Amount"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/loyalty/referral/my-code":{"get":{"tags":["Loyalty Enhancements"],"summary":"Get My Referral Code","description":"Get user's referral code and stats","operationId":"get_my_referral_code_api_loyalty_referral_my_code_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/referral/apply":{"post":{"tags":["Loyalty Enhancements"],"summary":"Apply Referral Code","description":"Apply a referral code (for new users)","operationId":"apply_referral_code_api_loyalty_referral_apply_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"referral_code","in":"query","required":true,"schema":{"type":"string","description":"Referral code to apply","title":"Referral Code"},"description":"Referral code to apply"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/loyalty/admin/run-birthday-bonuses":{"post":{"tags":["Loyalty Enhancements"],"summary":"Run Birthday Bonuses","description":"Manually trigger birthday bonus check (Admin only - also runs daily via cron)","operationId":"run_birthday_bonuses_api_loyalty_admin_run_birthday_bonuses_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/badge/info":{"get":{"tags":["Loyalty Enhancements"],"summary":"Get Tier Badge Info","description":"Get tier badge information for mobile app display","operationId":"get_tier_badge_info_api_loyalty_badge_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/tier/maintenance-status":{"get":{"tags":["Loyalty Enhancements"],"summary":"Get Tier Maintenance Status","description":"Check if user's tier is at risk of downgrade","operationId":"get_tier_maintenance_status_api_loyalty_tier_maintenance_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/loyalty/admin/run-tier-maintenance":{"post":{"tags":["Loyalty Enhancements"],"summary":"Run Tier Maintenance","description":"Run tier maintenance check and downgrade inactive members (Admin only)","operationId":"run_tier_maintenance_api_loyalty_admin_run_tier_maintenance_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/notifications/":{"get":{"tags":["Notifications"],"summary":"Get Notifications","description":"Get notifications for current user","operationId":"get_notifications_api_notifications__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"unread_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Unread Only"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Skip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/unread-count":{"get":{"tags":["Notifications"],"summary":"Get Unread Count","description":"Get count of unread notifications","operationId":"get_unread_count_api_notifications_unread_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/notifications/{notification_id}/read":{"put":{"tags":["Notifications"],"summary":"Mark Notification As Read","description":"Mark a notification as read","operationId":"mark_notification_as_read_api_notifications__notification_id__read_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"string","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/mark-all-read":{"put":{"tags":["Notifications"],"summary":"Mark All As Read","description":"Mark all notifications as read","operationId":"mark_all_as_read_api_notifications_mark_all_read_put","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/notifications/{notification_id}":{"delete":{"tags":["Notifications"],"summary":"Delete Notification","description":"Delete a notification","operationId":"delete_notification_api_notifications__notification_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"string","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ws/status":{"get":{"summary":"Websocket Status","description":"Get WebSocket connection statistics","operationId":"websocket_status_ws_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/profile":{"put":{"tags":["Profile Management"],"summary":"Update Profile","description":"Update user profile","operationId":"update_profile_api_auth_profile_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/profile/photo":{"post":{"tags":["Profile Management"],"summary":"Upload Profile Photo","description":"Upload a profile photo and return its URL (not yet saved to the\nprofile - the caller still needs to PUT /api/auth/profile with the\nreturned url in profile_photo).","operationId":"upload_profile_photo_api_auth_profile_photo_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_profile_photo_api_auth_profile_photo_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor-registration/options":{"get":{"tags":["Vendor Registration"],"summary":"Get Registration Options","description":"Get dropdown options for vendor registration form","operationId":"get_registration_options_api_vendor_registration_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/vendor-registration/submit":{"post":{"tags":["Vendor Registration"],"summary":"Submit Vendor Registration","description":"Submit vendor registration for approval","operationId":"submit_vendor_registration_api_vendor_registration_submit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorRegistrationCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorRegistrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/upload-kyc-temp":{"post":{"tags":["Vendor Registration"],"summary":"Upload Kyc Document Temp","description":"Upload KYC document temporarily (before registration is created)","operationId":"upload_kyc_document_temp_api_vendor_registration_upload_kyc_temp_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_kyc_document_temp_api_vendor_registration_upload_kyc_temp_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/upload-kyc/{registration_id}":{"post":{"tags":["Vendor Registration"],"summary":"Upload Kyc Document","description":"Upload KYC document for a vendor registration","operationId":"upload_kyc_document_api_vendor_registration_upload_kyc__registration_id__post","parameters":[{"name":"registration_id","in":"path","required":true,"schema":{"type":"string","title":"Registration Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_kyc_document_api_vendor_registration_upload_kyc__registration_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/upload-media-temp":{"post":{"tags":["Vendor Registration"],"summary":"Upload Media File Temp","description":"Upload photos/videos temporarily (before registration is created)","operationId":"upload_media_file_temp_api_vendor_registration_upload_media_temp_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_media_file_temp_api_vendor_registration_upload_media_temp_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/upload-media/{registration_id}":{"post":{"tags":["Vendor Registration"],"summary":"Upload Media File","description":"Upload photos/videos for listing","operationId":"upload_media_file_api_vendor_registration_upload_media__registration_id__post","parameters":[{"name":"registration_id","in":"path","required":true,"schema":{"type":"string","title":"Registration Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_media_file_api_vendor_registration_upload_media__registration_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/my-registration":{"get":{"tags":["Vendor Registration"],"summary":"Get My Registration","description":"Get current user's pending registration","operationId":"get_my_registration_api_vendor_registration_my_registration_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor-registration/check-email/{email}":{"get":{"tags":["Vendor Registration"],"summary":"Check Email Availability","description":"Check if email is available for registration","operationId":"check_email_availability_api_vendor_registration_check_email__email__get","parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","format":"email","title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/update/{registration_id}":{"put":{"tags":["Vendor Registration"],"summary":"Update Registration","description":"Update a declined registration to re-apply","operationId":"update_registration_api_vendor_registration_update__registration_id__put","parameters":[{"name":"registration_id","in":"path","required":true,"schema":{"type":"string","title":"Registration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorRegistrationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorRegistrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/admin/pending":{"get":{"tags":["Vendor Registration"],"summary":"Get Pending Registrations","description":"Get all pending vendor registrations (Admin only)","operationId":"get_pending_registrations_api_vendor_registration_admin_pending_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/VendorRegistrationResponse"},"type":"array","title":"Response Get Pending Registrations Api Vendor Registration Admin Pending Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor-registration/admin/all":{"get":{"tags":["Vendor Registration"],"summary":"Get All Registrations","description":"Get all vendor registrations with optional status filter (Admin only)","operationId":"get_all_registrations_api_vendor_registration_admin_all_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VendorRegistrationResponse"},"title":"Response Get All Registrations Api Vendor Registration Admin All Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/admin/by-status/{status}":{"get":{"tags":["Vendor Registration"],"summary":"Get Registrations By Status","description":"Get vendor registrations filtered by status (Admin only)","operationId":"get_registrations_by_status_api_vendor_registration_admin_by_status__status__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"path","required":true,"schema":{"type":"string","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VendorRegistrationResponse"},"title":"Response Get Registrations By Status Api Vendor Registration Admin By Status  Status  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/admin/{registration_id}":{"get":{"tags":["Vendor Registration"],"summary":"Get Registration Detail","description":"Get detailed registration information (Admin only)","operationId":"get_registration_detail_api_vendor_registration_admin__registration_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"registration_id","in":"path","required":true,"schema":{"type":"string","title":"Registration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorRegistrationDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor-registration/admin/approve-decline":{"post":{"tags":["Vendor Registration"],"summary":"Approve Or Decline Registration","description":"Approve or decline a vendor registration (Admin only)","operationId":"approve_or_decline_registration_api_vendor_registration_admin_approve_decline_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorApprovalAction"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/blog/posts":{"get":{"tags":["Blog"],"summary":"Get Published Posts","description":"Get all published blog posts (public).","operationId":"get_published_posts_api_blog_posts_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":12,"title":"Limit"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"featured","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"If true, only return posts marked featured (for homepage)","title":"Featured"},"description":"If true, only return posts marked featured (for homepage)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/blog/posts/{slug}":{"get":{"tags":["Blog"],"summary":"Get Post By Slug","description":"Get a single blog post by slug (public).","operationId":"get_post_by_slug_api_blog_posts__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/blog/categories":{"get":{"tags":["Blog"],"summary":"Get Categories","description":"Get all blog post categories.","operationId":"get_categories_api_blog_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/blog/tags":{"get":{"tags":["Blog"],"summary":"Get Tags","description":"Get all blog post tags.","operationId":"get_tags_api_blog_tags_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/blog/admin/posts":{"post":{"tags":["Blog"],"summary":"Create Blog Post","description":"Create a new blog post (admin/moderator only).","operationId":"create_blog_post_api_blog_admin_posts_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Blog"],"summary":"Get All Posts Admin","description":"Get all blog posts including drafts (admin/moderator only).","operationId":"get_all_posts_admin_api_blog_admin_posts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/BlogStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/blog/admin/posts/{post_id}":{"get":{"tags":["Blog"],"summary":"Get Post By Id Admin","description":"Get a single blog post by ID (admin/moderator only).","operationId":"get_post_by_id_admin_api_blog_admin_posts__post_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Blog"],"summary":"Update Blog Post","description":"Update a blog post (admin/moderator only).","operationId":"update_blog_post_api_blog_admin_posts__post_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Blog"],"summary":"Delete Blog Post","description":"Delete a blog post (admin/moderator only).","operationId":"delete_blog_post_api_blog_admin_posts__post_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/blog/admin/upload-image":{"post":{"tags":["Blog"],"summary":"Upload Blog Image","description":"Upload blog featured image to S3 (admin/moderator only).","operationId":"upload_blog_image_api_blog_admin_upload_image_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_blog_image_api_blog_admin_upload_image_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/moderators/":{"post":{"tags":["Moderator Management"],"summary":"Create Moderator","description":"Create a new moderator (admin only).","operationId":"create_moderator_api_admin_moderators__post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModeratorCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModeratorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Moderator Management"],"summary":"Get Moderators","description":"Get all moderators (admin only).","operationId":"get_moderators_api_admin_moderators__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ModeratorStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModeratorListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/moderators/{moderator_id}":{"get":{"tags":["Moderator Management"],"summary":"Get Moderator","description":"Get a single moderator by ID (admin only).","operationId":"get_moderator_api_admin_moderators__moderator_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"moderator_id","in":"path","required":true,"schema":{"type":"string","title":"Moderator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModeratorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Moderator Management"],"summary":"Update Moderator","description":"Update a moderator (admin only).","operationId":"update_moderator_api_admin_moderators__moderator_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"moderator_id","in":"path","required":true,"schema":{"type":"string","title":"Moderator Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModeratorUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModeratorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Moderator Management"],"summary":"Delete Moderator","description":"Delete a moderator (admin only).","operationId":"delete_moderator_api_admin_moderators__moderator_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"moderator_id","in":"path","required":true,"schema":{"type":"string","title":"Moderator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transport/":{"get":{"tags":["Transport"],"summary":"Get Transports","description":"Get all active transports with filtering.","operationId":"get_transports_api_transport__get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":12,"title":"Limit"}},{"name":"transport_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransportType"},{"type":"null"}],"title":"Transport Type"}},{"name":"departure_island","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Island"}},{"name":"destination_island","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Island"}},{"name":"min_capacity","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Capacity"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TransportStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transport/{transport_id}":{"get":{"tags":["Transport"],"summary":"Get Transport By Id","description":"Get a single transport by ID.","operationId":"get_transport_by_id_api_transport__transport_id__get","parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transport/search":{"post":{"tags":["Transport"],"summary":"Search Transports","description":"Advanced transport search.","operationId":"search_transports_api_transport_search_post","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":12,"title":"Limit"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportSearch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transport/types/list":{"get":{"tags":["Transport"],"summary":"Get Transport Types","description":"Get all available transport types.","operationId":"get_transport_types_api_transport_types_list_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transport/islands/list":{"get":{"tags":["Transport"],"summary":"Get Islands List","description":"Get list of islands served by transports.","operationId":"get_islands_list_api_transport_islands_list_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transport/{transport_id}/trips":{"get":{"tags":["Transport"],"summary":"Get Public Trip Seats","description":"Public, read-only seat states for one trip instance - used by the\ncustomer-facing seat picker (Phase 3, Milestone 3.3). Returns only\nseat_id/seat_type/state, never booking_id/contact info.\n\nIf no TripInstance exists for the requested slot, the vendor hasn't\nopened it for booking yet (trip instances are vendor-created, not\nauto-generated - see routes/vendor_transport_trips.py) - this returns a\nclean \"not open\" response rather than fabricating a seat snapshot at\nrequest time, keeping one predictable mental model.","operationId":"get_public_trip_seats_api_transport__transport_id__trips_get","parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}},{"name":"route_index","in":"query","required":true,"schema":{"type":"integer","title":"Route Index"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","title":"Date"}},{"name":"departure_time","in":"query","required":true,"schema":{"type":"string","title":"Departure Time"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transport/bookings":{"post":{"tags":["Transport"],"summary":"Create Transport Booking","description":"Create a transport booking with Stripe payment.","operationId":"create_transport_booking_api_transport_bookings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportBookingWithPayment"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/transport/payment-status/{session_id}":{"get":{"tags":["Transport"],"summary":"Get Transport Payment Status","description":"Check transport booking payment status.","operationId":"get_transport_payment_status_api_transport_payment_status__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transport/webhook/stripe":{"post":{"tags":["Transport"],"summary":"Transport Stripe Webhook","description":"Stripe webhook for transport bookings.","operationId":"transport_stripe_webhook_api_transport_webhook_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/transport/admin/transports/{transport_id}":{"put":{"tags":["Transport"],"summary":"Update Transport","description":"Update a transport (admin only).","operationId":"update_transport_api_transport_admin_transports__transport_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Transport"],"summary":"Delete Transport","description":"Delete a transport (admin only).","operationId":"delete_transport_api_transport_admin_transports__transport_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages/":{"get":{"tags":["Packages"],"summary":"Get Packages","description":"Get all packages with filtering.","operationId":"get_packages_api_packages__get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":12,"title":"Limit"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PackageCategory"},{"type":"null"}],"title":"Category"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PackageStatus"},{"type":"null"}],"title":"Status"}},{"name":"featured_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Featured Only"}},{"name":"min_nights","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Nights"}},{"name":"max_nights","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Nights"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages/{slug}":{"get":{"tags":["Packages"],"summary":"Get Package By Slug","description":"Get a single package by slug.","operationId":"get_package_by_slug_api_packages__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages/category/{category}":{"get":{"tags":["Packages"],"summary":"Get Packages By Category","description":"Get packages by category.","operationId":"get_packages_by_category_api_packages_category__category__get","parameters":[{"name":"category","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PackageCategory"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":12,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages/bookings":{"post":{"tags":["Packages"],"summary":"Create Package Booking","description":"Create a package booking with Stripe payment.","operationId":"create_package_booking_api_packages_bookings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageBookingWithPayment"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/packages/payment-status/{session_id}":{"get":{"tags":["Packages"],"summary":"Get Package Payment Status","description":"Check package booking payment status.","operationId":"get_package_payment_status_api_packages_payment_status__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages/webhook/stripe":{"post":{"tags":["Packages"],"summary":"Package Stripe Webhook","description":"Stripe webhook for package bookings.","operationId":"package_stripe_webhook_api_packages_webhook_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/packages/sales/packages":{"post":{"tags":["Packages"],"summary":"Create Package","description":"Create a new package (sales team and admins only).\n\nSecurity: Input validation, sanitization, audit logging","operationId":"create_package_api_packages_sales_packages_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/packages/sales/packages/{package_id}":{"get":{"tags":["Packages"],"summary":"Get Package For Sales","description":"Fetch a single package for editing (sales team and admins only).\n\nUnlike the public GET /{slug} endpoint, this looks up by package_id (what\nthe sales/admin edit forms have on hand) rather than slug, and doesn't\nbump the view counter.","operationId":"get_package_for_sales_api_packages_sales_packages__package_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Packages"],"summary":"Update Package","description":"Update a package (sales team and admins only).\n\nSecurity: IDOR protection - sales can only update their own packages, admins can update any","operationId":"update_package_api_packages_sales_packages__package_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Packages"],"summary":"Delete Package","description":"Delete a package (sales team and admins only).\n\nSecurity: IDOR protection - sales can only delete their own packages, admins can delete any","operationId":"delete_package_api_packages_sales_packages__package_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages/sales/all-packages":{"get":{"tags":["Packages"],"summary":"Get All Packages For Sales","description":"Get all packages including inactive (sales team only).","operationId":"get_all_packages_for_sales_api_packages_sales_all_packages_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transport/{item_id}/reviews":{"get":{"tags":["transport service reviews"],"summary":"List Reviews","description":"Approved reviews only.","operationId":"list_reviews_api_transport__item_id__reviews_get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExcursionReviewPublic"},"title":"Response List Reviews Api Transport  Item Id  Reviews Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["transport service reviews"],"summary":"Create Review","description":"Submit a review: completed paid booking required, once per item.\nStored unapproved - it cannot publish itself.","operationId":"create_review_api_transport__item_id__reviews_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionReviewCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionReviewPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/transport/{item_id}/reviews/eligibility":{"get":{"tags":["transport service reviews"],"summary":"Review Eligibility","description":"Whether the signed-in guest may review this item, and if not, why.","operationId":"review_eligibility_api_transport__item_id__reviews_eligibility_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages/{item_id}/reviews":{"get":{"tags":["package reviews"],"summary":"List Reviews","description":"Approved reviews only.","operationId":"list_reviews_api_packages__item_id__reviews_get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExcursionReviewPublic"},"title":"Response List Reviews Api Packages  Item Id  Reviews Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["package reviews"],"summary":"Create Review","description":"Submit a review: completed paid booking required, once per item.\nStored unapproved - it cannot publish itself.","operationId":"create_review_api_packages__item_id__reviews_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionReviewCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionReviewPublic"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages/{item_id}/reviews/eligibility":{"get":{"tags":["package reviews"],"summary":"Review Eligibility","description":"Whether the signed-in guest may review this item, and if not, why.","operationId":"review_eligibility_api_packages__item_id__reviews_eligibility_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/transport-reviews":{"get":{"tags":["Admin - transport service reviews"],"summary":"List Reviews","description":"The moderation queue, newest pending first by default.","operationId":"list_reviews_api_admin_transport_reviews_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"enum":["pending","approved","rejected","all"],"type":"string","default":"pending","title":"Status"}},{"name":"item_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Id"}},{"name":"sort_by","in":"query","required":false,"schema":{"enum":["newest","oldest","rating_high","rating_low"],"type":"string","default":"newest","title":"Sort By"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/transport-reviews/statistics":{"get":{"tags":["Admin - transport service reviews"],"summary":"Statistics","description":"Queue counts, plus the average of what visitors can actually see.","operationId":"statistics_api_admin_transport_reviews_statistics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/transport-reviews/{review_id}":{"patch":{"tags":["Admin - transport service reviews"],"summary":"Moderate","description":"Approve, reject or send a review back to pending.","operationId":"moderate_api_admin_transport_reviews__review_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionReviewModeration"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin - transport service reviews"],"summary":"Delete","operationId":"delete_api_admin_transport_reviews__review_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/package-reviews":{"get":{"tags":["Admin - package reviews"],"summary":"List Reviews","description":"The moderation queue, newest pending first by default.","operationId":"list_reviews_api_admin_package_reviews_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"enum":["pending","approved","rejected","all"],"type":"string","default":"pending","title":"Status"}},{"name":"item_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Id"}},{"name":"sort_by","in":"query","required":false,"schema":{"enum":["newest","oldest","rating_high","rating_low"],"type":"string","default":"newest","title":"Sort By"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/package-reviews/statistics":{"get":{"tags":["Admin - package reviews"],"summary":"Statistics","description":"Queue counts, plus the average of what visitors can actually see.","operationId":"statistics_api_admin_package_reviews_statistics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/package-reviews/{review_id}":{"patch":{"tags":["Admin - package reviews"],"summary":"Moderate","description":"Approve, reject or send a review back to pending.","operationId":"moderate_api_admin_package_reviews__review_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcursionReviewModeration"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin - package reviews"],"summary":"Delete","operationId":"delete_api_admin_package_reviews__review_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/bookings":{"get":{"tags":["User Bookings"],"summary":"Get My Bookings","description":"Get all bookings for the current user across all booking types.\nQueries by email across stays, transport, packages, and excursion bookings.","operationId":"get_my_bookings_api_user_bookings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"email","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"booking_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Booking Type"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/media/":{"get":{"tags":["Admin Media"],"summary":"List Media","description":"List all media files in S3 under the given prefix.","operationId":"list_media_api_admin_media__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"prefix","in":"query","required":false,"schema":{"type":"string","description":"S3 key prefix to list","default":"images/","title":"Prefix"},"description":"S3 key prefix to list"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/media/upload":{"post":{"tags":["Admin Media"],"summary":"Upload Media","description":"Upload one or more media files to S3.","operationId":"upload_media_api_admin_media_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_media_api_admin_media_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/media/{s3_key}":{"delete":{"tags":["Admin Media"],"summary":"Delete Media","description":"Delete a media file from S3.","operationId":"delete_media_api_admin_media__s3_key__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"s3_key","in":"path","required":true,"schema":{"type":"string","title":"S3 Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/media/bulk-delete":{"post":{"tags":["Admin Media"],"summary":"Bulk Delete Media","description":"Delete multiple media files from S3.","operationId":"bulk_delete_media_api_admin_media_bulk_delete_post","requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Keys"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/financials/overview":{"get":{"tags":["Admin Financials"],"summary":"Get Financial Overview","description":"Comprehensive financial overview with revenue, taxes, commissions.","operationId":"get_financial_overview_api_admin_financials_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/financials/monthly-trend":{"get":{"tags":["Admin Financials"],"summary":"Get Monthly Trend","description":"Get monthly revenue trends for chart display.","operationId":"get_monthly_trend_api_admin_financials_monthly_trend_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"months","in":"query","required":false,"schema":{"type":"integer","maximum":12,"minimum":1,"default":6,"title":"Months"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/top-agents":{"get":{"tags":["Admin Financials"],"summary":"Get Top Agents","description":"Get top-performing agents by commission.","operationId":"get_top_agents_api_admin_financials_top_agents_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/journal-entries/{transaction_id}":{"get":{"tags":["Admin Financials"],"summary":"Get Journal Entries For Transaction","description":"Get every posted journal entry (original settlement, plus any refund\nreversals) and their accounting entry lines for a booking (transaction_id\n= booking_id), for audit / verification.","operationId":"get_journal_entries_for_transaction_api_admin_financials_journal_entries__transaction_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transaction_id","in":"path","required":true,"schema":{"type":"string","title":"Transaction Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/recent-transactions":{"get":{"tags":["Admin Financials"],"summary":"Get Recent Transactions","description":"Get recent payment transactions.","operationId":"get_recent_transactions_api_admin_financials_recent_transactions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/transactions/export":{"get":{"tags":["Admin Financials"],"summary":"Export Transactions Csv","description":"Admin: stream a CSV of payment_transactions for a given month (or explicit date range).\nIncludes manual vs. Stripe breakdown and reversal state.","operationId":"export_transactions_csv_api_admin_financials_transactions_export_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Month in YYYY-MM format","title":"Month"},"description":"Month in YYYY-MM format"},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Inclusive start date YYYY-MM-DD","title":"Start"},"description":"Inclusive start date YYYY-MM-DD"},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Exclusive end date YYYY-MM-DD","title":"End"},"description":"Exclusive end date YYYY-MM-DD"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/green-tax-leakage":{"get":{"tags":["Admin Financials"],"summary":"Get Green Tax Leakage","description":"Identify paid stay/package bookings that qualify for MIRA Green Tax but have\n`pricing.green_tax` missing or zero. Returns aggregate leakage (USD we should\nhave collected but didn't) plus sample offending bookings for drill-down.\n\nMIRA rule: Green Tax applies only to accommodation (resorts/hotels/guesthouses\n/liveaboards). >50 rooms → $12/guest/night. ≤50 rooms → $6/guest/night.\nChildren under 2 years exempt.\n\nOnly `bookings` (stays) and `package_bookings` are scanned — excursions &\ntransport never owe Green Tax and are excluded by design.","operationId":"get_green_tax_leakage_api_admin_financials_green_tax_leakage_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"months_back","in":"query","required":false,"schema":{"type":"integer","maximum":24,"minimum":1,"description":"How many months back to scan","default":3,"title":"Months Back"},"description":"How many months back to scan"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/backfill-audits":{"get":{"tags":["Admin Financials"],"summary":"Get Backfill Audits","description":"Return recent Green Tax backfill audit entries (newest first).","operationId":"get_backfill_audits_api_admin_financials_backfill_audits_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/backfill-audits/export":{"get":{"tags":["Admin Financials"],"summary":"Export Backfill Audits","description":"Export Green Tax backfill audit log as MIRA-defensible CSV.","operationId":"export_backfill_audits_api_admin_financials_backfill_audits_export_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date YYYY-MM-DD (inclusive)","title":"Start Date"},"description":"ISO date YYYY-MM-DD (inclusive)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date YYYY-MM-DD (exclusive)","title":"End Date"},"description":"ISO date YYYY-MM-DD (exclusive)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/backfill-green-tax/{booking_id}":{"post":{"tags":["Admin Financials"],"summary":"Backfill Green Tax","description":"Recompute and patch `pricing.green_tax` + `pricing.total_amount` for a single\nstay or package booking using the current MIRA rule (property room count +\nunder-2 exemption). Writes an audit entry to `tax_backfill_audits` capturing\nthe before/after delta, actor, and optional reason.\n\nOnly stay (`bookings`) and package (`package_bookings`) collections are\neligible — excursions and transport are never subject to Green Tax.","operationId":"backfill_green_tax_api_admin_financials_backfill_green_tax__booking_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GreenTaxBackfillRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/tax-remittance":{"get":{"tags":["Admin Financials"],"summary":"Get Tax Remittance","description":"Current/previous period liability + last-paid status for TGST, Green Tax,\nand Income Tax (annual + quarterly interim advance payments).","operationId":"get_tax_remittance_api_admin_financials_tax_remittance_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":12,"minimum":1},{"type":"null"}],"title":"Month"}},{"name":"tgst_mode","in":"query","required":false,"schema":{"type":"string","description":"monthly | quarterly | auto","default":"auto","title":"Tgst Mode"},"description":"monthly | quarterly | auto"},{"name":"green_tax_property_type","in":"query","required":false,"schema":{"type":"string","description":"large_property (>50 rooms: resort/hotel/liveaboard, $12) | small_property (≤50 rooms: guesthouse/liveaboard, $6)","default":"large_property","title":"Green Tax Property Type"},"description":"large_property (>50 rooms: resort/hotel/liveaboard, $12) | small_property (≤50 rooms: guesthouse/liveaboard, $6)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/tax-remittance/history":{"get":{"tags":["Admin Financials"],"summary":"Get Tax Remittance History","description":"Year-at-a-glance history for TGST (monthly), Green Tax (monthly),\nand Income Tax (quarterly interim). Per cell returns due amount +\nremittance status (paid / pending / overdue / upcoming / nil).","operationId":"get_tax_remittance_history_api_admin_financials_tax_remittance_history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"green_tax_property_type","in":"query","required":false,"schema":{"type":"string","default":"large_property","title":"Green Tax Property Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/tax-remittance/record":{"post":{"tags":["Admin Financials"],"summary":"Record Tax Remittance","description":"Record that a tax remittance has been paid to MIRA.","operationId":"record_tax_remittance_api_admin_financials_tax_remittance_record_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxRemittancePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/financials/tax-remittance/export":{"get":{"tags":["Admin Financials"],"summary":"Export Mira Report","description":"Export a MIRA-style CSV for TGST (monthly), Green Tax (monthly), or Income Tax (annual).","operationId":"export_mira_report_api_admin_financials_tax_remittance_export_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tax_type","in":"query","required":true,"schema":{"type":"string","title":"Tax Type"}},{"name":"year","in":"query","required":true,"schema":{"type":"integer","maximum":2100,"minimum":2020,"title":"Year"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":12,"minimum":1},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/vendors-missing-tin":{"get":{"tags":["Admin Financials"],"summary":"Vendors Missing Tin","description":"Return a list of vendors whose MIRA Tax Identification Number (TIN) is\nmissing on their profile. We treat `business_details.tax_id` as the\ncanonical TIN field (the post-approval form). Empty string and obvious\nplaceholders are also flagged.\n\nUsed by the Admin Financials dashboard to surface vendors who would\notherwise produce non-compliant MIRA tax invoices.","operationId":"vendors_missing_tin_api_admin_financials_vendors_missing_tin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/financials/vendor-payouts":{"get":{"tags":["Admin Financials"],"summary":"List Vendor Payout Requests","description":"List vendor payout requests, optionally filtered by status, newest first.","operationId":"list_vendor_payout_requests_api_admin_financials_vendor_payouts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/vendor-payouts/{payout_id}/approve":{"put":{"tags":["Admin Financials"],"summary":"Approve Vendor Payout","description":"Approve a vendor payout request (does not move money - admin transfers\nfunds separately and then marks it completed).","operationId":"approve_vendor_payout_api_admin_financials_vendor_payouts__payout_id__approve_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorPayoutActionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/vendor-payouts/{payout_id}/reject":{"put":{"tags":["Admin Financials"],"summary":"Reject Vendor Payout","description":"Reject a vendor payout request.","operationId":"reject_vendor_payout_api_admin_financials_vendor_payouts__payout_id__reject_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorPayoutActionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/financials/vendor-payouts/{payout_id}/complete":{"put":{"tags":["Admin Financials"],"summary":"Complete Vendor Payout","description":"Mark a vendor payout as completed after the admin has actually\ntransferred the funds outside the app.","operationId":"complete_vendor_payout_api_admin_financials_vendor_payouts__payout_id__complete_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorPayoutActionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-intents/track":{"post":{"tags":["Booking Intents"],"summary":"Track Intent","description":"Record a new booking intent when a logged-out user hits the auth gate.\nIdempotent by (session_id + intent_type + item_id) — updates existing pending doc.","operationId":"track_intent_api_booking_intents_track_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingIntentCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-intents/attach":{"post":{"tags":["Booking Intents"],"summary":"Attach Contact","description":"Attach email/user_id to the latest pending intent for a session.\nCalled after user logs in or provides email in the auth gate flow.","operationId":"attach_contact_api_booking_intents_attach_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingIntentAttach"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-intents/{intent_id}/complete":{"post":{"tags":["Booking Intents"],"summary":"Complete Intent","description":"Mark an intent as completed (user started/finished the booking).","operationId":"complete_intent_api_booking_intents__intent_id__complete_post","parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","title":"Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-intents/complete-by-session":{"post":{"tags":["Booking Intents"],"summary":"Complete By Session","description":"Mark all pending intents for a session as completed (e.g. after a successful booking).","operationId":"complete_by_session_api_booking_intents_complete_by_session_post","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-intents/stats":{"get":{"tags":["Booking Intents"],"summary":"Get Intent Stats","description":"Admin: summary stats for the Marketing / Abandoned-Bookings panel.\nReturns counts by status, recovery rate, and top abandoned items.","operationId":"get_intent_stats_api_booking_intents_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"top_limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Top Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-intents/timeseries":{"get":{"tags":["Booking Intents"],"summary":"Get Intent Timeseries","description":"Admin: daily time-series of intents for the last N days.\nReturns { date, created, recovered, reminded } buckets in ascending order.\n`created`   - intents whose created_at falls on that day\n`recovered` - intents whose status=completed & updated_at falls on that day\n`reminded`  - intents whose reminder_sent_at falls on that day","operationId":"get_intent_timeseries_api_booking_intents_timeseries_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-intents/item-detail":{"get":{"tags":["Booking Intents"],"summary":"Get Intent Item Detail","description":"Admin: deep-dive for one (intent_type, item_id) — total counts by status,\nfunnel (intents → with email → reminded → recovered), per-day series,\nand the list of all individual intents.","operationId":"get_intent_item_detail_api_booking_intents_item_detail_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_type","in":"query","required":true,"schema":{"type":"string","title":"Intent Type"}},{"name":"item_id","in":"query","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":60,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-intents/pending":{"get":{"tags":["Booking Intents"],"summary":"List Pending Intents","description":"Admin: list pending abandoned intents (optionally only those with an email).","operationId":"list_pending_intents_api_booking_intents_pending_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"with_email_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"With Email Only"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingIntentsList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking-intents/send-reminders":{"post":{"tags":["Booking Intents"],"summary":"Send Reminders","description":"Admin: send gentle reminder emails for abandoned intents.\nTargets: intents with an email, status=pending, older than min_age_minutes,\nand either never reminded or last reminded > REMINDER_COOLDOWN_HOURS ago.","operationId":"send_reminders_api_booking_intents_send_reminders_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","description":"If true, report what would be sent without sending","default":false,"title":"Dry Run"},"description":"If true, report what would be sent without sending"},{"name":"min_age_minutes","in":"query","required":false,"schema":{"type":"integer","minimum":5,"default":60,"title":"Min Age Minutes"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/tax-invoices/generate-for-booking/{booking_id}":{"post":{"tags":["Tax Invoices"],"summary":"Admin Generate For Booking","description":"Force-generate (or fetch existing) invoices for a single booking.","operationId":"admin_generate_for_booking_api_admin_tax_invoices_generate_for_booking__booking_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}},{"name":"booking_kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"stay|package|excursion|transport (auto-detect if omitted)","title":"Booking Kind"},"description":"stay|package|excursion|transport (auto-detect if omitted)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/tax-invoices/backfill":{"post":{"tags":["Tax Invoices"],"summary":"Admin Backfill","description":"Generate missing tax invoices for all paid bookings in the last N months.","operationId":"admin_backfill_api_admin_tax_invoices_backfill_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"months_back","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"default":12,"title":"Months Back"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/tax-invoices":{"get":{"tags":["Tax Invoices"],"summary":"Admin List Tax Invoices","operationId":"admin_list_tax_invoices_api_admin_tax_invoices_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"invoice_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Type"}},{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"YYYY-MM filter","title":"Period"},"description":"YYYY-MM filter"},{"name":"vendor_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/tax-invoices":{"get":{"tags":["Tax Invoices"],"summary":"Vendor List Tax Invoices","description":"Vendor's own VENDOR-side invoices. Admin can also call (returns all).","operationId":"vendor_list_tax_invoices_api_vendor_tax_invoices_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"period","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tax-invoices/by-booking/{booking_id}":{"get":{"tags":["Tax Invoices"],"summary":"List Invoices For Booking","description":"Phase 11 Documents section: every invoice/credit-note that exists\nfor a booking (up to 4 - guest/vendor original + credit notes),\nfiltered through the exact same per-invoice authorization rules as\nget_invoice_for_print below, so a caller never sees an invoice\nget_invoice_for_print would itself refuse to serve them.","operationId":"list_invoices_for_booking_api_tax_invoices_by_booking__booking_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tax-invoices/{invoice_no}":{"get":{"tags":["Tax Invoices"],"summary":"Get Invoice For Print","description":"Fetch a single invoice. Admin sees all; vendors only their own; guests only their own.","operationId":"get_invoice_for_print_api_tax_invoices__invoice_no__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"invoice_no","in":"path","required":true,"schema":{"type":"string","title":"Invoice No"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/tax-invoices/monthly-summary/export":{"get":{"tags":["Tax Invoices"],"summary":"Admin Export Monthly Summary","description":"Per-vendor monthly aggregation as CSV (one row per vendor).","operationId":"admin_export_monthly_summary_api_admin_tax_invoices_monthly_summary_export_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"period","in":"query","required":true,"schema":{"type":"string","description":"YYYY-MM","title":"Period"},"description":"YYYY-MM"},{"name":"invoice_type","in":"query","required":false,"schema":{"type":"string","description":"vendor|guest","default":"vendor","title":"Invoice Type"},"description":"vendor|guest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/tax-invoices/{invoice_no}/email":{"post":{"tags":["Tax Invoices"],"summary":"Admin Email Invoice","description":"Email a MIRA tax invoice (PDF attached) via SendGrid.\n\nIf `to_emails` is omitted, we auto-route to the canonical recipient:\n    • Guest invoice  -> guest contact email\n    • Vendor invoice -> vendor contact email\nAdmins can override by passing one or more `to_emails`.","operationId":"admin_email_invoice_api_admin_tax_invoices__invoice_no__email_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"invoice_no","in":"path","required":true,"schema":{"type":"string","title":"Invoice No"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailInvoiceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/tax-invoices/bulk-email-vendors":{"post":{"tags":["Tax Invoices"],"summary":"Bulk Email Vendor Invoices","description":"Bulk-email vendor MIRA invoices for a billing period.\n\nFor each vendor invoice matching the filters, render the PDF and ship it\nvia SendGrid to the supplier email on the invoice. Idempotent: when\n`skip_already_emailed=True` (default) any invoice with a prior\n`tax_invoice_emails` row for trigger=\"bulk_vendor\" is skipped.\n\nReturns a per-invoice summary so admins know exactly what landed and\nwhat failed, plus aggregate counters.","operationId":"bulk_email_vendor_invoices_api_admin_tax_invoices_bulk_email_vendors_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkEmailVendorInvoicesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/bookings/{booking_type}/{booking_id}/cancellation-request":{"post":{"tags":["Cancellation Requests"],"summary":"Create Cancellation Request","description":"Customer requests cancellation of their own paid booking. Queues it\nfor admin review rather than refunding automatically.","operationId":"create_cancellation_request_api_bookings__booking_type___booking_id__cancellation_request_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_type","in":"path","required":true,"schema":{"type":"string","title":"Booking Type"}},{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCancellationRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/guests":{"get":{"tags":["Vendor Guests"],"summary":"List Guests","description":"Search/list this vendor's own guests (Phase 9 global search + a\nfuture Guest Directory page). Scoped via Guest.vendor_ids, exactly the\nfield this model exists to provide for this - never a bare email/name\nmatch across the whole platform.","operationId":"list_guests_api_vendor_guests_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/guests/{guest_id}":{"get":{"tags":["Vendor Guests"],"summary":"Get Guest History","description":"A guest's profile plus their past bookings with this vendor only.","operationId":"get_guest_history_api_vendor_guests__guest_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"guest_id","in":"path","required":true,"schema":{"type":"string","title":"Guest Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/transport/{transport_id}/seat-layout":{"get":{"tags":["Vendor Transport Seat Layout"],"summary":"Get Seat Layout","operationId":"get_seat_layout_api_vendor_transport__transport_id__seat_layout_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Vendor Transport Seat Layout"],"summary":"Save Seat Layout","operationId":"save_seat_layout_api_vendor_transport__transport_id__seat_layout_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeatLayoutSaveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/transport/{transport_id}/trips":{"post":{"tags":["Vendor Transport Trips"],"summary":"Bulk Create Trips","operationId":"bulk_create_trips_api_vendor_transport__transport_id__trips_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateTripsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Vendor Transport Trips"],"summary":"List Trips","operationId":"list_trips_api_vendor_transport__transport_id__trips_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/transport/{transport_id}/trips/{trip_instance_id}/manifest":{"get":{"tags":["Vendor Transport Trips"],"summary":"Get Trip Manifest","description":"Passenger list + seat + boarding status for one trip instance. Only\nmeaningful for seat-configured listings - unconfigured transports have\nno per-seat manifest concept and keep using the existing\nGET /api/vendor/bookings?view=... filtered by transport_id, unmodified.","operationId":"get_trip_manifest_api_vendor_transport__transport_id__trips__trip_instance_id__manifest_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}},{"name":"trip_instance_id","in":"path","required":true,"schema":{"type":"string","title":"Trip Instance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/transport/{transport_id}/trips/{trip_instance_id}/block":{"patch":{"tags":["Vendor Transport Trips"],"summary":"Block Trip Instance","description":"Minimal single-instance cancel/blackout toggle - not a recurring blackout system.","operationId":"block_trip_instance_api_vendor_transport__transport_id__trips__trip_instance_id__block_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"transport_id","in":"path","required":true,"schema":{"type":"string","title":"Transport Id"}},{"name":"trip_instance_id","in":"path","required":true,"schema":{"type":"string","title":"Trip Instance Id"}},{"name":"is_blocked","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Is Blocked"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/transport/boarding/scan":{"post":{"tags":["Vendor Boarding"],"summary":"Scan Ticket","description":"Validate a scanned/entered ticket token and mark it boarded. Gates on\nseat *state*, not the trip date - staff may legitimately board someone\non a schedule-adjusted trip, so a date mismatch is surfaced as a\nwarning field rather than a hard rejection.","operationId":"scan_ticket_api_vendor_transport_boarding_scan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/excursions/{excursion_id}/sessions":{"post":{"tags":["Vendor Excursion Sessions"],"summary":"Bulk Create Sessions","operationId":"bulk_create_sessions_api_vendor_excursions__excursion_id__sessions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateSessionsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Vendor Excursion Sessions"],"summary":"List Sessions","operationId":"list_sessions_api_vendor_excursions__excursion_id__sessions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/excursions/{excursion_id}/sessions/{session_id}/block":{"patch":{"tags":["Vendor Excursion Sessions"],"summary":"Block Session","description":"Minimal single-session cancel/blackout toggle - not a recurring blackout system.","operationId":"block_session_api_vendor_excursions__excursion_id__sessions__session_id__block_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"is_blocked","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Is Blocked"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/excursions/{excursion_id}/sessions/{session_id}":{"patch":{"tags":["Vendor Excursion Sessions"],"summary":"Update Session","operationId":"update_session_api_vendor_excursions__excursion_id__sessions__session_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/excursions/{excursion_id}/sessions/{date}/{departure_time}/manifest":{"get":{"tags":["Vendor Excursion Sessions"],"summary":"Get Session Manifest","description":"Participant list + check-in status for one session, joining\nexcursion_tickets (Phase 4, Milestone 4.2/4.3) against excursion_bookings\nfor contact info. Placed here (not vendor_excursion_checkin.py) to\nmirror Transport's own placement of get_trip_manifest in\nvendor_transport_trips.py rather than vendor_boarding.py.","operationId":"get_session_manifest_api_vendor_excursions__excursion_id__sessions__date___departure_time__manifest_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"excursion_id","in":"path","required":true,"schema":{"type":"string","title":"Excursion Id"}},{"name":"date","in":"path","required":true,"schema":{"type":"string","title":"Date"}},{"name":"departure_time","in":"path","required":true,"schema":{"type":"string","title":"Departure Time"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/excursions/checkin/scan":{"post":{"tags":["Vendor Excursion Check-in"],"summary":"Scan Ticket","operationId":"scan_ticket_api_vendor_excursions_checkin_scan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/ical/export/{export_token}.ics":{"get":{"tags":["Channel Manager"],"summary":"Export Ical Feed","description":"Public, unguessable-token-gated iCal export feed - no auth, matching\nthe QR-token-as-capability convention already used for Phase 3/4\nticket tokens. 404 as plain text since an OTA's iCal client can't\nparse a JSON error body.","operationId":"export_ical_feed_api_ical_export__export_token__ics_get","parameters":[{"name":"export_token","in":"path","required":true,"schema":{"type":"string","title":"Export Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/channels":{"get":{"tags":["Channel Manager"],"summary":"List Channel Connections","operationId":"list_channel_connections_api_vendor_properties__property_id__channels_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Channel Manager"],"summary":"Create Channel Connection","operationId":"create_channel_connection_api_vendor_properties__property_id__channels_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelConnectionCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/channels/{connection_id}":{"patch":{"tags":["Channel Manager"],"summary":"Update Channel Connection","operationId":"update_channel_connection_api_vendor_properties__property_id__channels__connection_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelConnectionUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Channel Manager"],"summary":"Delete Channel Connection","operationId":"delete_channel_connection_api_vendor_properties__property_id__channels__connection_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/channels/{connection_id}/sync":{"post":{"tags":["Channel Manager"],"summary":"Sync Channel Connection Now","operationId":"sync_channel_connection_now_api_vendor_properties__property_id__channels__connection_id__sync_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/channels/{connection_id}/test":{"post":{"tags":["Channel Manager"],"summary":"Test Channel Connection","description":"Phase 23: a read-only dry run of what Sync Now would do, with zero\nwrites - does NOT touch last_synced_at/last_sync_status/last_sync_error,\nsince a dry run isn't \"the last real sync\".","operationId":"test_channel_connection_api_vendor_properties__property_id__channels__connection_id__test_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-connections":{"get":{"tags":["Channel Manager"],"summary":"List All Channel Connections","description":"Phase 23: cross-property - every prior list endpoint was scoped to\none property. Flat list, no property/room-type name enrichment - the\nfrontend joins against the already-loaded /api/vendor/properties\nresponse client-side.","operationId":"list_all_channel_connections_api_vendor_channel_connections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/channel-connections/sync-logs":{"get":{"tags":["Channel Manager"],"summary":"List Vendor Sync Logs","description":"Phase 23: powers both the Sync Activity tab and the Dashboard's\nwidgets (which derive their stats client-side from this same feed -\nno separate aggregation endpoint needed at this data volume).","operationId":"list_vendor_sync_logs_api_vendor_channel_connections_sync_logs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-connections/audit-log":{"get":{"tags":["Channel Manager"],"summary":"List Connection Audit Log","description":"Phase 29: who changed a channel connection's settings, and what\nchanged. Gated on MANAGE_CHANNELS (not SYNC_CHANNELS) - visibility\nfollows the same tier that can actually cause these entries; Front\nDesk, which only has SYNC_CHANNELS, never appears as an actor here.","operationId":"list_connection_audit_log_api_vendor_channel_connections_audit_log_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/providers":{"get":{"tags":["OTA Channel Manager"],"summary":"List Providers","operationId":"list_providers_api_vendor_channel_manager_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/channel-manager/connections":{"get":{"tags":["OTA Channel Manager"],"summary":"List Connections","operationId":"list_connections_api_vendor_channel_manager_connections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["OTA Channel Manager"],"summary":"Create Connection","operationId":"create_connection_api_vendor_channel_manager_connections_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelManagerConnectionCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/vendor/channel-manager/connections/{connection_id}":{"get":{"tags":["OTA Channel Manager"],"summary":"Get Connection","operationId":"get_connection_api_vendor_channel_manager_connections__connection_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["OTA Channel Manager"],"summary":"Delete Connection","operationId":"delete_connection_api_vendor_channel_manager_connections__connection_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/connections/{connection_id}/health":{"get":{"tags":["OTA Channel Manager"],"summary":"Check Connection Health","operationId":"check_connection_health_api_vendor_channel_manager_connections__connection_id__health_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/connections/{connection_id}/sync":{"post":{"tags":["OTA Channel Manager"],"summary":"Sync Connection","operationId":"sync_connection_api_vendor_channel_manager_connections__connection_id__sync_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/connections/{connection_id}/push":{"post":{"tags":["OTA Channel Manager"],"summary":"Push Outbound Connection","description":"Wires ChannelManagerCore.push_outbound up to a real route - proves\nit's reachable end-to-end rather than dead code, even though no\nconnector today has a real outbound data source to push (the Mock\nconnector accepts the call and logs what it would have sent; a\nconnector with no OUTBOUND_* capability at all gets a \"skipped\"\nSyncEvent per kind, same shape check_connection_health/sync_connection\nalready use elsewhere in this file).","operationId":"push_outbound_connection_api_vendor_channel_manager_connections__connection_id__push_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushOutboundRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/connections/{connection_id}/credentials":{"patch":{"tags":["OTA Channel Manager"],"summary":"Rotate Connection Credentials","description":"Wires credentials.rotate_credentials up to a real route. A\nconnection with no credential_ref yet (never had real credentials\nstored) gets one created fresh rather than erroring - \"rotate\" here\nmeans \"the credentials this connection uses are now these,\" whether\nor not any existed before.","operationId":"rotate_connection_credentials_api_vendor_channel_manager_connections__connection_id__credentials_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotateCredentialsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/connections/{connection_id}/simulate-reservation":{"post":{"tags":["OTA Channel Manager"],"summary":"Simulate Reservation","description":"DEV/SANDBOX ONLY - injects one fixture NormalizedReservation through\nthe exact same ingestion path a real webhook/poll would use. Proves\nreservation_protection.py's idempotency end-to-end without any real\nexternal connection. Mutates real database.bookings rows even though\nthe \"channel\" is fake, so this is 403'd outright in production.","operationId":"simulate_reservation_api_vendor_channel_manager_connections__connection_id__simulate_reservation_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"title":"Overrides"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/mappings":{"get":{"tags":["OTA Channel Manager"],"summary":"List Mappings","operationId":"list_mappings_api_vendor_channel_manager_mappings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"channel_connection_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["OTA Channel Manager"],"summary":"Create Mapping","operationId":"create_mapping_api_vendor_channel_manager_mappings_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTAMappingCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/mappings/{mapping_id}":{"patch":{"tags":["OTA Channel Manager"],"summary":"Update Mapping","operationId":"update_mapping_api_vendor_channel_manager_mappings__mapping_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"mapping_id","in":"path","required":true,"schema":{"type":"string","title":"Mapping Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTAMappingUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["OTA Channel Manager"],"summary":"Delete Mapping","operationId":"delete_mapping_api_vendor_channel_manager_mappings__mapping_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"mapping_id","in":"path","required":true,"schema":{"type":"string","title":"Mapping Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/sync-events":{"get":{"tags":["OTA Channel Manager"],"summary":"List Sync Events","operationId":"list_sync_events_api_vendor_channel_manager_sync_events_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"channel_connection_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Connection Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/channel-manager/sync-errors":{"get":{"tags":["OTA Channel Manager"],"summary":"List Sync Errors","operationId":"list_sync_errors_api_vendor_channel_manager_sync_errors_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"channel_connection_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Connection Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/channel-manager/{connection_id}":{"post":{"tags":["OTA Channel Manager Webhooks"],"summary":"Receive Webhook","description":"Public - real OTA webhooks arrive unauthenticated by our own session\nsystem and must be validated by the connector itself (e.g. an HMAC\nsignature header), not by requiring a Touricon login. The Mock\nconnector's parse_webhook_event performs no such validation today\n(documented in-code as sandbox-only for exactly this reason).","operationId":"receive_webhook_api_webhooks_channel_manager__connection_id__post","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/bookings/{booking_id}/folio":{"get":{"tags":["Vendor Folio"],"summary":"List Folio Charges","operationId":"list_folio_charges_api_vendor_bookings__booking_id__folio_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Vendor Folio"],"summary":"Add Folio Charge","operationId":"add_folio_charge_api_vendor_bookings__booking_id__folio_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolioChargeCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/bookings/{booking_id}/folio/{charge_id}":{"delete":{"tags":["Vendor Folio"],"summary":"Void Folio Charge","operationId":"void_folio_charge_api_vendor_bookings__booking_id__folio__charge_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}},{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolioChargeVoidRequest","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bookings/{booking_id}/folio":{"get":{"tags":["Admin Folio"],"summary":"List Folio Charges","operationId":"list_folio_charges_api_admin_bookings__booking_id__folio_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Admin Folio"],"summary":"Add Folio Charge","operationId":"add_folio_charge_api_admin_bookings__booking_id__folio_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolioChargeCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bookings/{booking_id}/folio/{charge_id}":{"delete":{"tags":["Admin Folio"],"summary":"Void Folio Charge","operationId":"void_folio_charge_api_admin_bookings__booking_id__folio__charge_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}},{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolioChargeVoidRequest","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/rooms":{"get":{"tags":["Vendor Rooms"],"summary":"List Rooms","operationId":"list_rooms_api_vendor_properties__property_id__rooms_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_type_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Vendor Rooms"],"summary":"Create Room","operationId":"create_room_api_vendor_properties__property_id__rooms_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoomCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/rooms/available":{"get":{"tags":["Vendor Rooms"],"summary":"List Available Rooms","description":"Rooms of the given type genuinely free for the given date range -\nused by the Housekeeping room-assignment picker and the check-in\ninline room picker (Phase 13), replacing the previous \"every room in\nthe property, no date awareness\" listing.","operationId":"list_available_rooms_api_vendor_properties__property_id__rooms_available_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_type_id","in":"query","required":true,"schema":{"type":"string","title":"Room Type Id"}},{"name":"check_in_date","in":"query","required":true,"schema":{"type":"string","title":"Check In Date"}},{"name":"check_out_date","in":"query","required":true,"schema":{"type":"string","title":"Check Out Date"}},{"name":"exclude_booking_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exclude Booking Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/rooms/{room_id}":{"get":{"tags":["Vendor Rooms"],"summary":"Get Room Detail","description":"Phase 14: a single room's full picture - the room doc itself plus\nwho's in it now, what's coming up, and its maintenance history. Current\noccupant/upcoming reservations are derived server-side against today's\nown clock (never client-supplied), reusing the same assigned_room_id +\nstatus + date-overlap shape core/room_availability.py already queries\nagainst for conflict-checking.","operationId":"get_room_detail_api_vendor_properties__property_id__rooms__room_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_id","in":"path","required":true,"schema":{"type":"string","title":"Room Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Vendor Rooms"],"summary":"Update Room","operationId":"update_room_api_vendor_properties__property_id__rooms__room_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_id","in":"path","required":true,"schema":{"type":"string","title":"Room Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoomUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Rooms"],"summary":"Delete Room","operationId":"delete_room_api_vendor_properties__property_id__rooms__room_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_id","in":"path","required":true,"schema":{"type":"string","title":"Room Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/rooms/bulk-generate":{"post":{"tags":["Vendor Rooms"],"summary":"Bulk Generate Rooms","operationId":"bulk_generate_rooms_api_vendor_properties__property_id__rooms_bulk_generate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoomBulkGenerateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/maintenance-issues":{"get":{"tags":["Vendor Maintenance"],"summary":"List Maintenance Issues","description":"Property-wide (optionally room- or status-scoped) issue list - the\nHousekeeping board calls this once with status_filter=open to build its\nper-room indicator set, rather than one call per room.","operationId":"list_maintenance_issues_api_vendor_properties__property_id__maintenance_issues_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/maintenance-issues/rooms/{room_id}":{"post":{"tags":["Vendor Maintenance"],"summary":"Create Maintenance Issue","operationId":"create_maintenance_issue_api_vendor_properties__property_id__maintenance_issues_rooms__room_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_id","in":"path","required":true,"schema":{"type":"string","title":"Room Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceIssueCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/maintenance-issues/{issue_id}":{"patch":{"tags":["Vendor Maintenance"],"summary":"Update Maintenance Issue","operationId":"update_maintenance_issue_api_vendor_properties__property_id__maintenance_issues__issue_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceIssueUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Maintenance"],"summary":"Delete Maintenance Issue","operationId":"delete_maintenance_issue_api_vendor_properties__property_id__maintenance_issues__issue_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/room-types/{room_type_id}/rate-plan":{"get":{"tags":["Vendor Rate Plans"],"summary":"Get Rate Plan","operationId":"get_rate_plan_api_vendor_properties__property_id__room_types__room_type_id__rate_plan_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_type_id","in":"path","required":true,"schema":{"type":"string","title":"Room Type Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Vendor Rate Plans"],"summary":"Upsert Rate Plan","operationId":"upsert_rate_plan_api_vendor_properties__property_id__room_types__room_type_id__rate_plan_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_type_id","in":"path","required":true,"schema":{"type":"string","title":"Room Type Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RatePlanUpsertRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Rate Plans"],"summary":"Delete Rate Plan","operationId":"delete_rate_plan_api_vendor_properties__property_id__room_types__room_type_id__rate_plan_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"room_type_id","in":"path","required":true,"schema":{"type":"string","title":"Room Type Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/reservation-calendar/grid":{"get":{"tags":["Vendor Reservation Calendar"],"summary":"Get Reservation Grid","description":"Rooms + overlapping bookings for [start_date, end_date) - the feed\nthe timeline UI buckets client-side into an Unassigned lane and one\nrow per room (same overlap-query shape core/room_availability.py's\nis_room_available/get_available_rooms already use).","operationId":"get_reservation_grid_api_vendor_properties__property_id__reservation_calendar_grid_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"start_date","in":"query","required":true,"schema":{"type":"string","title":"Start Date"}},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","title":"End Date"}},{"name":"room_type_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/reservation-calendar/bookings/{booking_id}/reschedule":{"patch":{"tags":["Vendor Reservation Calendar"],"summary":"Reschedule Booking","operationId":"reschedule_booking_api_vendor_properties__property_id__reservation_calendar_bookings__booking_id__reschedule_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RescheduleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/resources":{"get":{"tags":["Vendor Resources"],"summary":"List Resources","operationId":"list_resources_api_vendor_resources_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Vendor Resources"],"summary":"Create Resource","operationId":"create_resource_api_vendor_resources_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/resources/{resource_id}":{"patch":{"tags":["Vendor Resources"],"summary":"Update Resource","operationId":"update_resource_api_vendor_resources__resource_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"resource_id","in":"path","required":true,"schema":{"type":"string","title":"Resource Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Resources"],"summary":"Delete Resource","operationId":"delete_resource_api_vendor_resources__resource_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"resource_id","in":"path","required":true,"schema":{"type":"string","title":"Resource Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/resources/assignments":{"get":{"tags":["Vendor Resources"],"summary":"List All Assignments","description":"Vendor-wide assignments, optionally scoped to a date range, with\nresource names resolved - lets a trip/session list page show assigned\nresources per row with one call instead of N+1 (same batch-lookup\nshape vendor_schedule.py already uses internally).","operationId":"list_all_assignments_api_vendor_resources_assignments_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/resources/{resource_id}/assignments":{"get":{"tags":["Vendor Resources"],"summary":"List Resource Assignments","operationId":"list_resource_assignments_api_vendor_resources__resource_id__assignments_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"resource_id","in":"path","required":true,"schema":{"type":"string","title":"Resource Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Vendor Resources"],"summary":"Create Resource Assignment","operationId":"create_resource_assignment_api_vendor_resources__resource_id__assignments_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"resource_id","in":"path","required":true,"schema":{"type":"string","title":"Resource Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceAssignmentCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/resources/assignments/{assignment_id}":{"delete":{"tags":["Vendor Resources"],"summary":"Delete Resource Assignment","operationId":"delete_resource_assignment_api_vendor_resources_assignments__assignment_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/schedule":{"get":{"tags":["Vendor Schedule"],"summary":"Get Schedule","operationId":"get_schedule_api_vendor_schedule_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"date_from","in":"query","required":true,"schema":{"type":"string","title":"Date From"}},{"name":"date_to","in":"query","required":true,"schema":{"type":"string","title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/logistics-events":{"get":{"tags":["Vendor Logistics"],"summary":"List Logistics Events","operationId":"list_logistics_events_api_vendor_properties__property_id__logistics_events_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date To"}},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"exceptions_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Exceptions Only"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Vendor Logistics"],"summary":"Create Logistics Event","operationId":"create_logistics_event_api_vendor_properties__property_id__logistics_events_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogisticsEventCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/bookings/{booking_id}/logistics-events":{"get":{"tags":["Vendor Logistics"],"summary":"List Booking Logistics Events","description":"Powers LogisticsSummary.jsx - a single booking's own events.\nReachable by both vendors and admins (LogisticsSummary.jsx renders in\nboth AdminBookings.jsx and VendorBookings.jsx), so this uses\nverify_vendor_matches's dual-access pattern instead of\nget_own_vendor_context, which would 404 for an admin caller (no\nvendor profile of their own to resolve).","operationId":"list_booking_logistics_events_api_vendor_bookings__booking_id__logistics_events_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/logistics-events/{event_id}":{"patch":{"tags":["Vendor Logistics"],"summary":"Update Logistics Event","operationId":"update_logistics_event_api_vendor_logistics_events__event_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogisticsEventUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Vendor Logistics"],"summary":"Delete Logistics Event","operationId":"delete_logistics_event_api_vendor_logistics_events__event_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/logistics-events/{event_id}/acknowledge":{"post":{"tags":["Vendor Logistics"],"summary":"Acknowledge Logistics Event","operationId":"acknowledge_logistics_event_api_vendor_logistics_events__event_id__acknowledge_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/booking-groups":{"post":{"tags":["Admin Booking Groups"],"summary":"Create Booking Group","operationId":"create_booking_group_api_admin_booking_groups_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingGroupCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Admin Booking Groups"],"summary":"List Booking Groups","operationId":"list_booking_groups_api_admin_booking_groups_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/booking-groups/{group_id}":{"get":{"tags":["Admin Booking Groups"],"summary":"Get Booking Group","operationId":"get_booking_group_api_admin_booking_groups__group_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Admin Booking Groups"],"summary":"Delete Booking Group","operationId":"delete_booking_group_api_admin_booking_groups__group_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/booking-groups/{group_id}/bookings":{"post":{"tags":["Admin Booking Groups"],"summary":"Attach Booking","operationId":"attach_booking_api_admin_booking_groups__group_id__bookings_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachBookingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/booking-groups/{group_id}/bookings/{booking_id}":{"delete":{"tags":["Admin Booking Groups"],"summary":"Detach Booking","operationId":"detach_booking_api_admin_booking_groups__group_id__bookings__booking_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","title":"Group Id"}},{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/search":{"get":{"tags":["Vendor Search"],"summary":"Global Search","description":"Vendor-scoped search across bookings (by reference/guest name/email)\nand rooms (by room number), capped and grouped by type.","operationId":"global_search_api_vendor_search_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/vendor/properties/{property_id}/walk-in-booking":{"post":{"tags":["Vendor Walk-in Bookings"],"summary":"Create Walk In Booking","operationId":"create_walk_in_booking_api_vendor_properties__property_id__walk_in_booking_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalkInBookingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/widget/property/{property_id}":{"get":{"tags":["Booking Widget"],"summary":"Get Property Widget","operationId":"get_property_widget_api_widget_property__property_id__get","parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/v1/devices/register":{"post":{"tags":["Mobile"],"summary":"Register Device","description":"Register (or move to the current user) an Expo push token for one\nof the two mobile apps. Call on login and again whenever the app\ndetects its push token has changed.","operationId":"register_device_api_mobile_v1_devices_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceTokenRegisterRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/mobile/v1/devices/{expo_push_token}":{"delete":{"tags":["Mobile"],"summary":"Unregister Device","description":"Stop sending push to this token - call on logout. Scoped to the\ncaller's own token only, so one user can never unregister another's\ndevice.","operationId":"unregister_device_api_mobile_v1_devices__expo_push_token__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"expo_push_token","in":"path","required":true,"schema":{"type":"string","title":"Expo Push Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AcceptInvitationRequest":{"properties":{"token":{"type":"string","title":"Token"},"password":{"type":"string","minLength":8,"title":"Password"},"accepted_terms":{"type":"boolean","title":"Accepted Terms","default":false},"confirmed_adult":{"type":"boolean","title":"Confirmed Adult","default":false}},"type":"object","required":["token","password"],"title":"AcceptInvitationRequest"},"AcceptLegalRequest":{"properties":{"accepted_terms":{"type":"boolean","title":"Accepted Terms","default":false},"confirmed_adult":{"type":"boolean","title":"Confirmed Adult","default":false}},"type":"object","title":"AcceptLegalRequest"},"Accommodation":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"location":{"type":"string","title":"Location"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"nights":{"type":"integer","title":"Nights"},"room_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type"}},"type":"object","required":["name","type","location","nights"],"title":"Accommodation","description":"Accommodation details included in package."},"AdminServiceSwitch":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","required":["enabled"],"title":"AdminServiceSwitch"},"AgentBusinessDetails-Output":{"properties":{"registration_number":{"type":"string","title":"Registration Number"},"agency_license_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agency License Number"},"tax_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Id"},"address":{"type":"string","title":"Address"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"established_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Established Year"}},"type":"object","required":["registration_number","address"],"title":"AgentBusinessDetails"},"AgentBusinessType":{"type":"string","enum":["travel_agency","tour_operator","online_travel_agency","corporate_travel","freelance_agent","hospitality_partner"],"title":"AgentBusinessType"},"AgentCommissionUpdate":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"commission_rate":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Commission Rate"},"is_commission_active":{"type":"boolean","title":"Is Commission Active","default":true},"credit_terms":{"anyOf":[{"type":"integer","maximum":180.0,"minimum":1.0},{"type":"null"}],"title":"Credit Terms"},"rate_terms":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Rate Terms"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["agent_id","commission_rate"],"title":"AgentCommissionUpdate"},"AgentContactPerson":{"properties":{"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","format":"email","title":"Email"},"phone":{"type":"string","title":"Phone"},"position":{"type":"string","title":"Position"}},"type":"object","required":["full_name","email","phone","position"],"title":"AgentContactPerson"},"AgentCreate":{"properties":{"business_name":{"type":"string","title":"Business Name"},"business_type":{"$ref":"#/components/schemas/AgentBusinessType"},"contact_person":{"$ref":"#/components/schemas/AgentContactPerson"},"business_details":{"$ref":"#/components/schemas/models__agent__AgentBusinessDetails"}},"type":"object","required":["business_name","business_type","contact_person","business_details"],"title":"AgentCreate"},"AgentDetailResponse":{"properties":{"id":{"type":"string","title":"Id"},"business_name":{"type":"string","title":"Business Name"},"business_type":{"$ref":"#/components/schemas/AgentBusinessType"},"verification_status":{"$ref":"#/components/schemas/AgentVerificationStatus"},"contact_person":{"$ref":"#/components/schemas/AgentContactPerson"},"business_details":{"$ref":"#/components/schemas/AgentBusinessDetails-Output"},"commission_rate":{"type":"number","title":"Commission Rate"},"is_commission_active":{"type":"boolean","title":"Is Commission Active"},"credit_terms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credit Terms"},"rate_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rate Terms"},"is_active":{"type":"boolean","title":"Is Active"},"total_bookings":{"type":"integer","title":"Total Bookings"},"total_commission_earned":{"type":"number","title":"Total Commission Earned"},"current_balance":{"type":"number","title":"Current Balance"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"documents":{"items":{"$ref":"#/components/schemas/AgentDocument-Output"},"type":"array","title":"Documents"},"total_commission_paid":{"type":"number","title":"Total Commission Paid"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"}},"type":"object","required":["id","business_name","business_type","verification_status","contact_person","business_details","commission_rate","is_commission_active","is_active","total_bookings","total_commission_earned","current_balance","created_at","documents","total_commission_paid"],"title":"AgentDetailResponse"},"AgentDocument-Input":{"properties":{"type":{"type":"string","title":"Type"},"url":{"type":"string","title":"Url"},"filename":{"type":"string","title":"Filename"},"uploaded_at":{"type":"string","title":"Uploaded At"}},"type":"object","required":["type","url","filename","uploaded_at"],"title":"AgentDocument"},"AgentDocument-Output":{"properties":{"type":{"$ref":"#/components/schemas/AgentDocumentType"},"url":{"type":"string","title":"Url"},"filename":{"type":"string","title":"Filename"},"uploaded_at":{"type":"string","format":"date-time","title":"Uploaded At"},"verified":{"type":"boolean","title":"Verified","default":false},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["type","url","filename"],"title":"AgentDocument"},"AgentDocumentType":{"type":"string","enum":["business_license","agency_operating_license","tax_certificate","tourism_license","insurance_certificate","bank_statement","identity_document"],"title":"AgentDocumentType"},"AgentRegistrationSubmit":{"properties":{"business_name":{"type":"string","title":"Business Name"},"business_type":{"type":"string","title":"Business Type"},"contact_person":{"$ref":"#/components/schemas/AgentContactPerson"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"phone":{"type":"string","title":"Phone"},"business_details":{"$ref":"#/components/schemas/routes__agent_registration__AgentBusinessDetails"},"documents":{"items":{"$ref":"#/components/schemas/AgentDocument-Input"},"type":"array","title":"Documents"},"accepted_terms":{"type":"boolean","title":"Accepted Terms","default":false},"confirmed_adult":{"type":"boolean","title":"Confirmed Adult","default":false}},"type":"object","required":["business_name","business_type","contact_person","email","password","phone","business_details","documents"],"title":"AgentRegistrationSubmit"},"AgentRejectionRequest":{"properties":{"rejection_reason":{"type":"string","title":"Rejection Reason"}},"type":"object","required":["rejection_reason"],"title":"AgentRejectionRequest"},"AgentResponse":{"properties":{"id":{"type":"string","title":"Id"},"business_name":{"type":"string","title":"Business Name"},"business_type":{"$ref":"#/components/schemas/AgentBusinessType"},"verification_status":{"$ref":"#/components/schemas/AgentVerificationStatus"},"contact_person":{"$ref":"#/components/schemas/AgentContactPerson"},"business_details":{"$ref":"#/components/schemas/AgentBusinessDetails-Output"},"commission_rate":{"type":"number","title":"Commission Rate"},"is_commission_active":{"type":"boolean","title":"Is Commission Active"},"credit_terms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credit Terms"},"rate_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rate Terms"},"is_active":{"type":"boolean","title":"Is Active"},"total_bookings":{"type":"integer","title":"Total Bookings"},"total_commission_earned":{"type":"number","title":"Total Commission Earned"},"current_balance":{"type":"number","title":"Current Balance"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","business_name","business_type","verification_status","contact_person","business_details","commission_rate","is_commission_active","is_active","total_bookings","total_commission_earned","current_balance","created_at"],"title":"AgentResponse"},"AgentVerificationRequest":{"properties":{"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"}},"type":"object","title":"AgentVerificationRequest"},"AgentVerificationStatus":{"type":"string","enum":["pending","under_review","verified","rejected","suspended"],"title":"AgentVerificationStatus"},"Amenities":{"properties":{"most_popular":{"items":{"$ref":"#/components/schemas/Amenity"},"type":"array","title":"Most Popular"},"activities":{"items":{"$ref":"#/components/schemas/Amenity"},"type":"array","title":"Activities"},"pool_wellness":{"items":{"$ref":"#/components/schemas/Amenity"},"type":"array","title":"Pool Wellness"}},"type":"object","required":["most_popular","activities","pool_wellness"],"title":"Amenities"},"Amenity":{"properties":{"name":{"type":"string","title":"Name"},"additional_charge":{"type":"boolean","title":"Additional Charge","default":false}},"type":"object","required":["name"],"title":"Amenity"},"ApprovalStatus":{"type":"string","enum":["pending","approved","declined"],"title":"ApprovalStatus"},"AttachBookingRequest":{"properties":{"booking_id":{"type":"string","title":"Booking Id"}},"type":"object","required":["booking_id"],"title":"AttachBookingRequest"},"AvailabilityCheckRequest":{"properties":{"property_id":{"type":"string","title":"Property Id"},"room_type_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id"},"check_in_date":{"type":"string","format":"date","title":"Check In Date"},"check_out_date":{"type":"string","format":"date","title":"Check Out Date"},"rooms_needed":{"type":"integer","minimum":1.0,"title":"Rooms Needed"},"guests":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Guests"}},"type":"object","required":["property_id","check_in_date","check_out_date","rooms_needed"],"title":"AvailabilityCheckRequest","description":"Request to check availability for booking."},"AvailabilityCheckResponse":{"properties":{"available":{"type":"boolean","title":"Available"},"rooms_available":{"type":"integer","title":"Rooms Available","default":0},"total_nights":{"type":"integer","title":"Total Nights"},"rate_breakdown":{"additionalProperties":true,"type":"object","title":"Rate Breakdown"},"conflicts":{"items":{"$ref":"#/components/schemas/BookingConflict"},"type":"array","title":"Conflicts"},"min_stay_violation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min Stay Violation"},"max_stay_violation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Max Stay Violation"},"alternative_dates":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Alternative Dates"}},"type":"object","required":["available","total_nights"],"title":"AvailabilityCheckResponse","description":"Response for availability check."},"AvailabilityCreateRequest":{"properties":{"property_id":{"type":"string","title":"Property Id"},"room_type_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id"},"room_type_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Name"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"rooms_total":{"type":"integer","minimum":1.0,"title":"Rooms Total"},"base_rate":{"type":"number","exclusiveMinimum":0.0,"title":"Base Rate"},"min_nights":{"type":"integer","minimum":1.0,"title":"Min Nights","default":1},"max_nights":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Nights"}},"type":"object","required":["property_id","date_from","date_to","rooms_total","base_rate"],"title":"AvailabilityCreateRequest","description":"Request to create/update availability."},"AvailabilityStatus":{"type":"string","enum":["available","blocked","sold_out","on_request"],"title":"AvailabilityStatus","description":"Availability status for a date."},"BlockDatesRequest":{"properties":{"property_id":{"type":"string","title":"Property Id"},"room_type_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"block_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Block Reason","default":"Blocked by vendor"}},"type":"object","required":["property_id","date_from","date_to"],"title":"BlockDatesRequest","description":"Request to block specific dates."},"BlogPostCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"content":{"type":"string","minLength":1,"title":"Content"},"excerpt":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Excerpt"},"featured_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Featured Image"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","default":[]},"status":{"$ref":"#/components/schemas/BlogStatus","default":"draft"},"seo_meta":{"anyOf":[{"$ref":"#/components/schemas/SEOMeta"},{"type":"null"}]},"publish_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publish Date"},"is_featured":{"type":"boolean","title":"Is Featured","default":false}},"type":"object","required":["title","content"],"title":"BlogPostCreate"},"BlogPostListItem":{"properties":{"post_id":{"type":"string","title":"Post Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"featured_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Featured Image"},"author_name":{"type":"string","title":"Author Name"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"status":{"$ref":"#/components/schemas/BlogStatus"},"views":{"type":"integer","title":"Views","default":0},"publish_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publish Date"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"is_featured":{"type":"boolean","title":"Is Featured","default":false}},"type":"object","required":["post_id","title","slug","author_name","status","created_at","updated_at"],"title":"BlogPostListItem"},"BlogPostResponse":{"properties":{"post_id":{"type":"string","title":"Post Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"content":{"type":"string","title":"Content"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"featured_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Featured Image"},"author_id":{"type":"string","title":"Author Id"},"author_name":{"type":"string","title":"Author Name"},"author_email":{"type":"string","title":"Author Email"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"status":{"$ref":"#/components/schemas/BlogStatus"},"seo_meta":{"anyOf":[{"$ref":"#/components/schemas/SEOMeta"},{"type":"null"}]},"views":{"type":"integer","title":"Views","default":0},"publish_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publish Date"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"is_featured":{"type":"boolean","title":"Is Featured","default":false}},"type":"object","required":["post_id","title","slug","content","author_id","author_name","author_email","status","created_at","updated_at"],"title":"BlogPostResponse"},"BlogPostUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"featured_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Featured Image"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"status":{"anyOf":[{"$ref":"#/components/schemas/BlogStatus"},{"type":"null"}]},"seo_meta":{"anyOf":[{"$ref":"#/components/schemas/SEOMeta"},{"type":"null"}]},"publish_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publish Date"},"is_featured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Featured"}},"type":"object","title":"BlogPostUpdate"},"BlogPostsListResponse":{"properties":{"posts":{"items":{"$ref":"#/components/schemas/BlogPostListItem"},"type":"array","title":"Posts"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"pages":{"type":"integer","title":"Pages"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]}},"type":"object","required":["posts","total","page","pages"],"title":"BlogPostsListResponse"},"BlogStatus":{"type":"string","enum":["draft","published","archived"],"title":"BlogStatus"},"Body_upload_agent_document_api_agent_documents_upload_post":{"properties":{"document_type":{"$ref":"#/components/schemas/AgentDocumentType"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["document_type","file"],"title":"Body_upload_agent_document_api_agent_documents_upload_post"},"Body_upload_blog_image_api_blog_admin_upload_image_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_blog_image_api_blog_admin_upload_image_post"},"Body_upload_document_temp_api_agent_registration_upload_document_temp_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"document_type":{"type":"string","title":"Document Type"}},"type":"object","required":["file","document_type"],"title":"Body_upload_document_temp_api_agent_registration_upload_document_temp_post"},"Body_upload_kyc_document_api_vendor_documents_upload_post":{"properties":{"document_type":{"$ref":"#/components/schemas/DocumentType"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["document_type","file"],"title":"Body_upload_kyc_document_api_vendor_documents_upload_post"},"Body_upload_kyc_document_api_vendor_registration_upload_kyc__registration_id__post":{"properties":{"document_type":{"type":"string","title":"Document Type"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["document_type","file"],"title":"Body_upload_kyc_document_api_vendor_registration_upload_kyc__registration_id__post"},"Body_upload_kyc_document_temp_api_vendor_registration_upload_kyc_temp_post":{"properties":{"document_type":{"type":"string","title":"Document Type"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["document_type","file"],"title":"Body_upload_kyc_document_temp_api_vendor_registration_upload_kyc_temp_post"},"Body_upload_media_api_admin_media_upload_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"},"category":{"type":"string","title":"Category","default":"general"}},"type":"object","required":["files"],"title":"Body_upload_media_api_admin_media_upload_post"},"Body_upload_media_file_api_vendor_registration_upload_media__registration_id__post":{"properties":{"media_type":{"type":"string","title":"Media Type"},"category":{"type":"string","title":"Category"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["media_type","category","file"],"title":"Body_upload_media_file_api_vendor_registration_upload_media__registration_id__post"},"Body_upload_media_file_temp_api_vendor_registration_upload_media_temp_post":{"properties":{"media_type":{"type":"string","title":"Media Type"},"category":{"type":"string","title":"Category"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["media_type","category","file"],"title":"Body_upload_media_file_temp_api_vendor_registration_upload_media_temp_post"},"Body_upload_profile_photo_api_auth_profile_photo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_profile_photo_api_auth_profile_photo_post"},"Body_upload_property_image_api_admin_properties_upload_image_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"},"category":{"type":"string","title":"Category","default":"property_images"}},"type":"object","required":["file"],"title":"Body_upload_property_image_api_admin_properties_upload_image_post"},"Body_upload_property_media_api_vendor_media_upload_post":{"properties":{"property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"},"category":{"type":"string","title":"Category","default":"property_images"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_property_media_api_vendor_media_upload_post"},"BookingConflict":{"properties":{"conflict_type":{"type":"string","title":"Conflict Type","description":"Type of conflict"},"message":{"type":"string","title":"Message","description":"Human readable conflict message"},"details":{"additionalProperties":true,"type":"object","title":"Details","description":"Conflict details"},"suggested_alternatives":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Suggested Alternatives"}},"type":"object","required":["conflict_type","message"],"title":"BookingConflict","description":"Booking conflict information."},"BookingGroupCreateRequest":{"properties":{"group_name":{"type":"string","maxLength":200,"minLength":1,"title":"Group Name"},"organizer_name":{"type":"string","title":"Organizer Name"},"organizer_email":{"type":"string","title":"Organizer Email"},"organizer_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organizer Phone"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["group_name","organizer_name","organizer_email"],"title":"BookingGroupCreateRequest"},"BookingIntentAttach":{"properties":{"session_id":{"type":"string","title":"Session Id"},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"type":"object","required":["session_id"],"title":"BookingIntentAttach"},"BookingIntentCreate":{"properties":{"session_id":{"type":"string","maxLength":100,"minLength":8,"title":"Session Id"},"intent_type":{"type":"string","enum":["stay","transport","package","excursion"],"title":"Intent Type"},"item_id":{"type":"string","title":"Item Id"},"item_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Name"},"return_url":{"type":"string","title":"Return Url"},"context_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context Data"}},"type":"object","required":["session_id","intent_type","item_id","return_url"],"title":"BookingIntentCreate"},"BookingIntentResponse":{"properties":{"intent_id":{"type":"string","title":"Intent Id"},"session_id":{"type":"string","title":"Session Id"},"intent_type":{"type":"string","enum":["stay","transport","package","excursion"],"title":"Intent Type"},"item_id":{"type":"string","title":"Item Id"},"item_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Name"},"return_url":{"type":"string","title":"Return Url"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"status":{"type":"string","enum":["pending","completed","reminded","dismissed"],"title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"reminder_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reminder Sent At"}},"type":"object","required":["intent_id","session_id","intent_type","item_id","return_url","status","created_at","updated_at"],"title":"BookingIntentResponse"},"BookingIntentsList":{"properties":{"intents":{"items":{"$ref":"#/components/schemas/BookingIntentResponse"},"type":"array","title":"Intents"},"total":{"type":"integer","title":"Total"},"pending":{"type":"integer","title":"Pending"},"reminded":{"type":"integer","title":"Reminded"}},"type":"object","required":["intents","total","pending","reminded"],"title":"BookingIntentsList"},"BookingRecordRequest":{"properties":{"booking_id":{"type":"string","title":"Booking Id"},"booking_amount":{"type":"number","title":"Booking Amount"}},"type":"object","required":["booking_id","booking_amount"],"title":"BookingRecordRequest"},"BookingRequest":{"properties":{"property_id":{"type":"string","title":"Property Id"},"check_in_date":{"type":"string","title":"Check In Date"},"check_out_date":{"type":"string","title":"Check Out Date"},"adults":{"type":"integer","minimum":1.0,"title":"Adults"},"children":{"type":"integer","minimum":0.0,"title":"Children","default":0},"child_ages":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Child Ages","description":"Ages of each child. Children <2 are Green-Tax exempt per MIRA."},"rooms":{"items":{"$ref":"#/components/schemas/RoomSelection"},"type":"array","title":"Rooms"},"guest_details":{"$ref":"#/components/schemas/GuestDetails"},"origin_url":{"type":"string","title":"Origin Url"},"coupon_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coupon Code"}},"type":"object","required":["property_id","check_in_date","check_out_date","adults","rooms","guest_details","origin_url"],"title":"BookingRequest"},"BookingStatus":{"type":"string","enum":["draft","pending_payment","confirmed","checked_in","checked_out","cancelled","no_show"],"title":"BookingStatus"},"BookingStatusUpdate":{"properties":{"status":{"$ref":"#/components/schemas/BookingStatus"}},"type":"object","required":["status"],"title":"BookingStatusUpdate"},"BulkCreateSessionsRequest":{"properties":{"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"departure_times":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Departure Times"},"days_of_week":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Days Of Week"},"capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Capacity"},"guide_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guide Name"},"resources":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Resources"}},"type":"object","required":["date_from","date_to","departure_times"],"title":"BulkCreateSessionsRequest"},"BulkCreateTripsRequest":{"properties":{"route_index":{"type":"integer","title":"Route Index"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"departure_times":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Departure Times"},"days_of_week":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Days Of Week"}},"type":"object","required":["route_index","date_from","date_to","departure_times"],"title":"BulkCreateTripsRequest"},"BulkEmailVendorInvoicesRequest":{"properties":{"period_yyyymm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Yyyymm"},"vendor_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Vendor Ids"},"skip_already_emailed":{"type":"boolean","title":"Skip Already Emailed","default":true},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"BulkEmailVendorInvoicesRequest"},"BulkModerationAction":{"properties":{"review_ids":{"items":{"type":"string"},"type":"array","title":"Review Ids"},"action":{"type":"string","title":"Action"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["review_ids","action"],"title":"BulkModerationAction"},"BusinessDetails":{"properties":{"registration_number":{"type":"string","title":"Registration Number"},"tax_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Id"},"address":{"type":"string","title":"Address"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"established_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Established Year"}},"type":"object","required":["registration_number","address"],"title":"BusinessDetails"},"CalendarResponse":{"properties":{"property_id":{"type":"string","title":"Property Id"},"room_type_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id"},"room_type_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Name"},"month":{"type":"string","title":"Month","description":"YYYY-MM format"},"availability":{"items":{"$ref":"#/components/schemas/PropertyAvailability"},"type":"array","title":"Availability"},"rate_overrides":{"items":{"$ref":"#/components/schemas/RateOverride"},"type":"array","title":"Rate Overrides","default":[]},"total_days":{"type":"integer","title":"Total Days"},"blocked_days":{"type":"integer","title":"Blocked Days"},"available_days":{"type":"integer","title":"Available Days"},"sold_out_days":{"type":"integer","title":"Sold Out Days"}},"type":"object","required":["property_id","month","availability","total_days","blocked_days","available_days","sold_out_days"],"title":"CalendarResponse","description":"Calendar view response for vendors."},"ChannelConnectionCreateRequest":{"properties":{"property_id":{"type":"string","title":"Property Id"},"room_type_id":{"type":"string","title":"Room Type Id"},"channel_name":{"type":"string","maxLength":100,"minLength":1,"title":"Channel Name"},"ical_import_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ical Import Url"}},"type":"object","required":["property_id","room_type_id","channel_name"],"title":"ChannelConnectionCreateRequest"},"ChannelConnectionUpdateRequest":{"properties":{"channel_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Name"},"ical_import_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ical Import Url"},"blackout_dates":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Blackout Dates"},"publish_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Publish Enabled"}},"type":"object","title":"ChannelConnectionUpdateRequest"},"ChannelManagerConnectionCreateRequest":{"properties":{"provider":{"type":"string","title":"Provider"},"external_property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Property Id"},"credentials":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Credentials"}},"type":"object","required":["provider"],"title":"ChannelManagerConnectionCreateRequest"},"ContactPerson":{"properties":{"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","format":"email","title":"Email"},"phone":{"type":"string","title":"Phone"},"position":{"type":"string","title":"Position"}},"type":"object","required":["full_name","email","phone","position"],"title":"ContactPerson"},"CouponCreate":{"properties":{"code":{"type":"string","maxLength":32,"minLength":3,"title":"Code"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"discount_type":{"$ref":"#/components/schemas/DiscountType"},"value":{"type":"number","exclusiveMinimum":0.0,"title":"Value"},"max_discount_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Discount Amount"},"min_subtotal":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Min Subtotal"},"applicable_product_types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Applicable Product Types","description":"stay, package, excursion, transport. None/empty = all."},"max_redemptions":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Redemptions"},"max_redemptions_per_user":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Redemptions Per User"},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Until"},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["code","discount_type","value"],"title":"CouponCreate"},"CouponResponse":{"properties":{"id":{"type":"string","title":"Id"},"code":{"type":"string","title":"Code"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"discount_type":{"$ref":"#/components/schemas/DiscountType"},"value":{"type":"number","title":"Value"},"max_discount_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Discount Amount"},"min_subtotal":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Subtotal"},"applicable_product_types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Applicable Product Types"},"max_redemptions":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Redemptions"},"max_redemptions_per_user":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Redemptions Per User"},"current_redemptions":{"type":"integer","title":"Current Redemptions","default":0},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Until"},"is_active":{"type":"boolean","title":"Is Active","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","code","discount_type","value","created_at"],"title":"CouponResponse"},"CouponUpdate":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"discount_type":{"anyOf":[{"$ref":"#/components/schemas/DiscountType"},{"type":"null"}]},"value":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Value"},"max_discount_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Discount Amount"},"min_subtotal":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Subtotal"},"applicable_product_types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Applicable Product Types"},"max_redemptions":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Redemptions"},"max_redemptions_per_user":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Redemptions Per User"},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Until"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"CouponUpdate"},"CouponValidateRequest":{"properties":{"code":{"type":"string","title":"Code"},"product_type":{"type":"string","title":"Product Type"},"subtotal":{"type":"number","exclusiveMinimum":0.0,"title":"Subtotal"},"customer_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Email"}},"type":"object","required":["code","product_type","subtotal"],"title":"CouponValidateRequest"},"CreateCancellationRequestBody":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["reason"],"title":"CreateCancellationRequestBody"},"Currency":{"type":"string","enum":["USD","EUR","GBP","MVR"],"title":"Currency"},"CurrencyConversion":{"properties":{"amount":{"type":"number","title":"Amount"},"from_currency":{"type":"string","title":"From Currency","default":"USD"},"to_currency":{"type":"string","title":"To Currency"}},"type":"object","required":["amount","to_currency"],"title":"CurrencyConversion","description":"Currency conversion request"},"CurrencyConversionResponse":{"properties":{"original_amount":{"type":"number","title":"Original Amount"},"original_currency":{"type":"string","title":"Original Currency"},"converted_amount":{"type":"number","title":"Converted Amount"},"converted_currency":{"type":"string","title":"Converted Currency"},"exchange_rate":{"type":"number","title":"Exchange Rate"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"}},"type":"object","required":["original_amount","original_currency","converted_amount","converted_currency","exchange_rate","timestamp"],"title":"CurrencyConversionResponse","description":"Currency conversion response"},"DeleteAccountRequest":{"properties":{"password":{"type":"string","minLength":1,"title":"Password"},"confirm":{"type":"string","minLength":1,"title":"Confirm"}},"type":"object","required":["password","confirm"],"title":"DeleteAccountRequest"},"Destination":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"image":{"type":"string","title":"Image"},"properties_count":{"type":"integer","title":"Properties Count","default":0},"featured":{"type":"boolean","title":"Featured","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["name","description","image"],"title":"Destination"},"DeviceTokenRegisterRequest":{"properties":{"expo_push_token":{"type":"string","minLength":1,"title":"Expo Push Token"},"platform":{"type":"string","enum":["ios","android"],"title":"Platform"},"app":{"type":"string","enum":["customer","vendor"],"title":"App"}},"type":"object","required":["expo_push_token","platform","app"],"title":"DeviceTokenRegisterRequest"},"DiscountType":{"type":"string","enum":["percentage","fixed"],"title":"DiscountType"},"DismissCancellationRequestBody":{"properties":{"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"DismissCancellationRequestBody"},"DocumentType":{"type":"string","enum":["business_license","tax_certificate","tourism_license","insurance_certificate","bank_statement","identity_document"],"title":"DocumentType"},"EmailInvoiceRequest":{"properties":{"to_emails":{"anyOf":[{"items":{"type":"string","format":"email"},"type":"array"},{"type":"null"}],"title":"To Emails"},"cc_emails":{"anyOf":[{"items":{"type":"string","format":"email"},"type":"array"},{"type":"null"}],"title":"Cc Emails"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"EmailInvoiceRequest"},"EmailTemplateOverrideUpsertRequest":{"properties":{"subject_override":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Override"},"intro_override":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intro Override"}},"type":"object","title":"EmailTemplateOverrideUpsertRequest"},"EmailVerification":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"EmailVerification"},"EmailVerificationConfirm":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"EmailVerificationConfirm"},"EnhancedProperty":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"location":{"type":"string","title":"Location"},"coordinates":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Coordinates"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"island":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Island"},"atoll":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Atoll"},"country":{"type":"string","title":"Country","default":"Maldives"},"property_type":{"type":"string","title":"Property Type"},"star_rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Star Rating"},"images":{"$ref":"#/components/schemas/PropertyImages"},"facilities":{"items":{"$ref":"#/components/schemas/PropertyFacility"},"type":"array","title":"Facilities","default":[]},"room_types":{"items":{"$ref":"#/components/schemas/RoomType"},"type":"array","title":"Room Types","default":[]},"price_per_night":{"type":"number","title":"Price Per Night"},"currency":{"type":"string","title":"Currency","default":"USD"},"house_rules":{"items":{"$ref":"#/components/schemas/models__property_enhanced__HouseRule"},"type":"array","title":"House Rules","default":[]},"check_in_time":{"type":"string","format":"time","title":"Check In Time","default":"14:00:00"},"check_out_time":{"type":"string","format":"time","title":"Check Out Time","default":"12:00:00"},"cancellation_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Policy"},"child_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Child Policy"},"pet_policy":{"type":"string","title":"Pet Policy","default":"Pets are not allowed"},"smoking_policy":{"type":"string","title":"Smoking Policy","default":"Smoking is not allowed"},"accepted_payment_methods":{"items":{"type":"string"},"type":"array","title":"Accepted Payment Methods","default":["visa","mastercard","amex","discover"]},"surroundings":{"items":{"$ref":"#/components/schemas/PropertySurrounding"},"type":"array","title":"Surroundings","default":[]},"languages_spoken":{"items":{"type":"string"},"type":"array","title":"Languages Spoken","default":["English"]},"highlights":{"items":{"type":"string"},"type":"array","title":"Highlights","default":[]},"fine_print":{"items":{"type":"string"},"type":"array","title":"Fine Print","default":[]},"overall_rating":{"type":"number","title":"Overall Rating","default":0.0},"review_count":{"type":"integer","title":"Review Count","default":0},"rating_breakdown":{"additionalProperties":{"type":"number"},"type":"object","title":"Rating Breakdown","default":{"cleanliness":0.0,"comfort":0.0,"location":0.0,"facilities":0.0,"staff":0.0,"value":0.0,"wifi":0.0}},"genius_discount_available":{"type":"boolean","title":"Genius Discount Available","default":false},"free_cancellation":{"type":"boolean","title":"Free Cancellation","default":true},"free_cancellation_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Free Cancellation Until"},"no_prepayment":{"type":"boolean","title":"No Prepayment","default":true},"vendor_id":{"type":"string","title":"Vendor Id"},"managed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Managed By"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"featured":{"type":"boolean","title":"Featured","default":false},"is_active":{"type":"boolean","title":"Is Active","default":true},"verified":{"type":"boolean","title":"Verified","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["name","description","location","property_type","images","price_per_night","vendor_id"],"title":"EnhancedProperty"},"Excursion":{"properties":{"id":{"type":"string","title":"Id"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"short_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Description"},"category":{"type":"string","title":"Category"},"subcategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategory"},"activity_type":{"items":{"type":"string"},"type":"array","title":"Activity Type","default":[]},"operator":{"$ref":"#/components/schemas/ExcursionOperator"},"departure_location":{"type":"string","title":"Departure Location"},"destinations":{"items":{"type":"string"},"type":"array","title":"Destinations","default":[]},"region":{"type":"string","title":"Region"},"location":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Location"},"duration_hours":{"type":"number","title":"Duration Hours"},"duration_display":{"type":"string","title":"Duration Display"},"gallery":{"anyOf":[{"$ref":"#/components/schemas/ExcursionGallery"},{"type":"null"}]},"itinerary":{"items":{"$ref":"#/components/schemas/ExcursionItinerary"},"type":"array","title":"Itinerary","default":[]},"pricing":{"$ref":"#/components/schemas/ExcursionPricing"},"availability":{"anyOf":[{"$ref":"#/components/schemas/ExcursionAvailability"},{"type":"null"}]},"inclusions":{"anyOf":[{"$ref":"#/components/schemas/ExcursionInclusions"},{"type":"null"}]},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"review_count":{"type":"integer","title":"Review Count","default":0},"difficulty_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Difficulty Level"},"age_restrictions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age Restrictions"},"fitness_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fitness Level"},"cancellation_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Policy"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"weather_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weather Policy"},"featured":{"type":"boolean","title":"Featured","default":false},"active":{"type":"boolean","title":"Active","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["name","description","category","operator","departure_location","region","duration_hours","duration_display","pricing"],"title":"Excursion","description":"Main excursion model for marketplace"},"ExcursionAvailability":{"properties":{"available_days":{"items":{"type":"string"},"type":"array","title":"Available Days","default":[]},"departure_times":{"items":{"type":"string"},"type":"array","title":"Departure Times","default":[]},"seasonal_availability":{"anyOf":[{"additionalProperties":{"type":"boolean"},"type":"object"},{"type":"null"}],"title":"Seasonal Availability"},"advance_booking_hours":{"type":"integer","title":"Advance Booking Hours","default":24},"max_booking_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Booking Days","default":365}},"type":"object","title":"ExcursionAvailability","description":"Availability and scheduling"},"ExcursionBookingWithPayment":{"properties":{"excursion_id":{"type":"string","title":"Excursion Id"},"booking_date":{"type":"string","title":"Booking Date"},"departure_time":{"type":"string","title":"Departure Time"},"adults":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Adults","default":1},"children":{"type":"integer","maximum":20.0,"minimum":0.0,"title":"Children","default":0},"child_ages":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Child Ages","description":"Ages of each child (for logistics/safety). Note: Green Tax does not apply to excursions."},"infants":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Infants","default":0},"contact_name":{"type":"string","minLength":1,"title":"Contact Name"},"contact_email":{"type":"string","format":"email","title":"Contact Email"},"contact_phone":{"type":"string","minLength":5,"title":"Contact Phone"},"special_requests":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Special Requests"},"origin_url":{"type":"string","title":"Origin Url"},"coupon_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coupon Code"}},"type":"object","required":["excursion_id","booking_date","departure_time","contact_name","contact_email","contact_phone","origin_url"],"title":"ExcursionBookingWithPayment"},"ExcursionCreateIn":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"short_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Description"},"category":{"type":"string","title":"Category"},"subcategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategory"},"activity_type":{"items":{"type":"string"},"type":"array","title":"Activity Type","default":[]},"operator":{"$ref":"#/components/schemas/ExcursionOperator"},"departure_location":{"type":"string","title":"Departure Location"},"destinations":{"items":{"type":"string"},"type":"array","title":"Destinations","default":[]},"region":{"type":"string","title":"Region"},"duration_hours":{"type":"number","title":"Duration Hours"},"duration_display":{"type":"string","title":"Duration Display"},"gallery":{"anyOf":[{"$ref":"#/components/schemas/ExcursionGallery"},{"type":"null"}]},"itinerary":{"items":{"$ref":"#/components/schemas/ExcursionItinerary"},"type":"array","title":"Itinerary","default":[]},"pricing":{"$ref":"#/components/schemas/ExcursionPricing"},"availability":{"anyOf":[{"$ref":"#/components/schemas/ExcursionAvailability"},{"type":"null"}]},"inclusions":{"anyOf":[{"$ref":"#/components/schemas/ExcursionInclusions"},{"type":"null"}]},"difficulty_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Difficulty Level"},"age_restrictions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age Restrictions"},"fitness_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fitness Level"},"cancellation_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Policy"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"weather_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weather Policy"},"featured":{"type":"boolean","title":"Featured","default":false},"active":{"type":"boolean","title":"Active","default":true}},"type":"object","required":["name","description","category","operator","departure_location","region","duration_hours","duration_display","pricing"],"title":"ExcursionCreateIn"},"ExcursionDetail":{"properties":{"id":{"type":"string","title":"Id"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"short_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Description"},"category":{"type":"string","title":"Category"},"subcategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategory"},"activity_type":{"items":{"type":"string"},"type":"array","title":"Activity Type","default":[]},"operator":{"$ref":"#/components/schemas/ExcursionOperator"},"departure_location":{"type":"string","title":"Departure Location"},"destinations":{"items":{"type":"string"},"type":"array","title":"Destinations","default":[]},"region":{"type":"string","title":"Region"},"location":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Location"},"duration_hours":{"type":"number","title":"Duration Hours"},"duration_display":{"type":"string","title":"Duration Display"},"gallery":{"anyOf":[{"$ref":"#/components/schemas/ExcursionGallery"},{"type":"null"}]},"itinerary":{"items":{"$ref":"#/components/schemas/ExcursionItinerary"},"type":"array","title":"Itinerary","default":[]},"pricing":{"$ref":"#/components/schemas/ExcursionPricing"},"availability":{"anyOf":[{"$ref":"#/components/schemas/ExcursionAvailability"},{"type":"null"}]},"inclusions":{"anyOf":[{"$ref":"#/components/schemas/ExcursionInclusions"},{"type":"null"}]},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"review_count":{"type":"integer","title":"Review Count","default":0},"difficulty_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Difficulty Level"},"age_restrictions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age Restrictions"},"fitness_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fitness Level"},"cancellation_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Policy"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"weather_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weather Policy"},"featured":{"type":"boolean","title":"Featured","default":false},"active":{"type":"boolean","title":"Active","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"effective_cancellation_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Effective Cancellation Tiers"}},"type":"object","required":["name","description","category","operator","departure_location","region","duration_hours","duration_display","pricing"],"title":"ExcursionDetail","description":"GET /excursions/{id}: the excursion plus the cancellation policy that\nis actually enforced. Derived at read time, never stored."},"ExcursionDetails":{"properties":{"excursion_name":{"type":"string","title":"Excursion Name"},"description":{"type":"string","title":"Description"},"duration_hours":{"type":"number","title":"Duration Hours"},"available_times":{"items":{"type":"string"},"type":"array","title":"Available Times"},"max_capacity":{"type":"integer","title":"Max Capacity"},"photos":{"items":{"type":"string"},"type":"array","title":"Photos","default":[]},"videos":{"items":{"type":"string"},"type":"array","title":"Videos","default":[]},"inclusions":{"items":{"type":"string"},"type":"array","title":"Inclusions","default":[]},"exclusions":{"items":{"type":"string"},"type":"array","title":"Exclusions","default":[]}},"type":"object","required":["excursion_name","description","duration_hours","available_times","max_capacity"],"title":"ExcursionDetails"},"ExcursionGallery":{"properties":{"main_image":{"type":"string","title":"Main Image"},"gallery_images":{"items":{"type":"string"},"type":"array","title":"Gallery Images","default":[]},"activity_images":{"items":{"type":"string"},"type":"array","title":"Activity Images","default":[]},"destination_images":{"items":{"type":"string"},"type":"array","title":"Destination Images","default":[]},"photos_360":{"items":{"$ref":"#/components/schemas/ExcursionMedia360Photo"},"type":"array","title":"Photos 360","default":[]},"videos_30s":{"items":{"$ref":"#/components/schemas/ExcursionMediaVideo"},"type":"array","title":"Videos 30S","default":[]}},"type":"object","required":["main_image"],"title":"ExcursionGallery","description":"Enhanced media gallery for excursions"},"ExcursionInclusions":{"properties":{"included":{"items":{"type":"string"},"type":"array","title":"Included","default":[]},"excluded":{"items":{"type":"string"},"type":"array","title":"Excluded","default":[]},"equipment_provided":{"items":{"type":"string"},"type":"array","title":"Equipment Provided","default":[]}},"type":"object","title":"ExcursionInclusions","description":"What's included and excluded"},"ExcursionItinerary":{"properties":{"step":{"type":"integer","title":"Step"},"time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"}},"type":"object","required":["step","title","description"],"title":"ExcursionItinerary","description":"Detailed itinerary for the excursion"},"ExcursionMedia360Photo":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"thumbnail":{"type":"string","title":"Thumbnail"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Type","default":"equirectangular"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},"type":"object","required":["url","thumbnail","title"],"title":"ExcursionMedia360Photo","description":"360-degree photo media for excursions"},"ExcursionMediaVideo":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"thumbnail":{"type":"string","title":"Thumbnail"},"title":{"type":"string","title":"Title"},"duration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duration"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"video_type":{"type":"string","title":"Video Type","default":"mp4"}},"type":"object","required":["url","thumbnail","title"],"title":"ExcursionMediaVideo","description":"Video media for excursions (promotional videos)"},"ExcursionOperator":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"location":{"type":"string","title":"Location"},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"rating_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rating Source"},"total_reviews":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Reviews"},"verified":{"type":"boolean","title":"Verified","default":false}},"type":"object","required":["name","location"],"title":"ExcursionOperator","description":"Tour operator/company information"},"ExcursionPricing":{"properties":{"adult_price":{"type":"number","title":"Adult Price"},"child_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Child Price"},"infant_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Infant Price"},"currency":{"type":"string","title":"Currency","default":"USD"},"min_participants":{"type":"integer","title":"Min Participants","default":1},"max_participants":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Participants"},"group_discounts":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Group Discounts"}},"type":"object","required":["adult_price"],"title":"ExcursionPricing","description":"Pricing structure for excursions"},"ExcursionReviewCreate":{"properties":{"rating":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Rating"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"review_text":{"type":"string","minLength":1,"title":"Review Text"},"reviewer_name":{"type":"string","minLength":1,"title":"Reviewer Name"},"reviewer_location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewer Location"},"value_for_money":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Value For Money"},"organization":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Organization"},"safety":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Safety"}},"type":"object","required":["rating","review_text","reviewer_name"],"title":"ExcursionReviewCreate","description":"What a reviewer may submit. Moderation state, authorship and\nverification are set server-side, never taken from the request."},"ExcursionReviewModeration":{"properties":{"status":{"type":"string","enum":["pending","approved","rejected"],"title":"Status"}},"type":"object","required":["status"],"title":"ExcursionReviewModeration"},"ExcursionReviewPublic":{"properties":{"id":{"type":"string","title":"Id"},"rating":{"type":"integer","title":"Rating"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"review_text":{"type":"string","title":"Review Text"},"reviewer_name":{"type":"string","title":"Reviewer Name"},"reviewer_location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewer Location"},"verified_booking":{"type":"boolean","title":"Verified Booking","default":false},"value_for_money":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value For Money"},"organization":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Organization"},"safety":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Safety"},"travel_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Travel Date"},"helpful_votes":{"type":"integer","title":"Helpful Votes","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","rating","review_text","reviewer_name","created_at"],"title":"ExcursionReviewPublic","description":"A review as visitors see it: no account or booking ids, no moderation\nstate (only approved reviews are returned at all)."},"ExcursionSearch":{"properties":{"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"date":{"type":"null","title":"Date"},"duration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duration"},"min_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Price"},"max_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Price"},"participants":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Participants"},"difficulty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Difficulty"},"featured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Featured"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":20},"offset":{"type":"integer","minimum":0.0,"title":"Offset","default":0}},"type":"object","title":"ExcursionSearch","description":"Search parameters for excursions"},"ExcursionUpdateIn":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"short_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Description"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"subcategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subcategory"},"activity_type":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Activity Type"},"operator":{"anyOf":[{"$ref":"#/components/schemas/ExcursionOperator"},{"type":"null"}]},"departure_location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Location"},"destinations":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Destinations"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"duration_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Hours"},"duration_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duration Display"},"gallery":{"anyOf":[{"$ref":"#/components/schemas/ExcursionGallery"},{"type":"null"}]},"itinerary":{"anyOf":[{"items":{"$ref":"#/components/schemas/ExcursionItinerary"},"type":"array"},{"type":"null"}],"title":"Itinerary"},"pricing":{"anyOf":[{"$ref":"#/components/schemas/ExcursionPricing"},{"type":"null"}]},"availability":{"anyOf":[{"$ref":"#/components/schemas/ExcursionAvailability"},{"type":"null"}]},"inclusions":{"anyOf":[{"$ref":"#/components/schemas/ExcursionInclusions"},{"type":"null"}]},"difficulty_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Difficulty Level"},"age_restrictions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age Restrictions"},"fitness_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fitness Level"},"cancellation_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Policy"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"weather_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weather Policy"},"featured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Featured"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}},"type":"object","title":"ExcursionUpdateIn"},"FAQ":{"properties":{"id":{"type":"string","title":"Id"},"question":{"type":"string","title":"Question"},"answer":{"type":"string","title":"Answer"}},"type":"object","required":["id","question","answer"],"title":"FAQ"},"FAQCreate":{"properties":{"property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"},"question":{"type":"string","title":"Question"},"answer":{"type":"string","title":"Answer"},"category":{"type":"string","title":"Category"},"display_order":{"type":"integer","title":"Display Order","default":0}},"type":"object","required":["question","answer","category"],"title":"FAQCreate"},"FAQUpdate":{"properties":{"question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question"},"answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answer"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"display_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Order"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"FAQUpdate"},"FacilityCategory":{"type":"string","enum":["most_popular","bathroom","bedroom","view","outdoors","kitchen","room_amenities","activities","living_area","media_technology","food_drink","internet","parking","transport","reception_services","entertainment_family","cleaning_services","business_facilities","safety_security","general","accessibility","wellness","languages_spoken"],"title":"FacilityCategory"},"FeaturedToggle":{"properties":{"featured":{"type":"boolean","title":"Featured"}},"type":"object","required":["featured"],"title":"FeaturedToggle"},"FolioChargeCreateRequest":{"properties":{"description":{"type":"string","maxLength":200,"minLength":1,"title":"Description"},"amount":{"type":"number","exclusiveMinimum":0.0,"title":"Amount"}},"type":"object","required":["description","amount"],"title":"FolioChargeCreateRequest"},"FolioChargeVoidRequest":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"FolioChargeVoidRequest"},"Gallery":{"properties":{"main_image":{"type":"string","title":"Main Image"},"gallery_images":{"items":{"type":"string"},"type":"array","title":"Gallery Images"},"photos_360":{"items":{"$ref":"#/components/schemas/GalleryImage"},"type":"array","title":"Photos 360"},"videos_30s":{"items":{"$ref":"#/components/schemas/GalleryImage"},"type":"array","title":"Videos 30S"}},"type":"object","required":["main_image","gallery_images","photos_360","videos_30s"],"title":"Gallery"},"GalleryImage":{"properties":{"url":{"type":"string","title":"Url"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},"type":"object","required":["url"],"title":"GalleryImage"},"GreenTaxBackfillRequest":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"GreenTaxBackfillRequest"},"GuestDetails":{"properties":{"first_name":{"type":"string","minLength":1,"title":"First Name"},"last_name":{"type":"string","minLength":1,"title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"phone":{"type":"string","minLength":5,"title":"Phone"},"country":{"type":"string","minLength":2,"title":"Country"},"special_requests":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Special Requests"},"arrival_flight_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrival Flight Number"},"arrival_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrival Time"}},"type":"object","required":["first_name","last_name","email","phone","country"],"title":"GuestDetails"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Highlight":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"icon":{"type":"string","title":"Icon"}},"type":"object","required":["title","description","icon"],"title":"Highlight"},"Inclusion":{"properties":{"item":{"type":"string","title":"Item"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"}},"type":"object","required":["item"],"title":"Inclusion","description":"Individual inclusion item."},"Itinerary":{"properties":{"day":{"type":"integer","title":"Day"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"activities":{"items":{"type":"string"},"type":"array","title":"Activities","default":[]},"meals":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meals"},"accommodation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accommodation"}},"type":"object","required":["day","title","description"],"title":"Itinerary","description":"Day-by-day itinerary."},"KYCDocument":{"properties":{"document_type":{"type":"string","title":"Document Type"},"file_url":{"type":"string","title":"File Url"},"file_name":{"type":"string","title":"File Name"},"uploaded_at":{"type":"string","title":"Uploaded At"}},"type":"object","required":["document_type","file_url","file_name"],"title":"KYCDocument"},"ListingType":{"type":"string","enum":["stay","excursion","transport"],"title":"ListingType"},"Location":{"properties":{"address":{"type":"string","title":"Address"},"city":{"type":"string","title":"City"},"island":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Island"},"atoll":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Atoll"},"country":{"type":"string","title":"Country"},"coordinates":{"additionalProperties":{"type":"number"},"type":"object","title":"Coordinates"},"distance_to_center":{"type":"string","title":"Distance To Center"},"nearby_attractions":{"items":{"$ref":"#/components/schemas/NearbyAttraction"},"type":"array","title":"Nearby Attractions"},"airport_distance":{"type":"string","title":"Airport Distance"}},"type":"object","required":["address","city","country","coordinates","distance_to_center","nearby_attractions","airport_distance"],"title":"Location"},"LogisticsEventCreateRequest":{"properties":{"booking_id":{"type":"string","title":"Booking Id"},"event_type":{"type":"string","enum":["arrival","departure"],"title":"Event Type"},"transfer_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transfer Mode"},"flight_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flight Number"},"scheduled_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled Date"},"scheduled_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled Time"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["booking_id","event_type"],"title":"LogisticsEventCreateRequest"},"LogisticsEventUpdateRequest":{"properties":{"transfer_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transfer Mode"},"flight_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flight Number"},"scheduled_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled Date"},"scheduled_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled Time"},"status":{"anyOf":[{"type":"string","enum":["scheduled","in_progress","completed","cancelled"]},{"type":"null"}],"title":"Status"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"LogisticsEventUpdateRequest"},"MaintenanceIssueCreateRequest":{"properties":{"issue":{"type":"string","minLength":1,"title":"Issue"},"priority":{"type":"string","enum":["low","medium","high","urgent"],"title":"Priority","default":"medium"},"assignee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["issue"],"title":"MaintenanceIssueCreateRequest"},"MaintenanceIssueUpdateRequest":{"properties":{"issue":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue"},"priority":{"anyOf":[{"type":"string","enum":["low","medium","high","urgent"]},{"type":"null"}],"title":"Priority"},"status":{"anyOf":[{"type":"string","enum":["open","in_progress","resolved"]},{"type":"null"}],"title":"Status"},"assignee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"MaintenanceIssueUpdateRequest"},"MarkPaidPayload":{"properties":{"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method","default":"manual"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"}},"type":"object","title":"MarkPaidPayload"},"Media360In":{"properties":{"type":{"type":"string","enum":["equirectangular","youtube"],"title":"Type","default":"equirectangular"},"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"url":{"type":"string","maxLength":600,"minLength":1,"title":"Url"},"thumbnail":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Thumbnail"},"description":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Description"}},"type":"object","required":["title","url"],"title":"Media360In","description":"Either an equirectangular image OR a YouTube embed."},"Media360Photo":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"thumbnail":{"type":"string","title":"Thumbnail"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Type","default":"equirectangular"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["url","thumbnail","title"],"title":"Media360Photo","description":"360-degree photo media"},"MediaVideo":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"thumbnail":{"type":"string","title":"Thumbnail"},"title":{"type":"string","title":"Title"},"duration":{"type":"string","title":"Duration"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"video_type":{"type":"string","title":"Video Type","default":"mp4"}},"type":"object","required":["url","thumbnail","title","duration"],"title":"MediaVideo","description":"Video media (30 seconds or longer)"},"MessageCreate":{"properties":{"message":{"type":"string","maxLength":5000,"minLength":1,"title":"Message"}},"type":"object","required":["message"],"title":"MessageCreate"},"MinMaxStayRule":{"properties":{"min_nights":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Min Nights","description":"Minimum stay in nights","default":1},"max_nights":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":1.0},{"type":"null"}],"title":"Max Nights","description":"Maximum stay in nights (null = no limit)"},"valid_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Valid From","description":"Rule valid from date"},"valid_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Valid To","description":"Rule valid to date"}},"type":"object","title":"MinMaxStayRule","description":"Minimum and maximum stay rules."},"ModeratorCreate":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","minLength":8,"title":"Password"},"full_name":{"type":"string","maxLength":100,"minLength":1,"title":"Full Name"},"role":{"$ref":"#/components/schemas/ModeratorRole","default":"moderator"},"permissions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Permissions","default":["blog_create","blog_edit","blog_delete"]}},"type":"object","required":["email","password","full_name"],"title":"ModeratorCreate"},"ModeratorListResponse":{"properties":{"moderators":{"items":{"$ref":"#/components/schemas/ModeratorResponse"},"type":"array","title":"Moderators"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"pages":{"type":"integer","title":"Pages"}},"type":"object","required":["moderators","total","page","pages"],"title":"ModeratorListResponse"},"ModeratorResponse":{"properties":{"moderator_id":{"type":"string","title":"Moderator Id"},"email":{"type":"string","title":"Email"},"full_name":{"type":"string","title":"Full Name"},"role":{"$ref":"#/components/schemas/ModeratorRole"},"status":{"$ref":"#/components/schemas/ModeratorStatus"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_login":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Login"}},"type":"object","required":["moderator_id","email","full_name","role","status","permissions","created_at","updated_at"],"title":"ModeratorResponse"},"ModeratorRole":{"type":"string","enum":["moderator","admin"],"title":"ModeratorRole"},"ModeratorStatus":{"type":"string","enum":["active","inactive","suspended"],"title":"ModeratorStatus"},"ModeratorUpdate":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"password":{"anyOf":[{"type":"string","minLength":8},{"type":"null"}],"title":"Password"},"role":{"anyOf":[{"$ref":"#/components/schemas/ModeratorRole"},{"type":"null"}]},"status":{"anyOf":[{"$ref":"#/components/schemas/ModeratorStatus"},{"type":"null"}]},"permissions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Permissions"}},"type":"object","title":"ModeratorUpdate"},"NearbyAttraction":{"properties":{"name":{"type":"string","title":"Name"},"distance":{"type":"string","title":"Distance"}},"type":"object","required":["name","distance"],"title":"NearbyAttraction"},"OTAMappingCreateRequest":{"properties":{"channel_connection_id":{"type":"string","title":"Channel Connection Id"},"entity_type":{"$ref":"#/components/schemas/OTAMappingEntityType"},"pms_entity_id":{"type":"string","title":"Pms Entity Id"},"pms_entity_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pms Entity Label"},"external_entity_id":{"type":"string","title":"External Entity Id"},"external_entity_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Entity Label"}},"type":"object","required":["channel_connection_id","entity_type","pms_entity_id","external_entity_id"],"title":"OTAMappingCreateRequest"},"OTAMappingEntityType":{"type":"string","enum":["property","room_type","rate_plan","room","rate"],"title":"OTAMappingEntityType"},"OTAMappingUpdateRequest":{"properties":{"pms_entity_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pms Entity Label"},"external_entity_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Entity Label"},"mapping_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mapping Status"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"OTAMappingUpdateRequest"},"OccupancyPricing":{"properties":{"base_occupancy":{"type":"integer","minimum":1.0,"title":"Base Occupancy","description":"Adults included per room, at the resolved nightly rate","default":2},"extra_adult_rate":{"type":"number","minimum":0.0,"title":"Extra Adult Rate","description":"Per extra adult beyond base_occupancy x room_quantity, per night","default":0.0},"extra_child_rate":{"type":"number","minimum":0.0,"title":"Extra Child Rate","description":"Per child, per night (no base_occupancy offset)","default":0.0}},"type":"object","title":"OccupancyPricing"},"PackageBookingWithPayment":{"properties":{"package_id":{"type":"string","title":"Package Id"},"departure_date":{"type":"string","title":"Departure Date"},"adults":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Adults"},"children":{"type":"integer","maximum":20.0,"minimum":0.0,"title":"Children","default":0},"child_ages":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Child Ages","description":"Ages of each child. Children <2 are Green-Tax exempt per MIRA."},"infants":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Infants","default":0},"single_rooms":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Single Rooms","default":0},"contact_name":{"type":"string","minLength":1,"title":"Contact Name"},"contact_email":{"type":"string","format":"email","title":"Contact Email"},"contact_phone":{"type":"string","minLength":5,"title":"Contact Phone"},"special_requests":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Special Requests"},"origin_url":{"type":"string","title":"Origin Url"},"coupon_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coupon Code"}},"type":"object","required":["package_id","departure_date","adults","contact_name","contact_email","contact_phone","origin_url"],"title":"PackageBookingWithPayment"},"PackageCategory":{"type":"string","enum":["liveaboard","island_stay","resort","adventure","honeymoon","family","diving","wellness"],"title":"PackageCategory"},"PackageCreate":{"properties":{"title":{"type":"string","title":"Title"},"category":{"$ref":"#/components/schemas/PackageCategory"},"nights":{"type":"integer","title":"Nights"},"days":{"type":"integer","title":"Days"},"short_description":{"type":"string","title":"Short Description"},"full_description":{"type":"string","title":"Full Description"},"highlights":{"items":{"type":"string"},"type":"array","title":"Highlights","default":[]},"pricing":{"$ref":"#/components/schemas/Pricing"},"inclusions":{"items":{"$ref":"#/components/schemas/Inclusion"},"type":"array","title":"Inclusions","default":[]},"exclusions":{"items":{"type":"string"},"type":"array","title":"Exclusions","default":[]},"itinerary":{"items":{"$ref":"#/components/schemas/Itinerary"},"type":"array","title":"Itinerary","default":[]},"accommodations":{"items":{"$ref":"#/components/schemas/Accommodation"},"type":"array","title":"Accommodations","default":[]},"transfers":{"items":{"$ref":"#/components/schemas/Transfer"},"type":"array","title":"Transfers","default":[]},"included_excursions":{"items":{"type":"string"},"type":"array","title":"Included Excursions","default":[]},"featured_image":{"type":"string","title":"Featured Image"},"gallery":{"items":{"type":"string"},"type":"array","title":"Gallery","default":[]},"available_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Available From"},"available_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Available Until"},"min_pax":{"type":"integer","title":"Min Pax","default":1},"max_pax":{"type":"integer","title":"Max Pax","default":50},"instant_booking":{"type":"boolean","title":"Instant Booking","default":true},"cancellation_policy":{"type":"string","title":"Cancellation Policy","default":"Free cancellation up to 7 days before departure"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"status":{"$ref":"#/components/schemas/PackageStatus","default":"active"},"is_featured":{"type":"boolean","title":"Is Featured","default":false}},"type":"object","required":["title","category","nights","days","short_description","full_description","pricing","featured_image"],"title":"PackageCreate","description":"Model for creating a package."},"PackageDetail":{"properties":{"package_id":{"type":"string","title":"Package Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"category":{"$ref":"#/components/schemas/PackageCategory"},"nights":{"type":"integer","title":"Nights"},"days":{"type":"integer","title":"Days"},"short_description":{"type":"string","title":"Short Description"},"full_description":{"type":"string","title":"Full Description"},"highlights":{"items":{"type":"string"},"type":"array","title":"Highlights","default":[]},"pricing":{"$ref":"#/components/schemas/Pricing"},"inclusions":{"items":{"$ref":"#/components/schemas/Inclusion"},"type":"array","title":"Inclusions","default":[]},"exclusions":{"items":{"type":"string"},"type":"array","title":"Exclusions","default":[]},"itinerary":{"items":{"$ref":"#/components/schemas/Itinerary"},"type":"array","title":"Itinerary","default":[]},"accommodations":{"items":{"$ref":"#/components/schemas/Accommodation"},"type":"array","title":"Accommodations","default":[]},"transfers":{"items":{"$ref":"#/components/schemas/Transfer"},"type":"array","title":"Transfers","default":[]},"included_excursions":{"items":{"type":"string"},"type":"array","title":"Included Excursions","default":[]},"featured_image":{"type":"string","title":"Featured Image"},"gallery":{"items":{"type":"string"},"type":"array","title":"Gallery","default":[]},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"available_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Available From"},"available_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Available Until"},"min_pax":{"type":"integer","title":"Min Pax","default":1},"max_pax":{"type":"integer","title":"Max Pax","default":50},"instant_booking":{"type":"boolean","title":"Instant Booking","default":true},"requires_quote":{"type":"boolean","title":"Requires Quote","default":false},"advance_booking_days":{"type":"integer","title":"Advance Booking Days","default":3},"cancellation_policy":{"type":"string","title":"Cancellation Policy","default":"Free cancellation up to 7 days before departure"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"terms_and_conditions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms And Conditions"},"status":{"$ref":"#/components/schemas/PackageStatus","default":"active"},"is_featured":{"type":"boolean","title":"Is Featured","default":false},"display_order":{"type":"integer","title":"Display Order","default":0},"total_bookings":{"type":"integer","title":"Total Bookings","default":0},"rating":{"type":"number","title":"Rating","default":0.0},"total_reviews":{"type":"integer","title":"Total Reviews","default":0},"views":{"type":"integer","title":"Views","default":0},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"effective_cancellation_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Effective Cancellation Tiers"}},"type":"object","required":["title","slug","category","nights","days","short_description","full_description","pricing","featured_image"],"title":"PackageDetail","description":"GET /packages/{slug}: the package plus the cancellation policy that is\nactually enforced. Derived at read time, never stored."},"PackageListItem":{"properties":{"package_id":{"type":"string","title":"Package Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"category":{"$ref":"#/components/schemas/PackageCategory"},"nights":{"type":"integer","title":"Nights"},"days":{"type":"integer","title":"Days"},"short_description":{"type":"string","title":"Short Description"},"pricing":{"$ref":"#/components/schemas/Pricing"},"featured_image":{"type":"string","title":"Featured Image"},"highlights":{"items":{"type":"string"},"type":"array","title":"Highlights"},"status":{"$ref":"#/components/schemas/PackageStatus"},"is_featured":{"type":"boolean","title":"Is Featured"},"rating":{"type":"number","title":"Rating"},"total_reviews":{"type":"integer","title":"Total Reviews"},"total_bookings":{"type":"integer","title":"Total Bookings"}},"type":"object","required":["package_id","title","slug","category","nights","days","short_description","pricing","featured_image","highlights","status","is_featured","rating","total_reviews","total_bookings"],"title":"PackageListItem","description":"Package list item for listings."},"PackageListResponse":{"properties":{"packages":{"items":{"$ref":"#/components/schemas/PackageListItem"},"type":"array","title":"Packages"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"pages":{"type":"integer","title":"Pages"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]}},"type":"object","required":["packages","total","page","pages"],"title":"PackageListResponse","description":"Response for package listings."},"PackageResponse":{"properties":{"package_id":{"type":"string","title":"Package Id"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"category":{"$ref":"#/components/schemas/PackageCategory"},"nights":{"type":"integer","title":"Nights"},"days":{"type":"integer","title":"Days"},"short_description":{"type":"string","title":"Short Description"},"full_description":{"type":"string","title":"Full Description"},"highlights":{"items":{"type":"string"},"type":"array","title":"Highlights","default":[]},"pricing":{"$ref":"#/components/schemas/Pricing"},"inclusions":{"items":{"$ref":"#/components/schemas/Inclusion"},"type":"array","title":"Inclusions","default":[]},"exclusions":{"items":{"type":"string"},"type":"array","title":"Exclusions","default":[]},"itinerary":{"items":{"$ref":"#/components/schemas/Itinerary"},"type":"array","title":"Itinerary","default":[]},"accommodations":{"items":{"$ref":"#/components/schemas/Accommodation"},"type":"array","title":"Accommodations","default":[]},"transfers":{"items":{"$ref":"#/components/schemas/Transfer"},"type":"array","title":"Transfers","default":[]},"included_excursions":{"items":{"type":"string"},"type":"array","title":"Included Excursions","default":[]},"featured_image":{"type":"string","title":"Featured Image"},"gallery":{"items":{"type":"string"},"type":"array","title":"Gallery","default":[]},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"available_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Available From"},"available_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Available Until"},"min_pax":{"type":"integer","title":"Min Pax","default":1},"max_pax":{"type":"integer","title":"Max Pax","default":50},"instant_booking":{"type":"boolean","title":"Instant Booking","default":true},"requires_quote":{"type":"boolean","title":"Requires Quote","default":false},"advance_booking_days":{"type":"integer","title":"Advance Booking Days","default":3},"cancellation_policy":{"type":"string","title":"Cancellation Policy","default":"Free cancellation up to 7 days before departure"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"terms_and_conditions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms And Conditions"},"status":{"$ref":"#/components/schemas/PackageStatus","default":"active"},"is_featured":{"type":"boolean","title":"Is Featured","default":false},"display_order":{"type":"integer","title":"Display Order","default":0},"total_bookings":{"type":"integer","title":"Total Bookings","default":0},"rating":{"type":"number","title":"Rating","default":0.0},"total_reviews":{"type":"integer","title":"Total Reviews","default":0},"views":{"type":"integer","title":"Views","default":0},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["title","slug","category","nights","days","short_description","full_description","pricing","featured_image"],"title":"PackageResponse","description":"Complete package response."},"PackageStatus":{"type":"string","enum":["active","inactive","coming_soon"],"title":"PackageStatus"},"PackageUpdate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"category":{"anyOf":[{"$ref":"#/components/schemas/PackageCategory"},{"type":"null"}]},"short_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short Description"},"full_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Description"},"highlights":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Highlights"},"pricing":{"anyOf":[{"$ref":"#/components/schemas/Pricing"},{"type":"null"}]},"inclusions":{"anyOf":[{"items":{"$ref":"#/components/schemas/Inclusion"},"type":"array"},{"type":"null"}],"title":"Inclusions"},"exclusions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclusions"},"itinerary":{"anyOf":[{"items":{"$ref":"#/components/schemas/Itinerary"},"type":"array"},{"type":"null"}],"title":"Itinerary"},"accommodations":{"anyOf":[{"items":{"$ref":"#/components/schemas/Accommodation"},"type":"array"},{"type":"null"}],"title":"Accommodations"},"transfers":{"anyOf":[{"items":{"$ref":"#/components/schemas/Transfer"},"type":"array"},{"type":"null"}],"title":"Transfers"},"featured_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Featured Image"},"gallery":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Gallery"},"status":{"anyOf":[{"$ref":"#/components/schemas/PackageStatus"},{"type":"null"}]},"is_featured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Featured"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"}},"type":"object","title":"PackageUpdate","description":"Model for updating a package."},"PasswordChange":{"properties":{"current_password":{"type":"string","title":"Current Password"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"PasswordChange"},"PasswordReset":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"PasswordReset"},"PasswordResetConfirm":{"properties":{"token":{"type":"string","title":"Token"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["token","new_password"],"title":"PasswordResetConfirm"},"PaymentIntentCreate":{"properties":{"booking_id":{"type":"string","title":"Booking Id"},"amount":{"type":"number","minimum":0.0,"title":"Amount"},"currency":{"$ref":"#/components/schemas/Currency","default":"USD"},"customer_email":{"type":"string","title":"Customer Email"},"customer_name":{"type":"string","title":"Customer Name"},"payment_method_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method Id"},"save_payment_method":{"type":"boolean","title":"Save Payment Method","default":false},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","default":{}}},"type":"object","required":["booking_id","amount","customer_email","customer_name"],"title":"PaymentIntentCreate"},"PaymentIntentResponse":{"properties":{"id":{"type":"string","title":"Id"},"client_secret":{"type":"string","title":"Client Secret"},"amount":{"type":"number","title":"Amount"},"currency":{"$ref":"#/components/schemas/Currency"},"status":{"$ref":"#/components/schemas/PaymentStatus"},"booking_reference":{"type":"string","title":"Booking Reference"}},"type":"object","required":["id","client_secret","amount","currency","status","booking_reference"],"title":"PaymentIntentResponse"},"PaymentStatus":{"type":"string","enum":["pending","processing","succeeded","failed","cancelled","refunded","partially_refunded"],"title":"PaymentStatus"},"PayoutRequestCreate":{"properties":{"requested_amount":{"type":"number","minimum":500.0,"title":"Requested Amount"},"commission_entries":{"items":{"type":"string"},"type":"array","title":"Commission Entries","default":[]},"agent_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Notes"}},"type":"object","required":["requested_amount"],"title":"PayoutRequestCreate"},"PayoutStatus":{"type":"string","enum":["pending","approved","processing","completed","rejected","cancelled"],"title":"PayoutStatus"},"PlannedExcursion":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"adult_price":{"type":"number","title":"Adult Price"},"pax":{"type":"integer","title":"Pax"},"subtotal":{"type":"number","title":"Subtotal"}},"type":"object","required":["id","name","adult_price","pax","subtotal"],"title":"PlannedExcursion"},"PlannedProperty":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"room_type_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id"},"room_type_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Name"},"price_per_night":{"type":"number","title":"Price Per Night"},"nights":{"type":"integer","title":"Nights"},"subtotal":{"type":"number","title":"Subtotal"}},"type":"object","required":["id","name","price_per_night","nights","subtotal"],"title":"PlannedProperty"},"PointsConfigUpdate":{"properties":{"points_per_dollar":{"type":"integer","title":"Points Per Dollar"},"points_expiry_days":{"type":"integer","title":"Points Expiry Days"}},"type":"object","required":["points_per_dollar","points_expiry_days"],"title":"PointsConfigUpdate"},"PreviewRoomSelection":{"properties":{"room_type_id":{"type":"string","title":"Room Type Id"},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","default":1}},"type":"object","required":["room_type_id"],"title":"PreviewRoomSelection"},"Pricing":{"properties":{"adult_price":{"type":"number","title":"Adult Price"},"child_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Child Price"},"infant_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Infant Price"},"single_supplement":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Single Supplement"},"currency":{"type":"string","title":"Currency","default":"USD"},"group_discount":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Group Discount"}},"type":"object","required":["adult_price"],"title":"Pricing","description":"Package pricing information."},"PricingInfo":{"properties":{"price_per_person":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Per Person"},"price_per_boat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Per Boat"},"currency":{"type":"string","title":"Currency","default":"USD"},"min_passengers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Passengers","default":1},"max_passengers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Passengers"}},"type":"object","title":"PricingInfo","description":"Pricing structure for transport."},"PricingPreviewRequest":{"properties":{"subtotal":{"type":"number","minimum":0.0,"title":"Subtotal"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"product_type":{"type":"string","title":"Product Type"},"include_green_tax":{"type":"boolean","title":"Include Green Tax","default":false},"green_tax_guests":{"type":"integer","title":"Green Tax Guests","default":0},"green_tax_nights":{"type":"integer","title":"Green Tax Nights","default":0},"property_room_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Property Room Count"},"children_under_2":{"type":"integer","title":"Children Under 2","default":0},"property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"},"total_room_quantity":{"type":"integer","title":"Total Room Quantity","default":0},"check_in_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check In Date"},"check_out_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check Out Date"},"rooms":{"items":{"$ref":"#/components/schemas/PreviewRoomSelection"},"type":"array","title":"Rooms"},"adults":{"type":"integer","title":"Adults","default":0},"children":{"type":"integer","title":"Children","default":0}},"type":"object","required":["subtotal","product_type"],"title":"PricingPreviewRequest"},"ProcessRefundRequest":{"properties":{"booking_type":{"type":"string","title":"Booking Type"},"booking_id":{"type":"string","title":"Booking Id"},"refund_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Refund Amount"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"}},"type":"object","required":["booking_type","booking_id","refund_amount","reason"],"title":"ProcessRefundRequest"},"ProfileUpdate":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"date_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Of Birth"},"profile_photo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Photo"}},"type":"object","title":"ProfileUpdate"},"Property":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"location":{"type":"string","title":"Location"},"description":{"type":"string","title":"Description"},"images":{"items":{"type":"string"},"type":"array","title":"Images"},"price_per_night":{"type":"number","title":"Price Per Night"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"amenities":{"items":{"type":"string"},"type":"array","title":"Amenities"},"featured":{"type":"boolean","title":"Featured","default":false},"available":{"type":"boolean","title":"Available","default":true},"max_guests":{"type":"integer","title":"Max Guests"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"base_price_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Base Price Usd"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"property_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Type","default":"Hotel"},"star_rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Star Rating"},"overall_rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Overall Rating"},"review_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Review Count","default":0},"review_rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Review Rating"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"island":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Island"},"atoll":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Atoll"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","default":"Maldives"},"coordinates":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Coordinates"},"enhanced_location":{"anyOf":[{"$ref":"#/components/schemas/Location"},{"type":"null"}]},"gallery":{"anyOf":[{"$ref":"#/components/schemas/Gallery"},{"type":"null"}]},"enhanced_amenities":{"anyOf":[{"$ref":"#/components/schemas/Amenities"},{"type":"null"}]},"highlights":{"anyOf":[{"items":{"$ref":"#/components/schemas/Highlight"},"type":"array"},{"type":"null"}],"title":"Highlights"},"room_types":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Room Types"},"house_rules":{"anyOf":[{"items":{"$ref":"#/components/schemas/models__property__HouseRule"},"type":"array"},{"type":"null"}],"title":"House Rules"},"check_in_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check In Time","default":"13:00 - 23:00"},"check_out_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check Out Time","default":"07:00 - 11:00"},"fine_print":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Fine Print"},"faqs":{"anyOf":[{"items":{"$ref":"#/components/schemas/FAQ"},"type":"array"},{"type":"null"}],"title":"Faqs"},"reviews":{"anyOf":[{"items":{"$ref":"#/components/schemas/Review"},"type":"array"},{"type":"null"}],"title":"Reviews"}},"type":"object","required":["name","location","description","images","price_per_night","amenities","max_guests"],"title":"Property"},"PropertyAvailability":{"properties":{"id":{"type":"string","title":"Id"},"property_id":{"type":"string","title":"Property Id","description":"Property ID"},"room_type_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id","description":"Room type ID (null = property level)"},"room_type_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Name","description":"Room type name"},"date":{"type":"string","format":"date","title":"Date","description":"Availability date"},"rooms_total":{"type":"integer","minimum":0.0,"title":"Rooms Total","description":"Total rooms of this type"},"rooms_available":{"type":"integer","minimum":0.0,"title":"Rooms Available","description":"Available rooms"},"rooms_booked":{"type":"integer","minimum":0.0,"title":"Rooms Booked","description":"Currently booked rooms","default":0},"status":{"$ref":"#/components/schemas/AvailabilityStatus","description":"Availability status","default":"available"},"base_rate":{"type":"number","exclusiveMinimum":0.0,"title":"Base Rate","description":"Base rate for this date"},"rate_override":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Rate Override","description":"Override rate if any"},"final_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Final Rate","description":"Final computed rate"},"min_stay_rule":{"anyOf":[{"$ref":"#/components/schemas/MinMaxStayRule"},{"type":"null"}],"description":"Stay length rules"},"is_blocked":{"type":"boolean","title":"Is Blocked","description":"Manually blocked by vendor","default":false},"block_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Block Reason","description":"Reason for blocking"},"blocked_by_channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked By Channel","description":"ChannelConnection.id that owns this block, if any"},"external_uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Uid","description":"The iCal VEVENT UID this block was imported from"},"vendor_id":{"type":"string","title":"Vendor Id","description":"Vendor who owns this property"},"last_updated":{"type":"string","format":"date-time","title":"Last Updated"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["property_id","date","rooms_total","rooms_available","base_rate","vendor_id"],"title":"PropertyAvailability","description":"Daily availability record for a property/room type."},"PropertyCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"property_type":{"type":"string","title":"Property Type","default":"Resort"},"star_rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Star Rating"},"location":{"additionalProperties":true,"type":"object","title":"Location"},"island":{"type":"string","title":"Island"},"contact":{"additionalProperties":{"type":"string"},"type":"object","title":"Contact"},"amenities":{"items":{"type":"string"},"type":"array","title":"Amenities"},"images":{"items":{"type":"string"},"type":"array","title":"Images"},"featured":{"type":"boolean","title":"Featured","default":false},"price_range":{"additionalProperties":true,"type":"object","title":"Price Range"},"house_rules":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"House Rules","default":[]},"room_types":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Room Types","default":[]},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"group_discount_min_rooms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Group Discount Min Rooms"},"group_discount_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Group Discount Pct"}},"type":"object","required":["name","description","location","island","contact","amenities","images","price_range"],"title":"PropertyCreate"},"PropertyDetailResponse":{"properties":{"property":{"$ref":"#/components/schemas/EnhancedProperty"},"reviews":{"items":{"$ref":"#/components/schemas/PropertyReview"},"type":"array","title":"Reviews"},"faqs":{"items":{"$ref":"#/components/schemas/PropertyFAQ"},"type":"array","title":"Faqs"},"similar_properties":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Similar Properties","default":[]}},"type":"object","required":["property","reviews","faqs"],"title":"PropertyDetailResponse"},"PropertyFAQ":{"properties":{"id":{"type":"string","title":"Id"},"property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"},"question":{"type":"string","title":"Question"},"answer":{"type":"string","title":"Answer"},"category":{"type":"string","title":"Category"},"display_order":{"type":"integer","title":"Display Order","default":0},"is_active":{"type":"boolean","title":"Is Active","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["question","answer","category"],"title":"PropertyFAQ"},"PropertyFacility":{"properties":{"name":{"type":"string","title":"Name"},"category":{"$ref":"#/components/schemas/FacilityCategory"},"available":{"type":"boolean","title":"Available","default":true},"additional_charge":{"type":"boolean","title":"Additional Charge","default":false},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"}},"type":"object","required":["name","category"],"title":"PropertyFacility"},"PropertyImages":{"properties":{"main_images":{"items":{"type":"string"},"type":"array","title":"Main Images","default":[]},"room_images":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Room Images","default":{}},"facility_images":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Facility Images","default":{}},"exterior_images":{"items":{"type":"string"},"type":"array","title":"Exterior Images","default":[]},"common_areas":{"items":{"type":"string"},"type":"array","title":"Common Areas","default":[]},"photos_360":{"items":{"$ref":"#/components/schemas/Media360Photo"},"type":"array","title":"Photos 360","default":[]},"videos_30s":{"items":{"$ref":"#/components/schemas/MediaVideo"},"type":"array","title":"Videos 30S","default":[]}},"type":"object","title":"PropertyImages"},"PropertyReview":{"properties":{"id":{"type":"string","title":"Id"},"property_id":{"type":"string","title":"Property Id"},"user_id":{"type":"string","title":"User Id"},"user_name":{"type":"string","title":"User Name"},"user_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Country"},"overall_rating":{"type":"number","maximum":10.0,"minimum":1.0,"title":"Overall Rating"},"cleanliness_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Cleanliness Rating"},"comfort_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Comfort Rating"},"location_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Location Rating"},"facilities_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Facilities Rating"},"staff_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Staff Rating"},"value_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Value Rating"},"wifi_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Wifi Rating"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"positive_review":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Positive Review"},"negative_review":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Negative Review"},"booking_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Booking Id"},"stay_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stay Date"},"room_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type"},"stayed_nights":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stayed Nights"},"traveler_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Traveler Type"},"verified":{"type":"boolean","title":"Verified","default":false},"helpful_count":{"type":"integer","title":"Helpful Count","default":0},"moderation_status":{"type":"string","title":"Moderation Status","default":"pending"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["property_id","user_id","user_name","overall_rating"],"title":"PropertyReview"},"PropertyReviewCreate":{"properties":{"overall_rating":{"type":"number","maximum":10.0,"minimum":1.0,"title":"Overall Rating"},"cleanliness_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Cleanliness Rating"},"comfort_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Comfort Rating"},"location_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Location Rating"},"facilities_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Facilities Rating"},"staff_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Staff Rating"},"value_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Value Rating"},"wifi_rating":{"anyOf":[{"type":"number","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Wifi Rating"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"positive_review":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Positive Review"},"negative_review":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Negative Review"},"traveler_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Traveler Type"}},"type":"object","required":["overall_rating"],"title":"PropertyReviewCreate"},"PropertySearch":{"properties":{"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"checkin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkin"},"checkout":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkout"},"guests":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Guests"},"featured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Featured"},"min_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Price"},"max_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Price"},"limit":{"type":"integer","title":"Limit","default":20},"offset":{"type":"integer","title":"Offset","default":0}},"type":"object","title":"PropertySearch"},"PropertySurrounding":{"properties":{"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category"},"distance":{"type":"string","title":"Distance"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["name","category","distance"],"title":"PropertySurrounding"},"PropertyUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"property_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Type"},"star_rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Star Rating"},"location":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Location"},"island":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Island"},"contact":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Contact"},"amenities":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Amenities"},"images":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Images"},"featured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Featured"},"price_range":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Price Range"},"house_rules":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"House Rules"},"room_types":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Room Types"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"group_discount_min_rooms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Group Discount Min Rooms"},"group_discount_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Group Discount Pct"}},"type":"object","title":"PropertyUpdate"},"PushOutboundRequest":{"properties":{"kinds":{"items":{"type":"string"},"type":"array","title":"Kinds"}},"type":"object","required":["kinds"],"title":"PushOutboundRequest"},"RateOverride":{"properties":{"id":{"type":"string","title":"Id"},"rate_type":{"$ref":"#/components/schemas/RateType"},"amount":{"type":"number","exclusiveMinimum":0.0,"title":"Amount","description":"Override rate amount"},"currency":{"type":"string","title":"Currency","description":"Rate currency","default":"USD"},"valid_from":{"type":"string","format":"date","title":"Valid From","description":"Override valid from date"},"valid_to":{"type":"string","format":"date","title":"Valid To","description":"Override valid to date"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Override description"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["rate_type","amount","valid_from","valid_to"],"title":"RateOverride","description":"Rate override for specific dates."},"RateOverrideRequest":{"properties":{"property_id":{"type":"string","title":"Property Id"},"room_type_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Type Id"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"rate_type":{"$ref":"#/components/schemas/RateType"},"amount":{"type":"number","exclusiveMinimum":0.0,"title":"Amount"},"currency":{"type":"string","title":"Currency","default":"USD"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["property_id","date_from","date_to","rate_type","amount"],"title":"RateOverrideRequest","description":"Request to set rate overrides."},"RatePlanDateOverride":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"nightly_rate":{"type":"number","exclusiveMinimum":0.0,"title":"Nightly Rate"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["date","nightly_rate"],"title":"RatePlanDateOverride"},"RatePlanRestriction":{"properties":{"id":{"type":"string","title":"Id"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"stop_sell":{"type":"boolean","title":"Stop Sell","default":false},"closed_to_arrival":{"type":"boolean","title":"Closed To Arrival","default":false},"closed_to_departure":{"type":"boolean","title":"Closed To Departure","default":false},"min_nights":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Min Nights"},"max_nights":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Nights"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["date_from","date_to"],"title":"RatePlanRestriction"},"RatePlanSeason":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","minLength":1,"title":"Name"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"nightly_rate":{"type":"number","exclusiveMinimum":0.0,"title":"Nightly Rate"},"day_of_week_rates":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Day Of Week Rates"},"min_nights":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Min Nights"},"max_nights":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Nights"}},"type":"object","required":["name","date_from","date_to","nightly_rate"],"title":"RatePlanSeason"},"RatePlanUpsertRequest":{"properties":{"status":{"type":"string","enum":["active","inactive"],"title":"Status","default":"active"},"default_nightly_rate":{"type":"number","exclusiveMinimum":0.0,"title":"Default Nightly Rate"},"default_day_of_week_rates":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Default Day Of Week Rates"},"default_min_nights":{"type":"integer","minimum":1.0,"title":"Default Min Nights","default":1},"default_max_nights":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Default Max Nights"},"seasons":{"items":{"$ref":"#/components/schemas/RatePlanSeason"},"type":"array","title":"Seasons"},"date_overrides":{"items":{"$ref":"#/components/schemas/RatePlanDateOverride"},"type":"array","title":"Date Overrides"},"restrictions":{"items":{"$ref":"#/components/schemas/RatePlanRestriction"},"type":"array","title":"Restrictions"},"occupancy_pricing":{"anyOf":[{"$ref":"#/components/schemas/OccupancyPricing"},{"type":"null"}]},"currency":{"type":"string","title":"Currency","default":"USD"}},"type":"object","required":["default_nightly_rate"],"title":"RatePlanUpsertRequest","description":"Vendor-facing write shape - same field set as RatePlan minus the\nserver-stamped id/vendor_id/property_id/room_type_id/created_by/\ntimestamps, so the same validators apply to vendor input at the API\nboundary (never trust client-side form validation alone for a value\nthat directly drives a Stripe charge)."},"RateType":{"type":"string","enum":["seasonal","last_minute","length_of_stay","promotional","special_event"],"title":"RateType","description":"Types of rate overrides."},"RedeemPointsRequest":{"properties":{"points":{"type":"integer","title":"Points"},"redemption_type":{"type":"string","title":"Redemption Type","default":"discount"},"booking_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Booking Id"}},"type":"object","required":["points"],"title":"RedeemPointsRequest"},"RefundCreate":{"properties":{"payment_record_id":{"type":"string","title":"Payment Record Id"},"refund_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Refund Amount"},"refund_reason":{"$ref":"#/components/schemas/RefundReason"},"refund_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refund Notes"},"override_policy":{"type":"boolean","title":"Override Policy","default":false},"admin_override_percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Admin Override Percentage"}},"type":"object","required":["payment_record_id","refund_reason"],"title":"RefundCreate"},"RefundReason":{"type":"string","enum":["requested_by_customer","duplicate","fraudulent","subscription_canceled","policy_violation","other"],"title":"RefundReason"},"RefundResponse":{"properties":{"id":{"type":"string","title":"Id"},"refund_amount":{"type":"number","title":"Refund Amount"},"status":{"$ref":"#/components/schemas/RefundStatus"},"booking_reference":{"type":"string","title":"Booking Reference"},"policy_applied":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Applied"},"calculated_refund_percentage":{"type":"number","title":"Calculated Refund Percentage"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","refund_amount","status","booking_reference","policy_applied","calculated_refund_percentage","created_at"],"title":"RefundResponse"},"RefundStatus":{"type":"string","enum":["pending","processing","succeeded","failed","cancelled"],"title":"RefundStatus"},"RegisterResponse":{"properties":{"user":{"$ref":"#/components/schemas/UserResponse"},"message":{"type":"string","title":"Message","default":"Registration successful. Please check your email for verification."}},"type":"object","required":["user"],"title":"RegisterResponse"},"RescheduleRequest":{"properties":{"new_check_in_date":{"type":"string","title":"New Check In Date"},"new_check_out_date":{"type":"string","title":"New Check Out Date"},"new_room_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Room Id"}},"type":"object","required":["new_check_in_date","new_check_out_date"],"title":"RescheduleRequest"},"ResourceAssignmentCreateRequest":{"properties":{"instance_type":{"type":"string","enum":["transport","excursion","logistics_event"],"title":"Instance Type"},"transport_trip_instance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transport Trip Instance Id"},"excursion_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excursion Id"},"logistics_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logistics Event Id"},"date":{"type":"string","title":"Date"},"departure_time":{"type":"string","title":"Departure Time"}},"type":"object","required":["instance_type","date","departure_time"],"title":"ResourceAssignmentCreateRequest"},"ResourceCreateRequest":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"resource_type":{"$ref":"#/components/schemas/ResourceType","default":"other"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name"],"title":"ResourceCreateRequest"},"ResourceType":{"type":"string","enum":["vehicle","guide","equipment","other"],"title":"ResourceType"},"ResourceUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Name"},"resource_type":{"anyOf":[{"$ref":"#/components/schemas/ResourceType"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"ResourceUpdateRequest"},"Review":{"properties":{"id":{"type":"string","title":"Id"},"user_name":{"type":"string","title":"User Name"},"user_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Country"},"overall_rating":{"type":"number","title":"Overall Rating"},"positive_review":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Positive Review"},"stayed_nights":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stayed Nights"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","user_name","overall_rating","created_at"],"title":"Review"},"ReviewModerationAction":{"properties":{"review_id":{"type":"string","title":"Review Id"},"action":{"type":"string","title":"Action"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"admin_response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Response"}},"type":"object","required":["review_id","action"],"title":"ReviewModerationAction"},"RoomBulkGenerateRequest":{"properties":{"room_type_id":{"type":"string","title":"Room Type Id"},"count":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Count"}},"type":"object","required":["room_type_id","count"],"title":"RoomBulkGenerateRequest"},"RoomCreateRequest":{"properties":{"room_type_id":{"type":"string","title":"Room Type Id"},"room_number":{"type":"string","maxLength":50,"minLength":1,"title":"Room Number"},"floor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floor"},"building":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Building"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["room_type_id","room_number"],"title":"RoomCreateRequest"},"RoomSelection":{"properties":{"room_type_name":{"type":"string","title":"Room Type Name"},"room_type_id":{"type":"string","title":"Room Type Id"},"quantity":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Quantity"},"price_per_night":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Per Night"},"meal_option":{"type":"string","title":"Meal Option"}},"type":"object","required":["room_type_name","room_type_id","quantity","meal_option"],"title":"RoomSelection","description":"Room selection for booking.\n\nSecurity Note: price_per_night is accepted but NOT TRUSTED.\nServer will recalculate from database."},"RoomType":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"max_guests":{"type":"integer","title":"Max Guests"},"bed_configuration":{"type":"string","title":"Bed Configuration"},"room_size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Size"},"facilities":{"items":{"type":"string"},"type":"array","title":"Facilities","default":[]},"base_price":{"type":"number","title":"Base Price"},"total_rooms":{"type":"integer","title":"Total Rooms","default":1},"available_rooms":{"type":"integer","title":"Available Rooms","default":1}},"type":"object","required":["name","description","max_guests","bed_configuration","base_price"],"title":"RoomType"},"RoomTypeCount":{"properties":{"room_type":{"type":"string","title":"Room Type"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["room_type","count"],"title":"RoomTypeCount"},"RoomUpdateRequest":{"properties":{"room_number":{"anyOf":[{"type":"string","maxLength":50,"minLength":1},{"type":"null"}],"title":"Room Number"},"status":{"anyOf":[{"type":"string","enum":["clean","dirty","inspected","out_of_service"]},{"type":"null"}],"title":"Status"},"floor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floor"},"building":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Building"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"RoomUpdateRequest"},"RotateCredentialsRequest":{"properties":{"credentials":{"additionalProperties":true,"type":"object","title":"Credentials"}},"type":"object","required":["credentials"],"title":"RotateCredentialsRequest"},"RouteInfo":{"properties":{"departure_location":{"type":"string","title":"Departure Location"},"departure_island":{"type":"string","title":"Departure Island"},"destination_location":{"type":"string","title":"Destination Location"},"destination_island":{"type":"string","title":"Destination Island"},"distance_km":{"type":"number","title":"Distance Km"},"duration_minutes":{"type":"integer","title":"Duration Minutes"},"schedule":{"anyOf":[{"items":{"$ref":"#/components/schemas/RouteSchedule"},"type":"array"},{"type":"null"}],"title":"Schedule","default":[]}},"type":"object","required":["departure_location","departure_island","destination_location","destination_island","distance_km","duration_minutes"],"title":"RouteInfo","description":"Route information."},"RouteSchedule":{"properties":{"departure_time":{"type":"string","title":"Departure Time"},"arrival_time":{"type":"string","title":"Arrival Time"},"days_of_week":{"items":{"type":"string"},"type":"array","title":"Days Of Week"},"frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Frequency"}},"type":"object","required":["departure_time","arrival_time","days_of_week"],"title":"RouteSchedule","description":"Schedule for a specific route."},"SEOMeta":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","default":[]},"og_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Og Image"}},"type":"object","title":"SEOMeta"},"SavedReportFilterCreateRequest":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"},"property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Id"}},"type":"object","required":["name"],"title":"SavedReportFilterCreateRequest"},"ScanRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"ScanRequest"},"Seat":{"properties":{"seat_id":{"type":"string","title":"Seat Id"},"row":{"type":"string","title":"Row"},"col":{"type":"integer","title":"Col"},"seat_type":{"$ref":"#/components/schemas/SeatType","default":"standard"},"is_blocked":{"type":"boolean","title":"Is Blocked","default":false},"block_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Block Reason"},"is_restricted":{"type":"boolean","title":"Is Restricted","default":false},"restriction_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Restriction Reason"},"is_removed":{"type":"boolean","title":"Is Removed","default":false}},"type":"object","required":["seat_id","row","col"],"title":"Seat","description":"One physical seat on a vessel/vehicle. `seat_id` doubles as the display\nlabel (e.g. \"A1\") and is stable across layout edits - TripInstance\n(backend/models/trip_instance.py) snapshots seats by this id, so it\nmust never be renumbered once trips exist against it."},"SeatLayout":{"properties":{"layout_version":{"type":"integer","title":"Layout Version","default":1},"rows":{"type":"integer","title":"Rows"},"seats_per_row":{"type":"integer","title":"Seats Per Row"},"aisle_after_column":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Aisle After Column"},"seats":{"items":{"$ref":"#/components/schemas/Seat"},"type":"array","title":"Seats","default":[]},"numbering_scheme":{"type":"string","title":"Numbering Scheme","default":"row_letter"},"sequential_direction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sequential Direction"}},"type":"object","required":["rows","seats_per_row"],"title":"SeatLayout","description":"A uniform rows x seats_per_row grid. Irregular shapes (e.g. a boat with\nfewer seats in the back row) are handled by marking the non-existent\ntrailing seats in that row `is_blocked`, not by a freeform layout\nbuilder - see Phase 3 plan for why."},"SeatLayoutSaveRequest":{"properties":{"rows":{"type":"integer","maximum":26.0,"minimum":1.0,"title":"Rows"},"seats_per_row":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Seats Per Row"},"aisle_after_column":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Aisle After Column"},"numbering_scheme":{"type":"string","title":"Numbering Scheme","default":"row_letter"},"sequential_direction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sequential Direction"},"seat_overrides":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Seat Overrides"}},"type":"object","required":["rows","seats_per_row"],"title":"SeatLayoutSaveRequest"},"SeatType":{"type":"string","enum":["standard","premium"],"title":"SeatType"},"StayDetails":{"properties":{"total_rooms":{"type":"integer","title":"Total Rooms"},"room_types":{"items":{"$ref":"#/components/schemas/RoomTypeCount"},"type":"array","title":"Room Types"},"location":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Location"},"amenities":{"items":{"type":"string"},"type":"array","title":"Amenities","default":[]},"facilities":{"items":{"type":"string"},"type":"array","title":"Facilities","default":[]},"photos":{"items":{"type":"string"},"type":"array","title":"Photos","default":[]},"videos":{"items":{"type":"string"},"type":"array","title":"Videos","default":[]}},"type":"object","required":["total_rooms","room_types"],"title":"StayDetails"},"SupportMessageResponse":{"properties":{"id":{"type":"string","title":"Id"},"ticket_id":{"type":"string","title":"Ticket Id"},"sender_type":{"type":"string","title":"Sender Type"},"sender_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Id"},"sender_name":{"type":"string","title":"Sender Name"},"message":{"type":"string","title":"Message"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","ticket_id","sender_type","sender_name","message","created_at"],"title":"SupportMessageResponse"},"SupportTicketResponse":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"guest_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Name"},"guest_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Email"},"subject":{"type":"string","title":"Subject"},"category":{"type":"string","title":"Category"},"status":{"$ref":"#/components/schemas/TicketStatus"},"priority":{"$ref":"#/components/schemas/TicketPriority"},"assigned_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To"},"assigned_to_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_message_at":{"type":"string","format":"date-time","title":"Last Message At"},"last_message_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message Preview"},"message_count":{"type":"integer","title":"Message Count","default":0},"messages":{"anyOf":[{"items":{"$ref":"#/components/schemas/SupportMessageResponse"},"type":"array"},{"type":"null"}],"title":"Messages"}},"type":"object","required":["id","subject","category","status","priority","created_at","updated_at","last_message_at"],"title":"SupportTicketResponse"},"TaxRemittancePayload":{"properties":{"tax_type":{"type":"string","title":"Tax Type"},"period":{"type":"string","title":"Period"},"amount":{"type":"number","title":"Amount"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"paid_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paid At"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["tax_type","period","amount"],"title":"TaxRemittancePayload"},"TicketCreate":{"properties":{"subject":{"type":"string","maxLength":200,"minLength":3,"title":"Subject"},"category":{"type":"string","title":"Category","default":"general"},"message":{"type":"string","maxLength":5000,"minLength":1,"title":"Message"},"guest_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Name"},"guest_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Guest Email"}},"type":"object","required":["subject","message"],"title":"TicketCreate"},"TicketPriority":{"type":"string","enum":["low","normal","high","urgent"],"title":"TicketPriority"},"TicketStatus":{"type":"string","enum":["open","in_progress","resolved","closed"],"title":"TicketStatus"},"TicketUpdate":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/TicketStatus"},{"type":"null"}]},"priority":{"anyOf":[{"$ref":"#/components/schemas/TicketPriority"},{"type":"null"}]},"assigned_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned To"}},"type":"object","title":"TicketUpdate"},"TierConfigUpdate":{"properties":{"tier":{"type":"string","title":"Tier"},"min_bookings":{"type":"integer","title":"Min Bookings"},"discount":{"type":"number","title":"Discount"},"benefits":{"items":{"type":"string"},"type":"array","title":"Benefits"}},"type":"object","required":["tier","min_bookings","discount","benefits"],"title":"TierConfigUpdate"},"TokenRefresh":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"TokenRefresh"},"Transfer":{"properties":{"type":{"type":"string","title":"Type"},"from_location":{"type":"string","title":"From Location"},"to_location":{"type":"string","title":"To Location"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["type","from_location","to_location"],"title":"Transfer","description":"Transfer details."},"TransportAmenities":{"properties":{"air_conditioning":{"type":"boolean","title":"Air Conditioning","default":false},"wifi":{"type":"boolean","title":"Wifi","default":false},"refreshments":{"type":"boolean","title":"Refreshments","default":false},"life_jackets":{"type":"boolean","title":"Life Jackets","default":true},"first_aid":{"type":"boolean","title":"First Aid","default":true},"covered_seating":{"type":"boolean","title":"Covered Seating","default":false},"luggage_storage":{"type":"boolean","title":"Luggage Storage","default":true},"charging_ports":{"type":"boolean","title":"Charging Ports","default":false}},"type":"object","title":"TransportAmenities","description":"Amenities available on transport."},"TransportBookingWithPayment":{"properties":{"transport_id":{"type":"string","title":"Transport Id"},"route_index":{"type":"integer","minimum":0.0,"title":"Route Index"},"booking_date":{"type":"string","title":"Booking Date"},"departure_time":{"type":"string","title":"Departure Time"},"passengers":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Passengers"},"seat_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Seat Ids"},"contact_name":{"type":"string","minLength":1,"title":"Contact Name"},"contact_email":{"type":"string","format":"email","title":"Contact Email"},"contact_phone":{"type":"string","minLength":5,"title":"Contact Phone"},"special_requests":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Special Requests"},"origin_url":{"type":"string","title":"Origin Url"},"coupon_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coupon Code"}},"type":"object","required":["transport_id","route_index","booking_date","departure_time","passengers","contact_name","contact_email","contact_phone","origin_url"],"title":"TransportBookingWithPayment"},"TransportCreate":{"properties":{"name":{"type":"string","title":"Name"},"transport_type":{"$ref":"#/components/schemas/TransportType"},"description":{"type":"string","title":"Description"},"operator":{"$ref":"#/components/schemas/TransportOperator"},"capacity":{"type":"integer","title":"Capacity"},"min_booking":{"type":"integer","title":"Min Booking","default":1},"routes":{"items":{"$ref":"#/components/schemas/RouteInfo"},"type":"array","title":"Routes"},"pricing":{"$ref":"#/components/schemas/PricingInfo"},"images":{"items":{"type":"string"},"type":"array","title":"Images","default":[]},"gallery":{"anyOf":[{"$ref":"#/components/schemas/TransportGallery"},{"type":"null"}]},"amenities":{"$ref":"#/components/schemas/TransportAmenities"},"base_location":{"type":"string","title":"Base Location"},"coordinates":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Coordinates"},"status":{"$ref":"#/components/schemas/TransportStatus","default":"active"},"features":{"items":{"type":"string"},"type":"array","title":"Features","default":[]},"safety_certifications":{"items":{"type":"string"},"type":"array","title":"Safety Certifications","default":[]},"instant_booking":{"type":"boolean","title":"Instant Booking","default":true},"cancellation_policy":{"type":"string","title":"Cancellation Policy","default":"Free cancellation up to 24 hours before departure"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"}},"type":"object","required":["name","transport_type","description","operator","capacity","routes","pricing","amenities","base_location"],"title":"TransportCreate","description":"Model for creating transport."},"TransportDetail":{"properties":{"transport_id":{"type":"string","title":"Transport Id"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"name":{"type":"string","title":"Name"},"transport_type":{"$ref":"#/components/schemas/TransportType"},"description":{"type":"string","title":"Description"},"operator":{"$ref":"#/components/schemas/TransportOperator"},"capacity":{"type":"integer","title":"Capacity"},"min_booking":{"type":"integer","title":"Min Booking","default":1},"seat_layout":{"anyOf":[{"$ref":"#/components/schemas/SeatLayout"},{"type":"null"}]},"routes":{"items":{"$ref":"#/components/schemas/RouteInfo"},"type":"array","title":"Routes"},"pricing":{"$ref":"#/components/schemas/PricingInfo"},"images":{"items":{"type":"string"},"type":"array","title":"Images","default":[]},"gallery":{"anyOf":[{"$ref":"#/components/schemas/TransportGallery"},{"type":"null"}]},"amenities":{"$ref":"#/components/schemas/TransportAmenities"},"base_location":{"type":"string","title":"Base Location"},"coordinates":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Coordinates"},"status":{"$ref":"#/components/schemas/TransportStatus","default":"active"},"available_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Available From"},"available_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Available Until"},"features":{"items":{"type":"string"},"type":"array","title":"Features","default":[]},"safety_certifications":{"items":{"type":"string"},"type":"array","title":"Safety Certifications","default":[]},"instant_booking":{"type":"boolean","title":"Instant Booking","default":true},"cancellation_policy":{"type":"string","title":"Cancellation Policy","default":"Free cancellation up to 24 hours before departure"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"rating":{"type":"number","title":"Rating","default":0.0},"total_reviews":{"type":"integer","title":"Total Reviews","default":0},"total_bookings":{"type":"integer","title":"Total Bookings","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"effective_cancellation_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Effective Cancellation Tiers"}},"type":"object","required":["name","transport_type","description","operator","capacity","routes","pricing","amenities","base_location"],"title":"TransportDetail","description":"GET /transport/{id}: the transport plus the cancellation policy that\nis actually enforced. Derived at read time, never stored."},"TransportDetails":{"properties":{"transport_type":{"type":"string","title":"Transport Type"},"vehicle_name":{"type":"string","title":"Vehicle Name"},"seating_capacity":{"type":"integer","title":"Seating Capacity"},"seat_numbers":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seat Numbers"},"is_scheduled":{"type":"boolean","title":"Is Scheduled","default":true},"schedule":{"anyOf":[{"items":{"$ref":"#/components/schemas/TransportSchedule"},"type":"array"},{"type":"null"}],"title":"Schedule","default":[]},"private_hire_available":{"type":"boolean","title":"Private Hire Available","default":false},"photos":{"items":{"type":"string"},"type":"array","title":"Photos","default":[]}},"type":"object","required":["transport_type","vehicle_name","seating_capacity"],"title":"TransportDetails"},"TransportGallery":{"properties":{"main_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Main Image"},"gallery_images":{"items":{"type":"string"},"type":"array","title":"Gallery Images","default":[]},"photos_360":{"items":{"$ref":"#/components/schemas/TransportMedia360Photo"},"type":"array","title":"Photos 360","default":[]},"videos_30s":{"items":{"$ref":"#/components/schemas/TransportMediaVideo"},"type":"array","title":"Videos 30S","default":[]}},"type":"object","title":"TransportGallery","description":"Enhanced media gallery for transport - mirrors ExcursionGallery."},"TransportListItem":{"properties":{"transport_id":{"type":"string","title":"Transport Id"},"name":{"type":"string","title":"Name"},"transport_type":{"$ref":"#/components/schemas/TransportType"},"description":{"type":"string","title":"Description"},"capacity":{"type":"integer","title":"Capacity"},"base_location":{"type":"string","title":"Base Location"},"pricing":{"$ref":"#/components/schemas/PricingInfo"},"images":{"items":{"type":"string"},"type":"array","title":"Images"},"rating":{"type":"number","title":"Rating"},"total_reviews":{"type":"integer","title":"Total Reviews"},"status":{"$ref":"#/components/schemas/TransportStatus"},"featured_route":{"anyOf":[{"$ref":"#/components/schemas/RouteInfo"},{"type":"null"}]},"amenities":{"$ref":"#/components/schemas/TransportAmenities"}},"type":"object","required":["transport_id","name","transport_type","description","capacity","base_location","pricing","images","rating","total_reviews","status","amenities"],"title":"TransportListItem","description":"Transport list item for listings."},"TransportListResponse":{"properties":{"transports":{"items":{"$ref":"#/components/schemas/TransportListItem"},"type":"array","title":"Transports"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"pages":{"type":"integer","title":"Pages"},"transport_types":{"items":{"type":"string"},"type":"array","title":"Transport Types","default":[]}},"type":"object","required":["transports","total","page","pages"],"title":"TransportListResponse","description":"Response for transport listings."},"TransportMedia360Photo":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type","default":"equirectangular"},"url":{"type":"string","title":"Url"},"thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["url","title"],"title":"TransportMedia360Photo","description":"360-degree photo media for transport (equirectangular or YouTube 360)."},"TransportMediaVideo":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail"},"title":{"type":"string","title":"Title"},"duration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duration"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"video_type":{"type":"string","title":"Video Type","default":"mp4"}},"type":"object","required":["url","title"],"title":"TransportMediaVideo","description":"Short video media for transport (mp4)."},"TransportOperator":{"properties":{"name":{"type":"string","title":"Name"},"contact_number":{"type":"string","title":"Contact Number"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"license_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License Number"},"years_in_operation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Years In Operation"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"rating_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rating Source"}},"type":"object","required":["name","contact_number"],"title":"TransportOperator","description":"Transport service operator details."},"TransportResponse":{"properties":{"transport_id":{"type":"string","title":"Transport Id"},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor Id"},"name":{"type":"string","title":"Name"},"transport_type":{"$ref":"#/components/schemas/TransportType"},"description":{"type":"string","title":"Description"},"operator":{"$ref":"#/components/schemas/TransportOperator"},"capacity":{"type":"integer","title":"Capacity"},"min_booking":{"type":"integer","title":"Min Booking","default":1},"seat_layout":{"anyOf":[{"$ref":"#/components/schemas/SeatLayout"},{"type":"null"}]},"routes":{"items":{"$ref":"#/components/schemas/RouteInfo"},"type":"array","title":"Routes"},"pricing":{"$ref":"#/components/schemas/PricingInfo"},"images":{"items":{"type":"string"},"type":"array","title":"Images","default":[]},"gallery":{"anyOf":[{"$ref":"#/components/schemas/TransportGallery"},{"type":"null"}]},"amenities":{"$ref":"#/components/schemas/TransportAmenities"},"base_location":{"type":"string","title":"Base Location"},"coordinates":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Coordinates"},"status":{"$ref":"#/components/schemas/TransportStatus","default":"active"},"available_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Available From"},"available_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Available Until"},"features":{"items":{"type":"string"},"type":"array","title":"Features","default":[]},"safety_certifications":{"items":{"type":"string"},"type":"array","title":"Safety Certifications","default":[]},"instant_booking":{"type":"boolean","title":"Instant Booking","default":true},"cancellation_policy":{"type":"string","title":"Cancellation Policy","default":"Free cancellation up to 24 hours before departure"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"},"rating":{"type":"number","title":"Rating","default":0.0},"total_reviews":{"type":"integer","title":"Total Reviews","default":0},"total_bookings":{"type":"integer","title":"Total Bookings","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["name","transport_type","description","operator","capacity","routes","pricing","amenities","base_location"],"title":"TransportResponse","description":"Complete transport response."},"TransportSchedule":{"properties":{"departure_time":{"type":"string","title":"Departure Time"},"arrival_time":{"type":"string","title":"Arrival Time"},"route_from":{"type":"string","title":"Route From"},"route_to":{"type":"string","title":"Route To"},"days_of_week":{"items":{"type":"string"},"type":"array","title":"Days Of Week"}},"type":"object","required":["departure_time","arrival_time","route_from","route_to","days_of_week"],"title":"TransportSchedule"},"TransportSearch":{"properties":{"departure_island":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Island"},"destination_island":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Island"},"transport_type":{"anyOf":[{"$ref":"#/components/schemas/TransportType"},{"type":"null"}]},"min_capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Capacity"},"max_price_per_person":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Price Per Person"},"max_price_per_boat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Price Per Boat"},"departure_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Date"},"instant_booking_only":{"type":"boolean","title":"Instant Booking Only","default":false}},"type":"object","title":"TransportSearch","description":"Search criteria for transport."},"TransportStatus":{"type":"string","enum":["active","inactive","maintenance"],"title":"TransportStatus"},"TransportType":{"type":"string","enum":["speedboat_private","speedboat_scheduled","ferry","dhoni","yacht"],"title":"TransportType"},"TransportUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Capacity"},"routes":{"anyOf":[{"items":{"$ref":"#/components/schemas/RouteInfo"},"type":"array"},{"type":"null"}],"title":"Routes"},"pricing":{"anyOf":[{"$ref":"#/components/schemas/PricingInfo"},{"type":"null"}]},"images":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Images"},"gallery":{"anyOf":[{"$ref":"#/components/schemas/TransportGallery"},{"type":"null"}]},"amenities":{"anyOf":[{"$ref":"#/components/schemas/TransportAmenities"},{"type":"null"}]},"status":{"anyOf":[{"$ref":"#/components/schemas/TransportStatus"},{"type":"null"}]},"features":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Features"},"cancellation_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Policy"},"cancellation_policy_tiers":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cancellation Policy Tiers"}},"type":"object","title":"TransportUpdate","description":"Model for updating transport."},"TripItinerary":{"properties":{"check_in_suggestion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check In Suggestion"},"nights":{"type":"integer","title":"Nights"},"adults":{"type":"integer","title":"Adults"},"children":{"type":"integer","title":"Children"},"property":{"anyOf":[{"$ref":"#/components/schemas/PlannedProperty"},{"type":"null"}]},"excursions":{"items":{"$ref":"#/components/schemas/PlannedExcursion"},"type":"array","title":"Excursions"},"special_requests":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Special Requests"},"pricing":{"$ref":"#/components/schemas/TripPricing"}},"type":"object","required":["nights","adults","children","pricing"],"title":"TripItinerary"},"TripPlanRequest":{"properties":{"message":{"type":"string","maxLength":1000,"minLength":1,"title":"Message"},"conversation_history":{"items":{"$ref":"#/components/schemas/TripPlanTurn"},"type":"array","maxItems":20,"title":"Conversation History"}},"type":"object","required":["message"],"title":"TripPlanRequest"},"TripPlanResponse":{"properties":{"assistant_message":{"type":"string","title":"Assistant Message"},"itinerary":{"anyOf":[{"$ref":"#/components/schemas/TripItinerary"},{"type":"null"}]}},"type":"object","required":["assistant_message"],"title":"TripPlanResponse"},"TripPlanTurn":{"properties":{"role":{"type":"string","title":"Role"},"content":{"type":"string","title":"Content"}},"type":"object","required":["role","content"],"title":"TripPlanTurn"},"TripPricing":{"properties":{"property_total":{"type":"number","title":"Property Total","default":0.0},"excursions_total":{"type":"number","title":"Excursions Total","default":0.0},"grand_total":{"type":"number","title":"Grand Total","default":0.0},"budget":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget"},"within_budget":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Within Budget"},"difference":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Difference"}},"type":"object","title":"TripPricing"},"UndoMarkPaidPayload":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"UndoMarkPaidPayload"},"UpdateSessionRequest":{"properties":{"guide_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guide Name"},"resources":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Resources"}},"type":"object","title":"UpdateSessionRequest"},"UserCreate":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"full_name":{"type":"string","title":"Full Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"role":{"$ref":"#/components/schemas/UserRole","default":"client"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"accepted_terms":{"type":"boolean","title":"Accepted Terms","default":false},"confirmed_adult":{"type":"boolean","title":"Confirmed Adult","default":false}},"type":"object","required":["email","password","full_name"],"title":"UserCreate"},"UserInvitationCreateRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"full_name":{"type":"string","minLength":1,"title":"Full Name"},"role":{"$ref":"#/components/schemas/UserRole"}},"type":"object","required":["email","full_name","role"],"title":"UserInvitationCreateRequest"},"UserLogin":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"UserLogin"},"UserResponse":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"full_name":{"type":"string","title":"Full Name"},"role":{"$ref":"#/components/schemas/UserRole"},"is_active":{"type":"boolean","title":"Is Active"},"is_verified":{"type":"boolean","title":"Is Verified"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"date_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Of Birth"},"profile_photo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Photo"},"legal_acceptance_required":{"type":"boolean","title":"Legal Acceptance Required","default":false}},"type":"object","required":["id","email","full_name","role","is_active","is_verified","created_at"],"title":"UserResponse"},"UserRole":{"type":"string","enum":["super_admin","admin","moderator","vendor","agent","sales","client","staff"],"title":"UserRole"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VendorApprovalAction":{"properties":{"registration_id":{"type":"string","title":"Registration Id"},"action":{"type":"string","title":"Action"},"admin_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Notes"}},"type":"object","required":["registration_id","action"],"title":"VendorApprovalAction"},"VendorBusinessType":{"type":"string","enum":["hotel","resort","guesthouse","villa_rental","tour_operator","transport_service","activity_provider"],"title":"VendorBusinessType"},"VendorCommissionUpdate":{"properties":{"commission_rate":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Commission Rate"},"commission_basis":{"type":"string","title":"Commission Basis","default":"GROSS_PRODUCT_VALUE"}},"type":"object","required":["commission_rate"],"title":"VendorCommissionUpdate"},"VendorCreate":{"properties":{"business_name":{"type":"string","title":"Business Name"},"business_type":{"$ref":"#/components/schemas/VendorBusinessType"},"contact_person":{"$ref":"#/components/schemas/ContactPerson"},"business_details":{"$ref":"#/components/schemas/BusinessDetails"}},"type":"object","required":["business_name","business_type","contact_person","business_details"],"title":"VendorCreate"},"VendorDashboardStats":{"properties":{"property_id":{"type":"string","title":"Property Id"},"total_rooms":{"type":"integer","title":"Total Rooms"},"occupancy_rate":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Occupancy Rate"},"revenue_this_month":{"type":"number","title":"Revenue This Month","default":0.0},"bookings_this_month":{"type":"integer","title":"Bookings This Month","default":0},"blocked_days_this_month":{"type":"integer","title":"Blocked Days This Month","default":0},"average_daily_rate":{"type":"number","title":"Average Daily Rate","default":0.0},"upcoming_checkins":{"type":"integer","title":"Upcoming Checkins","default":0},"upcoming_checkouts":{"type":"integer","title":"Upcoming Checkouts","default":0}},"type":"object","required":["property_id","total_rooms","occupancy_rate"],"title":"VendorDashboardStats","description":"Dashboard statistics for vendor."},"VendorDetailResponse":{"properties":{"id":{"type":"string","title":"Id"},"business_name":{"type":"string","title":"Business Name"},"business_type":{"$ref":"#/components/schemas/VendorBusinessType"},"verification_status":{"$ref":"#/components/schemas/VerificationStatus"},"contact_person":{"$ref":"#/components/schemas/ContactPerson"},"business_details":{"$ref":"#/components/schemas/BusinessDetails"},"is_active":{"type":"boolean","title":"Is Active"},"total_properties":{"type":"integer","title":"Total Properties"},"average_rating":{"type":"number","title":"Average Rating"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"enabled_products":{"items":{"type":"string"},"type":"array","title":"Enabled Products"},"documents":{"items":{"$ref":"#/components/schemas/VendorDocument"},"type":"array","title":"Documents"},"commission_rate":{"type":"number","title":"Commission Rate"},"payment_terms":{"type":"integer","title":"Payment Terms"},"currency":{"type":"string","title":"Currency"},"total_bookings":{"type":"integer","title":"Total Bookings"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"},"bank_details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Bank Details"},"touricon_rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Touricon Rating"}},"type":"object","required":["id","business_name","business_type","verification_status","contact_person","business_details","is_active","total_properties","average_rating","created_at","documents","commission_rate","payment_terms","currency","total_bookings"],"title":"VendorDetailResponse"},"VendorDocument":{"properties":{"type":{"$ref":"#/components/schemas/DocumentType"},"url":{"type":"string","title":"Url"},"filename":{"type":"string","title":"Filename"},"uploaded_at":{"type":"string","format":"date-time","title":"Uploaded At"},"verified":{"type":"boolean","title":"Verified","default":false},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["type","url","filename"],"title":"VendorDocument"},"VendorEnabledProductsUpdate":{"properties":{"enabled_products":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Enabled Products"},"product_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Type"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["enabled_products"],"title":"VendorEnabledProductsUpdate"},"VendorListResponse":{"properties":{"vendors":{"items":{"$ref":"#/components/schemas/VendorResponse"},"type":"array","title":"Vendors"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["vendors","total","page","limit","total_pages"],"title":"VendorListResponse"},"VendorPayoutActionBody":{"properties":{"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"VendorPayoutActionBody"},"VendorPayoutRequestBody":{"properties":{"requested_amount":{"type":"number","minimum":100.0,"title":"Requested Amount"}},"type":"object","required":["requested_amount"],"title":"VendorPayoutRequestBody"},"VendorRegistrationCreate":{"properties":{"listing_type":{"$ref":"#/components/schemas/ListingType"},"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"phone_number":{"type":"string","title":"Phone Number"},"business_name":{"type":"string","title":"Business Name"},"address_line_1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line 1"},"island":{"type":"string","title":"Island"},"atoll":{"type":"string","title":"Atoll"},"country":{"type":"string","title":"Country","default":"Maldives"},"tin_number":{"type":"string","title":"Tin Number"},"bank_name":{"type":"string","title":"Bank Name"},"bank_account_name":{"type":"string","title":"Bank Account Name"},"bank_account_number":{"type":"string","title":"Bank Account Number"},"swift_code":{"type":"string","title":"Swift Code"},"stay_details":{"anyOf":[{"$ref":"#/components/schemas/StayDetails"},{"type":"null"}]},"excursion_details":{"anyOf":[{"$ref":"#/components/schemas/ExcursionDetails"},{"type":"null"}]},"transport_details":{"anyOf":[{"$ref":"#/components/schemas/TransportDetails"},{"type":"null"}]},"kyc_documents":{"items":{"$ref":"#/components/schemas/KYCDocument"},"type":"array","title":"Kyc Documents","default":[]},"accepted_terms":{"type":"boolean","title":"Accepted Terms","default":false},"confirmed_adult":{"type":"boolean","title":"Confirmed Adult","default":false}},"type":"object","required":["listing_type","full_name","email","password","phone_number","business_name","island","atoll","tin_number","bank_name","bank_account_name","bank_account_number","swift_code"],"title":"VendorRegistrationCreate"},"VendorRegistrationDetailResponse":{"properties":{"registration_id":{"type":"string","title":"Registration Id"},"listing_type":{"$ref":"#/components/schemas/ListingType"},"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","format":"email","title":"Email"},"business_name":{"type":"string","title":"Business Name"},"island":{"type":"string","title":"Island"},"atoll":{"type":"string","title":"Atoll"},"approval_status":{"$ref":"#/components/schemas/ApprovalStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"admin_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Notes"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"},"phone_number":{"type":"string","title":"Phone Number"},"address_line_1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line 1"},"country":{"type":"string","title":"Country"},"tin_number":{"type":"string","title":"Tin Number"},"bank_name":{"type":"string","title":"Bank Name"},"bank_account_name":{"type":"string","title":"Bank Account Name"},"bank_account_number":{"type":"string","title":"Bank Account Number"},"swift_code":{"type":"string","title":"Swift Code"},"stay_details":{"anyOf":[{"$ref":"#/components/schemas/StayDetails"},{"type":"null"}]},"excursion_details":{"anyOf":[{"$ref":"#/components/schemas/ExcursionDetails"},{"type":"null"}]},"transport_details":{"anyOf":[{"$ref":"#/components/schemas/TransportDetails"},{"type":"null"}]},"kyc_documents":{"items":{"$ref":"#/components/schemas/KYCDocument"},"type":"array","title":"Kyc Documents"}},"type":"object","required":["registration_id","listing_type","full_name","email","business_name","island","atoll","approval_status","created_at","phone_number","country","tin_number","bank_name","bank_account_name","bank_account_number","swift_code","kyc_documents"],"title":"VendorRegistrationDetailResponse"},"VendorRegistrationResponse":{"properties":{"registration_id":{"type":"string","title":"Registration Id"},"listing_type":{"$ref":"#/components/schemas/ListingType"},"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","format":"email","title":"Email"},"business_name":{"type":"string","title":"Business Name"},"island":{"type":"string","title":"Island"},"atoll":{"type":"string","title":"Atoll"},"approval_status":{"$ref":"#/components/schemas/ApprovalStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"admin_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Notes"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"}},"type":"object","required":["registration_id","listing_type","full_name","email","business_name","island","atoll","approval_status","created_at"],"title":"VendorRegistrationResponse"},"VendorRegistrationUpdate":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"phone_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone Number"},"business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Name"},"address_line_1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line 1"},"island":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Island"},"atoll":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Atoll"},"tin_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tin Number"},"bank_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Name"},"bank_account_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Account Name"},"bank_account_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Account Number"},"swift_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Swift Code"},"stay_details":{"anyOf":[{"$ref":"#/components/schemas/StayDetails"},{"type":"null"}]},"excursion_details":{"anyOf":[{"$ref":"#/components/schemas/ExcursionDetails"},{"type":"null"}]},"transport_details":{"anyOf":[{"$ref":"#/components/schemas/TransportDetails"},{"type":"null"}]},"kyc_documents":{"anyOf":[{"items":{"$ref":"#/components/schemas/KYCDocument"},"type":"array"},{"type":"null"}],"title":"Kyc Documents"}},"type":"object","title":"VendorRegistrationUpdate"},"VendorResponse":{"properties":{"id":{"type":"string","title":"Id"},"business_name":{"type":"string","title":"Business Name"},"business_type":{"$ref":"#/components/schemas/VendorBusinessType"},"verification_status":{"$ref":"#/components/schemas/VerificationStatus"},"contact_person":{"$ref":"#/components/schemas/ContactPerson"},"business_details":{"$ref":"#/components/schemas/BusinessDetails"},"is_active":{"type":"boolean","title":"Is Active"},"total_properties":{"type":"integer","title":"Total Properties"},"average_rating":{"type":"number","title":"Average Rating"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"enabled_products":{"items":{"type":"string"},"type":"array","title":"Enabled Products"}},"type":"object","required":["id","business_name","business_type","verification_status","contact_person","business_details","is_active","total_properties","average_rating","created_at"],"title":"VendorResponse"},"VendorStaffInviteRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"full_name":{"type":"string","minLength":1,"title":"Full Name"},"role_id":{"type":"string","title":"Role Id"}},"type":"object","required":["email","full_name","role_id"],"title":"VendorStaffInviteRequest"},"VendorStaffUpdateRequest":{"properties":{"role_id":{"type":"string","title":"Role Id"}},"type":"object","required":["role_id"],"title":"VendorStaffUpdateRequest"},"VendorStats":{"properties":{"total_vendors":{"type":"integer","title":"Total Vendors"},"pending_verification":{"type":"integer","title":"Pending Verification"},"verified_vendors":{"type":"integer","title":"Verified Vendors"},"rejected_vendors":{"type":"integer","title":"Rejected Vendors"},"by_business_type":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Business Type"},"monthly_registrations":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Monthly Registrations"}},"type":"object","required":["total_vendors","pending_verification","verified_vendors","rejected_vendors","by_business_type","monthly_registrations"],"title":"VendorStats"},"VendorTouriconRatingUpdate":{"properties":{"rating":{"anyOf":[{"type":"number","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Rating"}},"type":"object","title":"VendorTouriconRatingUpdate","description":"The rating Touricon gives an operator, 1-5 (null removes it)."},"VendorUpdate":{"properties":{"business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Name"},"business_type":{"anyOf":[{"$ref":"#/components/schemas/VendorBusinessType"},{"type":"null"}]},"contact_person":{"anyOf":[{"$ref":"#/components/schemas/ContactPerson"},{"type":"null"}]},"business_details":{"anyOf":[{"$ref":"#/components/schemas/BusinessDetails"},{"type":"null"}]},"commission_rate":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Commission Rate"},"payment_terms":{"anyOf":[{"type":"integer","maximum":180.0,"minimum":1.0},{"type":"null"}],"title":"Payment Terms"},"bank_details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Bank Details"}},"type":"object","title":"VendorUpdate"},"VendorVerification":{"properties":{"vendor_id":{"type":"string","title":"Vendor Id"},"status":{"$ref":"#/components/schemas/VerificationStatus"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["vendor_id","status"],"title":"VendorVerification"},"VerificationStatus":{"type":"string","enum":["pending","under_review","verified","rejected","suspended"],"title":"VerificationStatus"},"VideoIn":{"properties":{"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"url":{"type":"string","maxLength":600,"minLength":1,"title":"Url"},"thumbnail":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Thumbnail"},"duration":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Duration","description":"e.g. '0:30'"},"description":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Description"},"video_type":{"type":"string","maxLength":12,"title":"Video Type","default":"mp4"}},"type":"object","required":["title","url"],"title":"VideoIn"},"WalkInBookingRequest":{"properties":{"check_in_date":{"type":"string","title":"Check In Date"},"check_out_date":{"type":"string","title":"Check Out Date"},"adults":{"type":"integer","minimum":1.0,"title":"Adults"},"children":{"type":"integer","minimum":0.0,"title":"Children","default":0},"rooms":{"items":{"$ref":"#/components/schemas/WalkInRoomSelection"},"type":"array","title":"Rooms"},"guest_details":{"$ref":"#/components/schemas/WalkInGuestDetails"},"payment_method":{"type":"string","title":"Payment Method","default":"cash"},"payment_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Note"},"payment_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Reference"}},"type":"object","required":["check_in_date","check_out_date","adults","rooms","guest_details"],"title":"WalkInBookingRequest"},"WalkInGuestDetails":{"properties":{"first_name":{"type":"string","minLength":1,"title":"First Name"},"last_name":{"type":"string","minLength":1,"title":"Last Name"},"email":{"type":"string","format":"email","title":"Email"},"phone":{"type":"string","minLength":5,"title":"Phone"},"country":{"type":"string","minLength":2,"title":"Country"},"special_requests":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Special Requests"}},"type":"object","required":["first_name","last_name","email","phone","country"],"title":"WalkInGuestDetails"},"WalkInRoomSelection":{"properties":{"room_type_id":{"type":"string","title":"Room Type Id"},"quantity":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Quantity"},"meal_option":{"type":"string","title":"Meal Option","default":"room_only"}},"type":"object","required":["room_type_id","quantity"],"title":"WalkInRoomSelection"},"WishlistAdd":{"properties":{"item_type":{"$ref":"#/components/schemas/WishlistItemType"},"item_id":{"type":"string","minLength":1,"title":"Item Id"}},"type":"object","required":["item_type","item_id"],"title":"WishlistAdd"},"WishlistItemResponse":{"properties":{"id":{"type":"string","title":"Id"},"item_type":{"$ref":"#/components/schemas/WishlistItemType"},"item_id":{"type":"string","title":"Item Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","default":"USD"},"slug_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug Path"}},"type":"object","required":["id","item_type","item_id","created_at"],"title":"WishlistItemResponse"},"WishlistItemType":{"type":"string","enum":["property","excursion","transport","package"],"title":"WishlistItemType"},"models__agent__AgentBusinessDetails":{"properties":{"registration_number":{"type":"string","title":"Registration Number"},"agency_license_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agency License Number"},"tax_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Id"},"address":{"type":"string","title":"Address"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"established_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Established Year"}},"type":"object","required":["registration_number","address"],"title":"AgentBusinessDetails"},"models__auth__UserUpdate":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"profile_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Image Url"},"date_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Of Birth"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"language_preference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language Preference"},"currency_preference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency Preference"}},"type":"object","title":"UserUpdate"},"models__property__HouseRule":{"properties":{"rule_type":{"type":"string","title":"Rule Type"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"details":{"items":{"type":"string"},"type":"array","title":"Details"}},"type":"object","required":["rule_type","title","description","details"],"title":"HouseRule"},"models__property_enhanced__HouseRule":{"properties":{"rule_type":{"type":"string","title":"Rule Type"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"details":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Details","default":[]}},"type":"object","required":["rule_type","title","description"],"title":"HouseRule"},"routes__admin_users__UserUpdate":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"UserUpdate"},"routes__agent_registration__AgentBusinessDetails":{"properties":{"registration_number":{"type":"string","title":"Registration Number"},"tax_id":{"type":"string","title":"Tax Id"},"address":{"type":"string","title":"Address"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"established_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Established Year"}},"type":"object","required":["registration_number","tax_id","address"],"title":"AgentBusinessDetails"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}