{"openapi":"3.1.0","info":{"title":"SGI","version":"1.0.0","description":"Auto-generated API documentation."},"servers":[],"paths":{"\/api\/v1\/public\/plans":{"get":{"tags":["Core"],"summary":"GET PublicCatalogController::index","operationId":"publicCatalog_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Package"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/public\/checkout\/orders":{"post":{"tags":["Core"],"summary":"POST PublicCheckoutController::create","operationId":"publicCheckout_create","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"storefront_domain":{"type":"string","maxLength":253,"pattern":"\/^(?:localhost|(?:[a-z0-9](?:[a-z0-9-]{0"},"checkout_type":{"type":"string","enum":["organization","reseller"]},"package_id":{"type":"integer","minimum":1},"duration_months":{"type":"integer","enum":["1","3","6","12","24","36"]},"customer":{"type":"array","items":{"type":"string","properties":{"first_name":{"type":"string","maxLength":50},"last_name":{"type":"string","nullable":true,"maxLength":50},"email":{"type":"string","format":"email","maxLength":100},"mobile":{"type":"string","maxLength":20,"pattern":"\/^(?:[0-9]{10}|\\+[1-9][0-9]{7"},"organization_name":{"type":"string","nullable":true,"maxLength":200},"business_name":{"type":"string","nullable":true,"maxLength":200},"password":{"type":"string","nullable":true,"minLength":8,"maxLength":100},"password_confirmation":{"type":"string"},"phone":{"type":"string","nullable":true,"maxLength":20},"postal_code":{"type":"string","nullable":true,"maxLength":20},"city_id":{"type":"integer","nullable":true,"minimum":1}}}}},"required":["storefront_domain","checkout_type","package_id","duration_months","customer","customer.first_name","customer.email","customer.mobile","customer.organization_name","customer.business_name","customer.password","customer.password_confirmation"]}}}}}},"\/api\/v1\/public\/checkout\/free":{"post":{"tags":["Core"],"summary":"POST PublicCheckoutController::activateFree","operationId":"publicCheckout_activateFree","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"storefront_domain":{"type":"string","maxLength":253,"pattern":"\/^(?:localhost|(?:[a-z0-9](?:[a-z0-9-]{0"},"checkout_type":{"type":"string","enum":["organization","reseller"]},"trial":{"type":"boolean"},"package_id":{"type":"integer","minimum":1},"duration_months":{"type":"integer","enum":["1","3","6","12","24","36"]},"customer":{"type":"array","items":{"type":"string","properties":{"first_name":{"type":"string","maxLength":50},"last_name":{"type":"string","nullable":true,"maxLength":50},"email":{"type":"string","format":"email","maxLength":100},"mobile":{"type":"string","maxLength":20,"pattern":"\/^(?:[0-9]{10}|\\+[1-9][0-9]{7"},"organization_name":{"type":"string","nullable":true,"maxLength":200},"business_name":{"type":"string","nullable":true,"maxLength":200},"password":{"type":"string","nullable":true,"minLength":8,"maxLength":100},"password_confirmation":{"type":"string"},"phone":{"type":"string","nullable":true,"maxLength":20},"postal_code":{"type":"string","nullable":true,"maxLength":20},"city_id":{"type":"integer","nullable":true,"minimum":1}}}}},"required":["storefront_domain","checkout_type","package_id","duration_months","customer","customer.first_name","customer.email","customer.mobile","customer.organization_name","customer.business_name","customer.password","customer.password_confirmation"]}}}}}},"\/api\/v1\/public\/checkout\/verify":{"post":{"tags":["Core"],"summary":"POST PublicCheckoutController::verify","operationId":"publicCheckout_verify","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"storefront_domain":{"type":"string","maxLength":253,"pattern":"\/^(?:localhost|(?:[a-z0-9](?:[a-z0-9-]{0"},"checkout_id":{"type":"string","format":"uuid"},"razorpay_order_id":{"type":"string","maxLength":100},"razorpay_payment_id":{"type":"string","maxLength":100},"razorpay_signature":{"type":"string","minLength":64,"maxLength":64}},"required":["storefront_domain","checkout_id","razorpay_order_id","razorpay_payment_id","razorpay_signature"]}}}}}},"\/api\/v1\/webhooks\/public-checkout\/razorpay":{"post":{"tags":["Core"],"summary":"POST PublicCheckoutWebhookController::handle","operationId":"publicCheckoutWebhook_handle","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/theme\/{domain}":{"get":{"tags":["Core"],"summary":"GET ThemeController::getTheme","operationId":"theme_getTheme","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Theme"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/webhooks\/payment\/{integrationConfig}":{"post":{"tags":["Integration"],"summary":"POST PaymentWebhookController::handle","operationId":"paymentWebhook_handle","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"integrationConfig","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/login\/password":{"post":{"tags":["Auth"],"summary":"POST AuthController::loginWithPassword","operationId":"auth_loginWithPassword","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/AuthSession"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string","maxLength":100},"password":{"type":"string"},"device_id":{"type":"string","maxLength":100},"fcm_token":{"type":"string","nullable":true,"maxLength":255},"device_name":{"type":"string","nullable":true,"maxLength":100},"device_type":{"type":"string","nullable":true,"enum":["ios","android","web"]}},"required":["identifier","password","device_id"]}}}}}},"\/api\/v1\/auth\/login\/otp":{"post":{"tags":["Auth"],"summary":"POST AuthController::loginWithOtp","operationId":"auth_loginWithOtp","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/AuthSession"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"mobile":{"type":"string","maxLength":20},"otp_token":{"type":"string"},"otp":{"type":"string","minLength":6,"maxLength":6},"device_id":{"type":"string","maxLength":100},"fcm_token":{"type":"string","nullable":true,"maxLength":255},"device_name":{"type":"string","nullable":true,"maxLength":100},"device_type":{"type":"string","nullable":true,"enum":["ios","android","web"]}},"required":["mobile","otp_token","otp","device_id"]}}}}}},"\/api\/v1\/auth\/send-otp":{"post":{"tags":["Auth"],"summary":"POST AuthController::sendOtp","operationId":"auth_sendOtp","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"mobile":{"type":"string","pattern":"\/^[0-9]{10}$\/"},"type":{"type":"string","enum":["LOGIN","REGISTER","FORGOT_PASSWORD","VERIFY_MOBILE","TWO_FACTOR","ENTITLEMENT_OVERRIDE"]},"otp_token":{"type":"string","nullable":true,"maxLength":128}},"required":["mobile","type"]}}}}}},"\/api\/v1\/auth\/reset-password":{"post":{"tags":["Auth"],"summary":"POST AuthController::resetPassword","operationId":"auth_resetPassword","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"mobile":{"type":"string","maxLength":20},"otp_token":{"type":"string"},"otp":{"type":"string","minLength":6,"maxLength":6},"password":{"type":"string","minLength":8,"maxLength":255},"password_confirmation":{"type":"string","minLength":8}},"required":["mobile","otp_token","otp","password","password_confirmation"]}}}}}},"\/api\/v1\/auth\/refresh":{"post":{"tags":["Auth"],"summary":"POST AuthController::refreshToken","operationId":"auth_refreshToken","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/AuthSession"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"refresh_token":{"type":"string"},"device_id":{"type":"string","maxLength":100}},"required":["refresh_token","device_id"]}}}}}},"\/api\/v1\/auth\/logout":{"post":{"tags":["Auth"],"summary":"POST AuthController::logout","operationId":"auth_logout","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/logout-all-devices":{"post":{"tags":["Auth"],"summary":"POST AuthController::logoutAllDevices","operationId":"auth_logoutAllDevices","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/profile":{"get":{"tags":["Auth"],"summary":"GET AuthController::profile","operationId":"auth_profile","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/User"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/context":{"get":{"tags":["Auth"],"summary":"GET AuthController::context","operationId":"auth_context","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/AccessContext"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/scope-targets":{"get":{"tags":["Auth"],"summary":"GET AuthController::scopeTargets","operationId":"auth_scopeTargets","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"maximum":100000}}]}},"\/api\/v1\/auth\/permissions":{"get":{"tags":["Auth"],"summary":"GET AuthController::permissions","operationId":"auth_permissions","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/AuthPermission"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/theme":{"get":{"tags":["Core"],"summary":"GET ThemeController::getCurrentTheme","operationId":"theme_getCurrentTheme","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Theme"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/reseller\/billing":{"get":{"tags":["Core"],"summary":"GET ResellerBillingController::index","operationId":"resellerBilling_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/reseller\/allocations":{"get":{"tags":["Core"],"summary":"GET ResellerBillingController::allocation","operationId":"resellerBilling_allocation","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/reseller\/billing\/invoices":{"get":{"tags":["Core"],"summary":"GET ResellerBillingController::invoices","operationId":"resellerBilling_invoices","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/ResellerBillingInvoice"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/reseller\/settings":{"get":{"tags":["Core"],"summary":"GET ResellerSelfSettingsController::show","operationId":"resellerSelfSettings_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Theme"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}},"post":{"tags":["Core"],"summary":"POST ResellerSelfSettingsController::update","operationId":"resellerSelfSettings_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Theme"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/reseller\/payment-gateway":{"get":{"tags":["Core"],"summary":"GET ResellerPaymentGatewayController::show","operationId":"resellerPaymentGateway_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}},"put":{"tags":["Core"],"summary":"PUT ResellerPaymentGatewayController::update","operationId":"resellerPaymentGateway_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["razorpay"]},"api_key":{"type":"string","nullable":true,"maxLength":500},"api_secret":{"type":"string","nullable":true,"maxLength":500},"webhook_secret":{"type":"string","nullable":true,"maxLength":500},"currency":{"type":"string","enum":["INR","USD","GBP","EUR","AED","SAR","CAD","AUD","SGD","JPY","KWD","BHD","OMR","JOD","TND","CHF","NZD","HKD","MYR","THB","ZAR","QAR","PHP","IDR","CNY","KRW","VND","BRL","MXN"],"minLength":3,"maxLength":3},"is_test_mode":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":["currency","is_test_mode","is_active"]}}}}}},"\/api\/v1\/auth\/dashboard":{"get":{"tags":["Dashboard"],"summary":"GET DashboardController::show","operationId":"dashboard_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/dashboard\/workspaces":{"get":{"tags":["Dashboard"],"summary":"GET DashboardController::workspaces","operationId":"dashboard_workspaces","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/organizations":{"get":{"tags":["Auth"],"summary":"GET AuthController::organizations","operationId":"auth_organizations","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MyOrganization"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/organization\/switch":{"post":{"tags":["Auth"],"summary":"POST AuthController::switchOrganization","operationId":"auth_switchOrganization","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/AccessContext"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"}},"required":["organization_id"]}}}}}},"\/api\/v1\/auth\/system\/cache\/clear":{"post":{"tags":["System"],"summary":"POST CacheController::clear","operationId":"cache_clear","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"targets":{"type":"array","minLength":1,"items":{"type":"string"}}},"required":["targets"]}}}}}},"\/api\/v1\/auth\/system\/cache\/forget":{"post":{"tags":["System"],"summary":"POST CacheController::forget","operationId":"cache_forget","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","nullable":true,"maxLength":500},"tags":{"type":"array","nullable":true,"minLength":1,"items":{"type":"string"}}},"required":[]}}}}}},"\/api\/v1\/auth\/system\/cache\/forget-model":{"post":{"tags":["System"],"summary":"POST CacheController::forgetModel","operationId":"cache_forgetModel","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"tag":{"type":"string","maxLength":100},"id":{"type":"integer","minimum":1},"organization_id":{"type":"integer","nullable":true,"minimum":1},"branch_id":{"type":"integer","nullable":true,"minimum":1},"reseller_id":{"type":"integer","nullable":true,"minimum":1},"created_by":{"type":"integer","nullable":true,"minimum":1},"updated_by":{"type":"integer","nullable":true,"minimum":1}},"required":["tag","id"]}}}}}},"\/api\/v1\/auth\/users":{"get":{"tags":["Auth"],"summary":"GET UserController::index","operationId":"user_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":30,"nullable":true}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"branch_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","organizationMemberships","agents","employee","roles","permissions","reseller","branch"]},"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["id","first_name","last_name","email","status","created_at","updated_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Auth"],"summary":"POST UserController::store","operationId":"user_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/User"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"first_name":{"type":"string","maxLength":50},"last_name":{"type":"string","nullable":true,"maxLength":50},"email":{"type":"string","maxLength":100},"mobile":{"type":"integer","minLength":10,"maxLength":10},"password":{"type":"string","nullable":true,"minLength":8},"status":{"type":"string","nullable":true,"enum":["active","inactive","suspended","pending"]}},"required":["first_name","email","mobile"]}}}}}},"\/api\/v1\/auth\/users\/{user}":{"get":{"tags":["Auth"],"summary":"GET UserController::show","operationId":"user_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/User"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"user","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","organizationMemberships","agents","employee","roles","permissions","reseller","branch"]},"nullable":true}}]},"put":{"tags":["Auth"],"summary":"PUT UserController::update","operationId":"user_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/User"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"user","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"first_name":{"type":"string","maxLength":50},"last_name":{"type":"string","nullable":true,"maxLength":50},"email":{"type":"string","maxLength":100},"mobile":{"type":"integer","minLength":10,"maxLength":10},"password":{"type":"string","nullable":true,"minLength":8},"status":{"type":"string","enum":["active","inactive","suspended","pending"]}},"required":[]}}}}},"delete":{"tags":["Auth"],"summary":"DELETE UserController::destroy","operationId":"user_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"user","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/users\/{user}\/roles":{"put":{"tags":["Auth"],"summary":"PUT UserRoleController::update","operationId":"userRole_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/User"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"user","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"role_ids":{"type":"array","items":{"type":"string"}}},"required":["role_ids"]}}}}}},"\/api\/v1\/auth\/core\/entitlement-overrides":{"get":{"tags":["Core"],"summary":"GET EntitlementOverrideController::index","operationId":"entitlementOverride_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/EntitlementOverride"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"metric","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["users","files","storage_bytes","branches","api_calls","sms","whatsapp","email","push","leads","bookings","properties","employees","transactions","reports","exports"],"nullable":true}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":30,"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","reseller","approvedBy"]},"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"maximum":500,"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["id","metric","quantity","starts_at","expires_at","created_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST EntitlementOverrideController::store","operationId":"entitlementOverride_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EntitlementOverride"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/core\/organization-memberships":{"get":{"tags":["Core"],"summary":"GET OrganizationMembershipController::index","operationId":"organizationMembership_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrganizationMembership"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"user_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"membership_type","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["staff","business_associate","property_sourcing_partner"],"nullable":true}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":30,"nullable":true}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["user","organization","branch","mlmAgents","propertySourcingPartners"]},"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["id","joined_at","created_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST OrganizationMembershipController::store","operationId":"organizationMembership_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationMembership"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"},"organization_id":{"type":"integer"},"branch_id":{"type":"integer","nullable":true},"membership_type":{"type":"string","enum":["staff","business_associate","property_sourcing_partner"]},"status":{"type":"string","nullable":true,"enum":["active","inactive"]},"joined_at":{"type":"string","nullable":true,"format":"date"},"metadata":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":["user_id","organization_id","membership_type"]}}}}}},"\/api\/v1\/auth\/core\/organization-memberships\/{organization_membership}":{"get":{"tags":["Core"],"summary":"GET OrganizationMembershipController::show","operationId":"organizationMembership_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationMembership"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_membership","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["user","organization","branch","mlmAgents","propertySourcingPartners"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT OrganizationMembershipController::update","operationId":"organizationMembership_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationMembership"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_membership","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"branch_id":{"type":"integer","nullable":true},"status":{"type":"string","enum":["active","inactive"]},"left_at":{"type":"string","nullable":true,"format":"date"},"metadata":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":[]}}}}}},"\/api\/v1\/auth\/core\/organization-memberships\/{organization_membership}\/leave":{"post":{"tags":["Core"],"summary":"POST OrganizationMembershipController::leave","operationId":"organizationMembership_leave","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationMembership"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_membership","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/core\/organizations\/domains\/{organization_domain}":{"get":{"tags":["Core"],"summary":"GET OrganizationDomainController::show","operationId":"organizationDomain_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationDomain"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_domain","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT OrganizationDomainController::update","operationId":"organizationDomain_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationDomain"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_domain","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["custom","alias"]},"is_primary":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Core"],"summary":"DELETE OrganizationDomainController::destroy","operationId":"organizationDomain_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_domain","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/core\/organizations\/domains\/{organization_domain}\/verify":{"post":{"tags":["Core"],"summary":"POST OrganizationDomainController::verify","operationId":"organizationDomain_verify","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationDomain"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_domain","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"token":{"type":"string","minLength":64,"maxLength":64}},"required":["token"]}}}}}},"\/api\/v1\/auth\/core\/organizations\/{organization}\/domains":{"get":{"tags":["Core"],"summary":"GET OrganizationDomainController::index","operationId":"organizationDomain_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrganizationDomain"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"type","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["custom","alias"],"nullable":true}},{"name":"is_verified","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","nullable":true}},{"name":"is_active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization"]},"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST OrganizationDomainController::store","operationId":"organizationDomain_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationDomain"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"domain":{"type":"string","maxLength":253,"pattern":"\/^(?=.{1"},"type":{"type":"string","enum":["custom","alias"]},"is_primary":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["organization_id","domain","type"]}}}}}},"\/api\/v1\/auth\/core\/organizations":{"get":{"tags":["Core"],"summary":"GET OrganizationController::index","operationId":"organization_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["reseller","city","package","branches","users","settings","subscriptionHistory"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":255,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["name","organization_name","email","status","created_at","updated_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","inactive","suspended"],"nullable":true}},{"name":"subscription_status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["trial","active","expired","cancelled"],"nullable":true}},{"name":"package_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"city_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"is_verified","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","nullable":true}},{"name":"reseller_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}}]},"post":{"tags":["Core"],"summary":"POST OrganizationController::store","operationId":"organization_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Organization"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_name":{"type":"string","maxLength":200},"reseller_id":{"type":"integer","nullable":true},"first_name":{"type":"string","maxLength":50},"last_name":{"type":"string","nullable":true,"maxLength":50},"email":{"type":"string","maxLength":100},"phone":{"type":"string","maxLength":20},"mobile":{"type":"integer","minLength":10,"maxLength":10},"address":{"type":"string","nullable":true,"maxLength":1000},"city_id":{"type":"integer","nullable":true},"postal_code":{"type":"string","maxLength":20},"gst_number":{"type":"string","nullable":true,"maxLength":50},"pan_number":{"type":"string","nullable":true,"maxLength":20},"logo":{"type":"file","nullable":true,"format":"binary"},"favicon":{"type":"file","nullable":true,"format":"binary"},"status":{"type":"string","enum":["active","inactive","suspended"]},"is_verified":{"type":"boolean"},"domain":{"type":"string","nullable":true,"format":"uri"},"package_id":{"type":"integer"},"auto_renew":{"type":"boolean"}},"required":["organization_name","first_name","email","phone","mobile","postal_code","status","is_verified","package_id","auto_renew"]},"encoding":{"organization_name":{"style":"form"},"reseller_id":{"style":"form"},"first_name":{"style":"form"},"last_name":{"style":"form"},"email":{"style":"form"},"phone":{"style":"form"},"mobile":{"style":"form"},"address":{"style":"form"},"city_id":{"style":"form"},"postal_code":{"style":"form"},"gst_number":{"style":"form"},"pan_number":{"style":"form"},"logo":{"style":"form"},"favicon":{"style":"form"},"status":{"style":"form"},"is_verified":{"style":"form"},"domain":{"style":"form"},"package_id":{"style":"form"},"auto_renew":{"style":"form"}}}}}}},"\/api\/v1\/auth\/core\/organizations\/{organization}\/branding":{"get":{"tags":["Core"],"summary":"GET OrganizationController::branding","operationId":"organization_branding","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Theme"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}}]},"post":{"tags":["Core"],"summary":"POST OrganizationController::updateBranding","operationId":"organization_updateBranding","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Theme"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"branding":{"type":"string","properties":{"display_name":{"type":"string","nullable":true,"maxLength":120},"tagline":{"type":"string","nullable":true,"maxLength":180},"primary_color":{"type":"string","pattern":"\/^#[0-9a-fA-F]{6}$\/"},"secondary_color":{"type":"string","pattern":"\/^#[0-9a-fA-F]{6}$\/"},"accent_color":{"type":"string","pattern":"\/^#[0-9a-fA-F]{6}$\/"},"login_background_color":{"type":"string","pattern":"\/^#[0-9a-fA-F]{6}$\/"},"login_title":{"type":"string","nullable":true,"maxLength":140},"login_message":{"type":"string","nullable":true,"maxLength":350},"font_family":{"type":"string","enum":["bai-jamjuree","inter","system","arial","georgia"]},"default_mode":{"type":"string","enum":["light","dark"]},"support_email":{"type":"string","nullable":true,"maxLength":150}}},"logo":{"type":"file","format":"binary"},"favicon":{"type":"file","format":"binary"},"remove_logo":{"type":"boolean"},"remove_favicon":{"type":"boolean"}},"required":[]},"encoding":{"branding":{"style":"form"},"logo":{"style":"form"},"favicon":{"style":"form"},"remove_logo":{"style":"form"},"remove_favicon":{"style":"form"}}}}}}},"\/api\/v1\/auth\/core\/organizations\/{organization}\/workspace":{"get":{"tags":["Core"],"summary":"GET OrganizationController::workspace","operationId":"organization_workspace","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Organization"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/core\/organizations\/{organization}":{"get":{"tags":["Core"],"summary":"GET OrganizationController::show","operationId":"organization_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Organization"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branches","city","createdBy","latestSubscription","package","primaryUser","reseller","settings","subscriptionHistory","updatedBy","usage","users","verifiedBy"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT OrganizationController::update","operationId":"organization_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Organization"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_name":{"type":"string","nullable":true,"maxLength":200},"first_name":{"type":"string","nullable":true,"maxLength":50},"last_name":{"type":"string","nullable":true,"maxLength":50},"email":{"type":"string","nullable":true,"maxLength":100},"phone":{"type":"string","nullable":true,"maxLength":20},"mobile":{"type":"integer","nullable":true,"minLength":10,"maxLength":10},"address":{"type":"string","nullable":true,"maxLength":1000},"city_id":{"type":"integer","nullable":true},"postal_code":{"type":"string","nullable":true,"maxLength":20},"gst_number":{"type":"string","nullable":true,"maxLength":50,"pattern":"\/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$\/"},"pan_number":{"type":"string","nullable":true,"maxLength":20,"pattern":"\/^[A-Z]{5}[0-9]{4}[A-Z]{1}$\/"},"logo":{"type":"file","nullable":true,"format":"binary"},"favicon":{"type":"file","nullable":true,"format":"binary"},"status":{"type":"string","nullable":true,"enum":["active","inactive","suspended"]},"is_verified":{"type":"boolean","nullable":true},"domain":{"type":"string","nullable":true,"format":"uri"},"package_id":{"type":"integer","nullable":true},"subscription_status":{"type":"string","nullable":true,"enum":["trial","active","expired","cancelled"]},"subscription_ends_at":{"type":"string","nullable":true,"format":"date"},"trial_ends_at":{"type":"string","nullable":true,"format":"date"},"auto_renew":{"type":"boolean","nullable":true}},"required":[]},"encoding":{"organization_name":{"style":"form"},"first_name":{"style":"form"},"last_name":{"style":"form"},"email":{"style":"form"},"phone":{"style":"form"},"mobile":{"style":"form"},"address":{"style":"form"},"city_id":{"style":"form"},"postal_code":{"style":"form"},"gst_number":{"style":"form"},"pan_number":{"style":"form"},"logo":{"style":"form"},"favicon":{"style":"form"},"status":{"style":"form"},"is_verified":{"style":"form"},"domain":{"style":"form"},"package_id":{"style":"form"},"subscription_status":{"style":"form"},"subscription_ends_at":{"style":"form"},"trial_ends_at":{"style":"form"},"auto_renew":{"style":"form"}}}}}},"delete":{"tags":["Core"],"summary":"DELETE OrganizationController::destroy","operationId":"organization_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/core\/organizations\/{organization}\/verify":{"post":{"tags":["Core"],"summary":"POST OrganizationController::verify","operationId":"organization_verify","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Organization"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"is_verified":{"type":"boolean"}},"required":["is_verified"]}}}}}},"\/api\/v1\/auth\/core\/organizations\/{organization}\/usage":{"get":{"tags":["Core"],"summary":"GET OrganizationController::usage","operationId":"organization_usage","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationUsage"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/core\/organizations\/{organization}\/history":{"get":{"tags":["Core"],"summary":"GET OrganizationController::history","operationId":"organization_history","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionHistory"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/core\/resellers\/{reseller}\/workspace":{"get":{"tags":["Core"],"summary":"GET ResellerController::workspace","operationId":"reseller_workspace","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Reseller"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"reseller","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/core\/resellers\/{reseller}":{"get":{"tags":["Core"],"summary":"GET ResellerController::show","operationId":"reseller_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Reseller"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"reseller","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["createdBy","latestSubscriptionInvoice","latestSubscriptionHistory","organizations","package","packages","updatedBy","usage","user","users","verifiedBy"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT ResellerController::update","operationId":"reseller_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Reseller"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"reseller","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"first_name":{"type":"string","nullable":true,"maxLength":50},"last_name":{"type":"string","nullable":true,"maxLength":50},"email":{"type":"string","nullable":true,"format":"email","maxLength":100},"mobile":{"type":"string","nullable":true,"maxLength":20},"domain":{"type":"string","nullable":true,"format":"uri"},"password":{"type":"string","nullable":true,"minLength":8},"password_confirmation":{"type":"string","nullable":true,"minLength":8},"logo":{"type":"file","nullable":true,"format":"binary"},"favicon":{"type":"file","nullable":true,"format":"binary"},"business_name":{"type":"string","nullable":true,"maxLength":200},"gst_number":{"type":"string","nullable":true,"maxLength":50},"pan_number":{"type":"string","nullable":true,"maxLength":20},"is_verified":{"type":"boolean","nullable":true},"package_id":{"type":"integer","nullable":true},"subscription_status":{"type":"string","nullable":true,"enum":["trial","active","expired","cancelled"]},"subscription_ends_at":{"type":"string","nullable":true,"format":"date"},"auto_renew":{"type":"boolean","nullable":true},"duration_months":{"type":"integer","nullable":true,"minimum":1,"maximum":60},"subscription_event":{"type":"string","nullable":true,"enum":["subscribed","renewed","package_changed","trial_started","trial_extended"]},"usage_limits":{"type":"array","nullable":true,"items":{"type":"string","properties":{"max_organizations":{"type":"integer","nullable":true,"minimum":-1},"max_storage_mb":{"type":"integer","nullable":true,"minimum":-1}}}},"status":{"type":"string","nullable":true,"enum":["active","inactive","suspended"]}},"required":["duration_months"]},"encoding":{"first_name":{"style":"form"},"last_name":{"style":"form"},"email":{"style":"form"},"mobile":{"style":"form"},"domain":{"style":"form"},"password":{"style":"form"},"password_confirmation":{"style":"form"},"logo":{"style":"form"},"favicon":{"style":"form"},"business_name":{"style":"form"},"gst_number":{"style":"form"},"pan_number":{"style":"form"},"is_verified":{"style":"form"},"package_id":{"style":"form"},"subscription_status":{"style":"form"},"subscription_ends_at":{"style":"form"},"auto_renew":{"style":"form"},"duration_months":{"style":"form"},"subscription_event":{"style":"form"},"usage_limits":{"style":"form","explode":true},"status":{"style":"form"}}}}}}},"\/api\/v1\/auth\/core\/resellers":{"get":{"tags":["Core"],"summary":"GET ResellerController::index","operationId":"reseller_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Reseller"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["user","package","usage","latestSubscriptionInvoice","latestSubscriptionHistory"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":255,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["business_name","status","created_at","verified_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[{}],"nullable":true}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","inactive","suspended"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST ResellerController::store","operationId":"reseller_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Reseller"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"first_name":{"type":"string","maxLength":50},"last_name":{"type":"string","nullable":true,"maxLength":50},"email":{"type":"string","format":"email","maxLength":100},"mobile":{"type":"string","maxLength":20},"password":{"type":"string","minLength":8},"password_confirmation":{"type":"string","minLength":8},"logo":{"type":"file","nullable":true,"format":"binary"},"favicon":{"type":"file","nullable":true,"format":"binary"},"business_name":{"type":"string","maxLength":200},"gst_number":{"type":"string","nullable":true,"maxLength":50},"pan_number":{"type":"string","nullable":true,"maxLength":20},"domain":{"type":"string","nullable":true,"format":"uri"},"is_verified":{"type":"boolean","nullable":true},"package_id":{"type":"integer","nullable":true},"usage_limits":{"type":"array","nullable":true,"items":{"type":"string","properties":{"max_organizations":{"type":"integer","nullable":true,"minimum":-1},"max_storage_mb":{"type":"integer","nullable":true,"minimum":-1}}}},"status":{"type":"string","nullable":true,"enum":["active","inactive","suspended"]}},"required":["first_name","email","mobile","password","password_confirmation","business_name"]},"encoding":{"first_name":{"style":"form"},"last_name":{"style":"form"},"email":{"style":"form"},"mobile":{"style":"form"},"password":{"style":"form"},"password_confirmation":{"style":"form"},"logo":{"style":"form"},"favicon":{"style":"form"},"business_name":{"style":"form"},"gst_number":{"style":"form"},"pan_number":{"style":"form"},"domain":{"style":"form"},"is_verified":{"style":"form"},"package_id":{"style":"form"},"usage_limits":{"style":"form","explode":true},"status":{"style":"form"}}}}}}},"\/api\/v1\/auth\/core\/packages\/modules":{"get":{"tags":["Core"],"summary":"GET ModuleController::index","operationId":"module_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Module"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/core\/packages":{"get":{"tags":["Core"],"summary":"GET PackageController::index","operationId":"package_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Package"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"name","in":"query","required":true,"style":"form","explode":true,"schema":{"type":"string","maxLength":255}},{"name":"description","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","nullable":true}},{"name":"price","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"number","minimum":0,"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST PackageController::store","operationId":"package_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Package"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/core\/packages\/{package}":{"get":{"tags":["Core"],"summary":"GET PackageController::show","operationId":"package_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Package"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"package","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["modules","organizations","subscriptionHistory"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT PackageController::update","operationId":"package_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Package"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"package","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":255},"description":{"type":"string","nullable":true},"price":{"type":"number","nullable":true,"minimum":0},"currency":{"type":"string","enum":["INR","USD","GBP","EUR","AED","SAR","CAD","AUD","SGD","JPY","KWD","BHD","OMR","JOD","TND","CHF","NZD","HKD","MYR","THB","ZAR","QAR","PHP","IDR","CNY","KRW","VND","BRL","MXN"],"minLength":3,"maxLength":3},"limits":{"type":"object","properties":{"max_organizations":{"type":"integer","nullable":true,"minimum":1},"max_users":{"type":"integer","nullable":true,"minimum":-1},"max_branches":{"type":"integer","minimum":-1},"max_leads":{"type":"integer","nullable":true,"minimum":-1},"max_bookings":{"type":"integer","nullable":true,"minimum":-1},"max_properties":{"type":"integer","nullable":true,"minimum":-1},"max_employees":{"type":"integer","nullable":true,"minimum":-1},"max_storage_mb":{"type":"integer","nullable":true,"minimum":-1},"max_transactions":{"type":"integer","nullable":true,"minimum":-1},"max_sms":{"type":"integer","nullable":true,"minimum":-1}}},"module_ids":{"type":"array","minLength":1,"items":{"type":"string"}}},"required":["name"]}}}}},"delete":{"tags":["Core"],"summary":"DELETE PackageController::destroy","operationId":"package_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"package","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/core\/packages\/{package}\/toggle-status":{"post":{"tags":["Core"],"summary":"POST PackageController::toggleStatus","operationId":"package_toggleStatus","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Package"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"package","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"is_active":{"type":"boolean"}},"required":["is_active"]}}}}}},"\/api\/v1\/auth\/core\/subscriptions\/pricing-configuration":{"get":{"tags":["Core"],"summary":"GET SubscriptionController::pricingConfiguration","operationId":"subscription_pricingConfiguration","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/core\/subscriptions":{"get":{"tags":["Core"],"summary":"GET SubscriptionController::index","operationId":"subscription_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionHistory"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["createdBy","organization","package","invoice"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":255,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["amount","payment_date","event_date","period_start","period_end","created_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"package_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"event","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["trial_started","trial_extended","subscribed","renewed","package_changed","cancelled"],"nullable":true}},{"name":"payment_method","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["cash","bank_transfer","cheque","upi","card","online_gateway","other"],"nullable":true}},{"name":"from_date","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","format":"date","nullable":true}},{"name":"to_date","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","format":"date","nullable":true}},{"name":"amount_min","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"number","minimum":0,"nullable":true}},{"name":"amount_max","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"number","minimum":0,"nullable":true}}]}},"\/api\/v1\/auth\/core\/subscriptions\/{subscription}":{"get":{"tags":["Core"],"summary":"GET SubscriptionController::show","operationId":"subscription_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SubscriptionHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"subscription","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["createdBy","organization","package","invoice"]},"nullable":true}}]}},"\/api\/v1\/auth\/core\/subscriptions\/extend-trial":{"post":{"tags":["Core"],"summary":"POST SubscriptionController::extendTrial","operationId":"subscription_extendTrial","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SubscriptionHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"trial_days":{"type":"integer","minimum":1,"maximum":365},"remarks":{"type":"string","nullable":true,"maxLength":1000}},"required":["organization_id","trial_days"]}}}}}},"\/api\/v1\/auth\/core\/subscriptions\/subscribe":{"post":{"tags":["Core"],"summary":"POST SubscriptionController::subscribe","operationId":"subscription_subscribe","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SubscriptionHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"package_id":{"type":"integer"},"duration_months":{"type":"integer","minimum":1,"maximum":60},"payment_method":{"type":"string","enum":["cash","bank_transfer","cheque","upi","card","online_gateway","other"]},"amount":{"type":"number","minimum":0},"discount_percent":{"type":"number","nullable":true,"minimum":0,"maximum":100},"gst_percent":{"type":"integer","nullable":true,"enum":[5,12,18,40]},"auto_renew":{"type":"boolean","nullable":true},"pricing":{"type":"array","nullable":true,"items":{"type":"string"}},"payment_date":{"type":"string","format":"date"},"transaction_id":{"type":"string","nullable":true,"maxLength":100},"remarks":{"type":"string","nullable":true,"maxLength":1000}},"required":["organization_id","package_id","duration_months","payment_method","amount","payment_date"]}}}}}},"\/api\/v1\/auth\/core\/subscriptions\/renew":{"post":{"tags":["Core"],"summary":"POST SubscriptionController::renew","operationId":"subscription_renew","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SubscriptionHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"duration_months":{"type":"integer","minimum":1,"maximum":60},"payment_method":{"type":"string","enum":["cash","bank_transfer","cheque","upi","card","online_gateway","other"]},"amount":{"type":"number","minimum":0},"discount_percent":{"type":"number","nullable":true,"minimum":0,"maximum":100},"gst_percent":{"type":"integer","nullable":true,"enum":[5,12,18,40]},"auto_renew":{"type":"boolean","nullable":true},"pricing":{"type":"array","nullable":true,"items":{"type":"string"}},"payment_date":{"type":"string","format":"date"},"transaction_id":{"type":"string","nullable":true,"maxLength":100},"remarks":{"type":"string","nullable":true,"maxLength":1000}},"required":["organization_id","duration_months","payment_method","amount","payment_date"]}}}}}},"\/api\/v1\/auth\/core\/subscriptions\/change-package":{"post":{"tags":["Core"],"summary":"POST SubscriptionController::changePackage","operationId":"subscription_changePackage","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SubscriptionHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"new_package_id":{"type":"integer"},"duration_months":{"type":"integer","nullable":true,"minimum":1,"maximum":60},"payment_method":{"type":"string","nullable":true,"enum":["cash","bank_transfer","cheque","upi","card","online_gateway","other"]},"amount":{"type":"number","nullable":true,"minimum":0},"discount_percent":{"type":"number","nullable":true,"minimum":0,"maximum":100},"gst_percent":{"type":"integer","nullable":true,"enum":[5,12,18,40]},"auto_renew":{"type":"boolean","nullable":true},"pricing":{"type":"array","nullable":true,"items":{"type":"string"}},"payment_date":{"type":"string","nullable":true,"format":"date"},"transaction_id":{"type":"string","nullable":true,"maxLength":100},"remarks":{"type":"string","nullable":true,"maxLength":1000}},"required":["organization_id","new_package_id"]}}}}}},"\/api\/v1\/auth\/core\/subscriptions\/cancel":{"post":{"tags":["Core"],"summary":"POST SubscriptionController::cancel","operationId":"subscription_cancel","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SubscriptionHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"remarks":{"type":"string","nullable":true,"maxLength":1000}},"required":["organization_id"]}}}}}},"\/api\/v1\/auth\/core\/roles\/global-templates":{"get":{"tags":["Auth"],"summary":"GET RoleController::globalTemplates","operationId":"role_globalTemplates","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Role"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["name","slug","created_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}},{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"slug","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"is_active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","nullable":true}},{"name":"parent_role_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}}]}},"\/api\/v1\/auth\/core\/roles\/global-templates\/{role}\/copy":{"post":{"tags":["Auth"],"summary":"POST RoleController::copyGlobal","operationId":"role_copyGlobal","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Role"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"role","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","nullable":true,"maxLength":100},"description":{"type":"string","nullable":true,"maxLength":500}},"required":[]}}}}}},"\/api\/v1\/auth\/core\/roles":{"post":{"tags":["Auth"],"summary":"POST RoleController::store","operationId":"role_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Role"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":100},"description":{"type":"string","nullable":true,"maxLength":500},"parent_role_id":{"type":"integer","nullable":true},"scope":{"type":"string","enum":["platform","reseller","organization","branch"]},"data_visibility":{"type":"string","enum":["self","reporting_tree","branch","organization","reseller","mlm_network","platform"]},"is_active":{"type":"boolean"},"permissions":{"type":"array","minLength":1,"items":{"type":"string"}}},"required":["name","scope","data_visibility","permissions"]}}}}},"get":{"tags":["Auth"],"summary":"GET RoleController::index","operationId":"role_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Role"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["name","slug","created_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}},{"name":"name","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"slug","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"is_active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","nullable":true}},{"name":"parent_role_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}}]}},"\/api\/v1\/auth\/core\/roles\/{role}":{"put":{"tags":["Auth"],"summary":"PUT RoleController::update","operationId":"role_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Role"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"role","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":100},"description":{"type":"string","nullable":true,"maxLength":500},"parent_role_id":{"type":"integer","nullable":true},"scope":{"type":"string","enum":["platform","reseller","organization","branch"]},"data_visibility":{"type":"string","enum":["self","reporting_tree","branch","organization","reseller","mlm_network","platform"]},"is_active":{"type":"boolean"},"permissions":{"type":"array","items":{"type":"string"}}},"required":[]}}}}},"delete":{"tags":["Auth"],"summary":"DELETE RoleController::destroy","operationId":"role_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"role","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/core\/permissions":{"get":{"tags":["Auth"],"summary":"GET PermissionController::index","operationId":"permission_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Permission"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/mlm\/mlm-transactions\/{mlm_transaction}\/approve":{"post":{"tags":["MLM"],"summary":"POST MlmTransactionController::approve","operationId":"mlmTransaction_approve","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmTransaction"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_transaction","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/booking\/bookings":{"get":{"tags":["Booking"],"summary":"GET BookingController::index","operationId":"booking_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Booking"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","areaUnit","branch","buyers","cancelledBy","commissionParticipants","documents","lead","organization","payments","plot","project","property","registry","statusHistory","telecaller","visitor"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"include_stats","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","project_id","property_id","plot_id","booking_number","booking_date","possession_date","primary_buyer_name","primary_buyer_mobile","primary_buyer_email","total_area"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Booking"],"summary":"POST BookingController::store","operationId":"booking_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Booking"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer","nullable":true},"project_id":{"type":"integer","nullable":true},"property_id":{"type":"integer","nullable":true},"plot_id":{"type":"integer","nullable":true},"booking_number":{"type":"string","nullable":true,"maxLength":50},"booking_date":{"type":"string","format":"date"},"possession_date":{"type":"string","nullable":true,"format":"date"},"primary_buyer_name":{"type":"string"},"primary_buyer_mobile":{"type":"string"},"primary_buyer_email":{"type":"string","nullable":true},"total_area":{"type":"number","nullable":true},"area_unit_id":{"type":"integer","nullable":true},"basic_price":{"type":"number"},"total_price":{"type":"number"},"discount":{"type":"number","nullable":true},"net_price":{"type":"number"},"booking_amount":{"type":"number"},"payment_plan":{"type":"string","nullable":true,"enum":["one_time","down_payment","emi","custom"]},"emi_months":{"type":"integer","nullable":true},"emi_amount":{"type":"number","nullable":true},"lead_id":{"type":"integer","nullable":true},"telecaller_id":{"type":"integer","nullable":true},"agent_id":{"type":"integer","nullable":true},"visitor_id":{"type":"integer","nullable":true},"remarks":{"type":"string","nullable":true},"commission_participants":{"type":"array","nullable":true,"items":{"type":"string","properties":{"participant_type":{"type":"array","enum":["agent","telecaller","visitor","broker","other"],"items":{"type":"object","properties":{"participant_type":{"type":"array","enum":["agent","telecaller","visitor","broker","other"]}}}},"user_id":{"type":"array","nullable":true,"items":{"type":"object","properties":{"user_id":{"type":"array"}}}},"participant_name":{"type":"array","nullable":true,"maxLength":150,"items":{"type":"object","properties":{"participant_name":{"type":"array"}}}},"commission_basis":{"type":"array","enum":["booking_percentage","payment_percentage","fixed_per_booking","fixed_per_payment"],"items":{"type":"object","properties":{"commission_basis":{"type":"array","enum":["booking_percentage","payment_percentage","fixed_per_booking","fixed_per_payment"]}}}},"rate":{"type":"array","nullable":true,"minimum":0,"items":{"type":"object","properties":{"rate":{"type":"array"}}}},"fixed_amount":{"type":"array","nullable":true,"minimum":0,"items":{"type":"object","properties":{"fixed_amount":{"type":"array"}}}},"remarks":{"type":"array","nullable":true,"items":{"type":"object","properties":{"remarks":{"type":"array"}}}}}}}},"required":["organization_id","booking_date","primary_buyer_name","primary_buyer_mobile","basic_price","total_price","net_price","booking_amount"]}}}}}},"\/api\/v1\/auth\/booking\/bookings\/{booking}":{"get":{"tags":["Booking"],"summary":"GET BookingController::show","operationId":"booking_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Booking"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","areaUnit","branch","buyers","cancelledBy","commissionParticipants","commissionParticipants.user","commissionParticipants.transactions","commissionParticipants.transactions.payment","documents","lead","organization","payments","payments.paymentMode","payments.emiInstallments","payments.receipts","plot","project","property","registry","statusHistory","telecaller","visitor"]},"nullable":true}}]},"put":{"tags":["Booking"],"summary":"PUT BookingController::update","operationId":"booking_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Booking"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"project_id":{"type":"integer"},"property_id":{"type":"integer"},"plot_id":{"type":"integer"},"booking_number":{"type":"string"},"booking_date":{"type":"string","format":"date"},"possession_date":{"type":"string","format":"date"},"primary_buyer_name":{"type":"string"},"primary_buyer_mobile":{"type":"string"},"primary_buyer_email":{"type":"string"},"total_area":{"type":"number"},"area_unit_id":{"type":"integer"},"basic_price":{"type":"number"},"total_price":{"type":"number"},"discount":{"type":"number"},"net_price":{"type":"number"},"booking_amount":{"type":"number"},"payment_plan":{"type":"string","enum":["one_time","down_payment","emi","custom"]},"emi_months":{"type":"integer"},"emi_amount":{"type":"number"},"lead_id":{"type":"integer"},"telecaller_id":{"type":"integer"},"agent_id":{"type":"integer"},"visitor_id":{"type":"integer"},"remarks":{"type":"string"},"commission_participants":{"type":"array","items":{"type":"string","properties":{"participant_type":{"type":"array","enum":["agent","telecaller","visitor","broker","other"],"items":{"type":"object","properties":{"participant_type":{"type":"array","enum":["agent","telecaller","visitor","broker","other"]}}}},"user_id":{"type":"array","nullable":true,"items":{"type":"object","properties":{"user_id":{"type":"array"}}}},"participant_name":{"type":"array","nullable":true,"maxLength":150,"items":{"type":"object","properties":{"participant_name":{"type":"array"}}}},"commission_basis":{"type":"array","enum":["booking_percentage","payment_percentage","fixed_per_booking","fixed_per_payment"],"items":{"type":"object","properties":{"commission_basis":{"type":"array","enum":["booking_percentage","payment_percentage","fixed_per_booking","fixed_per_payment"]}}}},"rate":{"type":"array","nullable":true,"minimum":0,"items":{"type":"object","properties":{"rate":{"type":"array"}}}},"fixed_amount":{"type":"array","nullable":true,"minimum":0,"items":{"type":"object","properties":{"fixed_amount":{"type":"array"}}}},"remarks":{"type":"array","nullable":true,"items":{"type":"object","properties":{"remarks":{"type":"array"}}}}}}}},"required":[]}}}}},"delete":{"tags":["Booking"],"summary":"DELETE BookingController::destroy","operationId":"booking_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/booking\/bookings\/{booking}\/overview":{"get":{"tags":["Booking"],"summary":"GET BookingController::overview","operationId":"booking_overview","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Booking"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","areaUnit","branch","buyers","cancelledBy","commissionParticipants","commissionParticipants.user","commissionParticipants.transactions","commissionParticipants.transactions.payment","documents","lead","organization","payments","payments.paymentMode","payments.emiInstallments","payments.receipts","plot","project","property","registry","statusHistory","telecaller","visitor"]},"nullable":true}}]}},"\/api\/v1\/auth\/booking\/booking-buyers":{"get":{"tags":["Booking"],"summary":"GET BookingBuyerController::index","operationId":"bookingBuyer_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/BookingBuyer"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["booking","city","organization","user"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["booking_id","organization_id","user_id","first_name","last_name","email","mobile","alternate_mobile","address","city_id","postal_code","aadhar_number"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Booking"],"summary":"POST BookingBuyerController::store","operationId":"bookingBuyer_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BookingBuyer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"booking_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"user_id":{"type":"integer","nullable":true},"first_name":{"type":"string"},"last_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"mobile":{"type":"string"},"alternate_mobile":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"city_id":{"type":"integer","nullable":true},"postal_code":{"type":"string","nullable":true},"aadhar_number":{"type":"string","nullable":true},"pan_number":{"type":"string","nullable":true},"passport_number":{"type":"string","nullable":true},"relationship":{"type":"string","nullable":true,"enum":["self","spouse","parent","child","sibling","other"]},"ownership_percentage":{"type":"number","nullable":true},"aadhar_file":{"type":"string","nullable":true},"aadhar_upload":{"type":"file","nullable":true,"format":"binary"},"pan_file":{"type":"string","nullable":true},"pan_upload":{"type":"file","nullable":true,"format":"binary"},"photo":{"type":"string","nullable":true},"photo_upload":{"type":"image","nullable":true,"format":"binary"},"is_primary":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["booking_id","first_name","mobile"]},"encoding":{"booking_id":{"style":"form"},"organization_id":{"style":"form"},"user_id":{"style":"form"},"first_name":{"style":"form"},"last_name":{"style":"form"},"email":{"style":"form"},"mobile":{"style":"form"},"alternate_mobile":{"style":"form"},"address":{"style":"form"},"city_id":{"style":"form"},"postal_code":{"style":"form"},"aadhar_number":{"style":"form"},"pan_number":{"style":"form"},"passport_number":{"style":"form"},"relationship":{"style":"form"},"ownership_percentage":{"style":"form"},"aadhar_file":{"style":"form"},"aadhar_upload":{"style":"form"},"pan_file":{"style":"form"},"pan_upload":{"style":"form"},"photo":{"style":"form"},"photo_upload":{"style":"form"},"is_primary":{"style":"form"},"is_active":{"style":"form"}}}}}}},"\/api\/v1\/auth\/booking\/booking-buyers\/{booking_buyer}":{"get":{"tags":["Booking"],"summary":"GET BookingBuyerController::show","operationId":"bookingBuyer_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BookingBuyer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking_buyer","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["booking","city","organization","user"]},"nullable":true}}]},"put":{"tags":["Booking"],"summary":"PUT BookingBuyerController::update","operationId":"bookingBuyer_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BookingBuyer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking_buyer","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"booking_id":{"type":"integer"},"organization_id":{"type":"integer"},"user_id":{"type":"integer"},"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string"},"mobile":{"type":"string"},"alternate_mobile":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"integer"},"postal_code":{"type":"string"},"aadhar_number":{"type":"string"},"pan_number":{"type":"string"},"passport_number":{"type":"string"},"relationship":{"type":"string","enum":["self","spouse","parent","child","sibling","other"]},"ownership_percentage":{"type":"number"},"aadhar_file":{"type":"string"},"aadhar_upload":{"type":"file","nullable":true,"format":"binary"},"pan_file":{"type":"string"},"pan_upload":{"type":"file","nullable":true,"format":"binary"},"photo":{"type":"string"},"photo_upload":{"type":"image","nullable":true,"format":"binary"},"is_primary":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]},"encoding":{"booking_id":{"style":"form"},"organization_id":{"style":"form"},"user_id":{"style":"form"},"first_name":{"style":"form"},"last_name":{"style":"form"},"email":{"style":"form"},"mobile":{"style":"form"},"alternate_mobile":{"style":"form"},"address":{"style":"form"},"city_id":{"style":"form"},"postal_code":{"style":"form"},"aadhar_number":{"style":"form"},"pan_number":{"style":"form"},"passport_number":{"style":"form"},"relationship":{"style":"form"},"ownership_percentage":{"style":"form"},"aadhar_file":{"style":"form"},"aadhar_upload":{"style":"form"},"pan_file":{"style":"form"},"pan_upload":{"style":"form"},"photo":{"style":"form"},"photo_upload":{"style":"form"},"is_primary":{"style":"form"},"is_active":{"style":"form"}}}}}},"delete":{"tags":["Booking"],"summary":"DELETE BookingBuyerController::destroy","operationId":"bookingBuyer_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking_buyer","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/booking\/booking-documents":{"get":{"tags":["Booking"],"summary":"GET BookingDocumentController::index","operationId":"bookingDocument_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/BookingDocument"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["booking","documentType","organization","uploadedBy","verifiedBy"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["booking_id","organization_id","document_type_id","document_name","document_number","description","file_path","file_name","mime_type","file_size","document_date","expiry_date"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Booking"],"summary":"POST BookingDocumentController::store","operationId":"bookingDocument_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BookingDocument"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"booking_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"document_type_id":{"type":"integer","nullable":true},"document_name":{"type":"string"},"document_number":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"file_path":{"type":"string","nullable":true},"document_upload":{"type":"file","format":"binary"},"file_name":{"type":"string","nullable":true},"mime_type":{"type":"string","nullable":true},"file_size":{"type":"integer","nullable":true},"document_date":{"type":"string","nullable":true,"format":"date"},"expiry_date":{"type":"string","nullable":true,"format":"date"},"status":{"type":"string","nullable":true,"enum":["pending","verified","rejected"]},"rejection_reason":{"type":"string","nullable":true},"uploaded_by":{"type":"integer","nullable":true},"verified_by":{"type":"integer","nullable":true},"verified_at":{"type":"string","nullable":true,"format":"date"}},"required":["booking_id","document_name"]},"encoding":{"booking_id":{"style":"form"},"organization_id":{"style":"form"},"document_type_id":{"style":"form"},"document_name":{"style":"form"},"document_number":{"style":"form"},"description":{"style":"form"},"file_path":{"style":"form"},"document_upload":{"style":"form"},"file_name":{"style":"form"},"mime_type":{"style":"form"},"file_size":{"style":"form"},"document_date":{"style":"form"},"expiry_date":{"style":"form"},"status":{"style":"form"},"rejection_reason":{"style":"form"},"uploaded_by":{"style":"form"},"verified_by":{"style":"form"},"verified_at":{"style":"form"}}}}}}},"\/api\/v1\/auth\/booking\/booking-documents\/{booking_document}":{"get":{"tags":["Booking"],"summary":"GET BookingDocumentController::show","operationId":"bookingDocument_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BookingDocument"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking_document","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["booking","documentType","organization","uploadedBy","verifiedBy"]},"nullable":true}}]},"put":{"tags":["Booking"],"summary":"PUT BookingDocumentController::update","operationId":"bookingDocument_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BookingDocument"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking_document","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"booking_id":{"type":"integer"},"organization_id":{"type":"integer"},"document_type_id":{"type":"integer"},"document_name":{"type":"string"},"document_number":{"type":"string"},"description":{"type":"string"},"file_path":{"type":"string"},"document_upload":{"type":"file","nullable":true,"format":"binary"},"file_name":{"type":"string"},"mime_type":{"type":"string"},"file_size":{"type":"integer"},"document_date":{"type":"string","format":"date"},"expiry_date":{"type":"string","format":"date"},"status":{"type":"string"},"rejection_reason":{"type":"string"},"uploaded_by":{"type":"integer"},"verified_by":{"type":"integer"},"verified_at":{"type":"string","format":"date"}},"required":[]},"encoding":{"booking_id":{"style":"form"},"organization_id":{"style":"form"},"document_type_id":{"style":"form"},"document_name":{"style":"form"},"document_number":{"style":"form"},"description":{"style":"form"},"file_path":{"style":"form"},"document_upload":{"style":"form"},"file_name":{"style":"form"},"mime_type":{"style":"form"},"file_size":{"style":"form"},"document_date":{"style":"form"},"expiry_date":{"style":"form"},"status":{"style":"form"},"rejection_reason":{"style":"form"},"uploaded_by":{"style":"form"},"verified_by":{"style":"form"},"verified_at":{"style":"form"}}}}}},"delete":{"tags":["Booking"],"summary":"DELETE BookingDocumentController::destroy","operationId":"bookingDocument_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking_document","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/booking\/booking-status-histories":{"get":{"tags":["Booking"],"summary":"GET BookingStatusHistoryController::index","operationId":"bookingStatusHistory_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/BookingStatusHistory"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["booking","changedBy","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["booking_id","organization_id","from_status","to_status","remarks","changed_by","changed_at"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/booking\/booking-status-histories\/{booking_status_history}":{"get":{"tags":["Booking"],"summary":"GET BookingStatusHistoryController::show","operationId":"bookingStatusHistory_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BookingStatusHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking_status_history","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["booking","changedBy","organization"]},"nullable":true}}]}},"\/api\/v1\/auth\/booking\/registries":{"get":{"tags":["Booking"],"summary":"GET RegistryController::index","operationId":"registry_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Registry"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","booking","branch","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["booking_id","organization_id","branch_id","registry_number","registry_date","registration_date","property_description","survey_number","khata_number","mutation_number","sub_register_office","district"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Booking"],"summary":"POST RegistryController::store","operationId":"registry_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Registry"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"booking_id":{"type":"integer"},"registry_number":{"type":"string"},"registry_date":{"type":"string","format":"date"},"registration_date":{"type":"string","format":"date"},"property_description":{"type":"string","nullable":true},"survey_number":{"type":"string","nullable":true},"khata_number":{"type":"string","nullable":true},"mutation_number":{"type":"string","nullable":true},"sub_register_office":{"type":"string","nullable":true},"district":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"registry_value":{"type":"number"},"stamp_duty":{"type":"number","nullable":true},"registration_fee":{"type":"number","nullable":true},"other_charges":{"type":"number","nullable":true},"total_cost":{"type":"number","nullable":true},"buyer_details":{"type":"array","nullable":true,"items":{"type":"string"}},"registry_file_path":{"type":"string","nullable":true},"registry_upload":{"type":"file","nullable":true,"format":"binary"},"sale_deed_path":{"type":"string","nullable":true},"sale_deed_upload":{"type":"file","nullable":true,"format":"binary"},"encumbrance_certificate_path":{"type":"string","nullable":true},"certificate_upload":{"type":"file","nullable":true,"format":"binary"},"remarks":{"type":"string","nullable":true}},"required":["booking_id","registry_number","registry_date","registration_date","registry_value"]},"encoding":{"booking_id":{"style":"form"},"registry_number":{"style":"form"},"registry_date":{"style":"form"},"registration_date":{"style":"form"},"property_description":{"style":"form"},"survey_number":{"style":"form"},"khata_number":{"style":"form"},"mutation_number":{"style":"form"},"sub_register_office":{"style":"form"},"district":{"style":"form"},"state":{"style":"form"},"registry_value":{"style":"form"},"stamp_duty":{"style":"form"},"registration_fee":{"style":"form"},"other_charges":{"style":"form"},"total_cost":{"style":"form"},"buyer_details":{"style":"form","explode":true},"registry_file_path":{"style":"form"},"registry_upload":{"style":"form"},"sale_deed_path":{"style":"form"},"sale_deed_upload":{"style":"form"},"encumbrance_certificate_path":{"style":"form"},"certificate_upload":{"style":"form"},"remarks":{"style":"form"}}}}}}},"\/api\/v1\/auth\/booking\/registries\/{registry}":{"get":{"tags":["Booking"],"summary":"GET RegistryController::show","operationId":"registry_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Registry"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","booking","branch","organization"]},"nullable":true}}]},"put":{"tags":["Booking"],"summary":"PUT RegistryController::update","operationId":"registry_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Registry"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"registry_number":{"type":"string"},"registry_date":{"type":"string","format":"date"},"registration_date":{"type":"string","format":"date"},"property_description":{"type":"string"},"survey_number":{"type":"string"},"khata_number":{"type":"string"},"mutation_number":{"type":"string"},"sub_register_office":{"type":"string"},"district":{"type":"string"},"state":{"type":"string"},"registry_value":{"type":"number"},"stamp_duty":{"type":"number"},"registration_fee":{"type":"number"},"other_charges":{"type":"number"},"total_cost":{"type":"number"},"buyer_details":{"type":"array","items":{"type":"string"}},"registry_file_path":{"type":"string"},"registry_upload":{"type":"file","nullable":true,"format":"binary"},"sale_deed_path":{"type":"string"},"sale_deed_upload":{"type":"file","nullable":true,"format":"binary"},"encumbrance_certificate_path":{"type":"string"},"certificate_upload":{"type":"file","nullable":true,"format":"binary"},"remarks":{"type":"string"}},"required":[]},"encoding":{"registry_number":{"style":"form"},"registry_date":{"style":"form"},"registration_date":{"style":"form"},"property_description":{"style":"form"},"survey_number":{"style":"form"},"khata_number":{"style":"form"},"mutation_number":{"style":"form"},"sub_register_office":{"style":"form"},"district":{"style":"form"},"state":{"style":"form"},"registry_value":{"style":"form"},"stamp_duty":{"style":"form"},"registration_fee":{"style":"form"},"other_charges":{"style":"form"},"total_cost":{"style":"form"},"buyer_details":{"style":"form","explode":true},"registry_file_path":{"style":"form"},"registry_upload":{"style":"form"},"sale_deed_path":{"style":"form"},"sale_deed_upload":{"style":"form"},"encumbrance_certificate_path":{"style":"form"},"certificate_upload":{"style":"form"},"remarks":{"style":"form"}}}}}},"delete":{"tags":["Booking"],"summary":"DELETE RegistryController::destroy","operationId":"registry_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/booking\/registries\/{registry}\/complete":{"post":{"tags":["Booking"],"summary":"POST RegistryController::complete","operationId":"registry_complete","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Registry"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/system-logs":{"get":{"tags":["Core"],"summary":"GET SystemLogController::index","operationId":"systemLog_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SystemLog"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"user_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"level","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":20,"nullable":true}},{"name":"channel","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":50,"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","user_id","level","channel","created_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/platform-settings":{"get":{"tags":["Core"],"summary":"GET PlatformSettingController::index","operationId":"platformSetting_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PlatformSetting"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["group","key","type","is_encrypted","is_system"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST PlatformSettingController::store","operationId":"platformSetting_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PlatformSetting"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"group":{"type":"string","nullable":true,"maxLength":100},"key":{"type":"string","maxLength":150},"value":{"type":"string","nullable":true},"options":{"type":"array","nullable":true,"items":{"type":"string"}},"type":{"type":"string","nullable":true,"enum":["string","integer","boolean","json","array"]},"is_encrypted":{"type":"boolean","nullable":true},"is_system":{"type":"boolean","nullable":true}},"required":["key"]}}}}}},"\/api\/v1\/auth\/platform-settings\/{platform_setting}":{"get":{"tags":["Core"],"summary":"GET PlatformSettingController::show","operationId":"platformSetting_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PlatformSetting"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"platform_setting","in":"path","required":true,"schema":{"type":"string"}}]},"put":{"tags":["Core"],"summary":"PUT PlatformSettingController::update","operationId":"platformSetting_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PlatformSetting"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"platform_setting","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"value":{"type":"string","nullable":true}},"required":[]}}}}},"delete":{"tags":["Core"],"summary":"DELETE PlatformSettingController::destroy","operationId":"platformSetting_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"platform_setting","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/organization\/branches":{"get":{"tags":["Core"],"summary":"GET BranchController::index","operationId":"branch_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Branch"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["city","employees","manager","organization","settings","users"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","inactive","suspended"],"nullable":true}},{"name":"include_stats","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","email","phone","mobile","address","city_id","postal_code","latitude","longitude","manager_id"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST BranchController::store","operationId":"branch_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Branch"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}}}},"\/api\/v1\/auth\/organization\/branches\/{branch}\/lifecycle":{"get":{"tags":["Core"],"summary":"GET BranchController::lifecycle","operationId":"branch_lifecycle","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["city","employees","manager","organization","settings","users"]},"nullable":true}}]}},"\/api\/v1\/auth\/organization\/branches\/{branch}\/operations":{"get":{"tags":["Core"],"summary":"GET BranchController::operations","operationId":"branch_operations","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["city","employees","manager","organization","settings","users"]},"nullable":true}}]}},"\/api\/v1\/auth\/organization\/branches\/{branch}\/team":{"get":{"tags":["Core"],"summary":"GET BranchController::team","operationId":"branch_team","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"maximum":50}}]}},"\/api\/v1\/auth\/organization\/branches\/{branch}\/team\/available":{"get":{"tags":["Core"],"summary":"GET BranchController::teamAvailable","operationId":"branch_teamAvailable","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"maximum":50}}]}},"\/api\/v1\/auth\/organization\/branches\/{branch}\/team\/assign":{"post":{"tags":["Core"],"summary":"POST BranchController::assignStaff","operationId":"branch_assignStaff","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"}},"required":["user_id"]}}}}}},"\/api\/v1\/auth\/organization\/branches\/{branch}\/team\/transfers":{"get":{"tags":["Core"],"summary":"GET BranchController::transfers","operationId":"branch_transfers","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"maximum":50}}]},"post":{"tags":["Core"],"summary":"POST BranchController::requestTransfer","operationId":"branch_requestTransfer","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"},"to_branch_id":{"type":"integer"},"reason":{"type":"string","nullable":true,"maxLength":500}},"required":["user_id","to_branch_id"]}}}}}},"\/api\/v1\/auth\/organization\/branches\/{branch}\/team\/transfers\/{transferId}\/approve":{"post":{"tags":["Core"],"summary":"POST BranchController::approveTransfer","operationId":"branch_approveTransfer","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}},{"name":"transferId","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/organization\/branches\/{branch}\/team\/transfers\/{transferId}\/reject":{"post":{"tags":["Core"],"summary":"POST BranchController::rejectTransfer","operationId":"branch_rejectTransfer","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}},{"name":"transferId","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/organization\/branches\/{branch}":{"get":{"tags":["Core"],"summary":"GET BranchController::show","operationId":"branch_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Branch"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["city","employees","manager","organization","settings","users"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT BranchController::update","operationId":"branch_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Branch"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"tags":["Core"],"summary":"DELETE BranchController::destroy","operationId":"branch_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/organization\/branch-settings":{"get":{"tags":["Core"],"summary":"GET BranchSettingController::index","operationId":"branchSetting_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/BranchSetting"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["branch_id","organization_id","group","key","value","options","type","is_encrypted","is_system"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST BranchSettingController::store","operationId":"branchSetting_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BranchSetting"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"branch_id":{"type":"integer","nullable":true},"organization_id":{"type":"integer","nullable":true},"group":{"type":"string","nullable":true},"key":{"type":"string","enum":["branch_name","branch_code","branch_email","branch_phone","timezone","working_days","weekly_off","office_start_time","office_end_time","late_grace_minutes","attendance_radius","enable_email_notifications","enable_sms_notifications","enable_whatsapp_notifications","allow_self_attendance","allow_self_leave"]},"value":{"type":"string","nullable":true},"options":{"type":"array","nullable":true,"items":{"type":"string"}},"type":{"type":"string","nullable":true,"enum":["string","integer","boolean","json","array"]},"is_encrypted":{"type":"boolean","nullable":true},"is_system":{"type":"boolean","nullable":true}},"required":["key"]}}}}}},"\/api\/v1\/auth\/organization\/branch-settings\/{branch_setting}":{"get":{"tags":["Core"],"summary":"GET BranchSettingController::show","operationId":"branchSetting_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BranchSetting"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch_setting","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","organization"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT BranchSettingController::update","operationId":"branchSetting_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BranchSetting"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch_setting","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"branch_id":{"type":"integer"},"organization_id":{"type":"integer"},"group":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"options":{"type":"array","items":{"type":"string"}},"type":{"type":"string"},"is_encrypted":{"type":"boolean"},"is_system":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Core"],"summary":"DELETE BranchSettingController::destroy","operationId":"branchSetting_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"branch_setting","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/organization\/organization-settings":{"get":{"tags":["Core"],"summary":"GET OrganizationSettingController::index","operationId":"organizationSetting_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrganizationSetting"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","group","key","value","options","type","is_encrypted","is_system"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST OrganizationSettingController::store","operationId":"organizationSetting_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationSetting"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"group":{"type":"string","nullable":true},"key":{"type":"string","enum":["organization_name","timezone","date_format","currency","currency_symbol","office_start_time","office_end_time","late_grace_minutes","enable_email_notifications","enable_sms_notifications","enable_whatsapp_notifications","lead_assignment_type","followup_interval_days","booking_lock_period","default_booking_amount_percentage","max_login_attempts","session_timeout"]},"value":{"type":"string","nullable":true},"options":{"type":"array","nullable":true,"items":{"type":"string"}},"type":{"type":"string","nullable":true,"enum":["string","integer","boolean","json","array"]},"is_encrypted":{"type":"boolean","nullable":true},"is_system":{"type":"boolean","nullable":true}},"required":["key"]}}}}}},"\/api\/v1\/auth\/organization\/organization-settings\/{organization_setting}":{"get":{"tags":["Core"],"summary":"GET OrganizationSettingController::show","operationId":"organizationSetting_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationSetting"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_setting","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT OrganizationSettingController::update","operationId":"organizationSetting_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationSetting"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_setting","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"group":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"options":{"type":"array","items":{"type":"string"}},"type":{"type":"string","enum":["string","integer","boolean","json","array"]},"is_encrypted":{"type":"boolean"},"is_system":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Core"],"summary":"DELETE OrganizationSettingController::destroy","operationId":"organizationSetting_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_setting","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/organization\/organization-usages":{"get":{"tags":["Core"],"summary":"GET OrganizationUsageController::index","operationId":"organizationUsage_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrganizationUsage"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","users_count","branches_count","leads_count","bookings_count","properties_count","storage_used_bytes"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/organization\/organization-usages\/{organization_usage}":{"get":{"tags":["Core"],"summary":"GET OrganizationUsageController::show","operationId":"organizationUsage_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/OrganizationUsage"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_usage","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization"]},"nullable":true}}]}},"\/api\/v1\/auth\/organization\/package-modules":{"get":{"tags":["Core"],"summary":"GET PackageModuleController::index","operationId":"packageModule_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PackageModule"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["module","package"]},"nullable":true}},{"name":"package_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"module_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST PackageModuleController::store","operationId":"packageModule_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PackageModule"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"package_id":{"type":"integer"},"module_id":{"type":"integer"}},"required":["package_id","module_id"]}}}}}},"\/api\/v1\/auth\/organization\/package-modules\/{package_module}":{"get":{"tags":["Core"],"summary":"GET PackageModuleController::show","operationId":"packageModule_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PackageModule"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"package_module","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["module","package"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT PackageModuleController::update","operationId":"packageModule_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PackageModule"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"package_module","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"package_id":{"type":"integer"},"module_id":{"type":"integer"}},"required":["package_id","module_id"]}}}}},"delete":{"tags":["Core"],"summary":"DELETE PackageModuleController::destroy","operationId":"packageModule_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"package_module","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/organization\/subscription-histories":{"get":{"tags":["Core"],"summary":"GET SubscriptionHistoryController::index","operationId":"subscriptionHistory_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionHistory"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["createdBy","organization","package"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","package_id","created_by","event","payment_method","transaction_id","amount","payment_date","remarks","period_start","period_end","duration_months"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST SubscriptionHistoryController::store","operationId":"subscriptionHistory_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SubscriptionHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"package_id":{"type":"integer"},"event":{"type":"string"},"payment_method":{"type":"string"},"transaction_id":{"type":"integer"},"amount":{"type":"number"},"payment_date":{"type":"string","format":"date"},"remarks":{"type":"string"},"period_start":{"type":"string","format":"date"},"period_end":{"type":"string","format":"date"},"duration_months":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"event_date":{"type":"string","format":"date"}},"required":["package_id","event","payment_method","transaction_id","amount","payment_date","remarks","period_start","period_end","duration_months","details","event_date"]}}}}}},"\/api\/v1\/auth\/organization\/subscription-histories\/{subscription_history}":{"get":{"tags":["Core"],"summary":"GET SubscriptionHistoryController::show","operationId":"subscriptionHistory_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SubscriptionHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"subscription_history","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["createdBy","organization","package"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT SubscriptionHistoryController::update","operationId":"subscriptionHistory_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SubscriptionHistory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"subscription_history","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"package_id":{"type":"integer"},"event":{"type":"string"},"payment_method":{"type":"string"},"transaction_id":{"type":"integer"},"amount":{"type":"number"},"payment_date":{"type":"string","format":"date"},"remarks":{"type":"string"},"period_start":{"type":"string","format":"date"},"period_end":{"type":"string","format":"date"},"duration_months":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"event_date":{"type":"string","format":"date"}},"required":[]}}}}},"delete":{"tags":["Core"],"summary":"DELETE SubscriptionHistoryController::destroy","operationId":"subscriptionHistory_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"subscription_history","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/calls":{"get":{"tags":["CRM"],"summary":"GET CallController::index","operationId":"call_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Call"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["lead","organization","recording","user"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"include_stats","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["lead_id","organization_id","user_id","call_date","call_time","started_at","ended_at","duration_seconds","call_type","call_mode","purpose","discussion"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST CallController::store","operationId":"call_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Call"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"lead_id":{"type":"integer"},"call_date":{"type":"string","format":"date"},"call_time":{"type":"string","nullable":true,"format":"H:i"},"started_at":{"type":"string","nullable":true,"format":"date"},"ended_at":{"type":"string","nullable":true,"format":"date"},"duration_seconds":{"type":"integer","nullable":true},"call_type":{"type":"string","nullable":true,"enum":["incoming","outgoing"]},"call_mode":{"type":"string","nullable":true,"enum":["voice","video","whatsapp"]},"purpose":{"type":"string","nullable":true},"discussion":{"type":"string","nullable":true},"followup_notes":{"type":"string","nullable":true},"status":{"type":"string","nullable":true,"enum":["pending","connected","no_answer","busy","cancelled"]},"outcome":{"type":"string","nullable":true,"enum":["interested","not_interested","followup_needed","converted"]}},"required":["lead_id","call_date"]}}}}}},"\/api\/v1\/auth\/crm\/calls\/{call}":{"get":{"tags":["CRM"],"summary":"GET CallController::show","operationId":"call_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Call"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"call","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["lead","organization","recording","user"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT CallController::update","operationId":"call_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Call"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"call","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"call_date":{"type":"string","format":"date"},"call_time":{"type":"string","format":"H:i"},"started_at":{"type":"string","format":"date"},"ended_at":{"type":"string","format":"date"},"duration_seconds":{"type":"integer"},"call_type":{"type":"string","enum":["incoming","outgoing"]},"call_mode":{"type":"string","enum":["voice","video","whatsapp"]},"purpose":{"type":"string"},"discussion":{"type":"string"},"followup_notes":{"type":"string"},"status":{"type":"string","enum":["pending","connected","no_answer","busy","cancelled"]},"outcome":{"type":"string","enum":["interested","not_interested","followup_needed","converted"]}},"required":[]}}}}},"delete":{"tags":["CRM"],"summary":"DELETE CallController::destroy","operationId":"call_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"call","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/call-recordings":{"get":{"tags":["CRM"],"summary":"GET CallRecordingController::index","operationId":"callRecording_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/CallRecording"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["call","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","call_id","recording_url","file_name","mime_type","file_size","duration_seconds","transcription","status"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST CallRecordingController::store","operationId":"callRecording_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/CallRecording"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"call_id":{"type":"integer","nullable":true},"recording_url":{"type":"string","maxLength":2048},"file_name":{"type":"string","maxLength":255},"mime_type":{"type":"string","nullable":true},"file_size":{"type":"integer","nullable":true,"minimum":0},"duration_seconds":{"type":"integer","nullable":true,"minimum":0},"transcription":{"type":"string","nullable":true},"status":{"type":"string","nullable":true,"enum":["pending","processed","failed"]}},"required":["recording_url","file_name"]}}}}}},"\/api\/v1\/auth\/crm\/call-recordings\/{call_recording}":{"get":{"tags":["CRM"],"summary":"GET CallRecordingController::show","operationId":"callRecording_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/CallRecording"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"call_recording","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["call","organization"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT CallRecordingController::update","operationId":"callRecording_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/CallRecording"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"call_recording","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"recording_url":{"type":"string","maxLength":2048},"file_name":{"type":"string","maxLength":255},"mime_type":{"type":"string"},"file_size":{"type":"integer","minimum":0},"duration_seconds":{"type":"integer","minimum":0},"transcription":{"type":"string"},"status":{"type":"string","enum":["pending","processed","failed"]}},"required":[]}}}}},"delete":{"tags":["CRM"],"summary":"DELETE CallRecordingController::destroy","operationId":"callRecording_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"call_recording","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/lead-imports":{"post":{"tags":["CRM"],"summary":"POST LeadImportController::store","operationId":"leadImport_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadImport"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file":{"type":"file","format":"binary"},"duplicate_strategy":{"type":"string","nullable":true,"enum":["skip","update","create"]}},"required":["file"]},"encoding":{"file":{"style":"form"},"duplicate_strategy":{"style":"form"}}}}}}},"\/api\/v1\/auth\/crm\/lead-imports\/{lead_import}":{"get":{"tags":["CRM"],"summary":"GET LeadImportController::show","operationId":"leadImport_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadImport"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_import","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/lead-imports\/{lead_import}\/commit":{"post":{"tags":["CRM"],"summary":"POST LeadImportController::commit","operationId":"leadImport_commit","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadImport"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_import","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"mapping":{"type":"array","items":{"type":"string"}},"duplicate_strategy":{"type":"string","nullable":true,"enum":["skip","update","create"]}},"required":["mapping"]}}}}}},"\/api\/v1\/auth\/crm\/leads":{"get":{"tags":["CRM"],"summary":"GET LeadController::index","operationId":"lead_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Lead"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["assignedTo","assignments","branch","calls","city","conversions","convertedToBooking","followups","leadSource","leadStatus","notes","organization","plot","project","property","visits"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"include_stats","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","project_id","property_id","plot_id","lead_number","lead_date","first_name","last_name","email","mobile","alternate_mobile"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST LeadController::store","operationId":"lead_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Lead"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"project_id":{"type":"integer","nullable":true},"property_id":{"type":"integer","nullable":true},"plot_id":{"type":"integer","nullable":true},"lead_number":{"type":"string","nullable":true,"maxLength":50},"lead_date":{"type":"string","format":"date"},"first_name":{"type":"string"},"last_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"mobile":{"type":"string"},"alternate_mobile":{"type":"string","nullable":true},"whatsapp_number":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"city_id":{"type":"integer","nullable":true},"postal_code":{"type":"string","nullable":true},"lead_source_id":{"type":"integer","nullable":true},"campaign_id":{"type":"integer","nullable":true},"source_detail":{"type":"string","nullable":true},"lead_status_id":{"type":"integer","nullable":true},"budget_min":{"type":"number","nullable":true},"budget_max":{"type":"number","nullable":true},"requirement":{"type":"string","nullable":true},"preferences":{"type":"string","nullable":true},"priority":{"type":"string","nullable":true,"enum":["low","medium","high","critical"]},"lead_score":{"type":"integer","nullable":true},"remarks":{"type":"string","nullable":true}},"required":["lead_date","first_name","mobile"]}}}}}},"\/api\/v1\/auth\/crm\/leads\/{lead}":{"get":{"tags":["CRM"],"summary":"GET LeadController::show","operationId":"lead_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Lead"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["assignedTo","assignments","branch","calls","city","conversions","convertedToBooking","followups","leadSource","leadStatus","notes","organization","plot","project","property","visits"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT LeadController::update","operationId":"lead_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Lead"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"branch_id":{"type":"integer"},"project_id":{"type":"integer"},"property_id":{"type":"integer"},"plot_id":{"type":"integer"},"lead_number":{"type":"string"},"lead_date":{"type":"string","format":"date"},"first_name":{"type":"string"},"last_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true,"format":"email","maxLength":255},"mobile":{"type":"string"},"alternate_mobile":{"type":"string","nullable":true},"whatsapp_number":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"city_id":{"type":"integer","nullable":true},"postal_code":{"type":"string","nullable":true},"lead_source_id":{"type":"integer","nullable":true},"source_detail":{"type":"string","nullable":true},"lead_status_id":{"type":"integer","nullable":true},"budget_min":{"type":"number","nullable":true,"minimum":0},"budget_max":{"type":"number","nullable":true,"minimum":0},"requirement":{"type":"string","nullable":true},"preferences":{"type":"string","nullable":true},"priority":{"type":"string","nullable":true,"enum":["low","medium","high","critical"]},"lead_score":{"type":"integer","nullable":true,"minimum":0,"maximum":100},"remarks":{"type":"string","nullable":true}},"required":[]}}}}},"delete":{"tags":["CRM"],"summary":"DELETE LeadController::destroy","operationId":"lead_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/campaigns":{"get":{"tags":["CRM"],"summary":"GET CampaignController::index","operationId":"campaign_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Campaign"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","branch","leads"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["name","code","channel","starts_at","ends_at","budget","is_active"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST CampaignController::store","operationId":"campaign_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Campaign"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"name":{"type":"string","maxLength":150},"code":{"type":"string","maxLength":80},"channel":{"type":"string","nullable":true,"maxLength":50},"description":{"type":"string","nullable":true},"starts_at":{"type":"string","nullable":true,"format":"date"},"ends_at":{"type":"string","nullable":true,"format":"date"},"budget":{"type":"number","nullable":true,"minimum":0},"is_active":{"type":"boolean","nullable":true}},"required":["name","code"]}}}}}},"\/api\/v1\/auth\/crm\/campaigns\/{campaign}":{"get":{"tags":["CRM"],"summary":"GET CampaignController::show","operationId":"campaign_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Campaign"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"campaign","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","branch","leads"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT CampaignController::update","operationId":"campaign_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Campaign"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"campaign","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"branch_id":{"type":"integer","nullable":true},"name":{"type":"string","maxLength":150},"code":{"type":"string","maxLength":80},"channel":{"type":"string","nullable":true,"maxLength":50},"description":{"type":"string","nullable":true},"starts_at":{"type":"string","nullable":true,"format":"date"},"ends_at":{"type":"string","nullable":true,"format":"date"},"budget":{"type":"number","nullable":true,"minimum":0},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["CRM"],"summary":"DELETE CampaignController::destroy","operationId":"campaign_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"campaign","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/lead-assignments":{"get":{"tags":["CRM"],"summary":"GET LeadAssignmentController::index","operationId":"leadAssignment_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LeadAssignment"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["assignedFrom","assignedTo","lead","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["lead_id","organization_id","assigned_from","assigned_to","assigned_at","reason"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/crm\/lead-assignments\/{lead_assignment}":{"get":{"tags":["CRM"],"summary":"GET LeadAssignmentController::show","operationId":"leadAssignment_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadAssignment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_assignment","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["assignedFrom","assignedTo","lead","organization"]},"nullable":true}}]}},"\/api\/v1\/auth\/crm\/lead-conversions":{"get":{"tags":["CRM"],"summary":"GET LeadConversionController::index","operationId":"leadConversion_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LeadConversion"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["booking","convertedBy","lead","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["lead_id","organization_id","booking_id","conversion_date","conversion_value","notes","converted_by"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/crm\/lead-conversions\/{lead_conversion}":{"get":{"tags":["CRM"],"summary":"GET LeadConversionController::show","operationId":"leadConversion_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadConversion"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_conversion","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["booking","convertedBy","lead","organization"]},"nullable":true}}]}},"\/api\/v1\/auth\/crm\/lead-followups":{"get":{"tags":["CRM"],"summary":"GET LeadFollowupController::index","operationId":"leadFollowup_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LeadFollowup"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["lead","organization","user"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"active_only","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","nullable":true}},{"name":"overdue_only","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["lead_id","organization_id","user_id","followup_date","followup_time","followup_at","followup_type","notes","response","status","rescheduled_date","reschedule_reason"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST LeadFollowupController::store","operationId":"leadFollowup_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadFollowup"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"lead_id":{"type":"integer"},"user_id":{"type":"integer"},"followup_date":{"type":"string","format":"date"},"followup_time":{"type":"string","nullable":true,"format":"date"},"followup_at":{"type":"string","nullable":true,"format":"date"},"followup_type":{"type":"string","nullable":true,"enum":["call","visit","email","whatsapp","sms","other"]},"notes":{"type":"string","nullable":true}},"required":["lead_id","user_id","followup_date"]}}}}}},"\/api\/v1\/auth\/crm\/lead-followups\/{lead_followup}":{"get":{"tags":["CRM"],"summary":"GET LeadFollowupController::show","operationId":"leadFollowup_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadFollowup"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_followup","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["lead","organization","user"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT LeadFollowupController::update","operationId":"leadFollowup_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadFollowup"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_followup","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"followup_date":{"type":"string","format":"date"},"followup_time":{"type":"string","format":"date"},"followup_at":{"type":"string","format":"date"},"followup_type":{"type":"string","enum":["call","visit","email","whatsapp","sms","other"]},"notes":{"type":"string"}},"required":[]}}}}},"delete":{"tags":["CRM"],"summary":"DELETE LeadFollowupController::destroy","operationId":"leadFollowup_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_followup","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/lead-notes":{"get":{"tags":["CRM"],"summary":"GET LeadNoteController::index","operationId":"leadNote_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LeadNote"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["lead","organization","user"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["lead_id","organization_id","user_id","note","note_type","is_private"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST LeadNoteController::store","operationId":"leadNote_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadNote"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"lead_id":{"type":"integer"},"note":{"type":"string"},"note_type":{"type":"string","nullable":true,"enum":["general","followup","requirement","feedback","internal"]},"is_private":{"type":"boolean","nullable":true}},"required":["lead_id","note"]}}}}}},"\/api\/v1\/auth\/crm\/lead-notes\/{lead_note}":{"get":{"tags":["CRM"],"summary":"GET LeadNoteController::show","operationId":"leadNote_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadNote"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_note","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["lead","organization","user"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT LeadNoteController::update","operationId":"leadNote_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadNote"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_note","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"note":{"type":"string"},"note_type":{"type":"string","enum":["general","followup","requirement","feedback","internal"]}},"required":[]}}}}},"delete":{"tags":["CRM"],"summary":"DELETE LeadNoteController::destroy","operationId":"leadNote_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_note","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/lead-rules":{"get":{"tags":["CRM"],"summary":"GET LeadRuleController::index","operationId":"leadRule_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LeadRule"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"is_active","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","createdBy","updatedBy"]},"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST LeadRuleController::store","operationId":"leadRule_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadRule"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string","maxLength":150},"priority":{"type":"integer","nullable":true,"minimum":0},"conditions":{"type":"array","minLength":1,"items":{"type":"string","properties":{"field":{"type":"array","maxLength":100,"items":{"type":"object","properties":{"field":{"type":"array"}}}},"operator":{"type":"array","enum":["equals","not_equals","contains","in","not_in","gte","lte","exists"],"items":{"type":"object","properties":{"operator":{"type":"array","enum":["equals","not_equals","contains","in","not_in","gte","lte","exists"]}}}},"value":{"type":"array","nullable":true,"items":{"type":"object","properties":{"value":{"type":"array"}}}}}}},"actions":{"type":"array","minLength":1,"items":{"type":"string","properties":{"type":{"type":"array","enum":["set_field","assign_user","set_status","set_priority","set_source","adjust_score","set_score"],"items":{"type":"object","properties":{"type":{"type":"array","enum":["set_field","assign_user","set_status","set_priority","set_source","adjust_score","set_score"]}}}},"field":{"type":"array","nullable":true,"maxLength":100,"items":{"type":"object","properties":{"field":{"type":"array"}}}},"value":{"type":"array","nullable":true,"items":{"type":"object","properties":{"value":{"type":"array"}}}}}}},"is_active":{"type":"boolean","nullable":true}},"required":["organization_id","name","conditions","conditions.*.field","conditions.*.operator","actions","actions.*.type"]}}}}}},"\/api\/v1\/auth\/crm\/lead-rules\/{lead_rule}":{"get":{"tags":["CRM"],"summary":"GET LeadRuleController::show","operationId":"leadRule_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadRule"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_rule","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","createdBy","updatedBy"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT LeadRuleController::update","operationId":"leadRule_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadRule"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_rule","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":150},"priority":{"type":"integer","minimum":0},"conditions":{"type":"array","minLength":1,"items":{"type":"string","properties":{"field":{"type":"array","maxLength":100,"items":{"type":"object","properties":{"field":{"type":"array"}}}},"operator":{"type":"array","enum":["equals","not_equals","contains","in","not_in","gte","lte","exists"],"items":{"type":"object","properties":{"operator":{"type":"array","enum":["equals","not_equals","contains","in","not_in","gte","lte","exists"]}}}},"value":{"type":"array","nullable":true,"items":{"type":"object","properties":{"value":{"type":"array"}}}}}}},"actions":{"type":"array","minLength":1,"items":{"type":"string","properties":{"type":{"type":"array","enum":["set_field","assign_user","set_status","set_priority","set_source","adjust_score","set_score"],"items":{"type":"object","properties":{"type":{"type":"array","enum":["set_field","assign_user","set_status","set_priority","set_source","adjust_score","set_score"]}}}},"field":{"type":"array","nullable":true,"maxLength":100,"items":{"type":"object","properties":{"field":{"type":"array"}}}},"value":{"type":"array","nullable":true,"items":{"type":"object","properties":{"value":{"type":"array"}}}}}}},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["CRM"],"summary":"DELETE LeadRuleController::destroy","operationId":"leadRule_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_rule","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/lead-statuses":{"get":{"tags":["CRM"],"summary":"GET LeadStatusController::index","operationId":"leadStatus_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LeadStatus"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["leads","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","order","category","is_closed","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST LeadStatusController::store","operationId":"leadStatus_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadStatus"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"order":{"type":"integer","nullable":true},"category":{"type":"string","nullable":true,"enum":["new","contacted","qualified","negotiation","won","lost"]},"is_closed":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/crm\/lead-statuses\/{lead_status}":{"get":{"tags":["CRM"],"summary":"GET LeadStatusController::show","operationId":"leadStatus_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadStatus"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_status","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["leads","organization"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT LeadStatusController::update","operationId":"leadStatus_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadStatus"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_status","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"order":{"type":"integer"},"category":{"type":"string","enum":["new","contacted","qualified","negotiation","won","lost"]},"is_closed":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["CRM"],"summary":"DELETE LeadStatusController::destroy","operationId":"leadStatus_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_status","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/visits":{"get":{"tags":["CRM"],"summary":"GET VisitController::index","operationId":"visit_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Visit"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["assignedTo","branch","lead","organization","photos","plot","project","property","visitor"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["lead_id","organization_id","branch_id","project_id","property_id","plot_id","visitor_id","assigned_to","visit_date","visit_time","check_in_at","check_out_at"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST VisitController::store","operationId":"visit_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Visit"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"lead_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"project_id":{"type":"integer","nullable":true},"property_id":{"type":"integer","nullable":true},"plot_id":{"type":"integer","nullable":true},"visitor_id":{"type":"integer","nullable":true},"assigned_to":{"type":"integer","nullable":true},"visit_date":{"type":"string","format":"date"},"visit_time":{"type":"string","nullable":true,"format":"date"},"check_in_at":{"type":"string","nullable":true,"format":"date"},"check_out_at":{"type":"string","nullable":true,"format":"date"},"check_in_latitude":{"type":"number","nullable":true},"check_in_longitude":{"type":"number","nullable":true},"check_out_latitude":{"type":"number","nullable":true},"check_out_longitude":{"type":"number","nullable":true},"purpose":{"type":"string","nullable":true},"feedback":{"type":"string","nullable":true},"remarks":{"type":"string","nullable":true},"status":{"type":"string","nullable":true,"enum":["scheduled","in_progress","completed","cancelled","no_show"]},"outcome":{"type":"string","nullable":true,"enum":["interested","not_interested","followup_needed","converted"]}},"required":["lead_id","visit_date"]}}}}}},"\/api\/v1\/auth\/crm\/visits\/{visit}":{"get":{"tags":["CRM"],"summary":"GET VisitController::show","operationId":"visit_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Visit"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"visit","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["assignedTo","branch","lead","organization","photos","plot","project","property","visitor"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT VisitController::update","operationId":"visit_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Visit"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"visit","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"lead_id":{"type":"integer"},"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"project_id":{"type":"integer"},"property_id":{"type":"integer"},"plot_id":{"type":"integer"},"visitor_id":{"type":"integer"},"assigned_to":{"type":"integer"},"visit_date":{"type":"string","format":"date"},"visit_time":{"type":"string","format":"date"},"check_in_at":{"type":"string","format":"date"},"check_out_at":{"type":"string","format":"date"},"check_in_latitude":{"type":"number"},"check_in_longitude":{"type":"number"},"check_out_latitude":{"type":"number"},"check_out_longitude":{"type":"number"},"purpose":{"type":"string"},"feedback":{"type":"string"},"remarks":{"type":"string"},"status":{"type":"string","enum":["scheduled","in_progress","completed","cancelled","no_show"]},"outcome":{"type":"string","enum":["interested","not_interested","followup_needed","converted"]}},"required":[]}}}}},"delete":{"tags":["CRM"],"summary":"DELETE VisitController::destroy","operationId":"visit_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"visit","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/crm\/visit-photos":{"get":{"tags":["CRM"],"summary":"GET VisitPhotoController::index","operationId":"visitPhoto_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/VisitPhoto"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","uploadedBy","visit"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["visit_id","organization_id","file_path","file_name","mime_type","file_size","latitude","longitude","captured_at","caption","uploaded_by"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["CRM"],"summary":"POST VisitPhotoController::store","operationId":"visitPhoto_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/VisitPhoto"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"visit_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"file_path":{"type":"string","nullable":true},"photo_upload":{"type":"image","format":"binary"},"file_name":{"type":"string","nullable":true},"mime_type":{"type":"string","nullable":true},"file_size":{"type":"integer","nullable":true},"latitude":{"type":"number","nullable":true},"longitude":{"type":"number","nullable":true},"captured_at":{"type":"string","nullable":true,"format":"date"},"caption":{"type":"string","nullable":true},"uploaded_by":{"type":"integer","nullable":true}},"required":["visit_id"]},"encoding":{"visit_id":{"style":"form"},"organization_id":{"style":"form"},"file_path":{"style":"form"},"photo_upload":{"style":"form"},"file_name":{"style":"form"},"mime_type":{"style":"form"},"file_size":{"style":"form"},"latitude":{"style":"form"},"longitude":{"style":"form"},"captured_at":{"style":"form"},"caption":{"style":"form"},"uploaded_by":{"style":"form"}}}}}}},"\/api\/v1\/auth\/crm\/visit-photos\/{visit_photo}":{"get":{"tags":["CRM"],"summary":"GET VisitPhotoController::show","operationId":"visitPhoto_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/VisitPhoto"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"visit_photo","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","uploadedBy","visit"]},"nullable":true}}]},"put":{"tags":["CRM"],"summary":"PUT VisitPhotoController::update","operationId":"visitPhoto_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/VisitPhoto"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"visit_photo","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"visit_id":{"type":"integer"},"organization_id":{"type":"integer"},"file_path":{"type":"string"},"photo_upload":{"type":"image","nullable":true,"format":"binary"},"file_name":{"type":"string"},"mime_type":{"type":"string"},"file_size":{"type":"integer"},"latitude":{"type":"number"},"longitude":{"type":"number"},"captured_at":{"type":"string","format":"date"},"caption":{"type":"string"},"uploaded_by":{"type":"integer"}},"required":[]},"encoding":{"visit_id":{"style":"form"},"organization_id":{"style":"form"},"file_path":{"style":"form"},"photo_upload":{"style":"form"},"file_name":{"style":"form"},"mime_type":{"style":"form"},"file_size":{"style":"form"},"latitude":{"style":"form"},"longitude":{"style":"form"},"captured_at":{"style":"form"},"caption":{"style":"form"},"uploaded_by":{"style":"form"}}}}}},"delete":{"tags":["CRM"],"summary":"DELETE VisitPhotoController::destroy","operationId":"visitPhoto_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"visit_photo","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/file-management\/documents":{"get":{"tags":["File"],"summary":"GET DocumentController::index","operationId":"document_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","createdBy","documentType","documentable","file","organization","updatedBy","verifications","verifiedBy"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","file_id","document_type_id","documentable_type","documentable_id","document_number","title","description","issue_date","expiry_date","status"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["File"],"summary":"POST DocumentController::store","operationId":"document_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Document"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"file_id":{"type":"integer"},"document_type_id":{"type":"integer","nullable":true},"documentable_type":{"type":"string","nullable":true},"documentable_id":{"type":"integer","nullable":true},"document_number":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string","nullable":true},"issue_date":{"type":"string","nullable":true,"format":"date"},"expiry_date":{"type":"string","nullable":true,"format":"date"},"status":{"type":"string","nullable":true,"enum":["draft","active","expired","archived"]},"is_verified":{"type":"boolean","nullable":true},"verified_at":{"type":"string","nullable":true,"format":"date"},"verified_by":{"type":"integer","nullable":true},"metadata":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":["file_id","title"]}}}}}},"\/api\/v1\/auth\/file-management\/documents\/{document}":{"get":{"tags":["File"],"summary":"GET DocumentController::show","operationId":"document_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Document"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","createdBy","documentType","documentable","file","organization","updatedBy","verifications","verifiedBy"]},"nullable":true}}]},"put":{"tags":["File"],"summary":"PUT DocumentController::update","operationId":"document_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Document"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"file_id":{"type":"integer"},"document_type_id":{"type":"integer"},"documentable_type":{"type":"string"},"documentable_id":{"type":"integer"},"document_number":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"issue_date":{"type":"string","format":"date"},"expiry_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["draft","active","expired","archived"]},"is_verified":{"type":"boolean"},"verified_at":{"type":"string","format":"date"},"verified_by":{"type":"integer"},"metadata":{"type":"array","items":{"type":"string"}}},"required":[]}}}}},"delete":{"tags":["File"],"summary":"DELETE DocumentController::destroy","operationId":"document_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/file-management\/document-verifications":{"get":{"tags":["File"],"summary":"GET DocumentVerificationController::index","operationId":"documentVerification_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentVerification"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["document","organization","requestedBy","verifiedBy"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["document_id","organization_id","verification_type","status","verified_by","verified_at","rejection_reason","comments","third_party_service","third_party_reference","third_party_response","requested_by"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["File"],"summary":"POST DocumentVerificationController::store","operationId":"documentVerification_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/DocumentVerification"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"document_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"verification_type":{"type":"string","nullable":true,"enum":["manual","auto","third_party"]},"status":{"type":"string","nullable":true,"enum":["pending","in_progress","verified","rejected"]},"verified_by":{"type":"integer","nullable":true},"verified_at":{"type":"string","nullable":true,"format":"date"},"rejection_reason":{"type":"string","nullable":true},"comments":{"type":"string","nullable":true},"third_party_service":{"type":"string","nullable":true},"third_party_reference":{"type":"string","nullable":true},"third_party_response":{"type":"array","nullable":true,"items":{"type":"string"}},"requested_by":{"type":"integer"},"requested_at":{"type":"string","format":"date"}},"required":["document_id","requested_by","requested_at"]}}}}}},"\/api\/v1\/auth\/file-management\/document-verifications\/{document_verification}":{"get":{"tags":["File"],"summary":"GET DocumentVerificationController::show","operationId":"documentVerification_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/DocumentVerification"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document_verification","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["document","organization","requestedBy","verifiedBy"]},"nullable":true}}]},"put":{"tags":["File"],"summary":"PUT DocumentVerificationController::update","operationId":"documentVerification_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/DocumentVerification"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document_verification","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"document_id":{"type":"integer"},"organization_id":{"type":"integer"},"verification_type":{"type":"string","enum":["manual","auto","third_party"]},"status":{"type":"string","enum":["pending","in_progress","verified","rejected"]},"verified_by":{"type":"integer"},"verified_at":{"type":"string","format":"date"},"rejection_reason":{"type":"string"},"comments":{"type":"string"},"third_party_service":{"type":"string"},"third_party_reference":{"type":"string"},"third_party_response":{"type":"array","items":{"type":"string"}},"requested_by":{"type":"integer"},"requested_at":{"type":"string","format":"date"}},"required":[]}}}}},"delete":{"tags":["File"],"summary":"DELETE DocumentVerificationController::destroy","operationId":"documentVerification_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document_verification","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/file-management\/files":{"get":{"tags":["File"],"summary":"GET FileController::index","operationId":"file_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/File"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","deletedBy","document","fileable","organization","uploadedBy","versions"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","fileable_type","fileable_id","file_name","original_name","file_path","file_hash","mime_type","extension","file_size","disk"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["File"],"summary":"POST FileController::store","operationId":"file_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/File"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"file":{"type":"file","format":"binary"},"fileable_type":{"type":"string","nullable":true,"maxLength":255},"fileable_id":{"type":"integer","nullable":true},"file_category":{"type":"string","nullable":true,"enum":["image","document","video","audio","archive","other"]},"file_group":{"type":"string","nullable":true,"maxLength":50},"is_public":{"type":"boolean","nullable":true},"metadata":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":["file"]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"file":{"style":"form"},"fileable_type":{"style":"form"},"fileable_id":{"style":"form"},"file_category":{"style":"form"},"file_group":{"style":"form"},"is_public":{"style":"form"},"metadata":{"style":"form","explode":true}}}}}}},"\/api\/v1\/auth\/file-management\/files\/{file}":{"get":{"tags":["File"],"summary":"GET FileController::show","operationId":"file_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/File"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","deletedBy","document","fileable","organization","uploadedBy","versions"]},"nullable":true}}]},"put":{"tags":["File"],"summary":"PUT FileController::update","operationId":"file_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/File"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"file":{"type":"file","format":"binary"},"fileable_type":{"type":"string","maxLength":255},"fileable_id":{"type":"integer"},"file_category":{"type":"string","enum":["image","document","video","audio","archive","other"]},"file_group":{"type":"string","maxLength":50},"is_public":{"type":"boolean"},"metadata":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["active","archived","deleted"]}},"required":[]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"file":{"style":"form"},"fileable_type":{"style":"form"},"fileable_id":{"style":"form"},"file_category":{"style":"form"},"file_group":{"style":"form"},"is_public":{"style":"form"},"metadata":{"style":"form","explode":true},"status":{"style":"form"}}}}}},"delete":{"tags":["File"],"summary":"DELETE FileController::destroy","operationId":"file_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/file-management\/file-versions":{"get":{"tags":["File"],"summary":"GET FileVersionController::index","operationId":"fileVersion_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/FileVersion"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["createdBy","file","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["file_id","organization_id","version_number","file_name","original_name","file_path","file_hash","mime_type","extension","file_size","change_notes","change_type"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["File"],"summary":"POST FileVersionController::store","operationId":"fileVersion_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/FileVersion"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"version_number":{"type":"integer","nullable":true},"file_name":{"type":"string","nullable":true},"original_name":{"type":"string","nullable":true},"file_path":{"type":"string","nullable":true},"version_upload":{"type":"file","format":"binary"},"file_hash":{"type":"string","nullable":true},"mime_type":{"type":"string","nullable":true},"extension":{"type":"string","nullable":true},"file_size":{"type":"integer","nullable":true},"change_notes":{"type":"string","nullable":true},"change_type":{"type":"string","nullable":true,"enum":["new","update","restore","delete"]}},"required":["file_id"]},"encoding":{"file_id":{"style":"form"},"organization_id":{"style":"form"},"version_number":{"style":"form"},"file_name":{"style":"form"},"original_name":{"style":"form"},"file_path":{"style":"form"},"version_upload":{"style":"form"},"file_hash":{"style":"form"},"mime_type":{"style":"form"},"extension":{"style":"form"},"file_size":{"style":"form"},"change_notes":{"style":"form"},"change_type":{"style":"form"}}}}}}},"\/api\/v1\/auth\/file-management\/file-versions\/{file_version}":{"get":{"tags":["File"],"summary":"GET FileVersionController::show","operationId":"fileVersion_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/FileVersion"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"file_version","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["createdBy","file","organization"]},"nullable":true}}]},"put":{"tags":["File"],"summary":"PUT FileVersionController::update","operationId":"fileVersion_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/FileVersion"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"file_version","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file_id":{"type":"integer"},"organization_id":{"type":"integer"},"version_number":{"type":"integer"},"file_name":{"type":"string"},"original_name":{"type":"string"},"file_path":{"type":"string"},"version_upload":{"type":"file","nullable":true,"format":"binary"},"file_hash":{"type":"string"},"mime_type":{"type":"string"},"extension":{"type":"string"},"file_size":{"type":"integer"},"change_notes":{"type":"string"},"change_type":{"type":"string","enum":["new","update","restore","delete"]}},"required":[]},"encoding":{"file_id":{"style":"form"},"organization_id":{"style":"form"},"version_number":{"style":"form"},"file_name":{"style":"form"},"original_name":{"style":"form"},"file_path":{"style":"form"},"version_upload":{"style":"form"},"file_hash":{"style":"form"},"mime_type":{"style":"form"},"extension":{"style":"form"},"file_size":{"style":"form"},"change_notes":{"style":"form"},"change_type":{"style":"form"}}}}}},"delete":{"tags":["File"],"summary":"DELETE FileVersionController::destroy","operationId":"fileVersion_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"file_version","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/employees\/{employee}\/attendance\/check-in":{"post":{"tags":["HRMS"],"summary":"POST AttendanceController::checkIn","operationId":"attendance_checkIn","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Attendance"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","nullable":true,"minimum":-90,"maximum":90},"longitude":{"type":"number","nullable":true,"minimum":-180,"maximum":180}},"required":[]}}}}}},"\/api\/v1\/auth\/hrms\/employees\/{employee}\/attendance\/check-out":{"post":{"tags":["HRMS"],"summary":"POST AttendanceController::checkOut","operationId":"attendance_checkOut","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Attendance"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","nullable":true,"minimum":-90,"maximum":90},"longitude":{"type":"number","nullable":true,"minimum":-180,"maximum":180}},"required":[]}}}}}},"\/api\/v1\/auth\/hrms\/attendances":{"get":{"tags":["HRMS"],"summary":"GET AttendanceController::index","operationId":"attendance_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Attendance"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","employee","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["employee_id","organization_id","branch_id","check_in_at","check_in_latitude","check_in_longitude","check_in_ip","check_out_at","check_out_latitude","check_out_longitude","check_out_ip","late_minutes"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/hrms\/attendances\/{attendance}":{"get":{"tags":["HRMS"],"summary":"GET AttendanceController::show","operationId":"attendance_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Attendance"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"attendance","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","employee","organization"]},"nullable":true}}]},"put":{"tags":["HRMS"],"summary":"PUT AttendanceController::update","operationId":"attendance_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Attendance"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"attendance","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"check_in_at":{"type":"string","format":"date"},"check_in_latitude":{"type":"number"},"check_in_longitude":{"type":"number"},"check_in_ip":{"type":"string"},"check_out_at":{"type":"string","format":"date"},"check_out_latitude":{"type":"number"},"check_out_longitude":{"type":"number"},"check_out_ip":{"type":"string"},"late_minutes":{"type":"integer"}},"required":[]}}}}},"delete":{"tags":["HRMS"],"summary":"DELETE AttendanceController::destroy","operationId":"attendance_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"attendance","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/employees":{"get":{"tags":["HRMS"],"summary":"GET EmployeeController::index","operationId":"employee_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Employee"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["attendances","branch","department","designation","documents","leaves","organization","promotions","reportingManager","transfers","user"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"include_stats","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["user_id","organization_id","branch_id","employee_code","employee_id","department_id","designation_id","reporting_manager_id","joining_date","confirmation_date","exit_date","employment_type"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["HRMS"],"summary":"POST EmployeeController::store","operationId":"employee_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Employee"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer","nullable":true},"user":{"type":"array","nullable":true,"items":{"type":"string","properties":{"first_name":{"type":"string","maxLength":50},"last_name":{"type":"string","nullable":true,"maxLength":50},"email":{"type":"string","maxLength":100},"mobile":{"type":"integer","minLength":10,"maxLength":10},"password":{"type":"string","minLength":8},"status":{"type":"string","nullable":true,"enum":["active","inactive","suspended","pending"]}}}},"organization_id":{"type":"integer"},"branch_id":{"type":"integer","nullable":true},"employee_code":{"type":"string"},"employee_id":{"type":"integer","nullable":true},"department_id":{"type":"integer","nullable":true},"designation_id":{"type":"integer","nullable":true},"reporting_manager_id":{"type":"integer","nullable":true},"joining_date":{"type":"string","format":"date"},"confirmation_date":{"type":"string","nullable":true,"format":"date"},"exit_date":{"type":"string","nullable":true,"format":"date"},"employment_type":{"type":"string","nullable":true,"enum":["permanent","contract","probation","intern","trainee"]},"work_type":{"type":"string","nullable":true,"enum":["in_house","hybrid","work_from_home"]},"basic_salary":{"type":"number","nullable":true},"gross_salary":{"type":"number","nullable":true},"salary_currency":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"bank_account_number":{"type":"string","nullable":true},"ifsc_code":{"type":"string","nullable":true},"pan_number":{"type":"string","nullable":true},"uan_number":{"type":"string","nullable":true},"esi_number":{"type":"string","nullable":true},"emergency_contact_name":{"type":"string","nullable":true},"emergency_contact_relation":{"type":"string","nullable":true},"emergency_contact_mobile":{"type":"string","nullable":true},"status":{"type":"string","nullable":true,"enum":["active","inactive","resigned","terminated","on_leave"]}},"required":["organization_id","employee_code","joining_date"]}}}}}},"\/api\/v1\/auth\/hrms\/employees\/{employee}":{"get":{"tags":["HRMS"],"summary":"GET EmployeeController::show","operationId":"employee_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Employee"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["attendances","branch","department","designation","documents","leaves","organization","promotions","reportingManager","transfers","user"]},"nullable":true}}]},"put":{"tags":["HRMS"],"summary":"PUT EmployeeController::update","operationId":"employee_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Employee"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"employee_code":{"type":"string"},"employee_id":{"type":"integer"},"department_id":{"type":"integer"},"designation_id":{"type":"integer"},"reporting_manager_id":{"type":"integer"},"joining_date":{"type":"string","format":"date"},"confirmation_date":{"type":"string","format":"date"},"exit_date":{"type":"string","format":"date"},"employment_type":{"type":"string","enum":["permanent","contract","probation","intern","trainee"]},"work_type":{"type":"string","enum":["in_house","hybrid","work_from_home"]},"basic_salary":{"type":"number"},"gross_salary":{"type":"number"},"salary_currency":{"type":"string"},"bank_name":{"type":"string"},"bank_account_number":{"type":"string"},"ifsc_code":{"type":"string"},"pan_number":{"type":"string"},"uan_number":{"type":"string"},"esi_number":{"type":"string"},"emergency_contact_name":{"type":"string"},"emergency_contact_relation":{"type":"string"},"emergency_contact_mobile":{"type":"string"},"status":{"type":"string","enum":["active","inactive","resigned","terminated","on_leave"]}},"required":[]}}}}},"delete":{"tags":["HRMS"],"summary":"DELETE EmployeeController::destroy","operationId":"employee_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/employee-documents":{"get":{"tags":["HRMS"],"summary":"GET EmployeeDocumentController::index","operationId":"employeeDocument_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/EmployeeDocument"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["documentType","employee","organization","verifiedBy"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["employee_id","organization_id","file_id","document_type_id","document_name","document_number","description","issue_date","expiry_date","status","rejection_reason","verified_by"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["HRMS"],"summary":"POST EmployeeDocumentController::store","operationId":"employeeDocument_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeDocument"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"file_id":{"type":"integer"},"document_type_id":{"type":"integer","nullable":true},"document_name":{"type":"string"},"document_number":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"issue_date":{"type":"string","nullable":true,"format":"date"},"expiry_date":{"type":"string","nullable":true,"format":"date"},"status":{"type":"string","nullable":true,"enum":["pending","verified","rejected","expired"]},"rejection_reason":{"type":"string","nullable":true},"verified_by":{"type":"integer","nullable":true},"verified_at":{"type":"string","nullable":true,"format":"date"}},"required":["employee_id","file_id","document_name"]}}}}}},"\/api\/v1\/auth\/hrms\/employee-documents\/{employee_document}":{"get":{"tags":["HRMS"],"summary":"GET EmployeeDocumentController::show","operationId":"employeeDocument_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeDocument"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_document","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["documentType","employee","organization","verifiedBy"]},"nullable":true}}]},"put":{"tags":["HRMS"],"summary":"PUT EmployeeDocumentController::update","operationId":"employeeDocument_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeDocument"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_document","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"organization_id":{"type":"integer"},"file_id":{"type":"integer"},"document_type_id":{"type":"integer"},"document_name":{"type":"string"},"document_number":{"type":"string"},"description":{"type":"string"},"issue_date":{"type":"string","format":"date"},"expiry_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["pending","verified","rejected","expired"]},"rejection_reason":{"type":"string"},"verified_by":{"type":"integer"},"verified_at":{"type":"string","format":"date"}},"required":[]}}}}},"delete":{"tags":["HRMS"],"summary":"DELETE EmployeeDocumentController::destroy","operationId":"employeeDocument_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_document","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/employee-promotions":{"get":{"tags":["HRMS"],"summary":"GET EmployeePromotionController::index","operationId":"employeePromotion_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/EmployeePromotion"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","employee","fromDesignation","organization","toDesignation"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["employee_id","organization_id","from_designation_id","from_salary","to_designation_id","to_salary","promotion_date","salary_increment_percentage","reason","approved_by","approved_at","status"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["HRMS"],"summary":"POST EmployeePromotionController::store","operationId":"employeePromotion_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeePromotion"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"from_designation_id":{"type":"integer","nullable":true},"from_salary":{"type":"number","nullable":true},"to_designation_id":{"type":"integer","nullable":true},"to_salary":{"type":"number","nullable":true},"promotion_date":{"type":"string","format":"date"},"salary_increment_percentage":{"type":"number","nullable":true},"reason":{"type":"string","nullable":true},"rejection_reason":{"type":"string","nullable":true}},"required":["employee_id","promotion_date"]}}}}}},"\/api\/v1\/auth\/hrms\/employee-promotions\/{employee_promotion}":{"get":{"tags":["HRMS"],"summary":"GET EmployeePromotionController::show","operationId":"employeePromotion_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeePromotion"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_promotion","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","employee","fromDesignation","organization","toDesignation"]},"nullable":true}}]},"put":{"tags":["HRMS"],"summary":"PUT EmployeePromotionController::update","operationId":"employeePromotion_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeePromotion"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_promotion","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"organization_id":{"type":"integer"},"from_designation_id":{"type":"integer"},"from_salary":{"type":"number"},"to_designation_id":{"type":"integer"},"to_salary":{"type":"number"},"promotion_date":{"type":"string","format":"date"},"salary_increment_percentage":{"type":"number"},"reason":{"type":"string"},"rejection_reason":{"type":"string"}},"required":[]}}}}},"delete":{"tags":["HRMS"],"summary":"DELETE EmployeePromotionController::destroy","operationId":"employeePromotion_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_promotion","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/employee-transfers":{"get":{"tags":["HRMS"],"summary":"GET EmployeeTransferController::index","operationId":"employeeTransfer_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/EmployeeTransfer"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","employee","fromBranch","fromDepartment","fromDesignation","organization","toBranch","toDepartment","toDesignation"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["employee_id","organization_id","from_branch_id","from_department_id","from_designation_id","to_branch_id","to_department_id","to_designation_id","transfer_date","reason","approved_by","approved_at"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["HRMS"],"summary":"POST EmployeeTransferController::store","operationId":"employeeTransfer_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeTransfer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"from_branch_id":{"type":"integer","nullable":true},"from_department_id":{"type":"integer","nullable":true},"from_designation_id":{"type":"integer","nullable":true},"to_branch_id":{"type":"integer","nullable":true},"to_department_id":{"type":"integer","nullable":true},"to_designation_id":{"type":"integer","nullable":true},"transfer_date":{"type":"string","format":"date"},"reason":{"type":"string","nullable":true}},"required":["employee_id","transfer_date"]}}}}}},"\/api\/v1\/auth\/hrms\/employee-transfers\/{employee_transfer}":{"get":{"tags":["HRMS"],"summary":"GET EmployeeTransferController::show","operationId":"employeeTransfer_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeTransfer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_transfer","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","employee","fromBranch","fromDepartment","fromDesignation","organization","toBranch","toDepartment","toDesignation"]},"nullable":true}}]},"put":{"tags":["HRMS"],"summary":"PUT EmployeeTransferController::update","operationId":"employeeTransfer_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeTransfer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_transfer","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"organization_id":{"type":"integer"},"from_branch_id":{"type":"integer"},"from_department_id":{"type":"integer"},"from_designation_id":{"type":"integer"},"to_branch_id":{"type":"integer"},"to_department_id":{"type":"integer"},"to_designation_id":{"type":"integer"},"transfer_date":{"type":"string","format":"date"},"reason":{"type":"string"},"rejection_reason":{"type":"string"}},"required":[]}}}}},"delete":{"tags":["HRMS"],"summary":"DELETE EmployeeTransferController::destroy","operationId":"employeeTransfer_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_transfer","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/holiday-calendars":{"get":{"tags":["HRMS"],"summary":"GET HolidayCalendarController::index","operationId":"holidayCalendar_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/HolidayCalendar"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","name","description","holiday_date","holiday_type","is_paid","is_recurring","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["HRMS"],"summary":"POST HolidayCalendarController::store","operationId":"holidayCalendar_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/HolidayCalendar"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"name":{"type":"string"},"description":{"type":"string","nullable":true},"holiday_date":{"type":"string","format":"date"},"holiday_type":{"type":"string","nullable":true,"enum":["public","organization","festival","national"]},"is_paid":{"type":"boolean","nullable":true},"is_recurring":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name","holiday_date"]}}}}}},"\/api\/v1\/auth\/hrms\/holiday-calendars\/{holiday_calendar}":{"get":{"tags":["HRMS"],"summary":"GET HolidayCalendarController::show","operationId":"holidayCalendar_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/HolidayCalendar"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"holiday_calendar","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","organization"]},"nullable":true}}]},"put":{"tags":["HRMS"],"summary":"PUT HolidayCalendarController::update","operationId":"holidayCalendar_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/HolidayCalendar"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"holiday_calendar","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"holiday_date":{"type":"string","format":"date"},"holiday_type":{"type":"string","enum":["public","organization","festival","national"]},"is_paid":{"type":"boolean"},"is_recurring":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["HRMS"],"summary":"DELETE HolidayCalendarController::destroy","operationId":"holidayCalendar_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"holiday_calendar","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/employees\/{employee}\/leave-balances":{"get":{"tags":["HRMS"],"summary":"GET LeaveController::balances","operationId":"leave_balances","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LeaveBalance"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee","in":"path","required":true,"schema":{"type":"string"}},{"name":"year","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":2000,"maximum":2200,"nullable":true}}]}},"\/api\/v1\/auth\/hrms\/leaves":{"get":{"tags":["HRMS"],"summary":"GET LeaveController::index","operationId":"leave_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Leave"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["appliedBy","approvedBy","branch","employee","leaveType","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["pending","approved","rejected","cancelled"],"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["employee_id","organization_id","branch_id","leave_type_id","from_date","to_date","days","reason","remarks","half_day_type","applied_by","approved_by"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["HRMS"],"summary":"POST LeaveController::store","operationId":"leave_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Leave"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"leave_type_id":{"type":"integer"},"from_date":{"type":"string","format":"date"},"to_date":{"type":"string","format":"date"},"reason":{"type":"string","nullable":true},"remarks":{"type":"string","nullable":true},"half_day_type":{"type":"string","nullable":true,"enum":["first_half","second_half","full_day"]}},"required":["employee_id","leave_type_id","from_date","to_date"]}}}}}},"\/api\/v1\/auth\/hrms\/leaves\/{leave}":{"get":{"tags":["HRMS"],"summary":"GET LeaveController::show","operationId":"leave_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Leave"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"leave","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["appliedBy","approvedBy","branch","employee","leaveType","organization"]},"nullable":true}}]},"put":{"tags":["HRMS"],"summary":"PUT LeaveController::update","operationId":"leave_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Leave"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"leave","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"leave_type_id":{"type":"integer"},"from_date":{"type":"string","format":"date"},"to_date":{"type":"string","format":"date"},"reason":{"type":"string","nullable":true},"remarks":{"type":"string","nullable":true},"half_day_type":{"type":"string","enum":["first_half","second_half","full_day"]}},"required":[]}}}}},"delete":{"tags":["HRMS"],"summary":"DELETE LeaveController::destroy","operationId":"leave_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"leave","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/leave-types":{"get":{"tags":["HRMS"],"summary":"GET LeaveTypeController::index","operationId":"leaveType_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LeaveType"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["leaves","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","days_per_year","is_paid","is_carry_forward","max_carry_forward_days","gender_restriction","min_service_days","notice_days","requires_approval"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["HRMS"],"summary":"POST LeaveTypeController::store","operationId":"leaveType_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeaveType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"days_per_year":{"type":"integer","nullable":true},"is_paid":{"type":"boolean","nullable":true},"is_carry_forward":{"type":"boolean","nullable":true},"max_carry_forward_days":{"type":"integer","nullable":true},"gender_restriction":{"type":"string","nullable":true,"enum":["all","male","female"]},"min_service_days":{"type":"integer","nullable":true},"notice_days":{"type":"integer","nullable":true},"requires_approval":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/hrms\/leave-types\/{leave_type}":{"get":{"tags":["HRMS"],"summary":"GET LeaveTypeController::show","operationId":"leaveType_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeaveType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"leave_type","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["leaves","organization"]},"nullable":true}}]},"put":{"tags":["HRMS"],"summary":"PUT LeaveTypeController::update","operationId":"leaveType_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeaveType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"leave_type","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"days_per_year":{"type":"integer"},"is_paid":{"type":"boolean"},"is_carry_forward":{"type":"boolean"},"max_carry_forward_days":{"type":"integer"},"gender_restriction":{"type":"string","enum":["all","male","female"]},"min_service_days":{"type":"integer"},"notice_days":{"type":"integer"},"requires_approval":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["HRMS"],"summary":"DELETE LeaveTypeController::destroy","operationId":"leaveType_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"leave_type","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/integration\/api-rate-limits":{"get":{"tags":["Integration"],"summary":"GET ApiRateLimitController::index","operationId":"apiRateLimit_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/ApiRateLimit"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["integrationConfig","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","integration_config_id","endpoint","method","limit","period","remaining","reset_at","last_used_at"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Integration"],"summary":"POST ApiRateLimitController::store","operationId":"apiRateLimit_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ApiRateLimit"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"integration_config_id":{"type":"integer","nullable":true},"endpoint":{"type":"string"},"method":{"type":"string"},"limit":{"type":"integer","nullable":true},"period":{"type":"integer","nullable":true},"remaining":{"type":"integer","nullable":true},"reset_at":{"type":"string","nullable":true,"format":"date"},"last_used_at":{"type":"string","nullable":true,"format":"date"}},"required":["endpoint","method"]}}}}}},"\/api\/v1\/auth\/integration\/api-rate-limits\/{api_rate_limit}":{"get":{"tags":["Integration"],"summary":"GET ApiRateLimitController::show","operationId":"apiRateLimit_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ApiRateLimit"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"api_rate_limit","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["integrationConfig","organization"]},"nullable":true}}]},"put":{"tags":["Integration"],"summary":"PUT ApiRateLimitController::update","operationId":"apiRateLimit_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ApiRateLimit"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"api_rate_limit","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"integration_config_id":{"type":"integer"},"endpoint":{"type":"string"},"method":{"type":"string"},"limit":{"type":"integer"},"period":{"type":"integer"},"remaining":{"type":"integer"},"reset_at":{"type":"string","format":"date"},"last_used_at":{"type":"string","format":"date"}},"required":[]}}}}},"delete":{"tags":["Integration"],"summary":"DELETE ApiRateLimitController::destroy","operationId":"apiRateLimit_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"api_rate_limit","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/integration\/integration-configs":{"get":{"tags":["Integration"],"summary":"GET IntegrationConfigController::index","operationId":"integrationConfig_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/IntegrationConfig"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["createdBy","logs","organization","rateLimits","updatedBy","webhookLogs"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","integration_name","provider","api_key","api_secret","access_token","refresh_token","additional_credentials","webhook_url","webhook_secret","is_enabled","is_test_mode"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Integration"],"summary":"POST IntegrationConfigController::store","operationId":"integrationConfig_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/IntegrationConfig"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"integration_name":{"type":"string"},"provider":{"type":"string"},"api_key":{"type":"string","nullable":true},"api_secret":{"type":"string","nullable":true},"access_token":{"type":"string","nullable":true},"refresh_token":{"type":"string","nullable":true},"additional_credentials":{"type":"array","nullable":true,"items":{"type":"string"}},"webhook_url":{"type":"string","nullable":true},"webhook_secret":{"type":"string","nullable":true},"is_enabled":{"type":"boolean","nullable":true},"is_test_mode":{"type":"boolean","nullable":true},"settings":{"type":"array","nullable":true,"items":{"type":"string"}},"rate_limit":{"type":"integer","nullable":true},"rate_limit_period":{"type":"integer","nullable":true}},"required":["integration_name","provider"]}}}}}},"\/api\/v1\/auth\/integration\/integration-configs\/{integration_config}":{"get":{"tags":["Integration"],"summary":"GET IntegrationConfigController::show","operationId":"integrationConfig_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/IntegrationConfig"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"integration_config","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["createdBy","logs","organization","rateLimits","updatedBy","webhookLogs"]},"nullable":true}}]},"put":{"tags":["Integration"],"summary":"PUT IntegrationConfigController::update","operationId":"integrationConfig_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/IntegrationConfig"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"integration_config","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"integration_name":{"type":"string"},"provider":{"type":"string"},"api_key":{"type":"string"},"api_secret":{"type":"string"},"access_token":{"type":"string"},"refresh_token":{"type":"string"},"additional_credentials":{"type":"array","items":{"type":"string"}},"webhook_url":{"type":"string"},"webhook_secret":{"type":"string"},"is_enabled":{"type":"boolean"},"is_test_mode":{"type":"boolean"},"settings":{"type":"array","items":{"type":"string"}},"rate_limit":{"type":"integer"},"rate_limit_period":{"type":"integer"}},"required":[]}}}}},"delete":{"tags":["Integration"],"summary":"DELETE IntegrationConfigController::destroy","operationId":"integrationConfig_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"integration_config","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/integration\/notification-templates":{"get":{"tags":["Notification"],"summary":"GET NotificationTemplateController::index","operationId":"notificationTemplate_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/NotificationTemplate"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","createdBy","updatedBy"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["name","event_key","channel","is_active","created_at","updated_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Notification"],"summary":"POST NotificationTemplateController::store","operationId":"notificationTemplate_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/NotificationTemplate"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":150},"event_key":{"type":"string","maxLength":150},"channel":{"type":"string","enum":["email","sms","whatsapp","push"]},"subject":{"type":"string","nullable":true,"maxLength":255},"body":{"type":"string"},"variables":{"type":"array","nullable":true,"items":{"type":"string"}},"is_active":{"type":"boolean","nullable":true}},"required":["name","event_key","channel","body"]}}}}}},"\/api\/v1\/auth\/integration\/notification-templates\/{notification_template}":{"get":{"tags":["Notification"],"summary":"GET NotificationTemplateController::show","operationId":"notificationTemplate_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/NotificationTemplate"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"notification_template","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","createdBy","updatedBy"]},"nullable":true}}]},"put":{"tags":["Notification"],"summary":"PUT NotificationTemplateController::update","operationId":"notificationTemplate_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/NotificationTemplate"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"notification_template","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":150},"event_key":{"type":"string","maxLength":150},"channel":{"type":"string","enum":["email","sms","whatsapp","push"]},"subject":{"type":"string","nullable":true,"maxLength":255},"body":{"type":"string"},"variables":{"type":"array","nullable":true,"items":{"type":"string"}},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Notification"],"summary":"DELETE NotificationTemplateController::destroy","operationId":"notificationTemplate_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"notification_template","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/integration\/integration-logs":{"get":{"tags":["Integration"],"summary":"GET IntegrationLogController::index","operationId":"integrationLog_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/IntegrationLog"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["integrationConfig","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","integration_config_id","provider","endpoint","method","log_type","request_data","response_data","error_message","status_code","response_time_ms","ip_address"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/integration\/integration-logs\/{integration_log}":{"get":{"tags":["Integration"],"summary":"GET IntegrationLogController::show","operationId":"integrationLog_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/IntegrationLog"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"integration_log","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["integrationConfig","organization"]},"nullable":true}}]}},"\/api\/v1\/auth\/integration\/webhook-logs":{"get":{"tags":["Integration"],"summary":"GET WebhookLogController::index","operationId":"webhookLog_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/WebhookLog"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["integrationConfig","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","integration_config_id","provider","event_type","webhook_id","payload","headers","status","error_message","retry_count","received_at","processed_at"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/integration\/webhook-logs\/{webhook_log}":{"get":{"tags":["Integration"],"summary":"GET WebhookLogController::show","operationId":"webhookLog_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/WebhookLog"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"webhook_log","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["integrationConfig","organization"]},"nullable":true}}]}},"\/api\/v1\/auth\/master\/cities":{"get":{"tags":["Core"],"summary":"GET CityController::index","operationId":"city_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/City"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branches","organizations","state"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["state_id","name","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST CityController::store","operationId":"city_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/City"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"state_id":{"type":"integer"},"name":{"type":"string"},"is_active":{"type":"boolean","nullable":true}},"required":["state_id","name"]}}}}}},"\/api\/v1\/auth\/master\/cities\/{city}":{"get":{"tags":["Core"],"summary":"GET CityController::show","operationId":"city_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/City"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branches","organizations","state"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT CityController::update","operationId":"city_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/City"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"state_id":{"type":"integer"},"name":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Core"],"summary":"DELETE CityController::destroy","operationId":"city_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"city","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/countries":{"get":{"tags":["Core"],"summary":"GET CountryController::index","operationId":"country_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Country"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branches","organizations","states"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["name","iso_code_2","iso_code_3","phone_code","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST CountryController::store","operationId":"country_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Country"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"iso_code_2":{"type":"string"},"iso_code_3":{"type":"string"},"phone_code":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name","iso_code_2","iso_code_3"]}}}}}},"\/api\/v1\/auth\/master\/countries\/{country}":{"get":{"tags":["Core"],"summary":"GET CountryController::show","operationId":"country_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Country"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"country","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branches","organizations","states"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT CountryController::update","operationId":"country_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Country"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"country","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"iso_code_2":{"type":"string"},"iso_code_3":{"type":"string"},"phone_code":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Core"],"summary":"DELETE CountryController::destroy","operationId":"country_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"country","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/states":{"get":{"tags":["Core"],"summary":"GET StateController::index","operationId":"state_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/State"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branches","cities","country","organizations"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["country_id","name","code","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Core"],"summary":"POST StateController::store","operationId":"state_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/State"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"country_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["country_id","name"]}}}}}},"\/api\/v1\/auth\/master\/states\/{state}":{"get":{"tags":["Core"],"summary":"GET StateController::show","operationId":"state_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/State"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"state","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branches","cities","country","organizations"]},"nullable":true}}]},"put":{"tags":["Core"],"summary":"PUT StateController::update","operationId":"state_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/State"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"state","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"country_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Core"],"summary":"DELETE StateController::destroy","operationId":"state_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"state","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/bank-masters":{"get":{"tags":["Master"],"summary":"GET BankMasterController::index","operationId":"bankMaster_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/BankMaster"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["city","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","bank_name","branch_name","ifsc_code","micr_code","swift_code","address","city_id","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST BankMasterController::store","operationId":"bankMaster_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BankMaster"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"bank_name":{"type":"string"},"branch_name":{"type":"string","nullable":true},"ifsc_code":{"type":"string","nullable":true},"micr_code":{"type":"string","nullable":true},"swift_code":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"city_id":{"type":"integer","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["bank_name"]}}}}}},"\/api\/v1\/auth\/master\/bank-masters\/{bank_master}":{"get":{"tags":["Master"],"summary":"GET BankMasterController::show","operationId":"bankMaster_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BankMaster"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"bank_master","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["city","organization"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT BankMasterController::update","operationId":"bankMaster_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/BankMaster"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"bank_master","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"bank_name":{"type":"string"},"branch_name":{"type":"string"},"ifsc_code":{"type":"string"},"micr_code":{"type":"string"},"swift_code":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"integer"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE BankMasterController::destroy","operationId":"bankMaster_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"bank_master","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/departments":{"get":{"tags":["Master"],"summary":"GET DepartmentController::index","operationId":"department_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Department"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["designations","employees","manager","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","manager_id","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST DepartmentController::store","operationId":"department_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Department"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"manager_id":{"type":"integer","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/departments\/{department}":{"get":{"tags":["Master"],"summary":"GET DepartmentController::show","operationId":"department_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Department"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"department","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["designations","employees","manager","organization"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT DepartmentController::update","operationId":"department_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Department"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"department","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"manager_id":{"type":"integer"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE DepartmentController::destroy","operationId":"department_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"department","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/designations":{"get":{"tags":["Master"],"summary":"GET DesignationController::index","operationId":"designation_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Designation"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["employees","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","level","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST DesignationController::store","operationId":"designation_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Designation"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"level":{"type":"integer","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/designations\/{designation}":{"get":{"tags":["Master"],"summary":"GET DesignationController::show","operationId":"designation_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Designation"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"designation","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["employees","organization"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT DesignationController::update","operationId":"designation_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Designation"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"designation","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"level":{"type":"integer"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE DesignationController::destroy","operationId":"designation_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"designation","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/document-types":{"get":{"tags":["Master"],"summary":"GET DocumentTypeController::index","operationId":"documentType_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentType"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["documents","employeeDocuments","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","category","is_mandatory","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST DocumentTypeController::store","operationId":"documentType_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/DocumentType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"is_mandatory":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/document-types\/{document_type}":{"get":{"tags":["Master"],"summary":"GET DocumentTypeController::show","operationId":"documentType_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/DocumentType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document_type","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["documents","employeeDocuments","organization"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT DocumentTypeController::update","operationId":"documentType_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/DocumentType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document_type","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"is_mandatory":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE DocumentTypeController::destroy","operationId":"documentType_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document_type","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/expense-categories":{"get":{"tags":["Master"],"summary":"GET ExpenseCategoryController::index","operationId":"expenseCategory_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExpenseCategory"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["expenseType","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","expense_type_id","name","code","description","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST ExpenseCategoryController::store","operationId":"expenseCategory_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ExpenseCategory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"expense_type_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["expense_type_id","name"]}}}}}},"\/api\/v1\/auth\/master\/expense-categories\/{expense_category}":{"get":{"tags":["Master"],"summary":"GET ExpenseCategoryController::show","operationId":"expenseCategory_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ExpenseCategory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"expense_category","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["expenseType","organization"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT ExpenseCategoryController::update","operationId":"expenseCategory_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ExpenseCategory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"expense_category","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"expense_type_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE ExpenseCategoryController::destroy","operationId":"expenseCategory_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"expense_category","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/expense-types":{"get":{"tags":["Master"],"summary":"GET ExpenseTypeController::index","operationId":"expenseType_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExpenseType"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["categories","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST ExpenseTypeController::store","operationId":"expenseType_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ExpenseType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/expense-types\/{expense_type}":{"get":{"tags":["Master"],"summary":"GET ExpenseTypeController::show","operationId":"expenseType_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ExpenseType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"expense_type","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["categories","organization"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT ExpenseTypeController::update","operationId":"expenseType_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ExpenseType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"expense_type","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE ExpenseTypeController::destroy","operationId":"expenseType_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"expense_type","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/lead-sources":{"get":{"tags":["Master"],"summary":"GET LeadSourceController::index","operationId":"leadSource_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LeadSource"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["leads","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST LeadSourceController::store","operationId":"leadSource_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadSource"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/lead-sources\/{lead_source}":{"get":{"tags":["Master"],"summary":"GET LeadSourceController::show","operationId":"leadSource_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadSource"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_source","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["leads","organization"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT LeadSourceController::update","operationId":"leadSource_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadSource"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_source","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE LeadSourceController::destroy","operationId":"leadSource_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_source","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/material-masters":{"get":{"tags":["Master"],"summary":"GET MaterialMasterController::index","operationId":"materialMaster_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MaterialMaster"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","unit"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","unit_id","rate_per_unit","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST MaterialMasterController::store","operationId":"materialMaster_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MaterialMaster"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"unit_id":{"type":"integer","nullable":true},"rate_per_unit":{"type":"number","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/material-masters\/{material_master}":{"get":{"tags":["Master"],"summary":"GET MaterialMasterController::show","operationId":"materialMaster_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MaterialMaster"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"material_master","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","unit"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT MaterialMasterController::update","operationId":"materialMaster_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MaterialMaster"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"material_master","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"unit_id":{"type":"integer"},"rate_per_unit":{"type":"number"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE MaterialMasterController::destroy","operationId":"materialMaster_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"material_master","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/payment-modes":{"get":{"tags":["Master"],"summary":"GET PaymentModeController::index","operationId":"paymentMode_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PaymentMode"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","payments"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST PaymentModeController::store","operationId":"paymentMode_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PaymentMode"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/payment-modes\/{payment_mode}":{"get":{"tags":["Master"],"summary":"GET PaymentModeController::show","operationId":"paymentMode_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PaymentMode"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_mode","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","payments"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT PaymentModeController::update","operationId":"paymentMode_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PaymentMode"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_mode","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE PaymentModeController::destroy","operationId":"paymentMode_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_mode","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/plot-types":{"get":{"tags":["Master"],"summary":"GET PlotTypeController::index","operationId":"plotType_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PlotType"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","plots"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST PlotTypeController::store","operationId":"plotType_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PlotType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/plot-types\/{plot_type}":{"get":{"tags":["Master"],"summary":"GET PlotTypeController::show","operationId":"plotType_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PlotType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"plot_type","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","plots"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT PlotTypeController::update","operationId":"plotType_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PlotType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"plot_type","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE PlotTypeController::destroy","operationId":"plotType_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"plot_type","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/project-types":{"get":{"tags":["Master"],"summary":"GET ProjectTypeController::index","operationId":"projectType_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProjectType"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","projects"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST ProjectTypeController::store","operationId":"projectType_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ProjectType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/project-types\/{project_type}":{"get":{"tags":["Master"],"summary":"GET ProjectTypeController::show","operationId":"projectType_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ProjectType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project_type","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","projects"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT ProjectTypeController::update","operationId":"projectType_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ProjectType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project_type","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE ProjectTypeController::destroy","operationId":"projectType_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project_type","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/property-categories":{"get":{"tags":["Master"],"summary":"GET PropertyCategoryController::index","operationId":"propertyCategory_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PropertyCategory"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","properties","propertyTypes"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST PropertyCategoryController::store","operationId":"propertyCategory_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertyCategory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/property-categories\/{property_category}":{"get":{"tags":["Master"],"summary":"GET PropertyCategoryController::show","operationId":"propertyCategory_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertyCategory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_category","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","properties","propertyTypes"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT PropertyCategoryController::update","operationId":"propertyCategory_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertyCategory"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_category","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE PropertyCategoryController::destroy","operationId":"propertyCategory_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_category","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/property-types":{"get":{"tags":["Master"],"summary":"GET PropertyTypeController::index","operationId":"propertyType_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PropertyType"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["category","organization","properties"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","property_category_id","name","code","description","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST PropertyTypeController::store","operationId":"propertyType_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertyType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"property_category_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["property_category_id","name"]}}}}}},"\/api\/v1\/auth\/master\/property-types\/{property_type}":{"get":{"tags":["Master"],"summary":"GET PropertyTypeController::show","operationId":"propertyType_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertyType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_type","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["category","organization","properties"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT PropertyTypeController::update","operationId":"propertyType_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertyType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_type","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"property_category_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE PropertyTypeController::destroy","operationId":"propertyType_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_type","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/units":{"get":{"tags":["Master"],"summary":"GET UnitController::index","operationId":"unit_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Unit"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","unitType"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","unit_type_id","name","code","symbol","conversion_factor","is_default","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST UnitController::store","operationId":"unit_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Unit"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"unit_type_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string","nullable":true},"symbol":{"type":"string","nullable":true},"conversion_factor":{"type":"number","nullable":true},"is_default":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["unit_type_id","name"]}}}}}},"\/api\/v1\/auth\/master\/units\/{unit}":{"get":{"tags":["Master"],"summary":"GET UnitController::show","operationId":"unit_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Unit"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"unit","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","unitType"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT UnitController::update","operationId":"unit_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Unit"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"unit","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"unit_type_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"symbol":{"type":"string"},"conversion_factor":{"type":"number"},"is_default":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE UnitController::destroy","operationId":"unit_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"unit","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/master\/unit-types":{"get":{"tags":["Master"],"summary":"GET UnitTypeController::index","operationId":"unitType_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/UnitType"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","units"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Master"],"summary":"POST UnitTypeController::store","operationId":"unitType_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/UnitType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/master\/unit-types\/{unit_type}":{"get":{"tags":["Master"],"summary":"GET UnitTypeController::show","operationId":"unitType_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/UnitType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"unit_type","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","units"]},"nullable":true}}]},"put":{"tags":["Master"],"summary":"PUT UnitTypeController::update","operationId":"unitType_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/UnitType"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"unit_type","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Master"],"summary":"DELETE UnitTypeController::destroy","operationId":"unitType_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"unit_type","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/mlm\/business-associates\/enroll":{"post":{"tags":["MLM"],"summary":"POST MlmAgentController::enrollBusinessAssociate","operationId":"mlmAgent_enrollBusinessAssociate","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmAgent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"},"network_id":{"type":"integer"},"agent_code":{"type":"string","nullable":true,"maxLength":60},"sponsor_id":{"type":"integer","nullable":true},"placement_id":{"type":"integer","nullable":true},"placement_position":{"type":"string","nullable":true,"enum":["left","right"]}},"required":["user_id","network_id"]}}}}}},"\/api\/v1\/auth\/mlm\/mlm-networks":{"get":{"tags":["MLM"],"summary":"GET MlmNetworkController::index","operationId":"mlmNetwork_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmNetwork"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","branch","agents"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["name","code","status","created_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["MLM"],"summary":"POST MlmNetworkController::store","operationId":"mlmNetwork_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmNetwork"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"code":{"type":"string","maxLength":60},"branch_id":{"type":"integer","nullable":true},"status":{"type":"string","nullable":true,"maxLength":30},"metadata":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":["name","code"]}}}}}},"\/api\/v1\/auth\/mlm\/mlm-networks\/{mlmNetwork}":{"get":{"tags":["MLM"],"summary":"GET MlmNetworkController::show","operationId":"mlmNetwork_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmNetwork"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlmNetwork","in":"path","required":true,"schema":{"type":"string"}}]},"put":{"tags":["MLM"],"summary":"PUT MlmNetworkController::update","operationId":"mlmNetwork_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmNetwork"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlmNetwork","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"code":{"type":"string","maxLength":60},"branch_id":{"type":"integer","nullable":true},"status":{"type":"string","maxLength":30},"metadata":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":[]}}}}},"delete":{"tags":["MLM"],"summary":"DELETE MlmNetworkController::destroy","operationId":"mlmNetwork_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlmNetwork","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/mlm\/mlm-agents":{"get":{"tags":["MLM"],"summary":"GET MlmAgentController::index","operationId":"mlmAgent_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmAgent"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","commissions","currentRank","downlines","ledger","organization","placement","placements","sponsor","transactions","user","wallet"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["user_id","organization_id","branch_id","agent_code","sponsor_id","placement_id","current_rank_id","rank_achieved_date","total_bv","personal_bv","team_bv","left_bv"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["MLM"],"summary":"POST MlmAgentController::store","operationId":"mlmAgent_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmAgent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"network_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"agent_code":{"type":"string","nullable":true,"maxLength":50},"sponsor_id":{"type":"integer","nullable":true},"placement_id":{"type":"integer","nullable":true},"placement_position":{"type":"string","nullable":true,"enum":["left","right"]},"sponsor_type":{"type":"string","nullable":true,"enum":["organization","agent"]},"current_rank_id":{"type":"integer","nullable":true},"rank_achieved_date":{"type":"string","nullable":true,"format":"date"},"total_bv":{"type":"number","nullable":true},"personal_bv":{"type":"number","nullable":true},"team_bv":{"type":"number","nullable":true},"left_bv":{"type":"number","nullable":true},"right_bv":{"type":"number","nullable":true},"left_count":{"type":"integer","nullable":true},"right_count":{"type":"integer","nullable":true},"total_commission_earned":{"type":"number","nullable":true},"pending_commission":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"enum":["active","inactive","suspended"]},"activation_date":{"type":"string","format":"date"},"deactivation_date":{"type":"string","nullable":true,"format":"date"},"is_kyc_verified":{"type":"boolean","nullable":true},"kyc_verified_at":{"type":"string","nullable":true,"format":"date"}},"required":["user_id","activation_date"]}}}}}},"\/api\/v1\/auth\/mlm\/mlm-agents\/{mlm_agent}":{"get":{"tags":["MLM"],"summary":"GET MlmAgentController::show","operationId":"mlmAgent_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmAgent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_agent","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","commissions","currentRank","downlines","ledger","organization","placement","placements","sponsor","transactions","user","wallet"]},"nullable":true}}]},"put":{"tags":["MLM"],"summary":"PUT MlmAgentController::update","operationId":"mlmAgent_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmAgent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_agent","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"},"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"agent_code":{"type":"string"},"sponsor_id":{"type":"integer"},"placement_id":{"type":"integer"},"current_rank_id":{"type":"integer"},"rank_achieved_date":{"type":"string","format":"date"},"total_bv":{"type":"number"},"personal_bv":{"type":"number"},"team_bv":{"type":"number"},"left_bv":{"type":"number"},"right_bv":{"type":"number"},"left_count":{"type":"integer"},"right_count":{"type":"integer"},"total_commission_earned":{"type":"number"},"pending_commission":{"type":"number"},"status":{"type":"string","enum":["active","inactive","suspended"]},"activation_date":{"type":"string","format":"date"},"deactivation_date":{"type":"string","format":"date"},"is_kyc_verified":{"type":"boolean"},"kyc_verified_at":{"type":"string","format":"date"}},"required":[]}}}}},"delete":{"tags":["MLM"],"summary":"DELETE MlmAgentController::destroy","operationId":"mlmAgent_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_agent","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/mlm\/mlm-closures":{"get":{"tags":["MLM"],"summary":"GET MlmClosureController::index","operationId":"mlmClosure_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmClosure"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["ancestor","descendant","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","ancestor_id","descendant_id","depth"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-closures\/{mlm_closure}":{"get":{"tags":["MLM"],"summary":"GET MlmClosureController::show","operationId":"mlmClosure_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmClosure"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_closure","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["ancestor","descendant","organization"]},"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-commissions":{"get":{"tags":["MLM"],"summary":"GET MlmCommissionController::index","operationId":"mlmCommission_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmCommission"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","downlineAgent","fromAgent","ledger","organization","payment","transaction"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["agent_id","organization_id","transaction_id","commission_code","commission_type","amount","rate","bv_value","level","from_agent_id","downline_agent_id","status"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-commissions\/{mlm_commission}":{"get":{"tags":["MLM"],"summary":"GET MlmCommissionController::show","operationId":"mlmCommission_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmCommission"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_commission","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","downlineAgent","fromAgent","ledger","organization","payment","transaction"]},"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-commission-ledgers":{"get":{"tags":["MLM"],"summary":"GET MlmCommissionLedgerController::index","operationId":"mlmCommissionLedger_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmCommissionLedger"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","commission","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["agent_id","organization_id","commission_id","transaction_type","amount","balance_before","balance_after","reference_type","reference_id","description"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-commission-ledgers\/{mlm_commission_ledger}":{"get":{"tags":["MLM"],"summary":"GET MlmCommissionLedgerController::show","operationId":"mlmCommissionLedger_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmCommissionLedger"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_commission_ledger","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","commission","organization"]},"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-offers":{"get":{"tags":["MLM"],"summary":"GET MlmOfferController::index","operationId":"mlmOffer_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmOffer"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","rewards"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","offer_type","reward_type","target_bv","target_team_count","target_rank_level","reward_points","reward_bonus","start_date"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["MLM"],"summary":"POST MlmOfferController::store","operationId":"mlmOffer_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmOffer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string","nullable":true},"offer_type":{"type":"string","nullable":true,"enum":["bv_target","team_bv","rank_achievement","recruitment","special"]},"reward_type":{"type":"string","nullable":true,"enum":["points","bonus","gift","cash"]},"target_bv":{"type":"number","nullable":true},"target_team_count":{"type":"integer","nullable":true},"target_rank_level":{"type":"integer","nullable":true},"reward_points":{"type":"number","nullable":true},"reward_bonus":{"type":"number","nullable":true},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"is_active":{"type":"boolean","nullable":true},"is_unlimited":{"type":"boolean","nullable":true},"max_claims":{"type":"integer","nullable":true}},"required":["name","code","start_date","end_date"]}}}}}},"\/api\/v1\/auth\/mlm\/mlm-offers\/{mlm_offer}":{"get":{"tags":["MLM"],"summary":"GET MlmOfferController::show","operationId":"mlmOffer_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmOffer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_offer","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","rewards"]},"nullable":true}}]},"put":{"tags":["MLM"],"summary":"PUT MlmOfferController::update","operationId":"mlmOffer_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmOffer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_offer","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"offer_type":{"type":"string","enum":["bv_target","team_bv","rank_achievement","recruitment","special"]},"reward_type":{"type":"string","enum":["points","bonus","gift","cash"]},"target_bv":{"type":"number"},"target_team_count":{"type":"integer"},"target_rank_level":{"type":"integer"},"reward_points":{"type":"number"},"reward_bonus":{"type":"number"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"is_active":{"type":"boolean"},"is_unlimited":{"type":"boolean"},"max_claims":{"type":"integer"}},"required":[]}}}}},"delete":{"tags":["MLM"],"summary":"DELETE MlmOfferController::destroy","operationId":"mlmOffer_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_offer","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/mlm\/mlm-ranks":{"get":{"tags":["MLM"],"summary":"GET MlmRankController::index","operationId":"mlmRank_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmRank"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agents","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","level","min_personal_bv","min_team_bv","min_direct_count","min_team_count","direct_commission_rate","binary_commission_rate","matching_commission_rate"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["MLM"],"summary":"POST MlmRankController::store","operationId":"mlmRank_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmRank"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string","nullable":true},"level":{"type":"integer","nullable":true},"min_personal_bv":{"type":"number","nullable":true},"min_team_bv":{"type":"number","nullable":true},"min_direct_count":{"type":"integer","nullable":true},"min_team_count":{"type":"integer","nullable":true},"direct_commission_rate":{"type":"number","nullable":true},"binary_commission_rate":{"type":"number","nullable":true},"matching_commission_rate":{"type":"number","nullable":true},"level_commission_rate":{"type":"number","nullable":true},"benefits":{"type":"array","nullable":true,"items":{"type":"string"}},"is_active":{"type":"boolean","nullable":true},"is_default":{"type":"boolean","nullable":true}},"required":["name","code"]}}}}}},"\/api\/v1\/auth\/mlm\/mlm-ranks\/{mlm_rank}":{"get":{"tags":["MLM"],"summary":"GET MlmRankController::show","operationId":"mlmRank_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmRank"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_rank","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agents","organization"]},"nullable":true}}]},"put":{"tags":["MLM"],"summary":"PUT MlmRankController::update","operationId":"mlmRank_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmRank"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_rank","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"level":{"type":"integer"},"min_personal_bv":{"type":"number"},"min_team_bv":{"type":"number"},"min_direct_count":{"type":"integer"},"min_team_count":{"type":"integer"},"direct_commission_rate":{"type":"number"},"binary_commission_rate":{"type":"number"},"matching_commission_rate":{"type":"number"},"level_commission_rate":{"type":"number"},"benefits":{"type":"array","items":{"type":"string"}},"is_active":{"type":"boolean"},"is_default":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["MLM"],"summary":"DELETE MlmRankController::destroy","operationId":"mlmRank_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_rank","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/mlm\/mlm-rewards":{"get":{"tags":["MLM"],"summary":"GET MlmRewardController::index","operationId":"mlmReward_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmReward"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","offer","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["agent_id","organization_id","offer_id","reward_code","reward_type","points","bonus_amount","target_bv","achieved_bv","achieved_percentage","status","approved_by"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["MLM"],"summary":"POST MlmRewardController::store","operationId":"mlmReward_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmReward"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"agent_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"offer_id":{"type":"integer","nullable":true},"reward_code":{"type":"string"},"reward_type":{"type":"string"},"points":{"type":"number","nullable":true},"bonus_amount":{"type":"number","nullable":true},"target_bv":{"type":"number","nullable":true},"achieved_bv":{"type":"number","nullable":true},"achieved_percentage":{"type":"integer","nullable":true},"status":{"type":"string","nullable":true,"enum":["pending","approved","rejected","redeemed"]},"approved_by":{"type":"integer","nullable":true},"approved_at":{"type":"string","nullable":true,"format":"date"},"reward_date":{"type":"string","format":"date"},"expiry_date":{"type":"string","nullable":true,"format":"date"},"remarks":{"type":"string","nullable":true}},"required":["agent_id","reward_code","reward_type","reward_date"]}}}}}},"\/api\/v1\/auth\/mlm\/mlm-rewards\/{mlm_reward}":{"get":{"tags":["MLM"],"summary":"GET MlmRewardController::show","operationId":"mlmReward_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmReward"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_reward","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","offer","organization"]},"nullable":true}}]},"put":{"tags":["MLM"],"summary":"PUT MlmRewardController::update","operationId":"mlmReward_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmReward"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_reward","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"agent_id":{"type":"integer"},"organization_id":{"type":"integer"},"offer_id":{"type":"integer"},"reward_code":{"type":"string"},"reward_type":{"type":"string"},"points":{"type":"number"},"bonus_amount":{"type":"number"},"target_bv":{"type":"number"},"achieved_bv":{"type":"number"},"achieved_percentage":{"type":"integer"},"status":{"type":"string","enum":["pending","approved","rejected","redeemed"]},"approved_by":{"type":"integer"},"approved_at":{"type":"string","format":"date"},"reward_date":{"type":"string","format":"date"},"expiry_date":{"type":"string","format":"date"},"remarks":{"type":"string"}},"required":[]}}}}},"delete":{"tags":["MLM"],"summary":"DELETE MlmRewardController::destroy","operationId":"mlmReward_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_reward","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/mlm\/mlm-statistics":{"get":{"tags":["MLM"],"summary":"GET MlmStatisticController::index","operationId":"mlmStatistic_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmStatistic"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["agent_id","organization_id","total_downline","active_downline","direct_downline","level_counts","total_team_bv","left_team_bv","right_team_bv","monthly_bv","weekly_bv","daily_bv"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-statistics\/{mlm_statistic}":{"get":{"tags":["MLM"],"summary":"GET MlmStatisticController::show","operationId":"mlmStatistic_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmStatistic"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_statistic","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","organization"]},"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-transactions":{"get":{"tags":["MLM"],"summary":"GET MlmTransactionController::index","operationId":"mlmTransaction_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmTransaction"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","booking","commissions","organization","payment"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["agent_id","organization_id","booking_id","payment_id","transaction_code","transaction_date","bv_value","amount","transaction_type","status","approved_by","approved_at"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["MLM"],"summary":"POST MlmTransactionController::store","operationId":"mlmTransaction_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmTransaction"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"agent_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"booking_id":{"type":"integer","nullable":true},"payment_id":{"type":"integer","nullable":true},"transaction_code":{"type":"string"},"transaction_date":{"type":"string","format":"date"},"bv_value":{"type":"number"},"amount":{"type":"number","nullable":true},"transaction_type":{"type":"string","nullable":true,"enum":["booking","purchase","investment","commission_earned","bonus"]},"remarks":{"type":"string","nullable":true}},"required":["agent_id","transaction_code","transaction_date","bv_value"]}}}}}},"\/api\/v1\/auth\/mlm\/mlm-transactions\/{mlm_transaction}":{"get":{"tags":["MLM"],"summary":"GET MlmTransactionController::show","operationId":"mlmTransaction_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmTransaction"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_transaction","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","booking","commissions","organization","payment"]},"nullable":true}}]},"put":{"tags":["MLM"],"summary":"PUT MlmTransactionController::update","operationId":"mlmTransaction_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmTransaction"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_transaction","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"agent_id":{"type":"integer"},"organization_id":{"type":"integer"},"booking_id":{"type":"integer"},"payment_id":{"type":"integer"},"transaction_code":{"type":"string"},"transaction_date":{"type":"string","format":"date"},"bv_value":{"type":"number"},"amount":{"type":"number"},"transaction_type":{"type":"string","enum":["booking","purchase","investment","commission_earned","bonus"]},"remarks":{"type":"string"}},"required":[]}}}}},"delete":{"tags":["MLM"],"summary":"DELETE MlmTransactionController::destroy","operationId":"mlmTransaction_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_transaction","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/mlm\/mlm-wallets":{"get":{"tags":["MLM"],"summary":"GET MlmWalletController::index","operationId":"mlmWallet_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmWallet"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","organization","transactions"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["agent_id","organization_id","balance","total_credited","total_debited","pending_withdrawal","min_withdrawal","max_withdrawal","is_active","last_activity_at"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-wallets\/{mlm_wallet}":{"get":{"tags":["MLM"],"summary":"GET MlmWalletController::show","operationId":"mlmWallet_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmWallet"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_wallet","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","organization","transactions"]},"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-wallet-transactions":{"get":{"tags":["MLM"],"summary":"GET MlmWalletTransactionController::index","operationId":"mlmWalletTransaction_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmWalletTransaction"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","organization","processedBy","wallet"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["wallet_id","agent_id","organization_id","transaction_code","transaction_type","direction","amount","balance_before","balance_after","reference_type","reference_id","bank_account"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/mlm\/mlm-wallet-transactions\/{mlm_wallet_transaction}":{"get":{"tags":["MLM"],"summary":"GET MlmWalletTransactionController::show","operationId":"mlmWalletTransaction_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/MlmWalletTransaction"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"mlm_wallet_transaction","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agent","approvedBy","organization","processedBy","wallet"]},"nullable":true}}]}},"\/api\/v1\/auth\/reports\/summary":{"get":{"tags":["Reports"],"summary":"GET ReportController::summary","operationId":"report_summary","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"type","in":"query","required":true,"style":"form","explode":true,"schema":{"type":"string","enum":["sales","booking","payment","crm","hrms","payroll","real_estate","mlm","financial","inventory"]}},{"name":"from","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","format":"date","nullable":true}},{"name":"to","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","format":"date","nullable":true}}]}},"\/api\/v1\/auth\/reports\/export":{"get":{"tags":["Reports"],"summary":"GET ReportController::export","operationId":"report_export","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"type","in":"query","required":true,"style":"form","explode":true,"schema":{"type":"string","enum":["sales","booking","payment","crm","real_estate","inventory","mlm"]}},{"name":"from","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","format":"date","nullable":true}},{"name":"to","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","format":"date","nullable":true}}]}},"\/api\/v1\/auth\/payment\/emi-installments":{"get":{"tags":["Payment"],"summary":"GET EmiInstallmentController::index","operationId":"emiInstallment_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/EmiInstallment"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["emiPlan","organization","payment","paymentReference"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"booking_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"overdue_only","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"boolean","nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["payment_id","organization_id","emi_plan_id","installment_number","due_date","paid_date","principal_amount","interest_amount","total_amount","paid_amount","balance_amount","late_fee"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/payment\/emi-installments\/{emi_installment}":{"get":{"tags":["Payment"],"summary":"GET EmiInstallmentController::show","operationId":"emiInstallment_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmiInstallment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"emi_installment","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["emiPlan","organization","payment","paymentReference"]},"nullable":true}}]}},"\/api\/v1\/auth\/payment\/emi-plans":{"get":{"tags":["Payment"],"summary":"GET EmiPlanController::index","operationId":"emiPlan_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/EmiPlan"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["installments","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","duration_months","interest_rate","processing_fee","min_amount","max_amount","payment_frequency","is_active","is_default"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Payment"],"summary":"POST EmiPlanController::store","operationId":"emiPlan_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmiPlan"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"duration_months":{"type":"integer"},"interest_rate":{"type":"number","nullable":true},"processing_fee":{"type":"number","nullable":true},"min_amount":{"type":"number","nullable":true},"max_amount":{"type":"number","nullable":true},"payment_frequency":{"type":"string","nullable":true,"enum":["monthly","quarterly","half_yearly","yearly"]},"is_active":{"type":"boolean","nullable":true},"is_default":{"type":"boolean","nullable":true}},"required":["name","duration_months"]}}}}}},"\/api\/v1\/auth\/payment\/emi-plans\/{emi_plan}":{"get":{"tags":["Payment"],"summary":"GET EmiPlanController::show","operationId":"emiPlan_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmiPlan"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"emi_plan","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["installments","organization"]},"nullable":true}}]},"put":{"tags":["Payment"],"summary":"PUT EmiPlanController::update","operationId":"emiPlan_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmiPlan"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"emi_plan","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"duration_months":{"type":"integer"},"interest_rate":{"type":"number"},"processing_fee":{"type":"number"},"min_amount":{"type":"number"},"max_amount":{"type":"number"},"payment_frequency":{"type":"string","enum":["monthly","quarterly","half_yearly","yearly"]},"is_active":{"type":"boolean"},"is_default":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Payment"],"summary":"DELETE EmiPlanController::destroy","operationId":"emiPlan_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"emi_plan","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payment\/payments":{"get":{"tags":["Payment"],"summary":"GET PaymentController::index","operationId":"payment_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Payment"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","createdBy","emiInstallments","logs","organization","paymentGateway","paymentMode","paymentable","receipts","reconciledBy"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"paymentable_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"payment_number","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":100,"nullable":true}},{"name":"paymentable_type","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["App\\Models\\Booking\\Booking"],"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","paymentable_type","paymentable_id","payment_number","payment_date","amount","tax_amount","total_amount","payment_type","payment_mode_id","mode_type"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Payment"],"summary":"POST PaymentController::store","operationId":"payment_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"paymentable_type":{"type":"string","nullable":true,"enum":["App\\Models\\Booking\\Booking"]},"paymentable_id":{"type":"integer"},"payment_date":{"type":"string","format":"date"},"amount":{"type":"number","format":"decimal"},"tax_amount":{"type":"number","nullable":true,"format":"decimal"},"total_amount":{"type":"number","format":"decimal"},"payment_type":{"type":"string","nullable":true,"enum":["booking","down_payment","emi","full_payment","registration","commission","refund","other"]},"payment_mode_id":{"type":"integer","nullable":true},"mode_type":{"type":"string","nullable":true,"enum":["cash","cheque","bank_transfer","upi","card","online_gateway"]},"payment_gateway_id":{"type":"integer","nullable":true},"transaction_id":{"type":"string","nullable":true,"maxLength":100},"cheque_number":{"type":"string","nullable":true},"cheque_date":{"type":"string","nullable":true,"format":"date"},"cheque_bank":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"bank_account_number":{"type":"string","nullable":true},"ifsc_code":{"type":"string","nullable":true},"reference_number":{"type":"string","nullable":true},"upi_id":{"type":"string","nullable":true,"maxLength":100},"upi_transaction_id":{"type":"string","nullable":true,"maxLength":100},"remarks":{"type":"string","nullable":true}},"required":["paymentable_id","payment_date","amount","total_amount"]}}}}}},"\/api\/v1\/auth\/payment\/payments\/{payment}":{"get":{"tags":["Payment"],"summary":"GET PaymentController::show","operationId":"payment_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","createdBy","emiInstallments","logs","organization","paymentGateway","paymentMode","paymentable","receipts","reconciledBy"]},"nullable":true}}]},"put":{"tags":["Payment"],"summary":"PUT PaymentController::update","operationId":"payment_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"payment_date":{"type":"string","format":"date"},"amount":{"type":"number","format":"decimal"},"tax_amount":{"type":"number","format":"decimal"},"total_amount":{"type":"number","format":"decimal"},"payment_type":{"type":"string","enum":["booking","down_payment","emi","full_payment","registration","commission","refund","other"]},"payment_mode_id":{"type":"integer"},"mode_type":{"type":"string","enum":["cash","cheque","bank_transfer","upi","card","online_gateway"]},"payment_gateway_id":{"type":"integer"},"transaction_id":{"type":"string","maxLength":100},"cheque_number":{"type":"string"},"cheque_date":{"type":"string","format":"date"},"cheque_bank":{"type":"string"},"bank_name":{"type":"string"},"bank_account_number":{"type":"string"},"ifsc_code":{"type":"string"},"reference_number":{"type":"string"},"upi_id":{"type":"string","maxLength":100},"upi_transaction_id":{"type":"string","maxLength":100},"remarks":{"type":"string"}},"required":[]}}}}},"delete":{"tags":["Payment"],"summary":"DELETE PaymentController::destroy","operationId":"payment_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payment\/payment-gateways":{"get":{"tags":["Payment"],"summary":"GET PaymentGatewayController::index","operationId":"paymentGateway_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PaymentGateway"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","payments"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","api_key","api_secret","webhook_secret","additional_settings","base_url","webhook_url","supports_refund","supports_webhook"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Payment"],"summary":"POST PaymentGatewayController::store","operationId":"paymentGateway_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PaymentGateway"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","enum":["dummy","stripe","razorpay","paypal","custom"]},"description":{"type":"string","nullable":true},"api_key":{"type":"string","nullable":true},"api_secret":{"type":"string","nullable":true},"webhook_secret":{"type":"string","nullable":true},"additional_settings":{"type":"array","nullable":true,"items":{"type":"string"}},"base_url":{"type":"string","nullable":true},"webhook_url":{"type":"string","nullable":true},"supports_refund":{"type":"boolean","nullable":true},"supports_webhook":{"type":"boolean","nullable":true},"is_test_mode":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true},"is_default":{"type":"boolean","nullable":true}},"required":["name","code"]}}}}}},"\/api\/v1\/auth\/payment\/payment-gateways\/{payment_gateway}":{"get":{"tags":["Payment"],"summary":"GET PaymentGatewayController::show","operationId":"paymentGateway_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PaymentGateway"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_gateway","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","payments"]},"nullable":true}}]},"put":{"tags":["Payment"],"summary":"PUT PaymentGatewayController::update","operationId":"paymentGateway_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PaymentGateway"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_gateway","in":"path","required":true,"schema":{"type":"string"}}]},"delete":{"tags":["Payment"],"summary":"DELETE PaymentGatewayController::destroy","operationId":"paymentGateway_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_gateway","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payment\/payment-gateways\/{payment_gateway}\/orders":{"post":{"tags":["Payment"],"summary":"POST PaymentGatewayController::createOrder","operationId":"paymentGateway_createOrder","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_gateway","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"payment_id":{"type":"integer"},"receipt":{"type":"string","nullable":true,"maxLength":100},"metadata":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":["payment_id"]}}}}}},"\/api\/v1\/auth\/payment\/payment-gateways\/{payment_gateway}\/orders\/capture":{"post":{"tags":["Payment"],"summary":"POST PaymentGatewayController::captureOrder","operationId":"paymentGateway_captureOrder","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_gateway","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"payment_id":{"type":"integer"},"order_id":{"type":"string","maxLength":150},"gateway_payment_id":{"type":"string","nullable":true,"maxLength":150},"amount_minor":{"type":"integer","nullable":true,"minimum":1},"currency":{"type":"string","nullable":true,"minLength":3,"maxLength":3}},"required":["payment_id","order_id"]}}}}}},"\/api\/v1\/auth\/payment\/payment-logs":{"get":{"tags":["Payment"],"summary":"GET PaymentLogController::index","operationId":"paymentLog_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PaymentLog"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","payment","paymentGateway"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["payment_id","organization_id","payment_gateway_id","log_type","event","request_data","response_data","webhook_data","status_code","error_message","ip_address","user_agent"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/payment\/payment-logs\/{payment_log}":{"get":{"tags":["Payment"],"summary":"GET PaymentLogController::show","operationId":"paymentLog_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PaymentLog"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_log","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","payment","paymentGateway"]},"nullable":true}}]}},"\/api\/v1\/auth\/payment\/payment-operations\/unresolved":{"get":{"tags":["Payment"],"summary":"GET PaymentOperationReviewController::gatewayOperations","operationId":"paymentOperationReview_gatewayOperations","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"maximum":1000000}}]}},"\/api\/v1\/auth\/payment\/payment-operations\/{operation}\/recheck":{"post":{"tags":["Payment"],"summary":"POST PaymentOperationReviewController::recheckCapture","operationId":"paymentOperationReview_recheckCapture","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"operation","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payment\/payment-refunds\/unresolved":{"get":{"tags":["Payment"],"summary":"GET PaymentOperationReviewController::gatewayRefunds","operationId":"paymentOperationReview_gatewayRefunds","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"maximum":1000000}}]}},"\/api\/v1\/auth\/payment\/payment-reconciliations":{"get":{"tags":["Payment"],"summary":"GET PaymentReconciliationController::index","operationId":"paymentReconciliation_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PaymentReconciliation"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","payment","reconciledBy"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","payment_id","reconciliation_number","reconciliation_date","bank_name","account_number","transaction_reference","transaction_date","bank_amount","system_amount","difference_amount","difference_reason"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/payment\/payment-reconciliations\/{payment_reconciliation}":{"get":{"tags":["Payment"],"summary":"GET PaymentReconciliationController::show","operationId":"paymentReconciliation_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PaymentReconciliation"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment_reconciliation","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","payment","reconciledBy"]},"nullable":true}}]}},"\/api\/v1\/auth\/payment\/receipts":{"get":{"tags":["Payment"],"summary":"GET ReceiptController::index","operationId":"receipt_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Receipt"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","generatedBy","organization","payment"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["payment_id","organization_id","branch_id","receipt_number","receipt_date","received_from","received_address","received_mobile","amount","amount_in_words","payment_mode","transaction_reference"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/payment\/receipts\/{receipt}":{"get":{"tags":["Payment"],"summary":"GET ReceiptController::show","operationId":"receipt_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Receipt"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"receipt","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","generatedBy","organization","payment"]},"nullable":true}}]}},"\/api\/v1\/auth\/payroll\/employee-salaries":{"get":{"tags":["Payroll"],"summary":"GET EmployeeSalaryController::index","operationId":"employeeSalary_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/EmployeeSalary"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["employee","organization","salaryStructure"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["employee_id","organization_id","salary_structure_id","basic_salary","gross_salary","net_salary","total_earnings","total_deductions","effective_from","effective_to","is_current","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Payroll"],"summary":"POST EmployeeSalaryController::store","operationId":"employeeSalary_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeSalary"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"salary_structure_id":{"type":"integer"},"basic_salary":{"type":"number","format":"decimal","minimum":0},"gross_salary":{"type":"number","format":"decimal","minimum":0},"effective_from":{"type":"string","format":"date"},"effective_to":{"type":"string","nullable":true,"format":"date"}},"required":["employee_id","salary_structure_id","basic_salary","gross_salary","effective_from"]}}}}}},"\/api\/v1\/auth\/payroll\/employee-salaries\/{employee_salary}":{"get":{"tags":["Payroll"],"summary":"GET EmployeeSalaryController::show","operationId":"employeeSalary_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeSalary"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_salary","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["employee","organization","salaryStructure"]},"nullable":true}}]},"put":{"tags":["Payroll"],"summary":"PUT EmployeeSalaryController::update","operationId":"employeeSalary_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeSalary"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_salary","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"salary_structure_id":{"type":"integer"},"basic_salary":{"type":"number","format":"decimal","minimum":0},"gross_salary":{"type":"number","format":"decimal","minimum":0},"effective_from":{"type":"string","format":"date"},"effective_to":{"type":"string","nullable":true,"format":"date"}},"required":[]}}}}},"delete":{"tags":["Payroll"],"summary":"DELETE EmployeeSalaryController::destroy","operationId":"employeeSalary_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_salary","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payroll\/payrolls":{"get":{"tags":["Payroll"],"summary":"GET PayrollController::index","operationId":"payroll_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Payroll"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","details","organization","processedBy"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","payroll_code","month","year","from_date","to_date","payment_date","total_employees","total_basic","total_gross","total_earnings"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Payroll"],"summary":"POST PayrollController::store","operationId":"payroll_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payroll"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"payroll_code":{"type":"string"},"month":{"type":"string"},"year":{"type":"string"},"from_date":{"type":"string","format":"date"},"to_date":{"type":"string","format":"date"},"payment_date":{"type":"string","nullable":true,"format":"date"},"total_employees":{"type":"integer","nullable":true},"total_basic":{"type":"number","nullable":true},"total_gross":{"type":"number","nullable":true},"total_earnings":{"type":"number","nullable":true},"total_deductions":{"type":"number","nullable":true},"total_net_payable":{"type":"number","nullable":true},"total_pf":{"type":"number","nullable":true},"total_esi":{"type":"number","nullable":true},"total_tds":{"type":"number","nullable":true},"total_bonus":{"type":"number","nullable":true},"total_incentive":{"type":"number","nullable":true},"total_commission":{"type":"number","nullable":true},"remarks":{"type":"string","nullable":true}},"required":["payroll_code","month","year","from_date","to_date"]}}}}}},"\/api\/v1\/auth\/payroll\/payrolls\/{payroll}":{"get":{"tags":["Payroll"],"summary":"GET PayrollController::show","operationId":"payroll_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payroll"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payroll","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","details","organization","processedBy"]},"nullable":true}}]},"put":{"tags":["Payroll"],"summary":"PUT PayrollController::update","operationId":"payroll_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payroll"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payroll","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"payroll_code":{"type":"string"},"month":{"type":"string"},"year":{"type":"string"},"from_date":{"type":"string","format":"date"},"to_date":{"type":"string","format":"date"},"payment_date":{"type":"string","format":"date"},"total_employees":{"type":"integer"},"total_basic":{"type":"number"},"total_gross":{"type":"number"},"total_earnings":{"type":"number"},"total_deductions":{"type":"number"},"total_net_payable":{"type":"number"},"total_pf":{"type":"number"},"total_esi":{"type":"number"},"total_tds":{"type":"number"},"total_bonus":{"type":"number"},"total_incentive":{"type":"number"},"total_commission":{"type":"number"},"remarks":{"type":"string"}},"required":[]}}}}},"delete":{"tags":["Payroll"],"summary":"DELETE PayrollController::destroy","operationId":"payroll_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payroll","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payroll\/payroll-details":{"get":{"tags":["Payroll"],"summary":"GET PayrollDetailController::index","operationId":"payrollDetail_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PayrollDetail"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["employee","employeeSalary","organization","payroll"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["payroll_id","employee_id","organization_id","employee_salary_id","basic_salary","gross_salary","net_salary","earnings","total_earnings","deductions","total_deductions","present_days"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]}},"\/api\/v1\/auth\/payroll\/payroll-details\/{payroll_detail}":{"get":{"tags":["Payroll"],"summary":"GET PayrollDetailController::show","operationId":"payrollDetail_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PayrollDetail"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payroll_detail","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["employee","employeeSalary","organization","payroll"]},"nullable":true}}]}},"\/api\/v1\/auth\/payroll\/payroll-details\/{payroll_detail}\/payslip":{"get":{"tags":["Payroll"],"summary":"GET PayrollDetailController::payslip","operationId":"payrollDetail_payslip","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payslip"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payroll_detail","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payroll\/salary-components":{"get":{"tags":["Payroll"],"summary":"GET SalaryComponentController::index","operationId":"salaryComponent_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SalaryComponent"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","type","calculation_type","is_taxable","is_pf_applicable","is_esi_applicable","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Payroll"],"summary":"POST SalaryComponentController::store","operationId":"salaryComponent_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryComponent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"type":{"type":"string","nullable":true,"enum":["earning","deduction"]},"calculation_type":{"type":"string","nullable":true,"enum":["fixed","percentage","formula"]},"is_taxable":{"type":"boolean","nullable":true},"is_pf_applicable":{"type":"boolean","nullable":true},"is_esi_applicable":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/payroll\/salary-components\/{salary_component}":{"get":{"tags":["Payroll"],"summary":"GET SalaryComponentController::show","operationId":"salaryComponent_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryComponent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_component","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization"]},"nullable":true}}]},"put":{"tags":["Payroll"],"summary":"PUT SalaryComponentController::update","operationId":"salaryComponent_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryComponent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_component","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["earning","deduction"]},"calculation_type":{"type":"string","enum":["fixed","percentage","formula"]},"is_taxable":{"type":"boolean"},"is_pf_applicable":{"type":"boolean"},"is_esi_applicable":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Payroll"],"summary":"DELETE SalaryComponentController::destroy","operationId":"salaryComponent_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_component","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payroll\/salary-revisions":{"get":{"tags":["Payroll"],"summary":"GET SalaryRevisionController::index","operationId":"salaryRevision_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SalaryRevision"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","employee","newSalary","oldSalary","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["employee_id","organization_id","old_salary_id","new_salary_id","old_basic","old_gross","new_basic","new_gross","increment_amount","increment_percentage","revision_date","effective_from"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Payroll"],"summary":"POST SalaryRevisionController::store","operationId":"salaryRevision_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryRevision"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"old_salary_id":{"type":"integer","nullable":true},"new_salary_id":{"type":"integer","nullable":true},"old_basic":{"type":"number"},"old_gross":{"type":"number"},"new_basic":{"type":"number"},"new_gross":{"type":"number"},"increment_amount":{"type":"number"},"increment_percentage":{"type":"number"},"revision_date":{"type":"string","format":"date"},"effective_from":{"type":"string","format":"date"},"revision_type":{"type":"string","nullable":true,"enum":["promotion","annual","merit","correction","other"]},"reason":{"type":"string","nullable":true}},"required":["employee_id","old_basic","old_gross","new_basic","new_gross","increment_amount","increment_percentage","revision_date","effective_from"]}}}}}},"\/api\/v1\/auth\/payroll\/salary-revisions\/{salary_revision}":{"get":{"tags":["Payroll"],"summary":"GET SalaryRevisionController::show","operationId":"salaryRevision_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryRevision"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_revision","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","employee","newSalary","oldSalary","organization"]},"nullable":true}}]},"put":{"tags":["Payroll"],"summary":"PUT SalaryRevisionController::update","operationId":"salaryRevision_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryRevision"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_revision","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"employee_id":{"type":"integer"},"organization_id":{"type":"integer"},"old_salary_id":{"type":"integer"},"new_salary_id":{"type":"integer"},"old_basic":{"type":"number"},"old_gross":{"type":"number"},"new_basic":{"type":"number"},"new_gross":{"type":"number"},"increment_amount":{"type":"number"},"increment_percentage":{"type":"number"},"revision_date":{"type":"string","format":"date"},"effective_from":{"type":"string","format":"date"},"revision_type":{"type":"string","enum":["promotion","annual","merit","correction","other"]},"reason":{"type":"string"},"rejection_reason":{"type":"string"}},"required":[]}}}}},"delete":{"tags":["Payroll"],"summary":"DELETE SalaryRevisionController::destroy","operationId":"salaryRevision_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_revision","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payroll\/salary-structures":{"get":{"tags":["Payroll"],"summary":"GET SalaryStructureController::index","operationId":"salaryStructure_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SalaryStructure"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["components","department","designation","employeeSalaries","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","name","code","description","designation_id","department_id","basic_percentage","hra_percentage","da_percentage","gross_salary_min","gross_salary_max","is_default"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Payroll"],"summary":"POST SalaryStructureController::store","operationId":"salaryStructure_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryStructure"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"designation_id":{"type":"integer","nullable":true},"department_id":{"type":"integer","nullable":true},"basic_percentage":{"type":"number","nullable":true},"hra_percentage":{"type":"number","nullable":true},"da_percentage":{"type":"number","nullable":true},"gross_salary_min":{"type":"number","nullable":true},"gross_salary_max":{"type":"number","nullable":true},"is_default":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]}}}}}},"\/api\/v1\/auth\/payroll\/salary-structures\/{salary_structure}":{"get":{"tags":["Payroll"],"summary":"GET SalaryStructureController::show","operationId":"salaryStructure_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryStructure"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_structure","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["components","department","designation","employeeSalaries","organization"]},"nullable":true}}]},"put":{"tags":["Payroll"],"summary":"PUT SalaryStructureController::update","operationId":"salaryStructure_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryStructure"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_structure","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"designation_id":{"type":"integer"},"department_id":{"type":"integer"},"basic_percentage":{"type":"number"},"hra_percentage":{"type":"number"},"da_percentage":{"type":"number"},"gross_salary_min":{"type":"number"},"gross_salary_max":{"type":"number"},"is_default":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Payroll"],"summary":"DELETE SalaryStructureController::destroy","operationId":"salaryStructure_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_structure","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payroll\/salary-structure-components":{"get":{"tags":["Payroll"],"summary":"GET SalaryStructureComponentController::index","operationId":"salaryStructureComponent_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SalaryStructureComponent"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","salaryComponent","salaryStructure"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["salary_structure_id","salary_component_id","organization_id","value","percentage","formula","is_mandatory","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["Payroll"],"summary":"POST SalaryStructureComponentController::store","operationId":"salaryStructureComponent_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryStructureComponent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"salary_structure_id":{"type":"integer"},"salary_component_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"value":{"type":"number","nullable":true},"percentage":{"type":"number","nullable":true},"formula":{"type":"string","nullable":true},"is_mandatory":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["salary_structure_id","salary_component_id"]}}}}}},"\/api\/v1\/auth\/payroll\/salary-structure-components\/{salary_structure_component}":{"get":{"tags":["Payroll"],"summary":"GET SalaryStructureComponentController::show","operationId":"salaryStructureComponent_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryStructureComponent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_structure_component","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","salaryComponent","salaryStructure"]},"nullable":true}}]},"put":{"tags":["Payroll"],"summary":"PUT SalaryStructureComponentController::update","operationId":"salaryStructureComponent_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/SalaryStructureComponent"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_structure_component","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"salary_structure_id":{"type":"integer"},"salary_component_id":{"type":"integer"},"organization_id":{"type":"integer"},"value":{"type":"number"},"percentage":{"type":"number"},"formula":{"type":"string"},"is_mandatory":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["Payroll"],"summary":"DELETE SalaryStructureComponentController::destroy","operationId":"salaryStructureComponent_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"salary_structure_component","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/land-owners":{"get":{"tags":["RealEstate"],"summary":"GET LandOwnerController::index","operationId":"landOwner_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LandOwner"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","city","landPurchases","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","first_name","last_name","email","mobile","alternate_mobile","whatsapp_number","address","city_id","postal_code","aadhar_number"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST LandOwnerController::store","operationId":"landOwner_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LandOwner"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"first_name":{"type":"string"},"last_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"mobile":{"type":"string"},"alternate_mobile":{"type":"string","nullable":true},"whatsapp_number":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"city_id":{"type":"integer","nullable":true},"postal_code":{"type":"string","nullable":true},"aadhar_number":{"type":"string","nullable":true},"pan_number":{"type":"string","nullable":true},"passport_number":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"bank_account_number":{"type":"string","nullable":true},"ifsc_code":{"type":"string","nullable":true},"upi_id":{"type":"string","nullable":true,"maxLength":100},"occupation":{"type":"string","nullable":true},"dob":{"type":"string","nullable":true,"format":"date"},"gender":{"type":"string","nullable":true,"enum":["male","female","other"]},"profile_picture":{"type":"string","nullable":true},"profile_picture_upload":{"type":"image","nullable":true,"format":"binary"},"aadhar_file":{"type":"string","nullable":true},"aadhar_upload":{"type":"file","nullable":true,"format":"binary"},"pan_file":{"type":"string","nullable":true},"pan_upload":{"type":"file","nullable":true,"format":"binary"},"status":{"type":"string","nullable":true,"enum":["active","inactive","blacklisted"]},"remarks":{"type":"string","nullable":true}},"required":["first_name","mobile"]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"first_name":{"style":"form"},"last_name":{"style":"form"},"email":{"style":"form"},"mobile":{"style":"form"},"alternate_mobile":{"style":"form"},"whatsapp_number":{"style":"form"},"address":{"style":"form"},"city_id":{"style":"form"},"postal_code":{"style":"form"},"aadhar_number":{"style":"form"},"pan_number":{"style":"form"},"passport_number":{"style":"form"},"bank_name":{"style":"form"},"bank_account_number":{"style":"form"},"ifsc_code":{"style":"form"},"upi_id":{"style":"form"},"occupation":{"style":"form"},"dob":{"style":"form"},"gender":{"style":"form"},"profile_picture":{"style":"form"},"profile_picture_upload":{"style":"form"},"aadhar_file":{"style":"form"},"aadhar_upload":{"style":"form"},"pan_file":{"style":"form"},"pan_upload":{"style":"form"},"status":{"style":"form"},"remarks":{"style":"form"}}}}}}},"\/api\/v1\/auth\/realestate\/land-owners\/{land_owner}":{"get":{"tags":["RealEstate"],"summary":"GET LandOwnerController::show","operationId":"landOwner_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LandOwner"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"land_owner","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["branch","city","landPurchases","organization"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT LandOwnerController::update","operationId":"landOwner_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LandOwner"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"land_owner","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string"},"mobile":{"type":"string"},"alternate_mobile":{"type":"string"},"whatsapp_number":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"integer"},"postal_code":{"type":"string"},"aadhar_number":{"type":"string"},"pan_number":{"type":"string"},"passport_number":{"type":"string"},"bank_name":{"type":"string"},"bank_account_number":{"type":"string"},"ifsc_code":{"type":"string"},"upi_id":{"type":"string","maxLength":100},"occupation":{"type":"string"},"dob":{"type":"string","format":"date"},"gender":{"type":"string","enum":["male","female","other"]},"profile_picture":{"type":"string"},"profile_picture_upload":{"type":"image","nullable":true,"format":"binary"},"aadhar_file":{"type":"string"},"aadhar_upload":{"type":"file","nullable":true,"format":"binary"},"pan_file":{"type":"string"},"pan_upload":{"type":"file","nullable":true,"format":"binary"},"status":{"type":"string","enum":["active","inactive","blacklisted"]},"remarks":{"type":"string"}},"required":[]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"first_name":{"style":"form"},"last_name":{"style":"form"},"email":{"style":"form"},"mobile":{"style":"form"},"alternate_mobile":{"style":"form"},"whatsapp_number":{"style":"form"},"address":{"style":"form"},"city_id":{"style":"form"},"postal_code":{"style":"form"},"aadhar_number":{"style":"form"},"pan_number":{"style":"form"},"passport_number":{"style":"form"},"bank_name":{"style":"form"},"bank_account_number":{"style":"form"},"ifsc_code":{"style":"form"},"upi_id":{"style":"form"},"occupation":{"style":"form"},"dob":{"style":"form"},"gender":{"style":"form"},"profile_picture":{"style":"form"},"profile_picture_upload":{"style":"form"},"aadhar_file":{"style":"form"},"aadhar_upload":{"style":"form"},"pan_file":{"style":"form"},"pan_upload":{"style":"form"},"status":{"style":"form"},"remarks":{"style":"form"}}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE LandOwnerController::destroy","operationId":"landOwner_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"land_owner","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/land-purchases":{"get":{"tags":["RealEstate"],"summary":"GET LandPurchaseController::index","operationId":"landPurchase_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LandPurchase"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agreements","approvedBy","areaUnit","branch","city","documents","organization","payments","plot","project","property","registry"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","project_id","property_id","plot_id","purchase_code","purchase_date","agreement_date","registration_date","land_description","survey_number","khata_number"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST LandPurchaseController::store","operationId":"landPurchase_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LandPurchase"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"project_id":{"type":"integer","nullable":true},"property_id":{"type":"integer","nullable":true},"plot_id":{"type":"integer","nullable":true},"purchase_code":{"type":"string"},"purchase_date":{"type":"string","format":"date"},"agreement_date":{"type":"string","nullable":true,"format":"date"},"registration_date":{"type":"string","nullable":true,"format":"date"},"land_description":{"type":"string","nullable":true},"survey_number":{"type":"string","nullable":true},"khata_number":{"type":"string","nullable":true},"mutation_number":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"city_id":{"type":"integer","nullable":true},"postal_code":{"type":"string","nullable":true},"total_area":{"type":"number","nullable":true},"area_unit_id":{"type":"integer","nullable":true},"total_price":{"type":"number"},"price_per_unit":{"type":"number","nullable":true},"booking_amount":{"type":"number","nullable":true},"down_payment":{"type":"number","nullable":true},"emi_months":{"type":"integer","nullable":true},"emi_amount":{"type":"number","nullable":true},"owner_details":{"type":"array","nullable":true,"items":{"type":"string"}},"remarks":{"type":"string","nullable":true}},"required":["purchase_code","purchase_date","total_price"]}}}}}},"\/api\/v1\/auth\/realestate\/land-purchases\/{land_purchase}":{"get":{"tags":["RealEstate"],"summary":"GET LandPurchaseController::show","operationId":"landPurchase_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LandPurchase"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"land_purchase","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["agreements","approvedBy","areaUnit","branch","city","documents","organization","payments","plot","project","property","registry"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT LandPurchaseController::update","operationId":"landPurchase_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LandPurchase"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"land_purchase","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"project_id":{"type":"integer"},"property_id":{"type":"integer"},"plot_id":{"type":"integer"},"purchase_code":{"type":"string"},"purchase_date":{"type":"string","format":"date"},"agreement_date":{"type":"string","format":"date"},"registration_date":{"type":"string","format":"date"},"land_description":{"type":"string"},"survey_number":{"type":"string"},"khata_number":{"type":"string"},"mutation_number":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"integer"},"postal_code":{"type":"string"},"total_area":{"type":"number"},"area_unit_id":{"type":"integer"},"total_price":{"type":"number"},"price_per_unit":{"type":"number"},"booking_amount":{"type":"number"},"down_payment":{"type":"number"},"emi_months":{"type":"integer"},"emi_amount":{"type":"number"},"owner_details":{"type":"array","items":{"type":"string"}},"remarks":{"type":"string"}},"required":[]}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE LandPurchaseController::destroy","operationId":"landPurchase_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"land_purchase","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/plots":{"get":{"tags":["RealEstate"],"summary":"GET PlotController::index","operationId":"plot_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Plot"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["areaUnit","availabilityHistory","bookings","branch","organization","phase","plotType","project","property"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","project_id","phase_id","property_id","plot_type_id","plot_number","block","subdivision","description","area","area_unit_id"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST PlotController::store","operationId":"plot_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Plot"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"project_id":{"type":"integer"},"phase_id":{"type":"integer","nullable":true},"property_id":{"type":"integer","nullable":true},"plot_type_id":{"type":"integer","nullable":true},"plot_number":{"type":"string"},"block":{"type":"string","nullable":true},"subdivision":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"area":{"type":"number","nullable":true},"area_unit_id":{"type":"integer","nullable":true},"length":{"type":"number","nullable":true},"width":{"type":"number","nullable":true},"front_facing":{"type":"string","nullable":true},"corner":{"type":"string","nullable":true},"price":{"type":"number","nullable":true},"price_per_unit":{"type":"number","nullable":true},"booking_amount":{"type":"number","nullable":true},"dimensions":{"type":"array","nullable":true,"items":{"type":"string"}},"image":{"type":"string","nullable":true},"image_upload":{"type":"image","nullable":true,"format":"binary"},"is_active":{"type":"boolean","nullable":true}},"required":["project_id","plot_number"]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"project_id":{"style":"form"},"phase_id":{"style":"form"},"property_id":{"style":"form"},"plot_type_id":{"style":"form"},"plot_number":{"style":"form"},"block":{"style":"form"},"subdivision":{"style":"form"},"description":{"style":"form"},"area":{"style":"form"},"area_unit_id":{"style":"form"},"length":{"style":"form"},"width":{"style":"form"},"front_facing":{"style":"form"},"corner":{"style":"form"},"price":{"style":"form"},"price_per_unit":{"style":"form"},"booking_amount":{"style":"form"},"dimensions":{"style":"form","explode":true},"image":{"style":"form"},"image_upload":{"style":"form"},"is_active":{"style":"form"}}}}}}},"\/api\/v1\/auth\/realestate\/plots\/{plot}":{"get":{"tags":["RealEstate"],"summary":"GET PlotController::show","operationId":"plot_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Plot"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"plot","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["areaUnit","availabilityHistory","bookings","branch","organization","phase","plotType","project","property"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT PlotController::update","operationId":"plot_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Plot"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"plot","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"project_id":{"type":"integer"},"phase_id":{"type":"integer"},"property_id":{"type":"integer"},"plot_type_id":{"type":"integer"},"plot_number":{"type":"string"},"block":{"type":"string"},"subdivision":{"type":"string"},"description":{"type":"string"},"area":{"type":"number"},"area_unit_id":{"type":"integer"},"length":{"type":"number"},"width":{"type":"number"},"front_facing":{"type":"string"},"corner":{"type":"string"},"price":{"type":"number"},"price_per_unit":{"type":"number"},"booking_amount":{"type":"number"},"dimensions":{"type":"array","items":{"type":"string"}},"image":{"type":"string"},"image_upload":{"type":"image","nullable":true,"format":"binary"},"is_active":{"type":"boolean"}},"required":[]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"project_id":{"style":"form"},"phase_id":{"style":"form"},"property_id":{"style":"form"},"plot_type_id":{"style":"form"},"plot_number":{"style":"form"},"block":{"style":"form"},"subdivision":{"style":"form"},"description":{"style":"form"},"area":{"style":"form"},"area_unit_id":{"style":"form"},"length":{"style":"form"},"width":{"style":"form"},"front_facing":{"style":"form"},"corner":{"style":"form"},"price":{"style":"form"},"price_per_unit":{"style":"form"},"booking_amount":{"style":"form"},"dimensions":{"style":"form","explode":true},"image":{"style":"form"},"image_upload":{"style":"form"},"is_active":{"style":"form"}}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE PlotController::destroy","operationId":"plot_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"plot","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/plot-availabilities":{"get":{"tags":["RealEstate"],"summary":"GET PlotAvailabilityController::index","operationId":"plotAvailability_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PlotAvailability"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["changedBy","organization","plot"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["plot_id","organization_id","status","status_date","remarks","changed_by"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST PlotAvailabilityController::store","operationId":"plotAvailability_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PlotAvailability"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"plot_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"status":{"type":"string","nullable":true,"enum":["available","booked","sold","blocked","reserved"]},"status_date":{"type":"string","format":"date"},"remarks":{"type":"string","nullable":true},"changed_by":{"type":"integer","nullable":true}},"required":["plot_id","status_date"]}}}}}},"\/api\/v1\/auth\/realestate\/plot-availabilities\/{plot_availability}":{"get":{"tags":["RealEstate"],"summary":"GET PlotAvailabilityController::show","operationId":"plotAvailability_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PlotAvailability"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"plot_availability","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["changedBy","organization","plot"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT PlotAvailabilityController::update","operationId":"plotAvailability_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PlotAvailability"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"plot_availability","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"plot_id":{"type":"integer"},"organization_id":{"type":"integer"},"status":{"type":"string","enum":["available","booked","sold","blocked","reserved"]},"status_date":{"type":"string","format":"date"},"remarks":{"type":"string"},"changed_by":{"type":"integer"}},"required":[]}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE PlotAvailabilityController::destroy","operationId":"plotAvailability_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"plot_availability","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/property-sourcing-partners":{"get":{"tags":["RealEstate"],"summary":"GET PropertySourcingPartnerController::index","operationId":"propertySourcingPartner_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PropertySourcingPartner"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"membership_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"organization_id","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","nullable":true}},{"name":"partner_code","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":60,"nullable":true}},{"name":"commission_type","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["percentage","fixed"],"nullable":true}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","inactive"],"nullable":true}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["membership","organization"]},"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["id","partner_code","commission_rate","created_at","updated_at"],"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST PropertySourcingPartnerController::store","operationId":"propertySourcingPartner_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertySourcingPartner"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"},"organization_id":{"type":"integer"},"branch_id":{"type":"integer","nullable":true},"partner_code":{"type":"string","maxLength":60},"commission_rate":{"type":"number","nullable":true,"minimum":0},"commission_type":{"type":"string","nullable":true,"enum":["percentage","fixed"]},"metadata":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":["user_id","organization_id","partner_code"]}}}}}},"\/api\/v1\/auth\/realestate\/property-sourcing-partners\/{property_sourcing_partner}":{"get":{"tags":["RealEstate"],"summary":"GET PropertySourcingPartnerController::show","operationId":"propertySourcingPartner_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertySourcingPartner"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_sourcing_partner","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["membership","organization"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT PropertySourcingPartnerController::update","operationId":"propertySourcingPartner_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertySourcingPartner"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_sourcing_partner","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"commission_rate":{"type":"number","minimum":0},"commission_type":{"type":"string","enum":["percentage","fixed"]},"status":{"type":"string","enum":["active","inactive"]},"metadata":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":[]}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE PropertySourcingPartnerController::destroy","operationId":"propertySourcingPartner_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_sourcing_partner","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/projects":{"get":{"tags":["RealEstate"],"summary":"GET ProjectController::index","operationId":"project_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Project"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","areaUnit","bookings","branch","city","milestones","organization","phases","plots","projectType","properties"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","project_type_id","name","slug","code","description","address","city_id","postal_code","latitude","longitude"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST ProjectController::store","operationId":"project_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Project"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"project_type_id":{"type":"integer","nullable":true},"name":{"type":"string"},"slug":{"type":"string","nullable":true,"maxLength":200},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"city_id":{"type":"integer","nullable":true},"postal_code":{"type":"string","nullable":true},"latitude":{"type":"number","nullable":true},"longitude":{"type":"number","nullable":true},"total_area":{"type":"number","nullable":true},"area_unit_id":{"type":"integer","nullable":true},"total_plots":{"type":"integer","nullable":true},"total_properties":{"type":"integer","nullable":true},"min_price":{"type":"number","nullable":true},"max_price":{"type":"number","nullable":true},"price_per_unit":{"type":"number","nullable":true},"launch_date":{"type":"string","nullable":true,"format":"date"},"possession_date":{"type":"string","nullable":true,"format":"date"},"completion_date":{"type":"string","nullable":true,"format":"date"},"amenities":{"type":"array","nullable":true,"items":{"type":"string"}},"features":{"type":"array","nullable":true,"items":{"type":"string"}},"cover_image_file":{"type":"image","nullable":true,"format":"binary"},"gallery_image_files":{"type":"array","nullable":true,"maxLength":20,"items":{"type":"string"}},"retained_gallery_images":{"type":"array","nullable":true,"items":{"type":"string"}},"brochure_file":{"type":"file","nullable":true,"format":"binary"},"keep_cover_image":{"type":"boolean","nullable":true},"keep_brochure":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["name"]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"project_type_id":{"style":"form"},"name":{"style":"form"},"slug":{"style":"form"},"code":{"style":"form"},"description":{"style":"form"},"address":{"style":"form"},"city_id":{"style":"form"},"postal_code":{"style":"form"},"latitude":{"style":"form"},"longitude":{"style":"form"},"total_area":{"style":"form"},"area_unit_id":{"style":"form"},"total_plots":{"style":"form"},"total_properties":{"style":"form"},"min_price":{"style":"form"},"max_price":{"style":"form"},"price_per_unit":{"style":"form"},"launch_date":{"style":"form"},"possession_date":{"style":"form"},"completion_date":{"style":"form"},"amenities":{"style":"form","explode":true},"features":{"style":"form","explode":true},"cover_image_file":{"style":"form"},"gallery_image_files":{"style":"form","explode":true},"retained_gallery_images":{"style":"form","explode":true},"brochure_file":{"style":"form"},"keep_cover_image":{"style":"form"},"keep_brochure":{"style":"form"},"is_active":{"style":"form"}}}}}}},"\/api\/v1\/auth\/realestate\/projects\/{project}":{"get":{"tags":["RealEstate"],"summary":"GET ProjectController::show","operationId":"project_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Project"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","areaUnit","bookings","branch","city","milestones","organization","phases","plots","projectType","properties"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT ProjectController::update","operationId":"project_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Project"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"project_type_id":{"type":"integer"},"name":{"type":"string"},"slug":{"type":"string","nullable":true,"maxLength":200},"code":{"type":"string"},"description":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"integer"},"postal_code":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"total_area":{"type":"number"},"area_unit_id":{"type":"integer"},"total_plots":{"type":"integer"},"total_properties":{"type":"integer"},"min_price":{"type":"number"},"max_price":{"type":"number"},"price_per_unit":{"type":"number"},"launch_date":{"type":"string","format":"date"},"possession_date":{"type":"string","format":"date"},"completion_date":{"type":"string","format":"date"},"amenities":{"type":"array","items":{"type":"string"}},"features":{"type":"array","items":{"type":"string"}},"cover_image_file":{"type":"image","nullable":true,"format":"binary"},"gallery_image_files":{"type":"array","nullable":true,"maxLength":20,"items":{"type":"string"}},"retained_gallery_images":{"type":"array","nullable":true,"items":{"type":"string"}},"brochure_file":{"type":"file","nullable":true,"format":"binary"},"keep_cover_image":{"type":"boolean","nullable":true},"keep_brochure":{"type":"boolean","nullable":true},"is_active":{"type":"boolean"}},"required":[]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"project_type_id":{"style":"form"},"name":{"style":"form"},"slug":{"style":"form"},"code":{"style":"form"},"description":{"style":"form"},"address":{"style":"form"},"city_id":{"style":"form"},"postal_code":{"style":"form"},"latitude":{"style":"form"},"longitude":{"style":"form"},"total_area":{"style":"form"},"area_unit_id":{"style":"form"},"total_plots":{"style":"form"},"total_properties":{"style":"form"},"min_price":{"style":"form"},"max_price":{"style":"form"},"price_per_unit":{"style":"form"},"launch_date":{"style":"form"},"possession_date":{"style":"form"},"completion_date":{"style":"form"},"amenities":{"style":"form","explode":true},"features":{"style":"form","explode":true},"cover_image_file":{"style":"form"},"gallery_image_files":{"style":"form","explode":true},"retained_gallery_images":{"style":"form","explode":true},"brochure_file":{"style":"form"},"keep_cover_image":{"style":"form"},"keep_brochure":{"style":"form"},"is_active":{"style":"form"}}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE ProjectController::destroy","operationId":"project_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/project-milestones":{"get":{"tags":["RealEstate"],"summary":"GET ProjectMilestoneController::index","operationId":"projectMilestone_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProjectMilestone"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["assignedTo","organization","phase","project"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["project_id","organization_id","phase_id","name","description","target_date","actual_date","priority","status","completion_percentage","remarks","assigned_to"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST ProjectMilestoneController::store","operationId":"projectMilestone_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ProjectMilestone"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"project_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"phase_id":{"type":"integer","nullable":true},"name":{"type":"string"},"description":{"type":"string","nullable":true},"target_date":{"type":"string","format":"date"},"actual_date":{"type":"string","nullable":true,"format":"date"},"priority":{"type":"string","nullable":true,"enum":["low","medium","high","critical"]},"completion_percentage":{"type":"number","nullable":true},"remarks":{"type":"string","nullable":true},"assigned_to":{"type":"integer","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["project_id","name","target_date"]}}}}}},"\/api\/v1\/auth\/realestate\/project-milestones\/{project_milestone}":{"get":{"tags":["RealEstate"],"summary":"GET ProjectMilestoneController::show","operationId":"projectMilestone_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ProjectMilestone"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project_milestone","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["assignedTo","organization","phase","project"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT ProjectMilestoneController::update","operationId":"projectMilestone_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ProjectMilestone"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project_milestone","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"project_id":{"type":"integer"},"organization_id":{"type":"integer"},"phase_id":{"type":"integer"},"name":{"type":"string"},"description":{"type":"string"},"target_date":{"type":"string","format":"date"},"actual_date":{"type":"string","format":"date"},"priority":{"type":"string","enum":["low","medium","high","critical"]},"completion_percentage":{"type":"number"},"remarks":{"type":"string"},"assigned_to":{"type":"integer"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE ProjectMilestoneController::destroy","operationId":"projectMilestone_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project_milestone","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/project-phases":{"get":{"tags":["RealEstate"],"summary":"GET ProjectPhaseController::index","operationId":"projectPhase_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProjectPhase"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["areaUnit","organization","plots","project","properties"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["project_id","organization_id","name","code","description","phase_number","total_plots","total_properties","area","area_unit_id","start_date","end_date"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST ProjectPhaseController::store","operationId":"projectPhase_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ProjectPhase"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"project_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"phase_number":{"type":"integer","nullable":true},"total_plots":{"type":"integer","nullable":true},"total_properties":{"type":"integer","nullable":true},"area":{"type":"number","nullable":true},"area_unit_id":{"type":"integer","nullable":true},"start_date":{"type":"string","nullable":true,"format":"date"},"end_date":{"type":"string","nullable":true,"format":"date"},"possession_date":{"type":"string","nullable":true,"format":"date"},"is_active":{"type":"boolean","nullable":true}},"required":["project_id","name"]}}}}}},"\/api\/v1\/auth\/realestate\/project-phases\/{project_phase}":{"get":{"tags":["RealEstate"],"summary":"GET ProjectPhaseController::show","operationId":"projectPhase_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ProjectPhase"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project_phase","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["areaUnit","organization","plots","project","properties"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT ProjectPhaseController::update","operationId":"projectPhase_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/ProjectPhase"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project_phase","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"project_id":{"type":"integer"},"organization_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"phase_number":{"type":"integer"},"total_plots":{"type":"integer"},"total_properties":{"type":"integer"},"area":{"type":"number"},"area_unit_id":{"type":"integer"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"possession_date":{"type":"string","format":"date"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE ProjectPhaseController::destroy","operationId":"projectPhase_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"project_phase","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/properties":{"get":{"tags":["RealEstate"],"summary":"GET PropertyController::index","operationId":"property_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/Property"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["areaUnit","bookings","branch","category","organization","phase","plots","project","specifications","type"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["organization_id","branch_id","project_id","phase_id","property_category_id","property_type_id","name","code","description","area","area_unit_id","length"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST PropertyController::store","operationId":"property_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Property"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"project_id":{"type":"integer"},"phase_id":{"type":"integer","nullable":true},"property_category_id":{"type":"integer","nullable":true},"property_type_id":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"area":{"type":"number","nullable":true},"area_unit_id":{"type":"integer","nullable":true},"length":{"type":"number","nullable":true},"width":{"type":"number","nullable":true},"height":{"type":"number","nullable":true},"block":{"type":"string","nullable":true},"floor":{"type":"string","nullable":true},"unit_number":{"type":"string","nullable":true},"price":{"type":"number","nullable":true},"price_per_unit":{"type":"number","nullable":true},"booking_amount":{"type":"number","nullable":true},"features":{"type":"array","nullable":true,"items":{"type":"string"}},"specifications":{"type":"array","nullable":true,"items":{"type":"string"}},"cover_image_file":{"type":"image","nullable":true,"format":"binary"},"gallery_image_files":{"type":"array","nullable":true,"maxLength":20,"items":{"type":"string"}},"retained_gallery_images":{"type":"array","nullable":true,"items":{"type":"string"}},"keep_cover_image":{"type":"boolean","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["project_id","name"]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"project_id":{"style":"form"},"phase_id":{"style":"form"},"property_category_id":{"style":"form"},"property_type_id":{"style":"form"},"name":{"style":"form"},"code":{"style":"form"},"description":{"style":"form"},"area":{"style":"form"},"area_unit_id":{"style":"form"},"length":{"style":"form"},"width":{"style":"form"},"height":{"style":"form"},"block":{"style":"form"},"floor":{"style":"form"},"unit_number":{"style":"form"},"price":{"style":"form"},"price_per_unit":{"style":"form"},"booking_amount":{"style":"form"},"features":{"style":"form","explode":true},"specifications":{"style":"form","explode":true},"cover_image_file":{"style":"form"},"gallery_image_files":{"style":"form","explode":true},"retained_gallery_images":{"style":"form","explode":true},"keep_cover_image":{"style":"form"},"is_active":{"style":"form"}}}}}}},"\/api\/v1\/auth\/realestate\/properties\/{property}":{"get":{"tags":["RealEstate"],"summary":"GET PropertyController::show","operationId":"property_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Property"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["areaUnit","bookings","branch","category","organization","phase","plots","project","specifications","type"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT PropertyController::update","operationId":"property_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Property"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"project_id":{"type":"integer"},"phase_id":{"type":"integer"},"property_category_id":{"type":"integer"},"property_type_id":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"area":{"type":"number"},"area_unit_id":{"type":"integer"},"length":{"type":"number"},"width":{"type":"number"},"height":{"type":"number"},"block":{"type":"string"},"floor":{"type":"string"},"unit_number":{"type":"string"},"price":{"type":"number"},"price_per_unit":{"type":"number"},"booking_amount":{"type":"number"},"features":{"type":"array","items":{"type":"string"}},"specifications":{"type":"array","items":{"type":"string"}},"cover_image_file":{"type":"image","nullable":true,"format":"binary"},"gallery_image_files":{"type":"array","nullable":true,"maxLength":20,"items":{"type":"string"}},"retained_gallery_images":{"type":"array","nullable":true,"items":{"type":"string"}},"keep_cover_image":{"type":"boolean","nullable":true},"is_active":{"type":"boolean"}},"required":[]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"project_id":{"style":"form"},"phase_id":{"style":"form"},"property_category_id":{"style":"form"},"property_type_id":{"style":"form"},"name":{"style":"form"},"code":{"style":"form"},"description":{"style":"form"},"area":{"style":"form"},"area_unit_id":{"style":"form"},"length":{"style":"form"},"width":{"style":"form"},"height":{"style":"form"},"block":{"style":"form"},"floor":{"style":"form"},"unit_number":{"style":"form"},"price":{"style":"form"},"price_per_unit":{"style":"form"},"booking_amount":{"style":"form"},"features":{"style":"form","explode":true},"specifications":{"style":"form","explode":true},"cover_image_file":{"style":"form"},"gallery_image_files":{"style":"form","explode":true},"retained_gallery_images":{"style":"form","explode":true},"keep_cover_image":{"style":"form"},"is_active":{"style":"form"}}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE PropertyController::destroy","operationId":"property_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/property-specifications":{"get":{"tags":["RealEstate"],"summary":"GET PropertySpecificationController::index","operationId":"propertySpecification_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PropertySpecification"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","property"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["property_id","organization_id","specification_group","specification_key","specification_value","specification_type","is_active"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST PropertySpecificationController::store","operationId":"propertySpecification_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertySpecification"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"property_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"specification_group":{"type":"string","nullable":true},"specification_key":{"type":"string"},"specification_value":{"type":"string","nullable":true},"specification_type":{"type":"string","nullable":true},"is_active":{"type":"boolean","nullable":true}},"required":["property_id","specification_key"]}}}}}},"\/api\/v1\/auth\/realestate\/property-specifications\/{property_specification}":{"get":{"tags":["RealEstate"],"summary":"GET PropertySpecificationController::show","operationId":"propertySpecification_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertySpecification"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_specification","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["organization","property"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT PropertySpecificationController::update","operationId":"propertySpecification_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PropertySpecification"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_specification","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"property_id":{"type":"integer"},"organization_id":{"type":"integer"},"specification_group":{"type":"string"},"specification_key":{"type":"string"},"specification_value":{"type":"string"},"specification_type":{"type":"string"},"is_active":{"type":"boolean"}},"required":[]}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE PropertySpecificationController::destroy","operationId":"propertySpecification_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"property_specification","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/purchase-agreements":{"get":{"tags":["RealEstate"],"summary":"GET PurchaseAgreementController::index","operationId":"purchaseAgreement_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PurchaseAgreement"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","landPurchase","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["land_purchase_id","organization_id","branch_id","agreement_number","agreement_date","execution_date","expiry_date","terms_and_conditions","special_conditions","seller_details","buyer_details","property_description"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST PurchaseAgreementController::store","operationId":"purchaseAgreement_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchaseAgreement"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"land_purchase_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"agreement_number":{"type":"string"},"agreement_date":{"type":"string","format":"date"},"execution_date":{"type":"string","nullable":true,"format":"date"},"expiry_date":{"type":"string","nullable":true,"format":"date"},"terms_and_conditions":{"type":"string","nullable":true},"special_conditions":{"type":"array","nullable":true,"items":{"type":"string"}},"seller_details":{"type":"array","nullable":true,"items":{"type":"string"}},"buyer_details":{"type":"array","nullable":true,"items":{"type":"string"}},"property_description":{"type":"string","nullable":true},"survey_number":{"type":"string","nullable":true},"agreement_value":{"type":"number"},"booking_amount":{"type":"number","nullable":true},"down_payment":{"type":"number","nullable":true},"payment_schedule":{"type":"array","nullable":true,"items":{"type":"string"}},"agreement_file_path":{"type":"string","nullable":true},"agreement_upload":{"type":"file","nullable":true,"format":"binary"},"sale_deed_path":{"type":"string","nullable":true},"sale_deed_upload":{"type":"file","nullable":true,"format":"binary"},"remarks":{"type":"string","nullable":true}},"required":["land_purchase_id","agreement_number","agreement_date","agreement_value"]},"encoding":{"land_purchase_id":{"style":"form"},"organization_id":{"style":"form"},"branch_id":{"style":"form"},"agreement_number":{"style":"form"},"agreement_date":{"style":"form"},"execution_date":{"style":"form"},"expiry_date":{"style":"form"},"terms_and_conditions":{"style":"form"},"special_conditions":{"style":"form","explode":true},"seller_details":{"style":"form","explode":true},"buyer_details":{"style":"form","explode":true},"property_description":{"style":"form"},"survey_number":{"style":"form"},"agreement_value":{"style":"form"},"booking_amount":{"style":"form"},"down_payment":{"style":"form"},"payment_schedule":{"style":"form","explode":true},"agreement_file_path":{"style":"form"},"agreement_upload":{"style":"form"},"sale_deed_path":{"style":"form"},"sale_deed_upload":{"style":"form"},"remarks":{"style":"form"}}}}}}},"\/api\/v1\/auth\/realestate\/purchase-agreements\/{purchase_agreement}":{"get":{"tags":["RealEstate"],"summary":"GET PurchaseAgreementController::show","operationId":"purchaseAgreement_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchaseAgreement"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_agreement","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","landPurchase","organization"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT PurchaseAgreementController::update","operationId":"purchaseAgreement_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchaseAgreement"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_agreement","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"land_purchase_id":{"type":"integer"},"organization_id":{"type":"integer"},"branch_id":{"type":"integer"},"agreement_number":{"type":"string"},"agreement_date":{"type":"string","format":"date"},"execution_date":{"type":"string","format":"date"},"expiry_date":{"type":"string","format":"date"},"terms_and_conditions":{"type":"string"},"special_conditions":{"type":"array","items":{"type":"string"}},"seller_details":{"type":"array","items":{"type":"string"}},"buyer_details":{"type":"array","items":{"type":"string"}},"property_description":{"type":"string"},"survey_number":{"type":"string"},"agreement_value":{"type":"number"},"booking_amount":{"type":"number"},"down_payment":{"type":"number"},"payment_schedule":{"type":"array","items":{"type":"string"}},"agreement_file_path":{"type":"string"},"agreement_upload":{"type":"file","nullable":true,"format":"binary"},"sale_deed_path":{"type":"string"},"sale_deed_upload":{"type":"file","nullable":true,"format":"binary"},"remarks":{"type":"string"}},"required":[]},"encoding":{"land_purchase_id":{"style":"form"},"organization_id":{"style":"form"},"branch_id":{"style":"form"},"agreement_number":{"style":"form"},"agreement_date":{"style":"form"},"execution_date":{"style":"form"},"expiry_date":{"style":"form"},"terms_and_conditions":{"style":"form"},"special_conditions":{"style":"form","explode":true},"seller_details":{"style":"form","explode":true},"buyer_details":{"style":"form","explode":true},"property_description":{"style":"form"},"survey_number":{"style":"form"},"agreement_value":{"style":"form"},"booking_amount":{"style":"form"},"down_payment":{"style":"form"},"payment_schedule":{"style":"form","explode":true},"agreement_file_path":{"style":"form"},"agreement_upload":{"style":"form"},"sale_deed_path":{"style":"form"},"sale_deed_upload":{"style":"form"},"remarks":{"style":"form"}}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE PurchaseAgreementController::destroy","operationId":"purchaseAgreement_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_agreement","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/purchase-documents":{"get":{"tags":["RealEstate"],"summary":"GET PurchaseDocumentController::index","operationId":"purchaseDocument_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PurchaseDocument"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["documentType","landPurchase","organization","uploadedBy","verifiedBy"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["land_purchase_id","organization_id","document_type_id","document_name","document_number","file_path","file_name","mime_type","file_size","document_date","expiry_date","status"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST PurchaseDocumentController::store","operationId":"purchaseDocument_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchaseDocument"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"land_purchase_id":{"type":"integer"},"organization_id":{"type":"integer","nullable":true},"document_type_id":{"type":"integer","nullable":true},"document_name":{"type":"string"},"document_number":{"type":"string","nullable":true},"file":{"type":"file","format":"binary"},"document_date":{"type":"string","nullable":true,"format":"date"},"expiry_date":{"type":"string","nullable":true,"format":"date"},"rejection_reason":{"type":"string","nullable":true}},"required":["land_purchase_id","document_name","file"]},"encoding":{"land_purchase_id":{"style":"form"},"organization_id":{"style":"form"},"document_type_id":{"style":"form"},"document_name":{"style":"form"},"document_number":{"style":"form"},"file":{"style":"form"},"document_date":{"style":"form"},"expiry_date":{"style":"form"},"rejection_reason":{"style":"form"}}}}}}},"\/api\/v1\/auth\/realestate\/purchase-documents\/{purchase_document}":{"get":{"tags":["RealEstate"],"summary":"GET PurchaseDocumentController::show","operationId":"purchaseDocument_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchaseDocument"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_document","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["documentType","landPurchase","organization","uploadedBy","verifiedBy"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT PurchaseDocumentController::update","operationId":"purchaseDocument_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchaseDocument"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_document","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"land_purchase_id":{"type":"integer"},"organization_id":{"type":"integer"},"document_type_id":{"type":"integer","nullable":true},"document_name":{"type":"string"},"document_number":{"type":"string","nullable":true},"file":{"type":"file","nullable":true,"format":"binary"},"document_date":{"type":"string","nullable":true,"format":"date"},"expiry_date":{"type":"string","nullable":true,"format":"date"},"rejection_reason":{"type":"string","nullable":true}},"required":[]},"encoding":{"land_purchase_id":{"style":"form"},"organization_id":{"style":"form"},"document_type_id":{"style":"form"},"document_name":{"style":"form"},"document_number":{"style":"form"},"file":{"style":"form"},"document_date":{"style":"form"},"expiry_date":{"style":"form"},"rejection_reason":{"style":"form"}}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE PurchaseDocumentController::destroy","operationId":"purchaseDocument_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_document","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/purchase-payments":{"get":{"tags":["RealEstate"],"summary":"GET PurchasePaymentController::index","operationId":"purchasePayment_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PurchasePayment"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","createdBy","landPurchase","organization","paymentMode"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["land_purchase_id","organization_id","branch_id","payment_code","payment_date","amount","paid_amount","balance_amount","payment_mode_id","transaction_id","reference_number","cheque_number"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST PurchasePaymentController::store","operationId":"purchasePayment_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchasePayment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"land_purchase_id":{"type":"integer"},"payment_code":{"type":"string"},"payment_date":{"type":"string","format":"date"},"amount":{"type":"number"},"payment_mode_id":{"type":"integer","nullable":true},"transaction_id":{"type":"string","nullable":true,"maxLength":100},"reference_number":{"type":"string","nullable":true},"cheque_number":{"type":"string","nullable":true},"cheque_date":{"type":"string","nullable":true,"format":"date"},"payment_type":{"type":"string","nullable":true,"enum":["booking","down_payment","emi","full_payment","other"]},"remarks":{"type":"string","nullable":true},"receipt_path":{"type":"string","nullable":true},"receipt_upload":{"type":"file","nullable":true,"format":"binary"}},"required":["land_purchase_id","payment_code","payment_date","amount"]},"encoding":{"organization_id":{"style":"form"},"branch_id":{"style":"form"},"land_purchase_id":{"style":"form"},"payment_code":{"style":"form"},"payment_date":{"style":"form"},"amount":{"style":"form"},"payment_mode_id":{"style":"form"},"transaction_id":{"style":"form"},"reference_number":{"style":"form"},"cheque_number":{"style":"form"},"cheque_date":{"style":"form"},"payment_type":{"style":"form"},"remarks":{"style":"form"},"receipt_path":{"style":"form"},"receipt_upload":{"style":"form"}}}}}}},"\/api\/v1\/auth\/realestate\/purchase-payments\/{purchase_payment}":{"get":{"tags":["RealEstate"],"summary":"GET PurchasePaymentController::show","operationId":"purchasePayment_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchasePayment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_payment","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","createdBy","landPurchase","organization","paymentMode"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT PurchasePaymentController::update","operationId":"purchasePayment_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchasePayment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_payment","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"payment_mode_id":{"type":"integer"},"transaction_id":{"type":"string","nullable":true,"maxLength":100},"reference_number":{"type":"string"},"cheque_number":{"type":"string"},"cheque_date":{"type":"string","format":"date"},"payment_type":{"type":"string","enum":["booking","down_payment","emi","full_payment","other"]},"remarks":{"type":"string"},"receipt_path":{"type":"string"},"receipt_upload":{"type":"file","nullable":true,"format":"binary"}},"required":[]},"encoding":{"payment_mode_id":{"style":"form"},"transaction_id":{"style":"form"},"reference_number":{"style":"form"},"cheque_number":{"style":"form"},"cheque_date":{"style":"form"},"payment_type":{"style":"form"},"remarks":{"style":"form"},"receipt_path":{"style":"form"},"receipt_upload":{"style":"form"}}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE PurchasePaymentController::destroy","operationId":"purchasePayment_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_payment","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/purchase-payments\/{purchase_payment}\/approve":{"post":{"tags":["RealEstate"],"summary":"POST PurchasePaymentController::approve","operationId":"purchasePayment_approve","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PurchasePayment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"purchase_payment","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/registry-details":{"get":{"tags":["RealEstate"],"summary":"GET RegistryDetailController::index","operationId":"registryDetail_index","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/RegistryDetail"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","landPurchase","organization"]},"nullable":true}},{"name":"search","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","maxLength":200,"nullable":true}},{"name":"per_page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"nullable":true}},{"name":"page","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer","minimum":1,"nullable":true}},{"name":"sort_by","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["land_purchase_id","organization_id","branch_id","registry_number","registry_date","registration_date","property_description","survey_number","khata_number","mutation_number","sub_register_office","district"],"maxLength":100,"nullable":true}},{"name":"sort_order","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["asc","desc"],"nullable":true}}]},"post":{"tags":["RealEstate"],"summary":"POST RegistryDetailController::store","operationId":"registryDetail_store","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/RegistryDetail"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"land_purchase_id":{"type":"integer"},"registry_number":{"type":"string"},"registry_date":{"type":"string","format":"date"},"registration_date":{"type":"string","format":"date"},"property_description":{"type":"string","nullable":true},"survey_number":{"type":"string","nullable":true},"khata_number":{"type":"string","nullable":true},"mutation_number":{"type":"string","nullable":true},"sub_register_office":{"type":"string","nullable":true},"district":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"registry_value":{"type":"number"},"stamp_duty":{"type":"number","nullable":true},"registration_fee":{"type":"number","nullable":true},"other_charges":{"type":"number","nullable":true},"total_cost":{"type":"number","nullable":true},"owner_details":{"type":"array","nullable":true,"items":{"type":"string"}},"buyer_details":{"type":"array","nullable":true,"items":{"type":"string"}},"registry_file_path":{"type":"string","nullable":true},"registry_upload":{"type":"file","nullable":true,"format":"binary"},"sale_deed_path":{"type":"string","nullable":true},"sale_deed_upload":{"type":"file","nullable":true,"format":"binary"},"encumbrance_certificate_path":{"type":"string","nullable":true},"certificate_upload":{"type":"file","nullable":true,"format":"binary"},"remarks":{"type":"string","nullable":true}},"required":["land_purchase_id","registry_number","registry_date","registration_date","registry_value"]},"encoding":{"land_purchase_id":{"style":"form"},"registry_number":{"style":"form"},"registry_date":{"style":"form"},"registration_date":{"style":"form"},"property_description":{"style":"form"},"survey_number":{"style":"form"},"khata_number":{"style":"form"},"mutation_number":{"style":"form"},"sub_register_office":{"style":"form"},"district":{"style":"form"},"state":{"style":"form"},"registry_value":{"style":"form"},"stamp_duty":{"style":"form"},"registration_fee":{"style":"form"},"other_charges":{"style":"form"},"total_cost":{"style":"form"},"owner_details":{"style":"form","explode":true},"buyer_details":{"style":"form","explode":true},"registry_file_path":{"style":"form"},"registry_upload":{"style":"form"},"sale_deed_path":{"style":"form"},"sale_deed_upload":{"style":"form"},"encumbrance_certificate_path":{"style":"form"},"certificate_upload":{"style":"form"},"remarks":{"style":"form"}}}}}}},"\/api\/v1\/auth\/realestate\/registry-details\/{registry_detail}":{"get":{"tags":["RealEstate"],"summary":"GET RegistryDetailController::show","operationId":"registryDetail_show","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/RegistryDetail"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry_detail","in":"path","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["approvedBy","branch","landPurchase","organization"]},"nullable":true}}]},"put":{"tags":["RealEstate"],"summary":"PUT RegistryDetailController::update","operationId":"registryDetail_update","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/RegistryDetail"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry_detail","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"registry_number":{"type":"string"},"registry_date":{"type":"string","format":"date"},"registration_date":{"type":"string","format":"date"},"property_description":{"type":"string"},"survey_number":{"type":"string"},"khata_number":{"type":"string"},"mutation_number":{"type":"string"},"sub_register_office":{"type":"string"},"district":{"type":"string"},"state":{"type":"string"},"registry_value":{"type":"number"},"stamp_duty":{"type":"number"},"registration_fee":{"type":"number"},"other_charges":{"type":"number"},"total_cost":{"type":"number"},"owner_details":{"type":"array","items":{"type":"string"}},"buyer_details":{"type":"array","items":{"type":"string"}},"registry_file_path":{"type":"string"},"registry_upload":{"type":"file","nullable":true,"format":"binary"},"sale_deed_path":{"type":"string"},"sale_deed_upload":{"type":"file","nullable":true,"format":"binary"},"encumbrance_certificate_path":{"type":"string"},"certificate_upload":{"type":"file","nullable":true,"format":"binary"},"remarks":{"type":"string"}},"required":[]},"encoding":{"registry_number":{"style":"form"},"registry_date":{"style":"form"},"registration_date":{"style":"form"},"property_description":{"style":"form"},"survey_number":{"style":"form"},"khata_number":{"style":"form"},"mutation_number":{"style":"form"},"sub_register_office":{"style":"form"},"district":{"style":"form"},"state":{"style":"form"},"registry_value":{"style":"form"},"stamp_duty":{"style":"form"},"registration_fee":{"style":"form"},"other_charges":{"style":"form"},"total_cost":{"style":"form"},"owner_details":{"style":"form","explode":true},"buyer_details":{"style":"form","explode":true},"registry_file_path":{"style":"form"},"registry_upload":{"style":"form"},"sale_deed_path":{"style":"form"},"sale_deed_upload":{"style":"form"},"encumbrance_certificate_path":{"style":"form"},"certificate_upload":{"style":"form"},"remarks":{"style":"form"}}}}}},"delete":{"tags":["RealEstate"],"summary":"DELETE RegistryDetailController::destroy","operationId":"registryDetail_destroy","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}},{"type":"null"}]},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry_detail","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/booking\/bookings\/{booking}\/approve":{"post":{"tags":["Booking"],"summary":"POST BookingController::approve","operationId":"booking_approve","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Booking"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/booking\/bookings\/{booking}\/cancel":{"post":{"tags":["Booking"],"summary":"POST BookingController::cancel","operationId":"booking_cancel","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Booking"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"booking","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"reason":{"type":"string"}},"required":[]}}}}}},"\/api\/v1\/auth\/booking\/registries\/{registry}\/start":{"post":{"tags":["Booking"],"summary":"POST RegistryController::start","operationId":"registry_start","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Registry"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/booking\/registries\/{registry}\/reject":{"post":{"tags":["Booking"],"summary":"POST RegistryController::reject","operationId":"registry_reject","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Registry"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","nullable":true,"maxLength":2000}},"required":[]}}}}}},"\/api\/v1\/auth\/crm\/leads\/{lead}\/assign":{"post":{"tags":["CRM"],"summary":"POST LeadController::assign","operationId":"lead_assign","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Lead"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"},"reason":{"type":"string","nullable":true,"maxLength":1000}},"required":["user_id"]}}}}}},"\/api\/v1\/auth\/crm\/leads\/{lead}\/convert":{"post":{"tags":["CRM"],"summary":"POST LeadController::convert","operationId":"lead_convert","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Lead"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"booking_id":{"type":"integer"},"notes":{"type":"string","nullable":true,"maxLength":1000}},"required":["booking_id"]}}}}}},"\/api\/v1\/auth\/crm\/lead-followups\/{lead_followup}\/complete":{"post":{"tags":["CRM"],"summary":"POST LeadFollowupController::complete","operationId":"leadFollowup_complete","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadFollowup"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_followup","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"response":{"type":"string","nullable":true}},"required":[]}}}}}},"\/api\/v1\/auth\/crm\/lead-followups\/{lead_followup}\/cancel":{"post":{"tags":["CRM"],"summary":"POST LeadFollowupController::cancel","operationId":"leadFollowup_cancel","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadFollowup"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_followup","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","nullable":true}},"required":[]}}}}}},"\/api\/v1\/auth\/crm\/lead-followups\/{lead_followup}\/reschedule":{"post":{"tags":["CRM"],"summary":"POST LeadFollowupController::reschedule","operationId":"leadFollowup_reschedule","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LeadFollowup"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"lead_followup","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"date":{"type":"string","format":"date"},"reason":{"type":"string","nullable":true}},"required":["date"]}}}}}},"\/api\/v1\/auth\/hrms\/leaves\/{leave}\/approve":{"post":{"tags":["HRMS"],"summary":"POST LeaveController::approve","operationId":"leave_approve","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Leave"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"leave","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/leaves\/{leave}\/reject":{"post":{"tags":["HRMS"],"summary":"POST LeaveController::reject","operationId":"leave_reject","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Leave"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"leave","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"rejection_reason":{"type":"string"}},"required":[]}}}}}},"\/api\/v1\/auth\/hrms\/employee-transfers\/{employee_transfer}\/approve":{"post":{"tags":["HRMS"],"summary":"POST EmployeeTransferController::approve","operationId":"employeeTransfer_approve","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeeTransfer"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_transfer","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/hrms\/employee-promotions\/{employee_promotion}\/approve":{"post":{"tags":["HRMS"],"summary":"POST EmployeePromotionController::approve","operationId":"employeePromotion_approve","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/EmployeePromotion"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"employee_promotion","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payroll\/payrolls\/{payroll}\/process":{"post":{"tags":["Payroll"],"summary":"POST PayrollController::process","operationId":"payroll_process","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payroll"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payroll","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payroll\/payrolls\/{payroll}\/mark-paid":{"post":{"tags":["Payroll"],"summary":"POST PayrollController::markPaid","operationId":"payroll_markPaid","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payroll"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payroll","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payroll\/payrolls\/{payroll}\/approve":{"post":{"tags":["Payroll"],"summary":"POST PayrollController::approve","operationId":"payroll_approve","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payroll"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payroll","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/file-management\/document-verifications\/{document_verification}\/verify":{"post":{"tags":["File"],"summary":"POST DocumentVerificationController::verify","operationId":"documentVerification_verify","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/DocumentVerification"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document_verification","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/file-management\/document-verifications\/{document_verification}\/reject":{"post":{"tags":["File"],"summary":"POST DocumentVerificationController::reject","operationId":"documentVerification_reject","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/DocumentVerification"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"document_verification","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"reason":{"type":"string"}},"required":[]}}}}}},"\/api\/v1\/auth\/realestate\/land-purchases\/{land_purchase}\/approve":{"post":{"tags":["RealEstate"],"summary":"POST LandPurchaseController::approve","operationId":"landPurchase_approve","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/LandPurchase"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"land_purchase","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/registry-details\/{registry_detail}\/start":{"post":{"tags":["RealEstate"],"summary":"POST RegistryDetailController::start","operationId":"registryDetail_start","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/RegistryDetail"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry_detail","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/realestate\/registry-details\/{registry_detail}\/reject":{"post":{"tags":["RealEstate"],"summary":"POST RegistryDetailController::reject","operationId":"registryDetail_reject","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/RegistryDetail"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry_detail","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","nullable":true,"maxLength":2000}},"required":[]}}}}}},"\/api\/v1\/auth\/realestate\/registry-details\/{registry_detail}\/complete":{"post":{"tags":["RealEstate"],"summary":"POST RegistryDetailController::complete","operationId":"registryDetail_complete","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/RegistryDetail"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"registry_detail","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payment\/payments\/{payment}\/confirm":{"post":{"tags":["Payment"],"summary":"POST PaymentController::confirm","operationId":"payment_confirm","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/auth\/payment\/payments\/{payment}\/emi-schedule":{"post":{"tags":["Payment"],"summary":"POST PaymentController::createEmiSchedule","operationId":"payment_createEmiSchedule","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/EmiInstallment"}},"meta":{"$ref":"#\/components\/schemas\/PaginatedResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"emi_plan_id":{"type":"integer"},"financed_amount":{"type":"number"},"start_date":{"type":"string","format":"date"}},"required":["emi_plan_id","financed_amount","start_date"]}}}}}},"\/api\/v1\/auth\/payment\/payments\/{payment}\/refund":{"post":{"tags":["Payment"],"summary":"POST PaymentController::refund","operationId":"payment_refund","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/Payment"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"amount":{"type":"number","nullable":true,"format":"decimal"},"reason":{"type":"string","nullable":true,"maxLength":1000},"idempotency_key":{"type":"string","maxLength":100}},"required":["idempotency_key"]}}}}}},"\/api\/v1\/auth\/payment\/payments\/{payment}\/reconcile":{"post":{"tags":["Payment"],"summary":"POST PaymentController::reconcile","operationId":"payment_reconcile","responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":"Success"},"data":{"$ref":"#\/components\/schemas\/PaymentReconciliation"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","data","meta"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed."},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["success","message","error_code","errors"]}}}},"404":{"description":"Not Found","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Not Found"},"error_code":{"type":"string","example":"NOT_FOUND"}},"required":["success","message","error_code"]}}}},"500":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Internal Server Error"},"data":{"oneOf":[{"type":"object"},{"type":"null"}],"example":null},"error_code":{"type":"string","example":"SERVER_ERROR"}},"required":["success","message","data","error_code"]}}}}},"parameters":[{"name":"payment","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"bank_name":{"type":"string","maxLength":100},"account_number":{"type":"string","maxLength":50},"transaction_reference":{"type":"string","nullable":true,"maxLength":100},"transaction_date":{"type":"string","format":"date"},"bank_amount":{"type":"number","minimum":0},"difference_reason":{"type":"string","nullable":true},"remarks":{"type":"string","nullable":true}},"required":["bank_name","account_number","transaction_date","bank_amount"]}}}}}}},"components":{"schemas":{"AccessContext":{"type":"object","properties":{"type":{"type":"string"},"scope":{"type":"string"},"data_visibility":{"type":"string"},"tenant_id":{"type":"integer","nullable":true},"organization_id":{"type":"integer","nullable":true},"reseller_id":{"type":"integer","nullable":true},"branch_id":{"type":"string"},"enabled_modules":{"type":"string"},"active_permissions":{"type":"string"},"effective_limits":{"type":"string"},"usage":{"type":"string"},"roles":{"type":"string"},"is_active":{"type":"string"},"is_primary_user":{"type":"string"},"can_switch_scope":{"type":"boolean"},"is_subscription_valid":{"type":"string"},"is_on_trial":{"type":"string"},"is_expired":{"type":"string"}},"required":[]},"AuthPermission":{"type":"object","properties":{"permission_map":{"type":"string"},"module_map":{"type":"string"},"roles":{"type":"string"},"context_type":{"type":"string"},"scope":{"type":"string"},"data_visibility":{"type":"string"},"is_super_admin":{"type":"boolean"},"is_primary_user":{"type":"string"}},"required":[]},"AuthSession":{"type":"object","properties":{"device_id":{"type":"string"},"access_token":{"type":"string"},"refresh_token":{"type":"string"}},"required":[]},"Enum":{"type":"object","properties":{"bg_color":{"type":"null"},"text_color":{"type":"null"}},"required":[]},"MyOrganization":{"type":"object","properties":{"membership_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"membership_type":{"$ref":"#\/components\/schemas\/Enum"},"status":{"type":"string"}},"required":[]},"Permission":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"group":{"type":"string","nullable":true},"module":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"is_system":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]},"Role":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string","nullable":true},"parent_role_id":{"type":"integer","nullable":true},"scope":{"$ref":"#\/components\/schemas\/Enum"},"data_visibility":{"$ref":"#\/components\/schemas\/Enum"},"is_system":{"type":"boolean"},"is_active":{"type":"boolean"},"parent":{"type":"object"},"children":{"type":"array","items":{"type":"object"}},"permissions":{"type":"array","items":{"$ref":"#\/components\/schemas\/Permission"}}},"required":[]},"SendOtp":{"type":"object","properties":{"expires_in":{"type":"integer"},"remaining_attempts":{"type":"integer"},"can_resend_after_seconds":{"type":"integer"}},"required":[]},"UserDevice":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"user_id":{"type":"integer"},"device_id":{"type":"string"},"device_name":{"type":"string","nullable":true},"device_type":{"$ref":"#\/components\/schemas\/Enum"},"ip_address":{"type":"string","nullable":true},"user_agent":{"type":"string","nullable":true},"is_revoked":{"type":"boolean"},"is_active":{"type":"boolean"}},"required":[]},"Reseller":{"type":"object","properties":{"business_name":{"type":"string","nullable":true},"domain":{"type":"string","nullable":true},"gst_number":{"type":"string","nullable":true},"pan_number":{"type":"string","nullable":true},"package_id":{"type":"integer","nullable":true},"package":{"type":"object"},"user":{"type":"object"},"status":{"$ref":"#\/components\/schemas\/Enum"},"subscription_status":{"type":"string"},"auto_renew":{"type":"boolean"},"verified_by":{"type":"integer","nullable":true},"verified_by_user":{"type":"object"},"organizations":{"type":"array","items":{"type":"object"}},"packages":{"type":"array","items":{"type":"object"}},"users":{"type":"array","items":{"type":"object"}}},"required":[]},"Branch":{"type":"object","properties":{"organization_id":{"type":"integer"},"city_id":{"type":"integer","nullable":true},"manager_id":{"type":"integer","nullable":true},"created_by":{"type":"integer","nullable":true},"updated_by":{"type":"integer","nullable":true},"name":{"type":"string"},"code":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"mobile":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"postal_code":{"type":"string","nullable":true},"latitude":{"type":"number","nullable":true},"longitude":{"type":"number","nullable":true},"opening_time":{"type":"string","nullable":true},"closing_time":{"type":"string","nullable":true},"status":{"$ref":"#\/components\/schemas\/Enum"},"organization":{"type":"object"},"city":{"type":"object"},"manager":{"type":"object"},"users":{"type":"array","items":{"type":"object"}},"employees":{"type":"array","items":{"type":"object"}}},"required":[]},"OrganizationUsage":{"type":"object","properties":{"organization_id":{"type":"string"},"users_count":{"type":"string"},"branches_count":{"type":"string"},"leads_count":{"type":"string"},"bookings_count":{"type":"string"},"properties_count":{"type":"string"},"storage_used_bytes":{"type":"string"}},"required":[]},"City":{"type":"object","properties":{"state_id":{"type":"string"},"name":{"type":"string"},"is_active":{"type":"string"},"state":{"type":"object"}},"required":[]},"Package":{"type":"object","properties":{"name":{"type":"string"},"plan_type":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string","nullable":true},"price":{"type":"string","nullable":true},"currency":{"type":"string"},"is_active":{"type":"boolean"},"trial_days":{"type":"integer"},"sort_order":{"type":"integer"},"reseller_id":{"type":"integer","nullable":true},"modules":{"type":"array","items":{"type":"object"}}},"required":[]},"SubscriptionHistory":{"type":"object","properties":{"subscription_number":{"type":"string"},"currency":{"type":"string"},"organization_id":{"type":"string"},"package_id":{"type":"string"},"event":{"type":"string"},"payment_method":{"type":"string"},"transaction_id":{"type":"string"},"amount":{"type":"string"},"remarks":{"type":"string"},"duration_months":{"type":"string"},"details":{"type":"string"},"created_by_user":{"type":"object"},"organization":{"type":"object"},"package":{"$ref":"#\/components\/schemas\/Package"}},"required":[]},"Organization":{"type":"object","properties":{"organization_name":{"type":"string"},"reseller_id":{"type":"integer","nullable":true},"domain":{"type":"string","nullable":true},"slug":{"type":"string"},"email":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"mobile":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"city_id":{"type":"integer","nullable":true},"postal_code":{"type":"string","nullable":true},"gst_number":{"type":"string","nullable":true},"pan_number":{"type":"string","nullable":true},"status":{"$ref":"#\/components\/schemas\/Enum"},"package_id":{"type":"integer","nullable":true},"subscription_status":{"$ref":"#\/components\/schemas\/Enum"},"auto_renew":{"type":"boolean"},"is_verified":{"type":"boolean"},"created_by":{"type":"integer","nullable":true},"updated_by":{"type":"integer","nullable":true},"verified_by":{"type":"integer","nullable":true},"reseller":{"$ref":"#\/components\/schemas\/Reseller"},"users":{"type":"array","items":{"type":"object"}},"branches":{"type":"array","items":{"$ref":"#\/components\/schemas\/Branch"}},"usage":{"$ref":"#\/components\/schemas\/OrganizationUsage"},"city":{"$ref":"#\/components\/schemas\/City"},"package":{"$ref":"#\/components\/schemas\/Package"},"subscription_history":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionHistory"}}},"required":[]},"Department":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"manager_id":{"type":"string"},"is_active":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"manager":{"type":"object"},"employees":{"type":"array","items":{"type":"object"}}},"required":[]},"Designation":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"level":{"type":"string"},"is_active":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"}},"required":[]},"EmployeeDocument":{"type":"object","properties":{"employee_id":{"type":"string"},"organization_id":{"type":"string"},"file_id":{"type":"string"},"document_type_id":{"type":"string"},"document_name":{"type":"string"},"document_number":{"type":"string"},"description":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"rejection_reason":{"type":"string"},"document_type":{"type":"object"},"verified_by":{"type":"object"}},"required":[]},"Attendance":{"type":"object","properties":{"employee_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"check_in_latitude":{"type":"string"},"check_in_longitude":{"type":"string"},"check_in_ip":{"type":"string"},"check_out_latitude":{"type":"string"},"check_out_longitude":{"type":"string"},"check_out_ip":{"type":"string"},"late_minutes":{"type":"string"},"employee":{"type":"object"},"branch":{"$ref":"#\/components\/schemas\/Branch"}},"required":[]},"Leave":{"type":"object","properties":{"employee_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"leave_type_id":{"type":"string"},"days":{"type":"string"},"reason":{"type":"string"},"remarks":{"type":"string"},"half_day_type":{"$ref":"#\/components\/schemas\/Enum"},"applied_by":{"type":"string"},"approved_by":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"rejection_reason":{"type":"string"},"is_attendance_marked":{"type":"string"},"employee":{"type":"object"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"leave_type":{"type":"object"},"applied_by_user":{"type":"object"},"approved_by_user":{"type":"object"}},"required":[]},"Employee":{"type":"object","properties":{"user_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"employee_code":{"type":"string"},"employee_id":{"type":"string"},"department_id":{"type":"string"},"designation_id":{"type":"string"},"reporting_manager_id":{"type":"string"},"employment_type":{"$ref":"#\/components\/schemas\/Enum"},"work_type":{"$ref":"#\/components\/schemas\/Enum"},"basic_salary":{"type":"string"},"gross_salary":{"type":"string"},"salary_currency":{"type":"string"},"bank_name":{"type":"string"},"bank_account_number":{"type":"string"},"ifsc_code":{"type":"string"},"pan_number":{"type":"string"},"uan_number":{"type":"string"},"esi_number":{"type":"string"},"emergency_contact_name":{"type":"string"},"emergency_contact_relation":{"type":"string"},"emergency_contact_mobile":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"user":{"type":"object"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"department":{"$ref":"#\/components\/schemas\/Department"},"designation":{"$ref":"#\/components\/schemas\/Designation"},"reporting_manager":{"type":"object"},"documents":{"type":"array","items":{"$ref":"#\/components\/schemas\/EmployeeDocument"}},"attendances":{"type":"array","items":{"$ref":"#\/components\/schemas\/Attendance"}},"leaves":{"type":"array","items":{"$ref":"#\/components\/schemas\/Leave"}}},"required":[]},"MlmRank":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"level":{"type":"string"},"min_personal_bv":{"type":"string"},"min_team_bv":{"type":"string"},"min_direct_count":{"type":"string"},"min_team_count":{"type":"string"},"direct_commission_rate":{"type":"string"},"binary_commission_rate":{"type":"string"},"matching_commission_rate":{"type":"string"},"level_commission_rate":{"type":"string"},"benefits":{"type":"string"},"is_active":{"type":"string"},"is_default":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"}},"required":[]},"MlmAgent":{"type":"object","properties":{"user_id":{"type":"string"},"membership_id":{"type":"string"},"organization_id":{"type":"string"},"network_id":{"type":"string"},"branch_id":{"type":"string"},"agent_code":{"type":"string"},"sponsor_id":{"type":"string"},"placement_id":{"type":"string"},"placement_position":{"type":"string"},"sponsor_type":{"$ref":"#\/components\/schemas\/Enum"},"current_rank_id":{"type":"string"},"total_bv":{"type":"string"},"personal_bv":{"type":"string"},"team_bv":{"type":"string"},"left_bv":{"type":"string"},"right_bv":{"type":"string"},"left_count":{"type":"string"},"right_count":{"type":"string"},"total_commission_earned":{"type":"string"},"pending_commission":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"is_kyc_verified":{"type":"string"},"user":{"type":"object"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"current_rank":{"$ref":"#\/components\/schemas\/MlmRank"},"sponsor":{"type":"object"},"placement":{"type":"object"}},"required":[]},"OrganizationMembership":{"type":"object","properties":{"user_id":{"type":"integer"},"organization_id":{"type":"integer"},"branch_id":{"type":"integer","nullable":true},"membership_type":{"type":"string"},"status":{"type":"string"},"metadata":{"type":"string"},"user":{"type":"object"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"}},"required":[]},"User":{"type":"object","properties":{"organization_id":{"type":"integer","nullable":true},"branch_id":{"type":"integer","nullable":true},"reseller_id":{"type":"integer","nullable":true},"manager_id":{"type":"integer","nullable":true},"sponsor_id":{"type":"integer","nullable":true},"first_name":{"type":"string"},"last_name":{"type":"string","nullable":true},"full_name":{"type":"string"},"email":{"type":"string"},"mobile":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"is_primary_user":{"type":"boolean"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"reseller":{"$ref":"#\/components\/schemas\/Reseller"},"employee":{"$ref":"#\/components\/schemas\/Employee"},"agents":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmAgent"}},"organization_memberships":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrganizationMembership"}},"roles":{"type":"array","items":{"$ref":"#\/components\/schemas\/Role"}}},"required":[]},"VerifyOtp":{"type":"object","properties":{"user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"Project":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"project_type_id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"string"},"postal_code":{"type":"string"},"latitude":{"type":"string"},"longitude":{"type":"string"},"total_area":{"type":"string"},"area_unit_id":{"type":"string"},"total_plots":{"type":"string"},"total_properties":{"type":"string"},"min_price":{"type":"string"},"max_price":{"type":"string"},"price_per_unit":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"amenities":{"type":"string"},"features":{"type":"string"},"cover_image":{"type":"string"},"gallery_images":{"type":"string"},"brochure_path":{"type":"string"},"is_approved":{"type":"string"},"approved_by":{"type":"string"},"is_active":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"project_type":{"type":"object"},"city":{"$ref":"#\/components\/schemas\/City"},"area_unit":{"type":"object"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"},"phases":{"type":"array","items":{"type":"object"}},"milestones":{"type":"array","items":{"type":"object"}},"properties":{"type":"array","items":{"type":"object"}},"plots":{"type":"array","items":{"type":"object"}}},"required":[]},"Property":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"project_id":{"type":"string"},"phase_id":{"type":"string"},"property_category_id":{"type":"string"},"property_type_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"area":{"type":"string"},"area_unit_id":{"type":"string"},"length":{"type":"string"},"width":{"type":"string"},"height":{"type":"string"},"block":{"type":"string"},"floor":{"type":"string"},"unit_number":{"type":"string"},"price":{"type":"string"},"price_per_unit":{"type":"string"},"booking_amount":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"features":{"type":"string"},"specifications":{"type":"string"},"cover_image":{"type":"string"},"gallery_images":{"type":"string"},"is_active":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"project":{"$ref":"#\/components\/schemas\/Project"},"phase":{"type":"object"},"category":{"type":"object"},"type":{"type":"object"},"area_unit":{"type":"object"},"specification_list":{"type":"array","items":{"type":"object"}},"plots":{"type":"array","items":{"type":"object"}}},"required":[]},"Plot":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"project_id":{"type":"string"},"phase_id":{"type":"string"},"property_id":{"type":"string"},"plot_type_id":{"type":"string"},"plot_number":{"type":"string"},"block":{"type":"string"},"subdivision":{"type":"string"},"description":{"type":"string"},"area":{"type":"string"},"area_unit_id":{"type":"string"},"length":{"type":"string"},"width":{"type":"string"},"front_facing":{"type":"string"},"corner":{"type":"string"},"price":{"type":"string"},"price_per_unit":{"type":"string"},"booking_amount":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"dimensions":{"type":"string"},"is_active":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"project":{"$ref":"#\/components\/schemas\/Project"},"phase":{"type":"object"},"property":{"$ref":"#\/components\/schemas\/Property"},"plot_type":{"type":"object"},"area_unit":{"type":"object"},"availability_history":{"type":"array","items":{"type":"object"}}},"required":[]},"Unit":{"type":"object","properties":{"organization_id":{"type":"string"},"unit_type_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"symbol":{"type":"string"},"conversion_factor":{"type":"string"},"is_default":{"type":"string"},"is_active":{"type":"string"},"unit_type":{"type":"object"}},"required":[]},"Lead":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"project_id":{"type":"string"},"property_id":{"type":"string"},"plot_id":{"type":"string"},"lead_number":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"mobile":{"type":"string"},"alternate_mobile":{"type":"string"},"whatsapp_number":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"string"},"postal_code":{"type":"string"},"lead_source_id":{"type":"string"},"campaign_id":{"type":"string"},"source_detail":{"type":"string"},"lead_status_id":{"type":"string"},"budget_min":{"type":"string"},"budget_max":{"type":"string"},"budget_range":{"type":"string"},"requirement":{"type":"string"},"preferences":{"type":"string"},"priority":{"$ref":"#\/components\/schemas\/Enum"},"lead_score":{"type":"string"},"assigned_to":{"type":"string"},"converted_to_booking_id":{"type":"string"},"conversion_notes":{"type":"string"},"remarks":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"project":{"$ref":"#\/components\/schemas\/Project"},"property":{"$ref":"#\/components\/schemas\/Property"},"plot":{"$ref":"#\/components\/schemas\/Plot"},"city":{"$ref":"#\/components\/schemas\/City"},"lead_source":{"type":"object"},"lead_status":{"type":"object"},"assigned_to_user":{"$ref":"#\/components\/schemas\/User"},"converted_to_booking":{"type":"object"},"assignments":{"type":"array","items":{"type":"object"}},"followups":{"type":"array","items":{"type":"object"}},"notes":{"type":"array","items":{"type":"object"}},"visits":{"type":"array","items":{"type":"object"}},"calls":{"type":"array","items":{"type":"object"}}},"required":[]},"BookingDocument":{"type":"object","properties":{"booking_id":{"type":"string"},"organization_id":{"type":"string"},"document_type_id":{"type":"string"},"document_name":{"type":"string"},"document_number":{"type":"string"},"description":{"type":"string"},"has_file":{"type":"boolean"},"download_url":{"type":"null"},"file_name":{"type":"string"},"mime_type":{"type":"string"},"file_size":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"rejection_reason":{"type":"string"},"uploaded_by":{"type":"string"},"verified_by":{"type":"string"},"booking":{"type":"object"},"document_type":{"type":"object"},"uploaded_by_user":{"$ref":"#\/components\/schemas\/User"},"verified_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"Payment":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"paymentable_type":{"type":"string"},"paymentable_id":{"type":"string"},"payment_number":{"type":"string"},"amount":{"type":"string"},"tax_amount":{"type":"string"},"total_amount":{"type":"string"},"payment_type":{"$ref":"#\/components\/schemas\/Enum"},"payment_mode_id":{"type":"string"},"mode_type":{"$ref":"#\/components\/schemas\/Enum"},"payment_gateway_id":{"type":"string"},"transaction_id":{"type":"string"},"gateway_order_id":{"type":"string"},"gateway_payment_id":{"type":"string"},"cheque_number":{"type":"string"},"cheque_bank":{"type":"string"},"bank_name":{"type":"string"},"bank_account_number":{"type":"string"},"ifsc_code":{"type":"string"},"reference_number":{"type":"string"},"upi_id":{"type":"string"},"upi_transaction_id":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"failure_reason":{"type":"string"},"is_reconciled":{"type":"string"},"reconciled_by":{"type":"string"},"created_by":{"type":"string"},"approved_by":{"type":"string"},"remarks":{"type":"string"},"payment_mode":{"type":"object"},"payment_gateway":{"type":"object"},"emi_installments":{"type":"array","items":{"type":"object"}},"reconciled_by_user":{"$ref":"#\/components\/schemas\/User"},"created_by_user":{"$ref":"#\/components\/schemas\/User"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"BookingStatusHistory":{"type":"object","properties":{"booking_id":{"type":"string"},"organization_id":{"type":"string"},"from_status":{"$ref":"#\/components\/schemas\/Enum"},"to_status":{"$ref":"#\/components\/schemas\/Enum"},"remarks":{"type":"string"},"changed_by":{"type":"string"},"booking":{"type":"object"},"changed_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"Registry":{"type":"object","properties":{"booking_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"registry_number":{"type":"string"},"property_description":{"type":"string"},"survey_number":{"type":"string"},"khata_number":{"type":"string"},"mutation_number":{"type":"string"},"sub_register_office":{"type":"string"},"district":{"type":"string"},"state":{"type":"string"},"registry_value":{"type":"string"},"stamp_duty":{"type":"string"},"registration_fee":{"type":"string"},"other_charges":{"type":"string"},"total_cost":{"type":"string"},"buyer_details":{"type":"string"},"registry_download_url":{"type":"null"},"sale_deed_download_url":{"type":"null"},"encumbrance_certificate_download_url":{"type":"null"},"status":{"$ref":"#\/components\/schemas\/Enum"},"approved_by":{"type":"string"},"remarks":{"type":"string"},"booking":{"type":"object"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"BookingCommissionParticipant":{"type":"object","properties":{"booking_id":{"type":"string"},"organization_id":{"type":"string"},"user_id":{"type":"string"},"participant_type":{"type":"string"},"participant_name":{"type":"string"},"commission_basis":{"type":"string"},"rate":{"type":"string"},"fixed_amount":{"type":"string"},"earned_amount":{"type":"string"},"paid_amount":{"type":"string"},"status":{"type":"string"},"remarks":{"type":"string"},"user":{"$ref":"#\/components\/schemas\/User"},"transactions":{"type":"array","items":{"type":"object"}}},"required":[]},"Booking":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"project_id":{"type":"string"},"property_id":{"type":"string"},"plot_id":{"type":"string"},"booking_number":{"type":"string"},"primary_buyer_name":{"type":"string"},"primary_buyer_mobile":{"type":"string"},"primary_buyer_email":{"type":"string"},"total_area":{"type":"string"},"area_unit_id":{"type":"string"},"basic_price":{"type":"string"},"total_price":{"type":"string"},"discount":{"type":"string"},"net_price":{"type":"string"},"booking_amount":{"type":"string"},"paid_amount":{"type":"string"},"balance_amount":{"type":"string"},"payment_plan":{"type":"string"},"emi_months":{"type":"string"},"emi_amount":{"type":"string"},"lead_id":{"type":"string"},"telecaller_id":{"type":"string"},"agent_id":{"type":"string"},"visitor_id":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"registry_status":{"$ref":"#\/components\/schemas\/Enum"},"is_approved":{"type":"string"},"approved_by":{"type":"string"},"cancelled_by":{"type":"string"},"cancellation_reason":{"type":"string"},"remarks":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"project":{"$ref":"#\/components\/schemas\/Project"},"property":{"$ref":"#\/components\/schemas\/Property"},"plot":{"$ref":"#\/components\/schemas\/Plot"},"area_unit":{"$ref":"#\/components\/schemas\/Unit"},"lead":{"$ref":"#\/components\/schemas\/Lead"},"telecaller":{"$ref":"#\/components\/schemas\/User"},"agent":{"$ref":"#\/components\/schemas\/User"},"visitor":{"$ref":"#\/components\/schemas\/User"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"},"cancelled_by_user":{"$ref":"#\/components\/schemas\/User"},"buyers":{"type":"array","items":{"type":"object"}},"documents":{"type":"array","items":{"$ref":"#\/components\/schemas\/BookingDocument"}},"payments":{"type":"array","items":{"$ref":"#\/components\/schemas\/Payment"}},"status_history":{"type":"array","items":{"$ref":"#\/components\/schemas\/BookingStatusHistory"}},"registry":{"$ref":"#\/components\/schemas\/Registry"},"commission_participants":{"type":"array","items":{"$ref":"#\/components\/schemas\/BookingCommissionParticipant"}}},"required":[]},"BookingBuyer":{"type":"object","properties":{"booking_id":{"type":"string"},"organization_id":{"type":"string"},"user_id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"mobile":{"type":"string"},"alternate_mobile":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"string"},"postal_code":{"type":"string"},"aadhar_number":{"type":"string"},"pan_number":{"type":"string"},"passport_number":{"type":"string"},"relationship":{"$ref":"#\/components\/schemas\/Enum"},"ownership_percentage":{"type":"string"},"has_aadhar_file":{"type":"boolean"},"aadhar_download_url":{"type":"null"},"has_pan_file":{"type":"boolean"},"pan_download_url":{"type":"null"},"has_photo":{"type":"boolean"},"photo_download_url":{"type":"null"},"is_primary":{"type":"string"},"is_active":{"type":"string"},"booking":{"$ref":"#\/components\/schemas\/Booking"},"user":{"$ref":"#\/components\/schemas\/User"},"city":{"$ref":"#\/components\/schemas\/City"}},"required":[]},"BookingCommissionTransaction":{"type":"object","properties":{"booking_id":{"type":"string"},"participant_id":{"type":"string"},"payment_id":{"type":"string"},"eligible_amount":{"type":"string"},"commission_amount":{"type":"string"},"reversed_amount":{"type":"string"},"basis":{"type":"string"},"status":{"type":"string"},"remarks":{"type":"string"}},"required":[]},"CallRecording":{"type":"object","properties":{"organization_id":{"type":"string"},"call_id":{"type":"string"},"has_recording":{"type":"boolean"},"recording_download_url":{"type":"null"},"file_name":{"type":"string"},"mime_type":{"type":"string"},"file_size":{"type":"string"},"duration_seconds":{"type":"string"},"transcription":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"}},"required":[]},"Call":{"type":"object","properties":{"lead_id":{"type":"string"},"organization_id":{"type":"string"},"user_id":{"type":"string"},"call_time":{"type":"string"},"duration_seconds":{"type":"string"},"duration_formatted":{"type":"string"},"call_type":{"$ref":"#\/components\/schemas\/Enum"},"call_mode":{"$ref":"#\/components\/schemas\/Enum"},"purpose":{"type":"string"},"discussion":{"type":"string"},"followup_notes":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"outcome":{"$ref":"#\/components\/schemas\/Enum"},"recording_id":{"type":"string"},"lead":{"$ref":"#\/components\/schemas\/Lead"},"user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"Campaign":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"channel":{"type":"string"},"description":{"type":"string"},"budget":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"LeadAssignment":{"type":"object","properties":{"lead_id":{"type":"string"},"organization_id":{"type":"string"},"assigned_from":{"type":"string"},"assigned_to":{"type":"string"},"reason":{"type":"string"},"lead":{"$ref":"#\/components\/schemas\/Lead"},"assigned_from_user":{"$ref":"#\/components\/schemas\/User"},"assigned_to_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"LeadConversion":{"type":"object","properties":{"lead_id":{"type":"string"},"organization_id":{"type":"string"},"booking_id":{"type":"string"},"conversion_value":{"type":"string"},"notes":{"type":"string"},"converted_by":{"type":"string"},"lead":{"$ref":"#\/components\/schemas\/Lead"},"booking":{"$ref":"#\/components\/schemas\/Booking"},"converted_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"LeadFollowup":{"type":"object","properties":{"lead_id":{"type":"string"},"organization_id":{"type":"string"},"user_id":{"type":"string"},"followup_time":{"type":"string"},"followup_type":{"$ref":"#\/components\/schemas\/Enum"},"notes":{"type":"string"},"response":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"reschedule_reason":{"type":"string"},"lead":{"$ref":"#\/components\/schemas\/Lead"},"user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"LeadImport":{"type":"object","properties":{"file_name":{"type":"string"},"status":{"type":"string"},"duplicate_strategy":{"type":"string"},"sample_rows":{"type":"array"},"total_rows":{"type":"string"},"valid_rows":{"type":"string"},"duplicate_rows":{"type":"string"},"failed_rows":{"type":"string"},"processed_rows":{"type":"string"}},"required":[]},"LeadNote":{"type":"object","properties":{"lead_id":{"type":"string"},"organization_id":{"type":"string"},"user_id":{"type":"string"},"note":{"type":"string"},"note_type":{"$ref":"#\/components\/schemas\/Enum"},"is_private":{"type":"string"},"lead":{"$ref":"#\/components\/schemas\/Lead"},"user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"LeadRule":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"priority":{"$ref":"#\/components\/schemas\/Enum"},"conditions":{"type":"string"},"actions":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"LeadStatus":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"order":{"type":"string"},"category":{"$ref":"#\/components\/schemas\/Enum"},"is_closed":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"Visit":{"type":"object","properties":{"lead_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"project_id":{"type":"string"},"property_id":{"type":"string"},"plot_id":{"type":"string"},"visitor_id":{"type":"string"},"assigned_to":{"type":"string"},"visit_time":{"type":"string"},"check_in_latitude":{"type":"string"},"check_in_longitude":{"type":"string"},"check_out_latitude":{"type":"string"},"check_out_longitude":{"type":"string"},"purpose":{"type":"string"},"feedback":{"type":"string"},"remarks":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"outcome":{"$ref":"#\/components\/schemas\/Enum"},"lead":{"$ref":"#\/components\/schemas\/Lead"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"project":{"$ref":"#\/components\/schemas\/Project"},"property":{"$ref":"#\/components\/schemas\/Property"},"plot":{"$ref":"#\/components\/schemas\/Plot"},"visitor":{"$ref":"#\/components\/schemas\/User"},"assigned_to_user":{"$ref":"#\/components\/schemas\/User"},"photos":{"type":"array","items":{"type":"object"}}},"required":[]},"VisitPhoto":{"type":"object","properties":{"visit_id":{"type":"string"},"organization_id":{"type":"string"},"file_name":{"type":"string"},"file_url":{"type":"string"},"mime_type":{"type":"string"},"file_size":{"type":"string"},"latitude":{"type":"string"},"longitude":{"type":"string"},"caption":{"type":"string"},"uploaded_by":{"type":"string"},"visit":{"$ref":"#\/components\/schemas\/Visit"},"uploaded_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"BranchSetting":{"type":"object","properties":{"branch_id":{"type":"string"},"organization_id":{"type":"string"},"group":{"type":"string"},"key":{"type":"string"},"value":{"type":"string","nullable":true},"options":{"type":"string"},"type":{"type":"string"},"is_encrypted":{"type":"string"},"is_system":{"type":"string"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"organization":{"$ref":"#\/components\/schemas\/Organization"}},"required":[]},"Country":{"type":"object","properties":{"name":{"type":"string"},"iso_code_2":{"type":"string"},"iso_code_3":{"type":"string"},"phone_code":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"EntitlementOverride":{"type":"object","properties":{"reseller_id":{"type":"integer","nullable":true},"organization_id":{"type":"integer"},"metric":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"string"},"reason":{"type":"string"},"approved_by":{"type":"integer"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"reseller":{"$ref":"#\/components\/schemas\/Reseller"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"Module":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string","nullable":true},"scope":{"$ref":"#\/components\/schemas\/Enum"},"is_active":{"type":"boolean"},"sort_order":{"type":"integer"}},"required":[]},"OrganizationDomain":{"type":"object","properties":{"organization_id":{"type":"string"},"domain":{"type":"string"},"type":{"type":"string"},"is_primary":{"type":"string"},"is_verified":{"type":"string"},"verification_token":{"type":"string","nullable":true},"verified_at":{"type":"string"},"ssl_status":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"OrganizationSetting":{"type":"object","properties":{"organization_id":{"type":"string"},"group":{"type":"string"},"key":{"type":"string"},"value":{"type":"string","nullable":true},"options":{"type":"string"},"type":{"type":"string"},"is_encrypted":{"type":"string"},"is_system":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"}},"required":[]},"PackageModule":{"type":"object","properties":{"package_id":{"type":"integer"},"module_id":{"type":"integer"},"package":{"$ref":"#\/components\/schemas\/Package"},"module":{"$ref":"#\/components\/schemas\/Module"}},"required":[]},"PlatformSetting":{"type":"object","properties":{"group":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"options":{"type":"string"},"type":{"type":"string"},"is_encrypted":{"type":"string"},"is_system":{"type":"string"}},"required":[]},"ResellerBillingInvoice":{"type":"object","properties":{"id":{"type":"integer"}},"required":["id"]},"State":{"type":"object","properties":{"country_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"SystemLog":{"type":"object","properties":{"organization_id":{"type":"string"},"user_id":{"type":"string"},"level":{"type":"string"},"channel":{"type":"string"},"message":{"type":"string"},"context":{"type":"string"}},"required":[]},"Theme":{"type":"object","properties":{"features":{"type":"array"},"darkMode":{"type":"string"},"theme":{"type":"array"}},"required":[]},"FileVersion":{"type":"object","properties":{"file_id":{"type":"string"},"organization_id":{"type":"string"},"version_number":{"type":"string"},"file_name":{"type":"string"},"original_name":{"type":"string"},"file_url":{"type":"string"},"mime_type":{"type":"string"},"extension":{"type":"string"},"file_size":{"type":"string"},"file_size_formatted":{"type":"string"},"change_notes":{"type":"string"},"change_type":{"type":"string"},"created_by":{"type":"string"},"file":{"type":"object"},"created_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"File":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"fileable_type":{"type":"string"},"fileable_id":{"type":"string"},"file_name":{"type":"string"},"original_name":{"type":"string"},"mime_type":{"type":"string"},"extension":{"type":"string"},"file_size":{"type":"string"},"file_size_formatted":{"type":"string"},"file_category":{"type":"string"},"file_group":{"type":"string"},"thumbnail_url":{"type":"string"},"is_public":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"metadata":{"type":"string"},"uploaded_by":{"type":"string"},"uploaded_by_user":{"$ref":"#\/components\/schemas\/User"},"versions":{"type":"array","items":{"$ref":"#\/components\/schemas\/FileVersion"}},"document":{"type":"object"}},"required":[]},"DocumentType":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"category":{"$ref":"#\/components\/schemas\/Enum"},"is_mandatory":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"DocumentVerification":{"type":"object","properties":{"document_id":{"type":"string"},"organization_id":{"type":"string"},"verification_type":{"$ref":"#\/components\/schemas\/Enum"},"status":{"$ref":"#\/components\/schemas\/Enum"},"verified_by":{"type":"string"},"rejection_reason":{"type":"string"},"comments":{"type":"string"},"third_party_service":{"type":"string"},"third_party_reference":{"type":"string"},"third_party_response":{"type":"string"},"requested_by":{"type":"string"},"document":{"type":"object"},"verified_by_user":{"$ref":"#\/components\/schemas\/User"},"requested_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"Document":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"file_id":{"type":"string"},"document_type_id":{"type":"string"},"documentable_type":{"type":"string"},"documentable_id":{"type":"string"},"document_number":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"is_verified":{"type":"string"},"verified_by":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"},"metadata":{"type":"string"},"file":{"$ref":"#\/components\/schemas\/File"},"document_type":{"$ref":"#\/components\/schemas\/DocumentType"},"verified_by_user":{"$ref":"#\/components\/schemas\/User"},"created_by_user":{"$ref":"#\/components\/schemas\/User"},"updated_by_user":{"$ref":"#\/components\/schemas\/User"},"verifications":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentVerification"}}},"required":[]},"EmployeePromotion":{"type":"object","properties":{"employee_id":{"type":"string"},"organization_id":{"type":"string"},"from_designation_id":{"type":"string"},"from_salary":{"type":"string"},"to_designation_id":{"type":"string"},"to_salary":{"type":"string"},"salary_increment_percentage":{"type":"string"},"reason":{"type":"string"},"approved_by":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"rejection_reason":{"type":"string"},"employee":{"$ref":"#\/components\/schemas\/Employee"},"from_designation":{"$ref":"#\/components\/schemas\/Designation"},"to_designation":{"$ref":"#\/components\/schemas\/Designation"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"EmployeeTransfer":{"type":"object","properties":{"employee_id":{"type":"string"},"organization_id":{"type":"string"},"from_branch_id":{"type":"string"},"from_department_id":{"type":"string"},"from_designation_id":{"type":"string"},"to_branch_id":{"type":"string"},"to_department_id":{"type":"string"},"to_designation_id":{"type":"string"},"reason":{"type":"string"},"approved_by":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"rejection_reason":{"type":"string"},"employee":{"$ref":"#\/components\/schemas\/Employee"},"from_branch":{"$ref":"#\/components\/schemas\/Branch"},"from_department":{"$ref":"#\/components\/schemas\/Department"},"from_designation":{"$ref":"#\/components\/schemas\/Designation"},"to_branch":{"$ref":"#\/components\/schemas\/Branch"},"to_department":{"$ref":"#\/components\/schemas\/Department"},"to_designation":{"$ref":"#\/components\/schemas\/Designation"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"HolidayCalendar":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"holiday_type":{"$ref":"#\/components\/schemas\/Enum"},"is_paid":{"type":"string"},"is_recurring":{"type":"string"},"is_active":{"type":"string"},"branch":{"$ref":"#\/components\/schemas\/Branch"}},"required":[]},"LeaveType":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"days_per_year":{"type":"string"},"is_paid":{"type":"string"},"is_carry_forward":{"type":"string"},"max_carry_forward_days":{"type":"string"},"gender_restriction":{"type":"string"},"min_service_days":{"type":"string"},"notice_days":{"type":"string"},"requires_approval":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"LeaveBalance":{"type":"object","properties":{"employee_id":{"type":"string"},"leave_type_id":{"type":"string"},"year":{"type":"string"},"opening_balance":{"type":"string"},"carry_forward":{"type":"string"},"annual_allocation":{"type":"string"},"used_days":{"type":"string"},"expired_days":{"type":"string"},"closing_balance":{"type":"string"},"leave_type":{"$ref":"#\/components\/schemas\/LeaveType"}},"required":[]},"IntegrationConfig":{"type":"object","properties":{"organization_id":{"type":"string"},"integration_name":{"type":"string"},"provider":{"type":"string"},"webhook_url":{"type":"string"},"settings":{"type":"string"},"is_enabled":{"type":"string"},"is_test_mode":{"type":"string"},"rate_limit":{"type":"string"},"rate_limit_period":{"type":"string"},"last_sync_status":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}},"required":[]},"ApiRateLimit":{"type":"object","properties":{"organization_id":{"type":"string"},"integration_config_id":{"type":"string"},"endpoint":{"type":"string"},"method":{"type":"string"},"limit":{"type":"string"},"period":{"type":"string"},"remaining":{"type":"string"},"remaining_percentage":{"type":"string"},"reset_in_seconds":{"type":"string"},"integration_config":{"$ref":"#\/components\/schemas\/IntegrationConfig"}},"required":[]},"IntegrationLog":{"type":"object","properties":{"organization_id":{"type":"string"},"integration_config_id":{"type":"string"},"provider":{"type":"string"},"endpoint":{"type":"string"},"method":{"type":"string"},"log_type":{"$ref":"#\/components\/schemas\/Enum"},"request_data":{"type":"string"},"response_data":{"type":"string"},"error_message":{"type":"string"},"status_code":{"type":"string"},"response_time_ms":{"type":"string"},"response_time_formatted":{"type":"string"},"ip_address":{"type":"string"},"user_agent":{"type":"string"},"is_successful":{"type":"string"},"is_retry":{"type":"string"},"retry_count":{"type":"string"},"reference_id":{"type":"string"},"integration_config":{"$ref":"#\/components\/schemas\/IntegrationConfig"}},"required":[]},"WebhookLog":{"type":"object","properties":{"organization_id":{"type":"string"},"integration_config_id":{"type":"string"},"provider":{"type":"string"},"event_type":{"type":"string"},"webhook_id":{"type":"string"},"payload":{"type":"string"},"headers":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"error_message":{"type":"string"},"retry_count":{"type":"string"},"is_processed":{"type":"string"},"signature":{"type":"string"},"integration_config":{"$ref":"#\/components\/schemas\/IntegrationConfig"}},"required":[]},"BusinessAssociate":{"type":"object","properties":{"user_id":{"type":"string"},"membership_id":{"type":"string"},"organization_id":{"type":"string"},"network_id":{"type":"string"},"agent_code":{"type":"string"},"sponsor_id":{"type":"string"},"sponsor_type":{"$ref":"#\/components\/schemas\/Enum"},"placement_id":{"type":"string"},"placement_position":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"personal_bv":{"type":"string"},"team_bv":{"type":"string"},"total_bv":{"type":"string"},"total_commission_earned":{"type":"string"},"pending_commission":{"type":"string"}},"required":[]},"MlmClosure":{"type":"object","properties":{"organization_id":{"type":"string"},"ancestor_id":{"type":"string"},"descendant_id":{"type":"string"},"depth":{"type":"string"},"ancestor":{"$ref":"#\/components\/schemas\/MlmAgent"},"descendant":{"$ref":"#\/components\/schemas\/MlmAgent"}},"required":[]},"MlmTransaction":{"type":"object","properties":{"agent_id":{"type":"string"},"organization_id":{"type":"string"},"booking_id":{"type":"string"},"payment_id":{"type":"string"},"transaction_code":{"type":"string"},"bv_value":{"type":"string"},"amount":{"type":"string"},"transaction_type":{"$ref":"#\/components\/schemas\/Enum"},"status":{"$ref":"#\/components\/schemas\/Enum"},"approved_by":{"type":"string"},"remarks":{"type":"string"},"agent":{"$ref":"#\/components\/schemas\/MlmAgent"},"booking":{"$ref":"#\/components\/schemas\/Booking"},"payment":{"$ref":"#\/components\/schemas\/Payment"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"MlmCommission":{"type":"object","properties":{"agent_id":{"type":"string"},"organization_id":{"type":"string"},"transaction_id":{"type":"string"},"commission_code":{"type":"string"},"commission_type":{"$ref":"#\/components\/schemas\/Enum"},"amount":{"type":"string"},"rate":{"type":"string"},"bv_value":{"type":"string"},"level":{"type":"string"},"from_agent_id":{"type":"string"},"downline_agent_id":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"approved_by":{"type":"string"},"payment_id":{"type":"string"},"remarks":{"type":"string"},"agent":{"$ref":"#\/components\/schemas\/MlmAgent"},"transaction":{"$ref":"#\/components\/schemas\/MlmTransaction"},"from_agent":{"$ref":"#\/components\/schemas\/MlmAgent"},"downline_agent":{"$ref":"#\/components\/schemas\/MlmAgent"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"},"payment":{"$ref":"#\/components\/schemas\/Payment"},"ledger":{"type":"object"}},"required":[]},"MlmCommissionLedger":{"type":"object","properties":{"agent_id":{"type":"string"},"organization_id":{"type":"string"},"commission_id":{"type":"string"},"transaction_type":{"$ref":"#\/components\/schemas\/Enum"},"amount":{"type":"string"},"balance_before":{"type":"string"},"balance_after":{"type":"string"},"reference_type":{"type":"string"},"reference_id":{"type":"string"},"description":{"type":"string"},"agent":{"$ref":"#\/components\/schemas\/MlmAgent"},"commission":{"$ref":"#\/components\/schemas\/MlmCommission"}},"required":[]},"MlmNetwork":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"metadata":{"type":"string"}},"required":[]},"MlmOffer":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"offer_type":{"type":"string"},"reward_type":{"$ref":"#\/components\/schemas\/Enum"},"target_bv":{"type":"string"},"target_team_count":{"type":"string"},"target_rank_level":{"type":"string"},"reward_points":{"type":"string"},"reward_bonus":{"type":"string"},"is_active":{"type":"string"},"is_unlimited":{"type":"string"},"max_claims":{"type":"string"}},"required":[]},"MlmReward":{"type":"object","properties":{"agent_id":{"type":"string"},"organization_id":{"type":"string"},"offer_id":{"type":"string"},"reward_code":{"type":"string"},"reward_type":{"$ref":"#\/components\/schemas\/Enum"},"points":{"type":"string"},"bonus_amount":{"type":"string"},"target_bv":{"type":"string"},"achieved_bv":{"type":"string"},"achieved_percentage":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"approved_by":{"type":"string"},"remarks":{"type":"string"},"agent":{"$ref":"#\/components\/schemas\/MlmAgent"},"offer":{"$ref":"#\/components\/schemas\/MlmOffer"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"MlmStatistic":{"type":"object","properties":{"agent_id":{"type":"string"},"organization_id":{"type":"string"},"total_downline":{"type":"string"},"active_downline":{"type":"string"},"direct_downline":{"type":"string"},"level_counts":{"type":"string"},"total_team_bv":{"type":"string"},"left_team_bv":{"type":"string"},"right_team_bv":{"type":"string"},"monthly_bv":{"type":"string"},"weekly_bv":{"type":"string"},"daily_bv":{"type":"string"},"total_commission":{"type":"string"},"monthly_commission":{"type":"string"},"pending_commission":{"type":"string"},"next_rank_progress":{"type":"string"},"next_rank_bv_required":{"type":"string"},"agent":{"$ref":"#\/components\/schemas\/MlmAgent"}},"required":[]},"MlmWalletTransaction":{"type":"object","properties":{"wallet_id":{"type":"string"},"agent_id":{"type":"string"},"organization_id":{"type":"string"},"transaction_code":{"type":"string"},"transaction_type":{"$ref":"#\/components\/schemas\/Enum"},"direction":{"$ref":"#\/components\/schemas\/Enum"},"amount":{"type":"string"},"balance_before":{"type":"string"},"balance_after":{"type":"string"},"reference_type":{"type":"string"},"reference_id":{"type":"string"},"bank_account":{"type":"string"},"upi_id":{"type":"string"},"transaction_id":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"failure_reason":{"type":"string"},"approved_by":{"type":"string"},"processed_by":{"type":"string"},"remarks":{"type":"string"},"wallet":{"type":"object"},"agent":{"$ref":"#\/components\/schemas\/MlmAgent"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"},"processed_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"MlmWallet":{"type":"object","properties":{"agent_id":{"type":"string"},"organization_id":{"type":"string"},"balance":{"type":"string"},"total_credited":{"type":"string"},"total_debited":{"type":"string"},"pending_withdrawal":{"type":"string"},"min_withdrawal":{"type":"string"},"max_withdrawal":{"type":"string"},"is_active":{"type":"string"},"agent":{"$ref":"#\/components\/schemas\/MlmAgent"},"transactions":{"type":"array","items":{"$ref":"#\/components\/schemas\/MlmWalletTransaction"}}},"required":[]},"BankMaster":{"type":"object","properties":{"organization_id":{"type":"string"},"bank_name":{"type":"string"},"branch_name":{"type":"string"},"ifsc_code":{"type":"string"},"micr_code":{"type":"string"},"swift_code":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"string"},"is_active":{"type":"string"},"city":{"$ref":"#\/components\/schemas\/City"}},"required":[]},"ExpenseType":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"string"},"categories":{"type":"array","items":{"type":"object"}}},"required":[]},"ExpenseCategory":{"type":"object","properties":{"organization_id":{"type":"string"},"expense_type_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"string"},"expense_type":{"$ref":"#\/components\/schemas\/ExpenseType"}},"required":[]},"LeadSource":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"MaterialMaster":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"unit_id":{"type":"string"},"rate_per_unit":{"type":"string"},"is_active":{"type":"string"},"unit":{"$ref":"#\/components\/schemas\/Unit"}},"required":[]},"PaymentMode":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"PlotType":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"ProjectType":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"PropertyType":{"type":"object","properties":{"organization_id":{"type":"string"},"property_category_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"string"},"category":{"type":"object"}},"required":[]},"PropertyCategory":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"string"},"property_types":{"type":"array","items":{"$ref":"#\/components\/schemas\/PropertyType"}}},"required":[]},"UnitType":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"is_active":{"type":"string"},"units":{"type":"array","items":{"$ref":"#\/components\/schemas\/Unit"}}},"required":[]},"NotificationTemplate":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"event_key":{"type":"string"},"channel":{"type":"string"},"subject":{"type":"string"},"body":{"type":"string"},"variables":{"type":"string"},"is_active":{"type":"string"},"created_by":{"type":"string"},"updated_by":{"type":"string"}},"required":[]},"EmiPlan":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"duration_months":{"type":"string"},"interest_rate":{"type":"string"},"processing_fee":{"type":"string"},"min_amount":{"type":"string"},"max_amount":{"type":"string"},"payment_frequency":{"$ref":"#\/components\/schemas\/Enum"},"is_active":{"type":"string"},"is_default":{"type":"string"}},"required":[]},"EmiInstallment":{"type":"object","properties":{"payment_id":{"type":"string"},"organization_id":{"type":"string"},"emi_plan_id":{"type":"string"},"installment_number":{"type":"string"},"principal_amount":{"type":"string"},"interest_amount":{"type":"string"},"total_amount":{"type":"string"},"paid_amount":{"type":"string"},"balance_amount":{"type":"string"},"late_fee":{"type":"string"},"late_days":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"payment_reference_id":{"type":"string"},"remarks":{"type":"string"},"payment":{"$ref":"#\/components\/schemas\/Payment"},"emi_plan":{"$ref":"#\/components\/schemas\/EmiPlan"},"payment_reference":{"$ref":"#\/components\/schemas\/Payment"}},"required":[]},"PaymentGateway":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"base_url":{"type":"string"},"webhook_url":{"type":"string"},"supports_refund":{"type":"string"},"supports_webhook":{"type":"string"},"is_test_mode":{"type":"string"},"is_active":{"type":"string"},"is_default":{"type":"string"}},"required":[]},"PaymentLog":{"type":"object","properties":{"payment_id":{"type":"string"},"organization_id":{"type":"string"},"payment_gateway_id":{"type":"string"},"log_type":{"$ref":"#\/components\/schemas\/Enum"},"event":{"type":"string"},"request_data":{"type":"string"},"response_data":{"type":"string"},"webhook_data":{"type":"string"},"status_code":{"type":"string"},"error_message":{"type":"string"},"ip_address":{"type":"string"},"user_agent":{"type":"string"},"is_processed":{"type":"string"},"payment":{"$ref":"#\/components\/schemas\/Payment"},"payment_gateway":{"$ref":"#\/components\/schemas\/PaymentGateway"}},"required":[]},"PaymentReconciliation":{"type":"object","properties":{"organization_id":{"type":"string"},"payment_id":{"type":"string"},"reconciliation_number":{"type":"string"},"bank_name":{"type":"string"},"account_number":{"type":"string"},"transaction_reference":{"type":"string"},"bank_amount":{"type":"string"},"system_amount":{"type":"string"},"difference_amount":{"type":"string"},"difference_reason":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"reconciled_by":{"type":"string"},"remarks":{"type":"string"},"payment":{"$ref":"#\/components\/schemas\/Payment"},"reconciled_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"Receipt":{"type":"object","properties":{"payment_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"receipt_number":{"type":"string"},"received_from":{"type":"string"},"received_address":{"type":"string"},"received_mobile":{"type":"string"},"amount":{"type":"string"},"amount_in_words":{"type":"string"},"payment_mode":{"type":"string"},"transaction_reference":{"type":"string"},"cheque_number":{"type":"string"},"purpose":{"type":"string"},"description":{"type":"string"},"file_name":{"type":"string"},"generated_by":{"type":"string"},"approved_by":{"type":"string"},"is_active":{"type":"string"},"payment":{"$ref":"#\/components\/schemas\/Payment"},"generated_by_user":{"$ref":"#\/components\/schemas\/User"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"SalaryStructureComponent":{"type":"object","properties":{"salary_structure_id":{"type":"string"},"salary_component_id":{"type":"string"},"organization_id":{"type":"string"},"value":{"type":"string"},"percentage":{"type":"string"},"formula":{"type":"string"},"is_mandatory":{"type":"string"},"is_active":{"type":"string"},"salary_structure":{"type":"object"},"salary_component":{"type":"object"}},"required":[]},"SalaryStructure":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"designation_id":{"type":"string"},"department_id":{"type":"string"},"basic_percentage":{"type":"string"},"hra_percentage":{"type":"string"},"da_percentage":{"type":"string"},"gross_salary_min":{"type":"string"},"gross_salary_max":{"type":"string"},"is_default":{"type":"string"},"is_active":{"type":"string"},"designation":{"$ref":"#\/components\/schemas\/Designation"},"department":{"$ref":"#\/components\/schemas\/Department"},"components":{"type":"array","items":{"$ref":"#\/components\/schemas\/SalaryStructureComponent"}}},"required":[]},"EmployeeSalary":{"type":"object","properties":{"employee_id":{"type":"string"},"organization_id":{"type":"string"},"salary_structure_id":{"type":"string"},"basic_salary":{"type":"string"},"gross_salary":{"type":"string"},"net_salary":{"type":"string"},"total_earnings":{"type":"string"},"total_deductions":{"type":"string"},"is_current":{"type":"string"},"is_active":{"type":"string"},"employee":{"$ref":"#\/components\/schemas\/Employee"},"salary_structure":{"$ref":"#\/components\/schemas\/SalaryStructure"}},"required":[]},"Payroll":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"payroll_code":{"type":"string"},"month":{"type":"string"},"year":{"type":"string"},"total_employees":{"type":"string"},"total_basic":{"type":"string"},"total_gross":{"type":"string"},"total_earnings":{"type":"string"},"total_deductions":{"type":"string"},"total_net_payable":{"type":"string"},"total_pf":{"type":"string"},"total_esi":{"type":"string"},"total_tds":{"type":"string"},"total_bonus":{"type":"string"},"total_incentive":{"type":"string"},"total_commission":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"remarks":{"type":"string"},"approved_by":{"type":"string"},"processed_by":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"},"processed_by_user":{"$ref":"#\/components\/schemas\/User"},"details":{"type":"array","items":{"type":"object"}}},"required":[]},"PayrollDetail":{"type":"object","properties":{"payroll_id":{"type":"string"},"employee_id":{"type":"string"},"organization_id":{"type":"string"},"employee_salary_id":{"type":"string"},"basic_salary":{"type":"string"},"gross_salary":{"type":"string"},"net_salary":{"type":"string"},"earnings":{"type":"string"},"total_earnings":{"type":"string"},"deductions":{"type":"string"},"total_deductions":{"type":"string"},"present_days":{"type":"string"},"absent_days":{"type":"string"},"leave_days":{"type":"string"},"holiday_days":{"type":"string"},"half_days":{"type":"string"},"overtime_hours":{"type":"string"},"late_hours":{"type":"string"},"bonus":{"type":"string"},"incentive":{"type":"string"},"commission":{"type":"string"},"reimbursement":{"type":"string"},"pf_amount":{"type":"string"},"esi_amount":{"type":"string"},"tds_amount":{"type":"string"},"professional_tax":{"type":"string"},"payable_amount":{"type":"string"},"calculation_details":{"type":"string"},"remarks":{"type":"string"},"payroll":{"$ref":"#\/components\/schemas\/Payroll"},"employee":{"$ref":"#\/components\/schemas\/Employee"},"employee_salary":{"$ref":"#\/components\/schemas\/EmployeeSalary"}},"required":[]},"Payslip":{"type":"object","properties":{"payroll_id":{"type":"string"},"period":{"type":"array"},"organization":{"type":"array"},"employee":{"type":"array"},"attendance":{"type":"array"},"earnings":{"type":"string"},"deductions":{"type":"string"},"salary":{"type":"array"},"calculation_details":{"type":"string"},"remarks":{"type":"string"}},"required":[]},"SalaryComponent":{"type":"object","properties":{"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"calculation_type":{"type":"string"},"is_taxable":{"type":"string"},"is_pf_applicable":{"type":"string"},"is_esi_applicable":{"type":"string"},"is_active":{"type":"string"}},"required":[]},"SalaryRevision":{"type":"object","properties":{"employee_id":{"type":"string"},"organization_id":{"type":"string"},"old_salary_id":{"type":"string"},"new_salary_id":{"type":"string"},"old_basic":{"type":"string"},"old_gross":{"type":"string"},"new_basic":{"type":"string"},"new_gross":{"type":"string"},"increment_amount":{"type":"string"},"increment_percentage":{"type":"string"},"revision_type":{"type":"string"},"reason":{"type":"string"},"approved_by":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"rejection_reason":{"type":"string"},"employee":{"$ref":"#\/components\/schemas\/Employee"},"old_salary":{"$ref":"#\/components\/schemas\/EmployeeSalary"},"new_salary":{"$ref":"#\/components\/schemas\/EmployeeSalary"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"LandOwner":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"mobile":{"type":"string"},"alternate_mobile":{"type":"string"},"whatsapp_number":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"string"},"postal_code":{"type":"string"},"aadhar_number":{"type":"string"},"pan_number":{"type":"string"},"passport_number":{"type":"string"},"bank_name":{"type":"string"},"bank_account_number":{"type":"string"},"ifsc_code":{"type":"string"},"upi_id":{"type":"string"},"occupation":{"type":"string"},"gender":{"$ref":"#\/components\/schemas\/Enum"},"profile_picture_download_url":{"type":"null"},"aadhar_download_url":{"type":"null"},"pan_download_url":{"type":"null"},"status":{"$ref":"#\/components\/schemas\/Enum"},"remarks":{"type":"string"},"city":{"$ref":"#\/components\/schemas\/City"}},"required":[]},"PurchasePayment":{"type":"object","properties":{"land_purchase_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"payment_code":{"type":"string"},"amount":{"type":"string"},"paid_amount":{"type":"string"},"balance_amount":{"type":"string"},"payment_mode_id":{"type":"string"},"transaction_id":{"type":"string"},"reference_number":{"type":"string"},"cheque_number":{"type":"string"},"payment_type":{"$ref":"#\/components\/schemas\/Enum"},"status":{"$ref":"#\/components\/schemas\/Enum"},"remarks":{"type":"string"},"receipt_download_url":{"type":"null"},"created_by":{"type":"string"},"approved_by":{"type":"string"},"land_purchase":{"type":"object"},"payment_mode":{"$ref":"#\/components\/schemas\/PaymentMode"},"created_by_user":{"$ref":"#\/components\/schemas\/User"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"PurchaseAgreement":{"type":"object","properties":{"land_purchase_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"agreement_number":{"type":"string"},"terms_and_conditions":{"type":"string"},"special_conditions":{"type":"string"},"seller_details":{"type":"string"},"buyer_details":{"type":"string"},"property_description":{"type":"string"},"survey_number":{"type":"string"},"agreement_value":{"type":"string"},"booking_amount":{"type":"string"},"down_payment":{"type":"string"},"payment_schedule":{"type":"string"},"agreement_download_url":{"type":"null"},"sale_deed_download_url":{"type":"null"},"status":{"$ref":"#\/components\/schemas\/Enum"},"approved_by":{"type":"string"},"remarks":{"type":"string"},"land_purchase":{"type":"object"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"PurchaseDocument":{"type":"object","properties":{"land_purchase_id":{"type":"string"},"organization_id":{"type":"string"},"document_type_id":{"type":"string"},"document_name":{"type":"string"},"document_number":{"type":"string"},"has_file":{"type":"boolean"},"download_url":{"type":"null"},"file_name":{"type":"string"},"mime_type":{"type":"string"},"file_size":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"rejection_reason":{"type":"string"},"uploaded_by":{"type":"string"},"verified_by":{"type":"string"},"land_purchase":{"type":"object"},"document_type":{"$ref":"#\/components\/schemas\/DocumentType"},"uploaded_by_user":{"$ref":"#\/components\/schemas\/User"},"verified_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"RegistryDetail":{"type":"object","properties":{"land_purchase_id":{"type":"string"},"organization_id":{"type":"string"},"branch_id":{"type":"string"},"registry_number":{"type":"string"},"property_description":{"type":"string"},"survey_number":{"type":"string"},"khata_number":{"type":"string"},"mutation_number":{"type":"string"},"sub_register_office":{"type":"string"},"district":{"type":"string"},"state":{"type":"string"},"registry_value":{"type":"string"},"stamp_duty":{"type":"string"},"registration_fee":{"type":"string"},"other_charges":{"type":"string"},"total_cost":{"type":"string"},"owner_details":{"type":"string"},"buyer_details":{"type":"string"},"registry_download_url":{"type":"null"},"sale_deed_download_url":{"type":"null"},"encumbrance_certificate_download_url":{"type":"null"},"status":{"$ref":"#\/components\/schemas\/Enum"},"approved_by":{"type":"string"},"remarks":{"type":"string"},"land_purchase":{"type":"object"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"LandPurchase":{"type":"object","properties":{"organization_id":{"type":"string"},"branch_id":{"type":"string"},"project_id":{"type":"string"},"property_id":{"type":"string"},"plot_id":{"type":"string"},"purchase_code":{"type":"string"},"land_description":{"type":"string"},"survey_number":{"type":"string"},"khata_number":{"type":"string"},"mutation_number":{"type":"string"},"address":{"type":"string"},"city_id":{"type":"string"},"postal_code":{"type":"string"},"total_area":{"type":"string"},"area_unit_id":{"type":"string"},"total_price":{"type":"string"},"price_per_unit":{"type":"string"},"paid_amount":{"type":"string"},"balance_amount":{"type":"string"},"booking_amount":{"type":"string"},"down_payment":{"type":"string"},"emi_months":{"type":"string"},"emi_amount":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"owner_details":{"type":"string"},"is_approved":{"type":"string"},"approved_by":{"type":"string"},"remarks":{"type":"string"},"organization":{"$ref":"#\/components\/schemas\/Organization"},"branch":{"$ref":"#\/components\/schemas\/Branch"},"project":{"$ref":"#\/components\/schemas\/Project"},"property":{"$ref":"#\/components\/schemas\/Property"},"plot":{"$ref":"#\/components\/schemas\/Plot"},"city":{"$ref":"#\/components\/schemas\/City"},"area_unit":{"$ref":"#\/components\/schemas\/Unit"},"approved_by_user":{"$ref":"#\/components\/schemas\/User"},"payments":{"type":"array","items":{"$ref":"#\/components\/schemas\/PurchasePayment"}},"agreements":{"type":"array","items":{"$ref":"#\/components\/schemas\/PurchaseAgreement"}},"documents":{"type":"array","items":{"$ref":"#\/components\/schemas\/PurchaseDocument"}},"registry":{"$ref":"#\/components\/schemas\/RegistryDetail"}},"required":[]},"PlotAvailability":{"type":"object","properties":{"plot_id":{"type":"string"},"organization_id":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"remarks":{"type":"string"},"changed_by":{"type":"string"},"plot":{"$ref":"#\/components\/schemas\/Plot"},"changed_by_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"ProjectPhase":{"type":"object","properties":{"project_id":{"type":"string"},"organization_id":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"phase_number":{"type":"string"},"total_plots":{"type":"string"},"total_properties":{"type":"string"},"area":{"type":"string"},"area_unit_id":{"type":"string"},"status":{"$ref":"#\/components\/schemas\/Enum"},"is_active":{"type":"string"},"project":{"$ref":"#\/components\/schemas\/Project"},"area_unit":{"$ref":"#\/components\/schemas\/Unit"},"properties":{"type":"array","items":{"$ref":"#\/components\/schemas\/Property"}},"plots":{"type":"array","items":{"$ref":"#\/components\/schemas\/Plot"}}},"required":[]},"ProjectMilestone":{"type":"object","properties":{"project_id":{"type":"string"},"organization_id":{"type":"string"},"phase_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"priority":{"$ref":"#\/components\/schemas\/Enum"},"status":{"$ref":"#\/components\/schemas\/Enum"},"completion_percentage":{"type":"string"},"remarks":{"type":"string"},"assigned_to":{"type":"string"},"is_active":{"type":"string"},"project":{"$ref":"#\/components\/schemas\/Project"},"phase":{"$ref":"#\/components\/schemas\/ProjectPhase"},"assigned_to_user":{"$ref":"#\/components\/schemas\/User"}},"required":[]},"PropertySourcingPartner":{"type":"object","properties":{"membership_id":{"type":"integer"},"organization_id":{"type":"integer"},"partner_code":{"type":"string"},"commission_rate":{"type":"string"},"commission_type":{"type":"string"},"status":{"type":"string"},"metadata":{"type":"string"}},"required":[]},"PropertySpecification":{"type":"object","properties":{"id":{"type":"integer"}},"required":["id"]},"CreatePublicCheckout":{"type":"object","properties":{"storefront_domain":{"type":"string","maxLength":253,"pattern":"\/^(?:localhost|(?:[a-z0-9](?:[a-z0-9-]{0","example":"string"},"checkout_type":{"type":"string","enum":["organization","reseller"],"example":"string"},"package_id":{"type":"integer","minimum":1,"example":0},"duration_months":{"type":"integer","enum":["1","3","6","12","24","36"],"example":0},"customer":{"type":"array","example":[]},"properties":{"type":"string","example":"string"}},"required":["storefront_domain","checkout_type","package_id","duration_months","customer","customer.first_name","customer.email","customer.mobile","customer.organization_name","customer.business_name","customer.password","customer.password_confirmation"]},"ActivateFreePlan":{"type":"object","properties":{"storefront_domain":{"type":"string","maxLength":253,"pattern":"\/^(?:localhost|(?:[a-z0-9](?:[a-z0-9-]{0","example":"string"},"checkout_type":{"type":"string","enum":["organization","reseller"],"example":"string"},"trial":{"type":"boolean","example":true},"package_id":{"type":"integer","minimum":1,"example":0},"duration_months":{"type":"integer","enum":["1","3","6","12","24","36"],"example":0},"customer":{"type":"array","example":[]},"properties":{"type":"string","example":"string"}},"required":["storefront_domain","checkout_type","package_id","duration_months","customer","customer.first_name","customer.email","customer.mobile","customer.organization_name","customer.business_name","customer.password","customer.password_confirmation"]},"VerifyPublicCheckout":{"type":"object","properties":{"storefront_domain":{"type":"string","maxLength":253,"pattern":"\/^(?:localhost|(?:[a-z0-9](?:[a-z0-9-]{0","example":"string"},"checkout_id":{"type":"string","format":"uuid","example":"string"},"razorpay_order_id":{"type":"string","maxLength":100,"example":"string"},"razorpay_payment_id":{"type":"string","maxLength":100,"example":"string"},"razorpay_signature":{"type":"string","minLength":64,"maxLength":64,"example":"string"}},"required":["storefront_domain","checkout_id","razorpay_order_id","razorpay_payment_id","razorpay_signature"]},"LoginWithPassword":{"type":"object","properties":{"identifier":{"type":"string","maxLength":100,"example":"string"},"password":{"type":"string","example":"string"},"device_id":{"type":"string","maxLength":100,"example":"string"},"fcm_token":{"type":["string","null"],"maxLength":255,"example":"string"},"device_name":{"type":["string","null"],"maxLength":100,"example":"string"},"device_type":{"type":["string","null"],"enum":["ios","android","web"],"example":"string"}},"required":["identifier","password","device_id"]},"LoginWithOtp":{"type":"object","properties":{"mobile":{"type":"string","maxLength":20,"example":"string"},"otp_token":{"type":"string","example":"string"},"otp":{"type":"string","minLength":6,"maxLength":6,"example":"string"},"device_id":{"type":"string","maxLength":100,"example":"string"},"fcm_token":{"type":["string","null"],"maxLength":255,"example":"string"},"device_name":{"type":["string","null"],"maxLength":100,"example":"string"},"device_type":{"type":["string","null"],"enum":["ios","android","web"],"example":"string"}},"required":["mobile","otp_token","otp","device_id"]},"AuthSendOtp":{"type":"object","properties":{"mobile":{"type":"string","pattern":"\/^[0-9]{10}$\/","example":"string"},"type":{"type":"string","enum":["LOGIN","REGISTER","FORGOT_PASSWORD","VERIFY_MOBILE","TWO_FACTOR","ENTITLEMENT_OVERRIDE"],"example":"string"},"otp_token":{"type":["string","null"],"maxLength":128,"example":"string"}},"required":["mobile","type"]},"ResetPassword":{"type":"object","properties":{"mobile":{"type":"string","maxLength":20,"example":"string"},"otp_token":{"type":"string","example":"string"},"otp":{"type":"string","minLength":6,"maxLength":6,"example":"string"},"password":{"type":"string","minLength":8,"maxLength":255,"example":"string"},"password_confirmation":{"type":"string","minLength":8,"example":"string"}},"required":["mobile","otp_token","otp","password","password_confirmation"]},"RefreshToken":{"type":"object","properties":{"refresh_token":{"type":"string","example":"string"},"device_id":{"type":"string","maxLength":100,"example":"string"}},"required":["refresh_token","device_id"]},"SwitchOrganization":{"type":"object","properties":{"organization_id":{"type":"integer","example":0}},"required":["organization_id"]},"GetScopeTarget":{"type":"object","properties":{"search":{"type":"string","maxLength":100,"example":"string"},"page":{"type":"integer","minimum":1,"maximum":100000,"example":0}},"required":[]},"UpdateResellerPaymentGateway":{"type":"object","properties":{"code":{"type":"string","enum":["razorpay"],"example":"string"},"api_key":{"type":["string","null"],"maxLength":500,"example":"string"},"api_secret":{"type":["string","null"],"maxLength":500,"example":"string"},"webhook_secret":{"type":["string","null"],"maxLength":500,"example":"string"},"currency":{"type":"string","enum":["INR","USD","GBP","EUR","AED","SAR","CAD","AUD","SGD","JPY","KWD","BHD","OMR","JOD","TND","CHF","NZD","HKD","MYR","THB","ZAR","QAR","PHP","IDR","CNY","KRW","VND","BRL","MXN"],"minLength":3,"maxLength":3,"example":"string"},"is_test_mode":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":["currency","is_test_mode","is_active"]},"ClearCache":{"type":"object","properties":{"targets":{"type":"array","minLength":1,"example":[]}},"required":["targets"]},"ForgetCache":{"type":"object","properties":{"key":{"type":["string","null"],"maxLength":500,"example":"string"},"tags":{"type":["array","null"],"minLength":1,"example":[]}},"required":[]},"ForgetModelCache":{"type":"object","properties":{"tag":{"type":"string","maxLength":100,"example":"string"},"id":{"type":"integer","minimum":1,"example":0},"organization_id":{"type":["integer","null"],"minimum":1,"example":0},"branch_id":{"type":["integer","null"],"minimum":1,"example":0},"reseller_id":{"type":["integer","null"],"minimum":1,"example":0},"created_by":{"type":["integer","null"],"minimum":1,"example":0},"updated_by":{"type":["integer","null"],"minimum":1,"example":0}},"required":["tag","id"]},"GetUser":{"type":"object","properties":{"search":{"type":["string","null"],"maxLength":200,"example":"string"},"status":{"type":["string","null"],"maxLength":30,"example":"string"},"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"with":{"type":["array","null"],"example":[]},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["id","first_name","last_name","email","status","created_at","updated_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateUser":{"type":"object","properties":{"first_name":{"type":"string","maxLength":50,"example":"string"},"last_name":{"type":["string","null"],"maxLength":50,"example":"string"},"email":{"type":"string","maxLength":100,"example":"string"},"mobile":{"type":"integer","minLength":10,"maxLength":10,"example":0},"password":{"type":["string","null"],"minLength":8,"example":"string"},"status":{"type":["string","null"],"enum":["active","inactive","suspended","pending"],"example":"string"}},"required":["first_name","email","mobile"]},"UserGetUser":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateUser":{"type":"object","properties":{"first_name":{"type":"string","maxLength":50,"example":"string"},"last_name":{"type":["string","null"],"maxLength":50,"example":"string"},"email":{"type":"string","maxLength":100,"example":"string"},"mobile":{"type":"integer","minLength":10,"maxLength":10,"example":0},"password":{"type":["string","null"],"minLength":8,"example":"string"},"status":{"type":"string","enum":["active","inactive","suspended","pending"],"example":"string"}},"required":[]},"SyncUserRole":{"type":"object","properties":{"role_ids":{"type":"array","example":[]}},"required":["role_ids","role_ids.*"]},"GetEntitlementOverride":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"metric":{"type":["string","null"],"enum":["users","files","storage_bytes","branches","api_calls","sms","whatsapp","email","push","leads","bookings","properties","employees","transactions","reports","exports"],"example":"string"},"status":{"type":["string","null"],"maxLength":30,"example":"string"},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"with":{"type":["array","null"],"example":[]},"per_page":{"type":["integer","null"],"minimum":1,"maximum":500,"example":0},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["id","metric","quantity","starts_at","expires_at","created_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"GetOrganizationMembership":{"type":"object","properties":{"search":{"type":["string","null"],"maxLength":200,"example":"string"},"user_id":{"type":["integer","null"],"example":0},"organization_id":{"type":["integer","null"],"example":0},"membership_type":{"type":["string","null"],"enum":["staff","business_associate","property_sourcing_partner"],"example":"string"},"status":{"type":["string","null"],"maxLength":30,"example":"string"},"with":{"type":["array","null"],"example":[]},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["id","joined_at","created_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateOrganizationMembership":{"type":"object","properties":{"user_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"branch_id":{"type":["integer","null"],"example":0},"membership_type":{"type":"string","enum":["staff","business_associate","property_sourcing_partner"],"example":"string"},"status":{"type":["string","null"],"enum":["active","inactive"],"example":"string"},"joined_at":{"type":["string","null"],"format":"date","example":"string"},"metadata":{"type":["array","null"],"example":[]}},"required":["user_id","organization_id","membership_type"]},"OrganizationMembershipGetOrganizationMembership":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateOrganizationMembership":{"type":"object","properties":{"branch_id":{"type":["integer","null"],"example":0},"status":{"type":"string","enum":["active","inactive"],"example":"string"},"left_at":{"type":["string","null"],"format":"date","example":"string"},"metadata":{"type":["array","null"],"example":[]}},"required":[]},"GetOrganizationDomain":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"type":{"type":["string","null"],"enum":["custom","alias"],"example":"string"},"is_verified":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"with":{"type":["array","null"],"example":[]}},"required":[]},"CreateOrganizationDomain":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"domain":{"type":"string","maxLength":253,"pattern":"\/^(?=.{1","example":"string"},"type":{"type":"string","enum":["custom","alias"],"example":"string"},"is_primary":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["organization_id","domain","type"]},"OrganizationDomainGetOrganizationDomain":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateOrganizationDomain":{"type":"object","properties":{"type":{"type":"string","enum":["custom","alias"],"example":"string"},"is_primary":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"VerifyOrganizationDomain":{"type":"object","properties":{"token":{"type":"string","minLength":64,"maxLength":64,"example":"string"}},"required":["token"]},"GetOrganization":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":255,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["name","organization_name","email","status","created_at","updated_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"},"status":{"type":["string","null"],"enum":["active","inactive","suspended"],"example":"string"},"subscription_status":{"type":["string","null"],"enum":["trial","active","expired","cancelled"],"example":"string"},"package_id":{"type":["integer","null"],"example":0},"city_id":{"type":["integer","null"],"example":0},"is_verified":{"type":["boolean","null"],"example":true},"reseller_id":{"type":["integer","null"],"example":0}},"required":[]},"OrganizationGetOrganization":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"CreateOrganization":{"type":"object","properties":{"organization_name":{"type":"string","maxLength":200,"example":"string"},"reseller_id":{"type":["integer","null"],"example":0},"first_name":{"type":"string","maxLength":50,"example":"string"},"last_name":{"type":["string","null"],"maxLength":50,"example":"string"},"email":{"type":"string","maxLength":100,"example":"string"},"phone":{"type":"string","maxLength":20,"example":"string"},"mobile":{"type":"integer","minLength":10,"maxLength":10,"example":0},"address":{"type":["string","null"],"maxLength":1000,"example":"string"},"city_id":{"type":["integer","null"],"example":0},"postal_code":{"type":"string","maxLength":20,"example":"string"},"gst_number":{"type":["string","null"],"maxLength":50,"example":"string"},"pan_number":{"type":["string","null"],"maxLength":20,"example":"string"},"logo":{"type":["file","null"],"format":"binary","example":null},"favicon":{"type":["file","null"],"format":"binary","example":null},"status":{"type":"string","enum":["active","inactive","suspended"],"example":"string"},"is_verified":{"type":"boolean","example":true},"domain":{"type":["string","null"],"format":"uri","example":"string"},"package_id":{"type":"integer","example":0},"auto_renew":{"type":"boolean","example":true}},"required":["organization_name","first_name","email","phone","mobile","postal_code","status","is_verified","package_id","auto_renew"]},"UpdateOrganization":{"type":"object","properties":{"organization_name":{"type":["string","null"],"maxLength":200,"example":"string"},"first_name":{"type":["string","null"],"maxLength":50,"example":"string"},"last_name":{"type":["string","null"],"maxLength":50,"example":"string"},"email":{"type":["string","null"],"maxLength":100,"example":"string"},"phone":{"type":["string","null"],"maxLength":20,"example":"string"},"mobile":{"type":["integer","null"],"minLength":10,"maxLength":10,"example":0},"address":{"type":["string","null"],"maxLength":1000,"example":"string"},"city_id":{"type":["integer","null"],"example":0},"postal_code":{"type":["string","null"],"maxLength":20,"example":"string"},"gst_number":{"type":["string","null"],"maxLength":50,"pattern":"\/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$\/","example":"string"},"pan_number":{"type":["string","null"],"maxLength":20,"pattern":"\/^[A-Z]{5}[0-9]{4}[A-Z]{1}$\/","example":"string"},"logo":{"type":["file","null"],"format":"binary","example":null},"favicon":{"type":["file","null"],"format":"binary","example":null},"status":{"type":["string","null"],"enum":["active","inactive","suspended"],"example":"string"},"is_verified":{"type":["boolean","null"],"example":true},"domain":{"type":["string","null"],"format":"uri","example":"string"},"package_id":{"type":["integer","null"],"example":0},"subscription_status":{"type":["string","null"],"enum":["trial","active","expired","cancelled"],"example":"string"},"subscription_ends_at":{"type":["string","null"],"format":"date","example":"string"},"trial_ends_at":{"type":["string","null"],"format":"date","example":"string"},"auto_renew":{"type":["boolean","null"],"example":true}},"required":[]},"UpdateOrganizationBranding":{"type":"object","properties":{"branding":{"type":"string","example":"string"},"properties":{"type":"string","example":"string"},"logo":{"type":"file","format":"binary","example":null},"favicon":{"type":"file","format":"binary","example":null},"remove_logo":{"type":"boolean","example":true},"remove_favicon":{"type":"boolean","example":true}},"required":[]},"VerifyOrganization":{"type":"object","properties":{"is_verified":{"type":"boolean","example":true}},"required":["is_verified"]},"GetReseller":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":255,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["business_name","status","created_at","verified_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":[{}],"example":"string"},"status":{"type":["string","null"],"enum":["active","inactive","suspended"],"example":"string"}},"required":[]},"ResellerGetReseller":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"CreateReseller":{"type":"object","properties":{"first_name":{"type":"string","maxLength":50,"example":"string"},"last_name":{"type":["string","null"],"maxLength":50,"example":"string"},"email":{"type":"string","maxLength":100,"format":"email","example":"string"},"mobile":{"type":"string","maxLength":20,"example":"string"},"password":{"type":"string","minLength":8,"example":"string"},"password_confirmation":{"type":"string","minLength":8,"example":"string"},"logo":{"type":["file","null"],"format":"binary","example":null},"favicon":{"type":["file","null"],"format":"binary","example":null},"business_name":{"type":"string","maxLength":200,"example":"string"},"gst_number":{"type":["string","null"],"maxLength":50,"example":"string"},"pan_number":{"type":["string","null"],"maxLength":20,"example":"string"},"domain":{"type":["string","null"],"format":"uri","example":"string"},"is_verified":{"type":["boolean","null"],"example":true},"package_id":{"type":["integer","null"],"example":0},"usage_limits":{"type":["array","null"],"example":[]},"properties":{"type":"string","example":"string"},"status":{"type":["string","null"],"enum":["active","inactive","suspended"],"example":"string"}},"required":["first_name","email","mobile","password","password_confirmation","business_name"]},"UpdateReseller":{"type":"object","properties":{"first_name":{"type":["string","null"],"maxLength":50,"example":"string"},"last_name":{"type":["string","null"],"maxLength":50,"example":"string"},"email":{"type":["string","null"],"maxLength":100,"format":"email","example":"string"},"mobile":{"type":["string","null"],"maxLength":20,"example":"string"},"domain":{"type":["string","null"],"format":"uri","example":"string"},"password":{"type":["string","null"],"minLength":8,"example":"string"},"password_confirmation":{"type":["string","null"],"minLength":8,"example":"string"},"logo":{"type":["file","null"],"format":"binary","example":null},"favicon":{"type":["file","null"],"format":"binary","example":null},"business_name":{"type":["string","null"],"maxLength":200,"example":"string"},"gst_number":{"type":["string","null"],"maxLength":50,"example":"string"},"pan_number":{"type":["string","null"],"maxLength":20,"example":"string"},"is_verified":{"type":["boolean","null"],"example":true},"package_id":{"type":["integer","null"],"example":0},"subscription_status":{"type":["string","null"],"enum":["trial","active","expired","cancelled"],"example":"string"},"subscription_ends_at":{"type":["string","null"],"format":"date","example":"string"},"auto_renew":{"type":["boolean","null"],"example":true},"duration_months":{"type":["integer","null"],"minimum":1,"maximum":60,"example":0},"subscription_event":{"type":["string","null"],"enum":["subscribed","renewed","package_changed","trial_started","trial_extended"],"example":"string"},"usage_limits":{"type":["array","null"],"example":[]},"properties":{"type":"string","example":"string"},"status":{"type":["string","null"],"enum":["active","inactive","suspended"],"example":"string"}},"required":["duration_months"]},"GetPackage":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"example":"string"},"description":{"type":["string","null"],"example":"string"},"price":{"type":["number","null"],"minimum":0,"example":0}},"required":["name"]},"CopyGlobalPackage":{"type":"object","properties":{"name":{"type":["string","null"],"maxLength":255,"example":"string"},"description":{"type":["string","null"],"example":"string"},"price":{"type":["number","null"],"minimum":0,"example":0},"trial_days":{"type":["integer","null"],"minimum":0,"example":0},"limits":{"type":["array","null"],"example":[]}},"required":[]},"PackageGetPackage":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePackage":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"example":"string"},"description":{"type":["string","null"],"example":"string"},"price":{"type":["number","null"],"minimum":0,"example":0},"currency":{"type":"string","enum":["INR","USD","GBP","EUR","AED","SAR","CAD","AUD","SGD","JPY","KWD","BHD","OMR","JOD","TND","CHF","NZD","HKD","MYR","THB","ZAR","QAR","PHP","IDR","CNY","KRW","VND","BRL","MXN"],"minLength":3,"maxLength":3,"example":"string"},"properties":{"type":"string","example":"string"},"module_ids":{"type":"array","minLength":1,"example":[]}},"required":["name"]},"TogglePackageStatus":{"type":"object","properties":{"is_active":{"type":"boolean","example":true}},"required":["is_active"]},"GetSubscription":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":255,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["amount","payment_date","event_date","period_start","period_end","created_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"},"organization_id":{"type":["integer","null"],"example":0},"package_id":{"type":["integer","null"],"example":0},"event":{"type":["string","null"],"enum":["trial_started","trial_extended","subscribed","renewed","package_changed","cancelled"],"example":"string"},"payment_method":{"type":["string","null"],"enum":["cash","bank_transfer","cheque","upi","card","online_gateway","other"],"example":"string"},"from_date":{"type":["string","null"],"format":"date","example":"string"},"to_date":{"type":["string","null"],"format":"date","example":"string"},"amount_min":{"type":["number","null"],"minimum":0,"example":0},"amount_max":{"type":["number","null"],"minimum":0,"example":0}},"required":[]},"ExtendTrial":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"trial_days":{"type":"integer","minimum":1,"maximum":365,"example":0},"remarks":{"type":["string","null"],"maxLength":1000,"example":"string"}},"required":["organization_id","trial_days"]},"SubscriptionGetSubscription":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"Subscribe":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"package_id":{"type":"integer","example":0},"duration_months":{"type":"integer","minimum":1,"maximum":60,"example":0},"payment_method":{"type":"string","enum":["cash","bank_transfer","cheque","upi","card","online_gateway","other"],"example":"string"},"amount":{"type":"number","minimum":0,"example":0},"discount_percent":{"type":["number","null"],"minimum":0,"maximum":100,"example":0},"gst_percent":{"type":["integer","null"],"enum":[5,12,18,40],"example":0},"auto_renew":{"type":["boolean","null"],"example":true},"pricing":{"type":["array","null"],"example":[]},"payment_date":{"type":"string","format":"date","example":"string"},"transaction_id":{"type":["string","null"],"maxLength":100,"example":"string"},"remarks":{"type":["string","null"],"maxLength":1000,"example":"string"}},"required":["organization_id","package_id","duration_months","payment_method","amount","payment_date"]},"RenewSubscription":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"duration_months":{"type":"integer","minimum":1,"maximum":60,"example":0},"payment_method":{"type":"string","enum":["cash","bank_transfer","cheque","upi","card","online_gateway","other"],"example":"string"},"amount":{"type":"number","minimum":0,"example":0},"discount_percent":{"type":["number","null"],"minimum":0,"maximum":100,"example":0},"gst_percent":{"type":["integer","null"],"enum":[5,12,18,40],"example":0},"auto_renew":{"type":["boolean","null"],"example":true},"pricing":{"type":["array","null"],"example":[]},"payment_date":{"type":"string","format":"date","example":"string"},"transaction_id":{"type":["string","null"],"maxLength":100,"example":"string"},"remarks":{"type":["string","null"],"maxLength":1000,"example":"string"}},"required":["organization_id","duration_months","payment_method","amount","payment_date"]},"ChangePackage":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"new_package_id":{"type":"integer","example":0},"duration_months":{"type":["integer","null"],"minimum":1,"maximum":60,"example":0},"payment_method":{"type":["string","null"],"enum":["cash","bank_transfer","cheque","upi","card","online_gateway","other"],"example":"string"},"amount":{"type":["number","null"],"minimum":0,"example":0},"discount_percent":{"type":["number","null"],"minimum":0,"maximum":100,"example":0},"gst_percent":{"type":["integer","null"],"enum":[5,12,18,40],"example":0},"auto_renew":{"type":["boolean","null"],"example":true},"pricing":{"type":["array","null"],"example":[]},"payment_date":{"type":["string","null"],"format":"date","example":"string"},"transaction_id":{"type":["string","null"],"maxLength":100,"example":"string"},"remarks":{"type":["string","null"],"maxLength":1000,"example":"string"}},"required":["organization_id","new_package_id"]},"CancelSubscription":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"remarks":{"type":["string","null"],"maxLength":1000,"example":"string"}},"required":["organization_id"]},"CreateRole":{"type":"object","properties":{"name":{"type":"string","maxLength":100,"example":"string"},"description":{"type":["string","null"],"maxLength":500,"example":"string"},"parent_role_id":{"type":["integer","null"],"example":0},"scope":{"type":"string","enum":["platform","reseller","organization","branch"],"example":"string"},"data_visibility":{"type":"string","enum":["self","reporting_tree","branch","organization","reseller","mlm_network","platform"],"example":"string"},"is_active":{"type":"boolean","example":true},"permissions":{"type":"array","minLength":1,"example":[]}},"required":["name","scope","data_visibility","permissions","permissions.*"]},"GetRole":{"type":"object","properties":{"search":{"type":["string","null"],"maxLength":100,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["name","slug","created_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"},"name":{"type":["string","null"],"maxLength":100,"example":"string"},"slug":{"type":["string","null"],"maxLength":100,"example":"string"},"organization_id":{"type":["integer","null"],"example":0},"is_active":{"type":["boolean","null"],"example":true},"parent_role_id":{"type":["integer","null"],"example":0}},"required":[]},"CopyGlobalRole":{"type":"object","properties":{"name":{"type":["string","null"],"maxLength":100,"example":"string"},"description":{"type":["string","null"],"maxLength":500,"example":"string"}},"required":[]},"UpdateRole":{"type":"object","properties":{"name":{"type":"string","maxLength":100,"example":"string"},"description":{"type":["string","null"],"maxLength":500,"example":"string"},"parent_role_id":{"type":["integer","null"],"example":0},"scope":{"type":"string","enum":["platform","reseller","organization","branch"],"example":"string"},"data_visibility":{"type":"string","enum":["self","reporting_tree","branch","organization","reseller","mlm_network","platform"],"example":"string"},"is_active":{"type":"boolean","example":true},"permissions":{"type":"array","example":[]}},"required":["permissions.*"]},"GetMlmTransaction":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["agent_id","organization_id","booking_id","payment_id","transaction_code","transaction_date","bv_value","amount","transaction_type","status","approved_by","approved_at"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmTransaction":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"booking_id":{"type":["integer","null"],"example":0},"payment_id":{"type":["integer","null"],"example":0},"transaction_code":{"type":"string","example":"string"},"transaction_date":{"type":"string","format":"date","example":"string"},"bv_value":{"type":"number","example":0},"amount":{"type":["number","null"],"example":0},"transaction_type":{"type":["string","null"],"enum":["booking","purchase","investment","commission_earned","bonus"],"example":"string"},"remarks":{"type":["string","null"],"example":"string"}},"required":["agent_id","transaction_code","transaction_date","bv_value"]},"MlmTransactionGetMlmTransaction":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmTransaction":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"booking_id":{"type":"integer","example":0},"payment_id":{"type":"integer","example":0},"transaction_code":{"type":"string","example":"string"},"transaction_date":{"type":"string","format":"date","example":"string"},"bv_value":{"type":"number","example":0},"amount":{"type":"number","example":0},"transaction_type":{"type":"string","enum":["booking","purchase","investment","commission_earned","bonus"],"example":"string"},"remarks":{"type":"string","example":"string"}},"required":[]},"GetBooking":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"organization_id":{"type":["integer","null"],"example":0},"include_stats":{"type":"boolean","example":true},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","project_id","property_id","plot_id","booking_number","booking_date","possession_date","primary_buyer_name","primary_buyer_mobile","primary_buyer_email","total_area"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"BookingGetBooking":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"CreateBooking":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":["integer","null"],"example":0},"project_id":{"type":["integer","null"],"example":0},"property_id":{"type":["integer","null"],"example":0},"plot_id":{"type":["integer","null"],"example":0},"booking_number":{"type":["string","null"],"maxLength":50,"example":"string"},"booking_date":{"type":"string","format":"date","example":"string"},"possession_date":{"type":["string","null"],"format":"date","example":"string"},"primary_buyer_name":{"type":"string","example":"string"},"primary_buyer_mobile":{"type":"string","example":"string"},"primary_buyer_email":{"type":["string","null"],"example":"string"},"total_area":{"type":["number","null"],"example":0},"area_unit_id":{"type":["integer","null"],"example":0},"basic_price":{"type":"number","example":0},"total_price":{"type":"number","example":0},"discount":{"type":["number","null"],"example":0},"net_price":{"type":"number","example":0},"booking_amount":{"type":"number","example":0},"payment_plan":{"type":["string","null"],"enum":["one_time","down_payment","emi","custom"],"example":"string"},"emi_months":{"type":["integer","null"],"example":0},"emi_amount":{"type":["number","null"],"example":0},"lead_id":{"type":["integer","null"],"example":0},"telecaller_id":{"type":["integer","null"],"example":0},"agent_id":{"type":["integer","null"],"example":0},"visitor_id":{"type":["integer","null"],"example":0},"remarks":{"type":["string","null"],"example":"string"},"commission_participants":{"type":["array","null"],"example":[]},"commission_participants.*.participant_type":{"type":"array","enum":["agent","telecaller","visitor","broker","other"],"example":[]},"commission_participants.*.user_id":{"type":["array","null"],"example":[]},"commission_participants.*.participant_name":{"type":["array","null"],"maxLength":150,"example":[]},"commission_participants.*.commission_basis":{"type":"array","enum":["booking_percentage","payment_percentage","fixed_per_booking","fixed_per_payment"],"example":[]},"commission_participants.*.rate":{"type":["array","null"],"minimum":0,"example":[]},"commission_participants.*.fixed_amount":{"type":["array","null"],"minimum":0,"example":[]},"commission_participants.*.remarks":{"type":["array","null"],"example":[]}},"required":["organization_id","booking_date","primary_buyer_name","primary_buyer_mobile","basic_price","total_price","net_price","booking_amount"]},"UpdateBooking":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"project_id":{"type":"integer","example":0},"property_id":{"type":"integer","example":0},"plot_id":{"type":"integer","example":0},"booking_number":{"type":"string","example":"string"},"booking_date":{"type":"string","format":"date","example":"string"},"possession_date":{"type":"string","format":"date","example":"string"},"primary_buyer_name":{"type":"string","example":"string"},"primary_buyer_mobile":{"type":"string","example":"string"},"primary_buyer_email":{"type":"string","example":"string"},"total_area":{"type":"number","example":0},"area_unit_id":{"type":"integer","example":0},"basic_price":{"type":"number","example":0},"total_price":{"type":"number","example":0},"discount":{"type":"number","example":0},"net_price":{"type":"number","example":0},"booking_amount":{"type":"number","example":0},"payment_plan":{"type":"string","enum":["one_time","down_payment","emi","custom"],"example":"string"},"emi_months":{"type":"integer","example":0},"emi_amount":{"type":"number","example":0},"lead_id":{"type":"integer","example":0},"telecaller_id":{"type":"integer","example":0},"agent_id":{"type":"integer","example":0},"visitor_id":{"type":"integer","example":0},"remarks":{"type":"string","example":"string"},"commission_participants":{"type":"array","example":[]},"commission_participants.*.participant_type":{"type":"array","enum":["agent","telecaller","visitor","broker","other"],"example":[]},"commission_participants.*.user_id":{"type":["array","null"],"example":[]},"commission_participants.*.participant_name":{"type":["array","null"],"maxLength":150,"example":[]},"commission_participants.*.commission_basis":{"type":"array","enum":["booking_percentage","payment_percentage","fixed_per_booking","fixed_per_payment"],"example":[]},"commission_participants.*.rate":{"type":["array","null"],"minimum":0,"example":[]},"commission_participants.*.fixed_amount":{"type":["array","null"],"minimum":0,"example":[]},"commission_participants.*.remarks":{"type":["array","null"],"example":[]}},"required":[]},"Cancel":{"type":"object","properties":{"reason":{"type":"string","example":"string"}},"required":[]},"GetBookingBuyer":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["booking_id","organization_id","user_id","first_name","last_name","email","mobile","alternate_mobile","address","city_id","postal_code","aadhar_number"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateBookingBuyer":{"type":"object","properties":{"booking_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"user_id":{"type":["integer","null"],"example":0},"first_name":{"type":"string","example":"string"},"last_name":{"type":["string","null"],"example":"string"},"email":{"type":["string","null"],"example":"string"},"mobile":{"type":"string","example":"string"},"alternate_mobile":{"type":["string","null"],"example":"string"},"address":{"type":["string","null"],"example":"string"},"city_id":{"type":["integer","null"],"example":0},"postal_code":{"type":["string","null"],"example":"string"},"aadhar_number":{"type":["string","null"],"example":"string"},"pan_number":{"type":["string","null"],"example":"string"},"passport_number":{"type":["string","null"],"example":"string"},"relationship":{"type":["string","null"],"enum":["self","spouse","parent","child","sibling","other"],"example":"string"},"ownership_percentage":{"type":["number","null"],"example":0},"aadhar_file":{"type":["string","null"],"example":"string"},"aadhar_upload":{"type":["file","null"],"format":"binary","example":null},"pan_file":{"type":["string","null"],"example":"string"},"pan_upload":{"type":["file","null"],"format":"binary","example":null},"photo":{"type":["string","null"],"example":"string"},"photo_upload":{"type":["image","null"],"format":"binary","example":null},"is_primary":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["booking_id","first_name","mobile"]},"BookingBuyerGetBookingBuyer":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateBookingBuyer":{"type":"object","properties":{"booking_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"user_id":{"type":"integer","example":0},"first_name":{"type":"string","example":"string"},"last_name":{"type":"string","example":"string"},"email":{"type":"string","example":"string"},"mobile":{"type":"string","example":"string"},"alternate_mobile":{"type":"string","example":"string"},"address":{"type":"string","example":"string"},"city_id":{"type":"integer","example":0},"postal_code":{"type":"string","example":"string"},"aadhar_number":{"type":"string","example":"string"},"pan_number":{"type":"string","example":"string"},"passport_number":{"type":"string","example":"string"},"relationship":{"type":"string","enum":["self","spouse","parent","child","sibling","other"],"example":"string"},"ownership_percentage":{"type":"number","example":0},"aadhar_file":{"type":"string","example":"string"},"aadhar_upload":{"type":["file","null"],"format":"binary","example":null},"pan_file":{"type":"string","example":"string"},"pan_upload":{"type":["file","null"],"format":"binary","example":null},"photo":{"type":"string","example":"string"},"photo_upload":{"type":["image","null"],"format":"binary","example":null},"is_primary":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetBookingDocument":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["booking_id","organization_id","document_type_id","document_name","document_number","description","file_path","file_name","mime_type","file_size","document_date","expiry_date"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateBookingDocument":{"type":"object","properties":{"booking_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"document_type_id":{"type":["integer","null"],"example":0},"document_name":{"type":"string","example":"string"},"document_number":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"file_path":{"type":["string","null"],"example":"string"},"document_upload":{"type":"file","format":"binary","example":null},"file_name":{"type":["string","null"],"example":"string"},"mime_type":{"type":["string","null"],"example":"string"},"file_size":{"type":["integer","null"],"example":0},"document_date":{"type":["string","null"],"format":"date","example":"string"},"expiry_date":{"type":["string","null"],"format":"date","example":"string"},"status":{"type":["string","null"],"enum":["pending","verified","rejected"],"example":"string"},"rejection_reason":{"type":["string","null"],"example":"string"},"uploaded_by":{"type":["integer","null"],"example":0},"verified_by":{"type":["integer","null"],"example":0},"verified_at":{"type":["string","null"],"format":"date","example":"string"}},"required":["booking_id","document_name"]},"BookingDocumentGetBookingDocument":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateBookingDocument":{"type":"object","properties":{"booking_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"document_type_id":{"type":"integer","example":0},"document_name":{"type":"string","example":"string"},"document_number":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"file_path":{"type":"string","example":"string"},"document_upload":{"type":["file","null"],"format":"binary","example":null},"file_name":{"type":"string","example":"string"},"mime_type":{"type":"string","example":"string"},"file_size":{"type":"integer","example":0},"document_date":{"type":"string","format":"date","example":"string"},"expiry_date":{"type":"string","format":"date","example":"string"},"status":{"type":"string","example":"string"},"rejection_reason":{"type":"string","example":"string"},"uploaded_by":{"type":"integer","example":0},"verified_by":{"type":"integer","example":0},"verified_at":{"type":"string","format":"date","example":"string"}},"required":[]},"GetBookingStatusHistory":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["booking_id","organization_id","from_status","to_status","remarks","changed_by","changed_at"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateBookingStatusHistory":{"type":"object","properties":{"booking_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"remarks":{"type":["string","null"],"example":"string"},"changed_by":{"type":"integer","example":0},"changed_at":{"type":"string","format":"date","example":"string"}},"required":["booking_id","changed_by","changed_at"]},"BookingStatusHistoryGetBookingStatusHistory":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateBookingStatusHistory":{"type":"object","properties":{"booking_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"remarks":{"type":"string","example":"string"},"changed_by":{"type":"integer","example":0},"changed_at":{"type":"string","format":"date","example":"string"}},"required":[]},"GetRegistry":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["booking_id","organization_id","branch_id","registry_number","registry_date","registration_date","property_description","survey_number","khata_number","mutation_number","sub_register_office","district"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateRegistry":{"type":"object","properties":{"booking_id":{"type":"integer","example":0},"registry_number":{"type":"string","example":"string"},"registry_date":{"type":"string","format":"date","example":"string"},"registration_date":{"type":"string","format":"date","example":"string"},"property_description":{"type":["string","null"],"example":"string"},"survey_number":{"type":["string","null"],"example":"string"},"khata_number":{"type":["string","null"],"example":"string"},"mutation_number":{"type":["string","null"],"example":"string"},"sub_register_office":{"type":["string","null"],"example":"string"},"district":{"type":["string","null"],"example":"string"},"state":{"type":["string","null"],"example":"string"},"registry_value":{"type":"number","example":0},"stamp_duty":{"type":["number","null"],"example":0},"registration_fee":{"type":["number","null"],"example":0},"other_charges":{"type":["number","null"],"example":0},"total_cost":{"type":["number","null"],"example":0},"buyer_details":{"type":["array","null"],"example":[]},"registry_file_path":{"type":["string","null"],"example":"string"},"registry_upload":{"type":["file","null"],"format":"binary","example":null},"sale_deed_path":{"type":["string","null"],"example":"string"},"sale_deed_upload":{"type":["file","null"],"format":"binary","example":null},"encumbrance_certificate_path":{"type":["string","null"],"example":"string"},"certificate_upload":{"type":["file","null"],"format":"binary","example":null},"remarks":{"type":["string","null"],"example":"string"}},"required":["booking_id","registry_number","registry_date","registration_date","registry_value"]},"RegistryGetRegistry":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateRegistry":{"type":"object","properties":{"registry_number":{"type":"string","example":"string"},"registry_date":{"type":"string","format":"date","example":"string"},"registration_date":{"type":"string","format":"date","example":"string"},"property_description":{"type":"string","example":"string"},"survey_number":{"type":"string","example":"string"},"khata_number":{"type":"string","example":"string"},"mutation_number":{"type":"string","example":"string"},"sub_register_office":{"type":"string","example":"string"},"district":{"type":"string","example":"string"},"state":{"type":"string","example":"string"},"registry_value":{"type":"number","example":0},"stamp_duty":{"type":"number","example":0},"registration_fee":{"type":"number","example":0},"other_charges":{"type":"number","example":0},"total_cost":{"type":"number","example":0},"buyer_details":{"type":"array","example":[]},"registry_file_path":{"type":"string","example":"string"},"registry_upload":{"type":["file","null"],"format":"binary","example":null},"sale_deed_path":{"type":"string","example":"string"},"sale_deed_upload":{"type":["file","null"],"format":"binary","example":null},"encumbrance_certificate_path":{"type":"string","example":"string"},"certificate_upload":{"type":["file","null"],"format":"binary","example":null},"remarks":{"type":"string","example":"string"}},"required":[]},"RejectRegistry":{"type":"object","properties":{"reason":{"type":["string","null"],"maxLength":2000,"example":"string"}},"required":[]},"GetSystemLog":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"user_id":{"type":["integer","null"],"example":0},"level":{"type":["string","null"],"maxLength":20,"example":"string"},"channel":{"type":["string","null"],"maxLength":50,"example":"string"},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","user_id","level","channel","created_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"GetPlatformSetting":{"type":"object","properties":{"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["group","key","type","is_encrypted","is_system"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePlatformSetting":{"type":"object","properties":{"group":{"type":["string","null"],"maxLength":100,"example":"string"},"key":{"type":"string","maxLength":150,"example":"string"},"value":{"type":["string","null"],"example":"string"},"options":{"type":["array","null"],"example":[]},"type":{"type":["string","null"],"enum":["string","integer","boolean","json","array"],"example":"string"},"is_encrypted":{"type":["boolean","null"],"example":true},"is_system":{"type":["boolean","null"],"example":true}},"required":["key"]},"UpdatePlatformSetting":{"type":"object","properties":{"value":{"type":["string","null"],"example":"string"}},"required":[]},"GetBranch":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"organization_id":{"type":["integer","null"],"minimum":1,"example":0},"status":{"type":["string","null"],"enum":["active","inactive","suspended"],"example":"string"},"include_stats":{"type":"boolean","example":true},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","email","phone","mobile","address","city_id","postal_code","latitude","longitude","manager_id"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"BranchGetBranch":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"GetBranchTeam":{"type":"object","properties":{"search":{"type":["string","null"],"maxLength":100,"example":"string"},"page":{"type":"integer","minimum":1,"example":0},"per_page":{"type":"integer","minimum":1,"maximum":50,"example":0}},"required":[]},"AssignBranchStaff":{"type":"object","properties":{"user_id":{"type":"integer","example":0}},"required":["user_id"]},"StaffTransfer":{"type":"object","properties":{"user_id":{"type":"integer","example":0},"to_branch_id":{"type":"integer","example":0},"reason":{"type":["string","null"],"maxLength":500,"example":"string"}},"required":["user_id","to_branch_id"]},"GetBranchSetting":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["branch_id","organization_id","group","key","value","options","type","is_encrypted","is_system"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateBranchSetting":{"type":"object","properties":{"branch_id":{"type":["integer","null"],"example":0},"organization_id":{"type":["integer","null"],"example":0},"group":{"type":["string","null"],"example":"string"},"key":{"type":"string","enum":["branch_name","branch_code","branch_email","branch_phone","timezone","working_days","weekly_off","office_start_time","office_end_time","late_grace_minutes","attendance_radius","enable_email_notifications","enable_sms_notifications","enable_whatsapp_notifications","allow_self_attendance","allow_self_leave"],"example":"string"},"value":{"type":["string","null"],"example":"string"},"options":{"type":["array","null"],"example":[]},"type":{"type":["string","null"],"enum":["string","integer","boolean","json","array"],"example":"string"},"is_encrypted":{"type":["boolean","null"],"example":true},"is_system":{"type":["boolean","null"],"example":true}},"required":["key"]},"BranchSettingGetBranchSetting":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateBranchSetting":{"type":"object","properties":{"branch_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"group":{"type":"string","example":"string"},"key":{"type":"string","example":"string"},"value":{"type":"string","example":"string"},"options":{"type":"array","example":[]},"type":{"type":"string","example":"string"},"is_encrypted":{"type":"boolean","example":true},"is_system":{"type":"boolean","example":true}},"required":[]},"GetOrganizationSetting":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"organization_id":{"type":["integer","null"],"example":0},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","group","key","value","options","type","is_encrypted","is_system"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateOrganizationSetting":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"group":{"type":["string","null"],"example":"string"},"key":{"type":"string","enum":["organization_name","timezone","date_format","currency","currency_symbol","office_start_time","office_end_time","late_grace_minutes","enable_email_notifications","enable_sms_notifications","enable_whatsapp_notifications","lead_assignment_type","followup_interval_days","booking_lock_period","default_booking_amount_percentage","max_login_attempts","session_timeout"],"example":"string"},"value":{"type":["string","null"],"example":"string"},"options":{"type":["array","null"],"example":[]},"type":{"type":["string","null"],"enum":["string","integer","boolean","json","array"],"example":"string"},"is_encrypted":{"type":["boolean","null"],"example":true},"is_system":{"type":["boolean","null"],"example":true}},"required":["key"]},"OrganizationSettingGetOrganizationSetting":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateOrganizationSetting":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"group":{"type":"string","example":"string"},"key":{"type":"string","example":"string"},"value":{"type":"string","example":"string"},"options":{"type":"array","example":[]},"type":{"type":"string","enum":["string","integer","boolean","json","array"],"example":"string"},"is_encrypted":{"type":"boolean","example":true},"is_system":{"type":"boolean","example":true}},"required":[]},"GetOrganizationUsage":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","users_count","branches_count","leads_count","bookings_count","properties_count","storage_used_bytes"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateOrganizationUsage":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"users_count":{"type":"integer","minimum":0,"example":0},"branches_count":{"type":"integer","minimum":0,"example":0},"leads_count":{"type":"integer","minimum":0,"example":0},"bookings_count":{"type":"integer","minimum":0,"example":0},"properties_count":{"type":"integer","minimum":0,"example":0},"storage_used_bytes":{"type":"integer","minimum":0,"example":0}},"required":["organization_id","users_count","branches_count","leads_count","bookings_count","properties_count","storage_used_bytes"]},"OrganizationUsageGetOrganizationUsage":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateOrganizationUsage":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"users_count":{"type":"integer","minimum":0,"example":0},"branches_count":{"type":"integer","minimum":0,"example":0},"leads_count":{"type":"integer","minimum":0,"example":0},"bookings_count":{"type":"integer","minimum":0,"example":0},"properties_count":{"type":"integer","minimum":0,"example":0},"storage_used_bytes":{"type":"integer","minimum":0,"example":0}},"required":[]},"GetPackageModule":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"package_id":{"type":["integer","null"],"example":0},"module_id":{"type":["integer","null"],"example":0},"search":{"type":["string","null"],"example":"string"},"sort_by":{"type":["string","null"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0}},"required":[]},"CreatePackageModule":{"type":"object","properties":{"package_id":{"type":"integer","example":0},"module_id":{"type":"integer","example":0}},"required":["package_id","module_id"]},"PackageModuleGetPackageModule":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePackageModule":{"type":"object","properties":{"package_id":{"type":"integer","example":0},"module_id":{"type":"integer","example":0}},"required":["package_id","module_id"]},"GetSubscriptionHistory":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","package_id","created_by","event","payment_method","transaction_id","amount","payment_date","remarks","period_start","period_end","duration_months"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateSubscriptionHistory":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"package_id":{"type":"integer","example":0},"event":{"type":"string","example":"string"},"payment_method":{"type":"string","example":"string"},"transaction_id":{"type":"integer","example":0},"amount":{"type":"number","example":0},"payment_date":{"type":"string","format":"date","example":"string"},"remarks":{"type":"string","example":"string"},"period_start":{"type":"string","format":"date","example":"string"},"period_end":{"type":"string","format":"date","example":"string"},"duration_months":{"type":"string","example":"string"},"details":{"type":"array","example":[]},"event_date":{"type":"string","format":"date","example":"string"}},"required":["package_id","event","payment_method","transaction_id","amount","payment_date","remarks","period_start","period_end","duration_months","details","event_date"]},"SubscriptionHistoryGetSubscriptionHistory":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateSubscriptionHistory":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"package_id":{"type":"integer","example":0},"event":{"type":"string","example":"string"},"payment_method":{"type":"string","example":"string"},"transaction_id":{"type":"integer","example":0},"amount":{"type":"number","example":0},"payment_date":{"type":"string","format":"date","example":"string"},"remarks":{"type":"string","example":"string"},"period_start":{"type":"string","format":"date","example":"string"},"period_end":{"type":"string","format":"date","example":"string"},"duration_months":{"type":"string","example":"string"},"details":{"type":"array","example":[]},"event_date":{"type":"string","format":"date","example":"string"}},"required":[]},"GetCall":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"include_stats":{"type":"boolean","example":true},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["lead_id","organization_id","user_id","call_date","call_time","started_at","ended_at","duration_seconds","call_type","call_mode","purpose","discussion"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateCall":{"type":"object","properties":{"lead_id":{"type":"integer","example":0},"call_date":{"type":"string","format":"date","example":"string"},"call_time":{"type":["string","null"],"format":"H:i","example":"string"},"started_at":{"type":["string","null"],"format":"date","example":"string"},"ended_at":{"type":["string","null"],"format":"date","example":"string"},"duration_seconds":{"type":["integer","null"],"example":0},"call_type":{"type":["string","null"],"enum":["incoming","outgoing"],"example":"string"},"call_mode":{"type":["string","null"],"enum":["voice","video","whatsapp"],"example":"string"},"purpose":{"type":["string","null"],"example":"string"},"discussion":{"type":["string","null"],"example":"string"},"followup_notes":{"type":["string","null"],"example":"string"},"status":{"type":["string","null"],"enum":["pending","connected","no_answer","busy","cancelled"],"example":"string"},"outcome":{"type":["string","null"],"enum":["interested","not_interested","followup_needed","converted"],"example":"string"}},"required":["lead_id","call_date"]},"CallGetCall":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateCall":{"type":"object","properties":{"call_date":{"type":"string","format":"date","example":"string"},"call_time":{"type":"string","format":"H:i","example":"string"},"started_at":{"type":"string","format":"date","example":"string"},"ended_at":{"type":"string","format":"date","example":"string"},"duration_seconds":{"type":"integer","example":0},"call_type":{"type":"string","enum":["incoming","outgoing"],"example":"string"},"call_mode":{"type":"string","enum":["voice","video","whatsapp"],"example":"string"},"purpose":{"type":"string","example":"string"},"discussion":{"type":"string","example":"string"},"followup_notes":{"type":"string","example":"string"},"status":{"type":"string","enum":["pending","connected","no_answer","busy","cancelled"],"example":"string"},"outcome":{"type":"string","enum":["interested","not_interested","followup_needed","converted"],"example":"string"}},"required":[]},"GetCallRecording":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","call_id","recording_url","file_name","mime_type","file_size","duration_seconds","transcription","status"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateCallRecording":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"call_id":{"type":["integer","null"],"example":0},"recording_url":{"type":"string","maxLength":2048,"example":"string"},"file_name":{"type":"string","maxLength":255,"example":"string"},"mime_type":{"type":["string","null"],"example":"string"},"file_size":{"type":["integer","null"],"minimum":0,"example":0},"duration_seconds":{"type":["integer","null"],"minimum":0,"example":0},"transcription":{"type":["string","null"],"example":"string"},"status":{"type":["string","null"],"enum":["pending","processed","failed"],"example":"string"}},"required":["recording_url","file_name"]},"CallRecordingGetCallRecording":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateCallRecording":{"type":"object","properties":{"recording_url":{"type":"string","maxLength":2048,"example":"string"},"file_name":{"type":"string","maxLength":255,"example":"string"},"mime_type":{"type":"string","example":"string"},"file_size":{"type":"integer","minimum":0,"example":0},"duration_seconds":{"type":"integer","minimum":0,"example":0},"transcription":{"type":"string","example":"string"},"status":{"type":"string","enum":["pending","processed","failed"],"example":"string"}},"required":[]},"UploadLeadImport":{"type":"object","properties":{"file":{"type":"file","format":"binary","example":null},"duplicate_strategy":{"type":["string","null"],"enum":["skip","update","create"],"example":"string"}},"required":["file"]},"CommitLeadImport":{"type":"object","properties":{"mapping":{"type":"array","example":[]},"duplicate_strategy":{"type":["string","null"],"enum":["skip","update","create"],"example":"string"}},"required":["mapping"]},"GetLead":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"include_stats":{"type":"boolean","example":true},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","project_id","property_id","plot_id","lead_number","lead_date","first_name","last_name","email","mobile","alternate_mobile"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateLead":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"project_id":{"type":["integer","null"],"example":0},"property_id":{"type":["integer","null"],"example":0},"plot_id":{"type":["integer","null"],"example":0},"lead_number":{"type":["string","null"],"maxLength":50,"example":"string"},"lead_date":{"type":"string","format":"date","example":"string"},"first_name":{"type":"string","example":"string"},"last_name":{"type":["string","null"],"example":"string"},"email":{"type":["string","null"],"example":"string"},"mobile":{"type":"string","example":"string"},"alternate_mobile":{"type":["string","null"],"example":"string"},"whatsapp_number":{"type":["string","null"],"example":"string"},"address":{"type":["string","null"],"example":"string"},"city_id":{"type":["integer","null"],"example":0},"postal_code":{"type":["string","null"],"example":"string"},"lead_source_id":{"type":["integer","null"],"example":0},"campaign_id":{"type":["integer","null"],"example":0},"source_detail":{"type":["string","null"],"example":"string"},"lead_status_id":{"type":["integer","null"],"example":0},"budget_min":{"type":["number","null"],"example":0},"budget_max":{"type":["number","null"],"example":0},"requirement":{"type":["string","null"],"example":"string"},"preferences":{"type":["string","null"],"example":"string"},"priority":{"type":["string","null"],"enum":["low","medium","high","critical"],"example":"string"},"lead_score":{"type":["integer","null"],"example":0},"remarks":{"type":["string","null"],"example":"string"}},"required":["lead_date","first_name","mobile"]},"LeadGetLead":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLead":{"type":"object","properties":{"branch_id":{"type":"integer","example":0},"project_id":{"type":"integer","example":0},"property_id":{"type":"integer","example":0},"plot_id":{"type":"integer","example":0},"lead_number":{"type":"string","example":"string"},"lead_date":{"type":"string","format":"date","example":"string"},"first_name":{"type":"string","example":"string"},"last_name":{"type":["string","null"],"example":"string"},"email":{"type":["string","null"],"maxLength":255,"format":"email","example":"string"},"mobile":{"type":"string","example":"string"},"alternate_mobile":{"type":["string","null"],"example":"string"},"whatsapp_number":{"type":["string","null"],"example":"string"},"address":{"type":["string","null"],"example":"string"},"city_id":{"type":["integer","null"],"example":0},"postal_code":{"type":["string","null"],"example":"string"},"lead_source_id":{"type":["integer","null"],"example":0},"source_detail":{"type":["string","null"],"example":"string"},"lead_status_id":{"type":["integer","null"],"example":0},"budget_min":{"type":["number","null"],"minimum":0,"example":0},"budget_max":{"type":["number","null"],"minimum":0,"example":0},"requirement":{"type":["string","null"],"example":"string"},"preferences":{"type":["string","null"],"example":"string"},"priority":{"type":["string","null"],"enum":["low","medium","high","critical"],"example":"string"},"lead_score":{"type":["integer","null"],"minimum":0,"maximum":100,"example":0},"remarks":{"type":["string","null"],"example":"string"}},"required":[]},"Assign":{"type":"object","properties":{"user_id":{"type":"integer","example":0},"reason":{"type":["string","null"],"maxLength":1000,"example":"string"}},"required":["user_id"]},"Convert":{"type":"object","properties":{"booking_id":{"type":"integer","example":0},"notes":{"type":["string","null"],"maxLength":1000,"example":"string"}},"required":["booking_id"]},"GetCampaign":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["name","code","channel","starts_at","ends_at","budget","is_active"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateCampaign":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"name":{"type":"string","maxLength":150,"example":"string"},"code":{"type":"string","maxLength":80,"example":"string"},"channel":{"type":["string","null"],"maxLength":50,"example":"string"},"description":{"type":["string","null"],"example":"string"},"starts_at":{"type":["string","null"],"format":"date","example":"string"},"ends_at":{"type":["string","null"],"format":"date","example":"string"},"budget":{"type":["number","null"],"minimum":0,"example":0},"is_active":{"type":["boolean","null"],"example":true}},"required":["name","code"]},"CampaignGetCampaign":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateCampaign":{"type":"object","properties":{"branch_id":{"type":["integer","null"],"example":0},"name":{"type":"string","maxLength":150,"example":"string"},"code":{"type":"string","maxLength":80,"example":"string"},"channel":{"type":["string","null"],"maxLength":50,"example":"string"},"description":{"type":["string","null"],"example":"string"},"starts_at":{"type":["string","null"],"format":"date","example":"string"},"ends_at":{"type":["string","null"],"format":"date","example":"string"},"budget":{"type":["number","null"],"minimum":0,"example":0},"is_active":{"type":"boolean","example":true}},"required":[]},"GetLeadAssignment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["lead_id","organization_id","assigned_from","assigned_to","assigned_at","reason"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"LeadAssignmentGetLeadAssignment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"GetLeadConversion":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["lead_id","organization_id","booking_id","conversion_date","conversion_value","notes","converted_by"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"LeadConversionGetLeadConversion":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"GetLeadFollowup":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"active_only":{"type":["boolean","null"],"example":true},"overdue_only":{"type":["boolean","null"],"example":true},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["lead_id","organization_id","user_id","followup_date","followup_time","followup_at","followup_type","notes","response","status","rescheduled_date","reschedule_reason"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CompleteLeadFollowup":{"type":"object","properties":{"response":{"type":["string","null"],"example":"string"}},"required":[]},"CancelLeadFollowup":{"type":"object","properties":{"reason":{"type":["string","null"],"example":"string"}},"required":[]},"RescheduleLeadFollowup":{"type":"object","properties":{"date":{"type":"string","format":"date","example":"string"},"reason":{"type":["string","null"],"example":"string"}},"required":["date"]},"CreateLeadFollowup":{"type":"object","properties":{"lead_id":{"type":"integer","example":0},"user_id":{"type":"integer","example":0},"followup_date":{"type":"string","format":"date","example":"string"},"followup_time":{"type":["string","null"],"format":"date","example":"string"},"followup_at":{"type":["string","null"],"format":"date","example":"string"},"followup_type":{"type":["string","null"],"enum":["call","visit","email","whatsapp","sms","other"],"example":"string"},"notes":{"type":["string","null"],"example":"string"}},"required":["lead_id","user_id","followup_date"]},"LeadFollowupGetLeadFollowup":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLeadFollowup":{"type":"object","properties":{"followup_date":{"type":"string","format":"date","example":"string"},"followup_time":{"type":"string","format":"date","example":"string"},"followup_at":{"type":"string","format":"date","example":"string"},"followup_type":{"type":"string","enum":["call","visit","email","whatsapp","sms","other"],"example":"string"},"notes":{"type":"string","example":"string"}},"required":[]},"GetLeadNote":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["lead_id","organization_id","user_id","note","note_type","is_private"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateLeadNote":{"type":"object","properties":{"lead_id":{"type":"integer","example":0},"note":{"type":"string","example":"string"},"note_type":{"type":["string","null"],"enum":["general","followup","requirement","feedback","internal"],"example":"string"},"is_private":{"type":["boolean","null"],"example":true}},"required":["lead_id","note"]},"LeadNoteGetLeadNote":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLeadNote":{"type":"object","properties":{"note":{"type":"string","example":"string"},"note_type":{"type":"string","enum":["general","followup","requirement","feedback","internal"],"example":"string"}},"required":[]},"GetLeadRule":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"is_active":{"type":["boolean","null"],"example":true},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"with":{"type":["array","null"],"example":[]}},"required":[]},"CreateLeadRule":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","maxLength":150,"example":"string"},"priority":{"type":["integer","null"],"minimum":0,"example":0},"conditions":{"type":"array","minLength":1,"example":[]},"conditions.*.field":{"type":"array","maxLength":100,"example":[]},"conditions.*.operator":{"type":"array","enum":["equals","not_equals","contains","in","not_in","gte","lte","exists"],"example":[]},"conditions.*.value":{"type":["array","null"],"example":[]},"actions":{"type":"array","minLength":1,"example":[]},"actions.*.type":{"type":"array","enum":["set_field","assign_user","set_status","set_priority","set_source","adjust_score","set_score"],"example":[]},"actions.*.field":{"type":["array","null"],"maxLength":100,"example":[]},"actions.*.value":{"type":["array","null"],"example":[]},"is_active":{"type":["boolean","null"],"example":true}},"required":["organization_id","name","conditions","conditions.*.field","conditions.*.operator","actions","actions.*.type"]},"LeadRuleGetLeadRule":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLeadRule":{"type":"object","properties":{"name":{"type":"string","maxLength":150,"example":"string"},"priority":{"type":"integer","minimum":0,"example":0},"conditions":{"type":"array","minLength":1,"example":[]},"conditions.*.field":{"type":"array","maxLength":100,"example":[]},"conditions.*.operator":{"type":"array","enum":["equals","not_equals","contains","in","not_in","gte","lte","exists"],"example":[]},"conditions.*.value":{"type":["array","null"],"example":[]},"actions":{"type":"array","minLength":1,"example":[]},"actions.*.type":{"type":"array","enum":["set_field","assign_user","set_status","set_priority","set_source","adjust_score","set_score"],"example":[]},"actions.*.field":{"type":["array","null"],"maxLength":100,"example":[]},"actions.*.value":{"type":["array","null"],"example":[]},"is_active":{"type":"boolean","example":true}},"required":[]},"GetLeadStatus":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","order","category","is_closed","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateLeadStatus":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"order":{"type":["integer","null"],"example":0},"category":{"type":["string","null"],"enum":["new","contacted","qualified","negotiation","won","lost"],"example":"string"},"is_closed":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"LeadStatusGetLeadStatus":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLeadStatus":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"order":{"type":"integer","example":0},"category":{"type":"string","enum":["new","contacted","qualified","negotiation","won","lost"],"example":"string"},"is_closed":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetVisit":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["lead_id","organization_id","branch_id","project_id","property_id","plot_id","visitor_id","assigned_to","visit_date","visit_time","check_in_at","check_out_at"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateVisit":{"type":"object","properties":{"lead_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"project_id":{"type":["integer","null"],"example":0},"property_id":{"type":["integer","null"],"example":0},"plot_id":{"type":["integer","null"],"example":0},"visitor_id":{"type":["integer","null"],"example":0},"assigned_to":{"type":["integer","null"],"example":0},"visit_date":{"type":"string","format":"date","example":"string"},"visit_time":{"type":["string","null"],"format":"date","example":"string"},"check_in_at":{"type":["string","null"],"format":"date","example":"string"},"check_out_at":{"type":["string","null"],"format":"date","example":"string"},"check_in_latitude":{"type":["number","null"],"example":0},"check_in_longitude":{"type":["number","null"],"example":0},"check_out_latitude":{"type":["number","null"],"example":0},"check_out_longitude":{"type":["number","null"],"example":0},"purpose":{"type":["string","null"],"example":"string"},"feedback":{"type":["string","null"],"example":"string"},"remarks":{"type":["string","null"],"example":"string"},"status":{"type":["string","null"],"enum":["scheduled","in_progress","completed","cancelled","no_show"],"example":"string"},"outcome":{"type":["string","null"],"enum":["interested","not_interested","followup_needed","converted"],"example":"string"}},"required":["lead_id","visit_date"]},"VisitGetVisit":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateVisit":{"type":"object","properties":{"lead_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"project_id":{"type":"integer","example":0},"property_id":{"type":"integer","example":0},"plot_id":{"type":"integer","example":0},"visitor_id":{"type":"integer","example":0},"assigned_to":{"type":"integer","example":0},"visit_date":{"type":"string","format":"date","example":"string"},"visit_time":{"type":"string","format":"date","example":"string"},"check_in_at":{"type":"string","format":"date","example":"string"},"check_out_at":{"type":"string","format":"date","example":"string"},"check_in_latitude":{"type":"number","example":0},"check_in_longitude":{"type":"number","example":0},"check_out_latitude":{"type":"number","example":0},"check_out_longitude":{"type":"number","example":0},"purpose":{"type":"string","example":"string"},"feedback":{"type":"string","example":"string"},"remarks":{"type":"string","example":"string"},"status":{"type":"string","enum":["scheduled","in_progress","completed","cancelled","no_show"],"example":"string"},"outcome":{"type":"string","enum":["interested","not_interested","followup_needed","converted"],"example":"string"}},"required":[]},"GetVisitPhoto":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["visit_id","organization_id","file_path","file_name","mime_type","file_size","latitude","longitude","captured_at","caption","uploaded_by"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateVisitPhoto":{"type":"object","properties":{"visit_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"file_path":{"type":["string","null"],"example":"string"},"photo_upload":{"type":"image","format":"binary","example":null},"file_name":{"type":["string","null"],"example":"string"},"mime_type":{"type":["string","null"],"example":"string"},"file_size":{"type":["integer","null"],"example":0},"latitude":{"type":["number","null"],"example":0},"longitude":{"type":["number","null"],"example":0},"captured_at":{"type":["string","null"],"format":"date","example":"string"},"caption":{"type":["string","null"],"example":"string"},"uploaded_by":{"type":["integer","null"],"example":0}},"required":["visit_id"]},"VisitPhotoGetVisitPhoto":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateVisitPhoto":{"type":"object","properties":{"visit_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"file_path":{"type":"string","example":"string"},"photo_upload":{"type":["image","null"],"format":"binary","example":null},"file_name":{"type":"string","example":"string"},"mime_type":{"type":"string","example":"string"},"file_size":{"type":"integer","example":0},"latitude":{"type":"number","example":0},"longitude":{"type":"number","example":0},"captured_at":{"type":"string","format":"date","example":"string"},"caption":{"type":"string","example":"string"},"uploaded_by":{"type":"integer","example":0}},"required":[]},"GetDocument":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","file_id","document_type_id","documentable_type","documentable_id","document_number","title","description","issue_date","expiry_date","status"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateDocument":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"file_id":{"type":"integer","example":0},"document_type_id":{"type":["integer","null"],"example":0},"documentable_type":{"type":["string","null"],"example":"string"},"documentable_id":{"type":["integer","null"],"example":0},"document_number":{"type":["string","null"],"example":"string"},"title":{"type":"string","example":"string"},"description":{"type":["string","null"],"example":"string"},"issue_date":{"type":["string","null"],"format":"date","example":"string"},"expiry_date":{"type":["string","null"],"format":"date","example":"string"},"status":{"type":["string","null"],"enum":["draft","active","expired","archived"],"example":"string"},"is_verified":{"type":["boolean","null"],"example":true},"verified_at":{"type":["string","null"],"format":"date","example":"string"},"verified_by":{"type":["integer","null"],"example":0},"metadata":{"type":["array","null"],"example":[]}},"required":["file_id","title"]},"DocumentGetDocument":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateDocument":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"file_id":{"type":"integer","example":0},"document_type_id":{"type":"integer","example":0},"documentable_type":{"type":"string","example":"string"},"documentable_id":{"type":"integer","example":0},"document_number":{"type":"string","example":"string"},"title":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"issue_date":{"type":"string","format":"date","example":"string"},"expiry_date":{"type":"string","format":"date","example":"string"},"status":{"type":"string","enum":["draft","active","expired","archived"],"example":"string"},"is_verified":{"type":"boolean","example":true},"verified_at":{"type":"string","format":"date","example":"string"},"verified_by":{"type":"integer","example":0},"metadata":{"type":"array","example":[]}},"required":[]},"GetDocumentVerification":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["document_id","organization_id","verification_type","status","verified_by","verified_at","rejection_reason","comments","third_party_service","third_party_reference","third_party_response","requested_by"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateDocumentVerification":{"type":"object","properties":{"document_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"verification_type":{"type":["string","null"],"enum":["manual","auto","third_party"],"example":"string"},"status":{"type":["string","null"],"enum":["pending","in_progress","verified","rejected"],"example":"string"},"verified_by":{"type":["integer","null"],"example":0},"verified_at":{"type":["string","null"],"format":"date","example":"string"},"rejection_reason":{"type":["string","null"],"example":"string"},"comments":{"type":["string","null"],"example":"string"},"third_party_service":{"type":["string","null"],"example":"string"},"third_party_reference":{"type":["string","null"],"example":"string"},"third_party_response":{"type":["array","null"],"example":[]},"requested_by":{"type":"integer","example":0},"requested_at":{"type":"string","format":"date","example":"string"}},"required":["document_id","requested_by","requested_at"]},"DocumentVerificationGetDocumentVerification":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateDocumentVerification":{"type":"object","properties":{"document_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"verification_type":{"type":"string","enum":["manual","auto","third_party"],"example":"string"},"status":{"type":"string","enum":["pending","in_progress","verified","rejected"],"example":"string"},"verified_by":{"type":"integer","example":0},"verified_at":{"type":"string","format":"date","example":"string"},"rejection_reason":{"type":"string","example":"string"},"comments":{"type":"string","example":"string"},"third_party_service":{"type":"string","example":"string"},"third_party_reference":{"type":"string","example":"string"},"third_party_response":{"type":"array","example":[]},"requested_by":{"type":"integer","example":0},"requested_at":{"type":"string","format":"date","example":"string"}},"required":[]},"Reject":{"type":"object","properties":{"reason":{"type":"string","example":"string"}},"required":[]},"GetFile":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","fileable_type","fileable_id","file_name","original_name","file_path","file_hash","mime_type","extension","file_size","disk"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateFile":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"file":{"type":"file","format":"binary","example":null},"fileable_type":{"type":["string","null"],"maxLength":255,"example":"string"},"fileable_id":{"type":["integer","null"],"example":0},"file_category":{"type":["string","null"],"enum":["image","document","video","audio","archive","other"],"example":"string"},"file_group":{"type":["string","null"],"maxLength":50,"example":"string"},"is_public":{"type":["boolean","null"],"example":true},"metadata":{"type":["array","null"],"example":[]}},"required":["file"]},"FileGetFile":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateFile":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"file":{"type":"file","format":"binary","example":null},"fileable_type":{"type":"string","maxLength":255,"example":"string"},"fileable_id":{"type":"integer","example":0},"file_category":{"type":"string","enum":["image","document","video","audio","archive","other"],"example":"string"},"file_group":{"type":"string","maxLength":50,"example":"string"},"is_public":{"type":"boolean","example":true},"metadata":{"type":"array","example":[]},"status":{"type":"string","enum":["active","archived","deleted"],"example":"string"}},"required":[]},"GetFileVersion":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["file_id","organization_id","version_number","file_name","original_name","file_path","file_hash","mime_type","extension","file_size","change_notes","change_type"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateFileVersion":{"type":"object","properties":{"file_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"version_number":{"type":["integer","null"],"example":0},"file_name":{"type":["string","null"],"example":"string"},"original_name":{"type":["string","null"],"example":"string"},"file_path":{"type":["string","null"],"example":"string"},"version_upload":{"type":"file","format":"binary","example":null},"file_hash":{"type":["string","null"],"example":"string"},"mime_type":{"type":["string","null"],"example":"string"},"extension":{"type":["string","null"],"example":"string"},"file_size":{"type":["integer","null"],"example":0},"change_notes":{"type":["string","null"],"example":"string"},"change_type":{"type":["string","null"],"enum":["new","update","restore","delete"],"example":"string"}},"required":["file_id"]},"FileVersionGetFileVersion":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateFileVersion":{"type":"object","properties":{"file_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"version_number":{"type":"integer","example":0},"file_name":{"type":"string","example":"string"},"original_name":{"type":"string","example":"string"},"file_path":{"type":"string","example":"string"},"version_upload":{"type":["file","null"],"format":"binary","example":null},"file_hash":{"type":"string","example":"string"},"mime_type":{"type":"string","example":"string"},"extension":{"type":"string","example":"string"},"file_size":{"type":"integer","example":0},"change_notes":{"type":"string","example":"string"},"change_type":{"type":"string","enum":["new","update","restore","delete"],"example":"string"}},"required":[]},"GetAttendance":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["employee_id","organization_id","branch_id","check_in_at","check_in_latitude","check_in_longitude","check_in_ip","check_out_at","check_out_latitude","check_out_longitude","check_out_ip","late_minutes"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CheckIn":{"type":"object","properties":{"latitude":{"type":["number","null"],"minimum":-90,"maximum":90,"example":0},"longitude":{"type":["number","null"],"minimum":-180,"maximum":180,"example":0}},"required":[]},"CheckOut":{"type":"object","properties":{"latitude":{"type":["number","null"],"minimum":-90,"maximum":90,"example":0},"longitude":{"type":["number","null"],"minimum":-180,"maximum":180,"example":0}},"required":[]},"CreateAttendance":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"check_in_at":{"type":["string","null"],"format":"date","example":"string"},"check_in_latitude":{"type":["number","null"],"example":0},"check_in_longitude":{"type":["number","null"],"example":0},"check_in_ip":{"type":["string","null"],"example":"string"},"check_out_at":{"type":["string","null"],"format":"date","example":"string"},"check_out_latitude":{"type":["number","null"],"example":0},"check_out_longitude":{"type":["number","null"],"example":0},"check_out_ip":{"type":["string","null"],"example":"string"},"late_minutes":{"type":["integer","null"],"example":0}},"required":["employee_id"]},"AttendanceGetAttendance":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateAttendance":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"check_in_at":{"type":"string","format":"date","example":"string"},"check_in_latitude":{"type":"number","example":0},"check_in_longitude":{"type":"number","example":0},"check_in_ip":{"type":"string","example":"string"},"check_out_at":{"type":"string","format":"date","example":"string"},"check_out_latitude":{"type":"number","example":0},"check_out_longitude":{"type":"number","example":0},"check_out_ip":{"type":"string","example":"string"},"late_minutes":{"type":"integer","example":0}},"required":[]},"GetEmployee":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"include_stats":{"type":"boolean","example":true},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["user_id","organization_id","branch_id","employee_code","employee_id","department_id","designation_id","reporting_manager_id","joining_date","confirmation_date","exit_date","employment_type"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateEmployee":{"type":"object","properties":{"user_id":{"type":["integer","null"],"example":0},"user":{"type":["array","null"],"example":[]},"properties":{"type":"string","example":"string"},"organization_id":{"type":"integer","example":0},"branch_id":{"type":["integer","null"],"example":0},"employee_code":{"type":"string","example":"string"},"employee_id":{"type":["integer","null"],"example":0},"department_id":{"type":["integer","null"],"example":0},"designation_id":{"type":["integer","null"],"example":0},"reporting_manager_id":{"type":["integer","null"],"example":0},"joining_date":{"type":"string","format":"date","example":"string"},"confirmation_date":{"type":["string","null"],"format":"date","example":"string"},"exit_date":{"type":["string","null"],"format":"date","example":"string"},"employment_type":{"type":["string","null"],"enum":["permanent","contract","probation","intern","trainee"],"example":"string"},"work_type":{"type":["string","null"],"enum":["in_house","hybrid","work_from_home"],"example":"string"},"basic_salary":{"type":["number","null"],"example":0},"gross_salary":{"type":["number","null"],"example":0},"salary_currency":{"type":["string","null"],"example":"string"},"bank_name":{"type":["string","null"],"example":"string"},"bank_account_number":{"type":["string","null"],"example":"string"},"ifsc_code":{"type":["string","null"],"example":"string"},"pan_number":{"type":["string","null"],"example":"string"},"uan_number":{"type":["string","null"],"example":"string"},"esi_number":{"type":["string","null"],"example":"string"},"emergency_contact_name":{"type":["string","null"],"example":"string"},"emergency_contact_relation":{"type":["string","null"],"example":"string"},"emergency_contact_mobile":{"type":["string","null"],"example":"string"},"status":{"type":["string","null"],"enum":["active","inactive","resigned","terminated","on_leave"],"example":"string"}},"required":["organization_id","employee_code","joining_date"]},"EmployeeGetEmployee":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateEmployee":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"employee_code":{"type":"string","example":"string"},"employee_id":{"type":"integer","example":0},"department_id":{"type":"integer","example":0},"designation_id":{"type":"integer","example":0},"reporting_manager_id":{"type":"integer","example":0},"joining_date":{"type":"string","format":"date","example":"string"},"confirmation_date":{"type":"string","format":"date","example":"string"},"exit_date":{"type":"string","format":"date","example":"string"},"employment_type":{"type":"string","enum":["permanent","contract","probation","intern","trainee"],"example":"string"},"work_type":{"type":"string","enum":["in_house","hybrid","work_from_home"],"example":"string"},"basic_salary":{"type":"number","example":0},"gross_salary":{"type":"number","example":0},"salary_currency":{"type":"string","example":"string"},"bank_name":{"type":"string","example":"string"},"bank_account_number":{"type":"string","example":"string"},"ifsc_code":{"type":"string","example":"string"},"pan_number":{"type":"string","example":"string"},"uan_number":{"type":"string","example":"string"},"esi_number":{"type":"string","example":"string"},"emergency_contact_name":{"type":"string","example":"string"},"emergency_contact_relation":{"type":"string","example":"string"},"emergency_contact_mobile":{"type":"string","example":"string"},"status":{"type":"string","enum":["active","inactive","resigned","terminated","on_leave"],"example":"string"}},"required":[]},"GetEmployeeDocument":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["employee_id","organization_id","file_id","document_type_id","document_name","document_number","description","issue_date","expiry_date","status","rejection_reason","verified_by"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateEmployeeDocument":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"file_id":{"type":"integer","example":0},"document_type_id":{"type":["integer","null"],"example":0},"document_name":{"type":"string","example":"string"},"document_number":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"issue_date":{"type":["string","null"],"format":"date","example":"string"},"expiry_date":{"type":["string","null"],"format":"date","example":"string"},"status":{"type":["string","null"],"enum":["pending","verified","rejected","expired"],"example":"string"},"rejection_reason":{"type":["string","null"],"example":"string"},"verified_by":{"type":["integer","null"],"example":0},"verified_at":{"type":["string","null"],"format":"date","example":"string"}},"required":["employee_id","file_id","document_name"]},"EmployeeDocumentGetEmployeeDocument":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateEmployeeDocument":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"file_id":{"type":"integer","example":0},"document_type_id":{"type":"integer","example":0},"document_name":{"type":"string","example":"string"},"document_number":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"issue_date":{"type":"string","format":"date","example":"string"},"expiry_date":{"type":"string","format":"date","example":"string"},"status":{"type":"string","enum":["pending","verified","rejected","expired"],"example":"string"},"rejection_reason":{"type":"string","example":"string"},"verified_by":{"type":"integer","example":0},"verified_at":{"type":"string","format":"date","example":"string"}},"required":[]},"GetEmployeePromotion":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["employee_id","organization_id","from_designation_id","from_salary","to_designation_id","to_salary","promotion_date","salary_increment_percentage","reason","approved_by","approved_at","status"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateEmployeePromotion":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"from_designation_id":{"type":["integer","null"],"example":0},"from_salary":{"type":["number","null"],"example":0},"to_designation_id":{"type":["integer","null"],"example":0},"to_salary":{"type":["number","null"],"example":0},"promotion_date":{"type":"string","format":"date","example":"string"},"salary_increment_percentage":{"type":["number","null"],"example":0},"reason":{"type":["string","null"],"example":"string"},"rejection_reason":{"type":["string","null"],"example":"string"}},"required":["employee_id","promotion_date"]},"EmployeePromotionGetEmployeePromotion":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateEmployeePromotion":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"from_designation_id":{"type":"integer","example":0},"from_salary":{"type":"number","example":0},"to_designation_id":{"type":"integer","example":0},"to_salary":{"type":"number","example":0},"promotion_date":{"type":"string","format":"date","example":"string"},"salary_increment_percentage":{"type":"number","example":0},"reason":{"type":"string","example":"string"},"rejection_reason":{"type":"string","example":"string"}},"required":[]},"GetEmployeeTransfer":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["employee_id","organization_id","from_branch_id","from_department_id","from_designation_id","to_branch_id","to_department_id","to_designation_id","transfer_date","reason","approved_by","approved_at"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateEmployeeTransfer":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"from_branch_id":{"type":["integer","null"],"example":0},"from_department_id":{"type":["integer","null"],"example":0},"from_designation_id":{"type":["integer","null"],"example":0},"to_branch_id":{"type":["integer","null"],"example":0},"to_department_id":{"type":["integer","null"],"example":0},"to_designation_id":{"type":["integer","null"],"example":0},"transfer_date":{"type":"string","format":"date","example":"string"},"reason":{"type":["string","null"],"example":"string"}},"required":["employee_id","transfer_date"]},"EmployeeTransferGetEmployeeTransfer":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateEmployeeTransfer":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"from_branch_id":{"type":"integer","example":0},"from_department_id":{"type":"integer","example":0},"from_designation_id":{"type":"integer","example":0},"to_branch_id":{"type":"integer","example":0},"to_department_id":{"type":"integer","example":0},"to_designation_id":{"type":"integer","example":0},"transfer_date":{"type":"string","format":"date","example":"string"},"reason":{"type":"string","example":"string"},"rejection_reason":{"type":"string","example":"string"}},"required":[]},"GetHolidayCalendar":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","name","description","holiday_date","holiday_type","is_paid","is_recurring","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateHolidayCalendar":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"description":{"type":["string","null"],"example":"string"},"holiday_date":{"type":"string","format":"date","example":"string"},"holiday_type":{"type":["string","null"],"enum":["public","organization","festival","national"],"example":"string"},"is_paid":{"type":["boolean","null"],"example":true},"is_recurring":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["name","holiday_date"]},"HolidayCalendarGetHolidayCalendar":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateHolidayCalendar":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"holiday_date":{"type":"string","format":"date","example":"string"},"holiday_type":{"type":"string","enum":["public","organization","festival","national"],"example":"string"},"is_paid":{"type":"boolean","example":true},"is_recurring":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetLeafe":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"status":{"type":["string","null"],"enum":["pending","approved","rejected","cancelled"],"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["employee_id","organization_id","branch_id","leave_type_id","from_date","to_date","days","reason","remarks","half_day_type","applied_by","approved_by"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateLeave":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"leave_type_id":{"type":"integer","example":0},"from_date":{"type":"string","format":"date","example":"string"},"to_date":{"type":"string","format":"date","example":"string"},"reason":{"type":["string","null"],"example":"string"},"remarks":{"type":["string","null"],"example":"string"},"half_day_type":{"type":["string","null"],"enum":["first_half","second_half","full_day"],"example":"string"}},"required":["employee_id","leave_type_id","from_date","to_date"]},"GetLeaveBalance":{"type":"object","properties":{"year":{"type":["integer","null"],"minimum":2000,"maximum":2200,"example":0}},"required":[]},"GetLeave":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLeave":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"leave_type_id":{"type":"integer","example":0},"from_date":{"type":"string","format":"date","example":"string"},"to_date":{"type":"string","format":"date","example":"string"},"reason":{"type":["string","null"],"example":"string"},"remarks":{"type":["string","null"],"example":"string"},"half_day_type":{"type":"string","enum":["first_half","second_half","full_day"],"example":"string"}},"required":[]},"LeaveReject":{"type":"object","properties":{"rejection_reason":{"type":"string","example":"string"}},"required":[]},"GetLeaveType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","days_per_year","is_paid","is_carry_forward","max_carry_forward_days","gender_restriction","min_service_days","notice_days","requires_approval"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateLeaveType":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"days_per_year":{"type":["integer","null"],"example":0},"is_paid":{"type":["boolean","null"],"example":true},"is_carry_forward":{"type":["boolean","null"],"example":true},"max_carry_forward_days":{"type":["integer","null"],"example":0},"gender_restriction":{"type":["string","null"],"enum":["all","male","female"],"example":"string"},"min_service_days":{"type":["integer","null"],"example":0},"notice_days":{"type":["integer","null"],"example":0},"requires_approval":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"LeaveTypeGetLeaveType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLeaveType":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"days_per_year":{"type":"integer","example":0},"is_paid":{"type":"boolean","example":true},"is_carry_forward":{"type":"boolean","example":true},"max_carry_forward_days":{"type":"integer","example":0},"gender_restriction":{"type":"string","enum":["all","male","female"],"example":"string"},"min_service_days":{"type":"integer","example":0},"notice_days":{"type":"integer","example":0},"requires_approval":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetApiRateLimit":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","integration_config_id","endpoint","method","limit","period","remaining","reset_at","last_used_at"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateApiRateLimit":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"integration_config_id":{"type":["integer","null"],"example":0},"endpoint":{"type":"string","example":"string"},"method":{"type":"string","example":"string"},"limit":{"type":["integer","null"],"example":0},"period":{"type":["integer","null"],"example":0},"remaining":{"type":["integer","null"],"example":0},"reset_at":{"type":["string","null"],"format":"date","example":"string"},"last_used_at":{"type":["string","null"],"format":"date","example":"string"}},"required":["endpoint","method"]},"ApiRateLimitGetApiRateLimit":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateApiRateLimit":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"integration_config_id":{"type":"integer","example":0},"endpoint":{"type":"string","example":"string"},"method":{"type":"string","example":"string"},"limit":{"type":"integer","example":0},"period":{"type":"integer","example":0},"remaining":{"type":"integer","example":0},"reset_at":{"type":"string","format":"date","example":"string"},"last_used_at":{"type":"string","format":"date","example":"string"}},"required":[]},"GetIntegrationConfig":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","integration_name","provider","api_key","api_secret","access_token","refresh_token","additional_credentials","webhook_url","webhook_secret","is_enabled","is_test_mode"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateIntegrationConfig":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"integration_name":{"type":"string","example":"string"},"provider":{"type":"string","example":"string"},"api_key":{"type":["string","null"],"example":"string"},"api_secret":{"type":["string","null"],"example":"string"},"access_token":{"type":["string","null"],"example":"string"},"refresh_token":{"type":["string","null"],"example":"string"},"additional_credentials":{"type":["array","null"],"example":[]},"webhook_url":{"type":["string","null"],"example":"string"},"webhook_secret":{"type":["string","null"],"example":"string"},"is_enabled":{"type":["boolean","null"],"example":true},"is_test_mode":{"type":["boolean","null"],"example":true},"settings":{"type":["array","null"],"example":[]},"rate_limit":{"type":["integer","null"],"example":0},"rate_limit_period":{"type":["integer","null"],"example":0}},"required":["integration_name","provider"]},"IntegrationConfigGetIntegrationConfig":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateIntegrationConfig":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"integration_name":{"type":"string","example":"string"},"provider":{"type":"string","example":"string"},"api_key":{"type":"string","example":"string"},"api_secret":{"type":"string","example":"string"},"access_token":{"type":"string","example":"string"},"refresh_token":{"type":"string","example":"string"},"additional_credentials":{"type":"array","example":[]},"webhook_url":{"type":"string","example":"string"},"webhook_secret":{"type":"string","example":"string"},"is_enabled":{"type":"boolean","example":true},"is_test_mode":{"type":"boolean","example":true},"settings":{"type":"array","example":[]},"rate_limit":{"type":"integer","example":0},"rate_limit_period":{"type":"integer","example":0}},"required":[]},"GetNotificationTemplate":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["name","event_key","channel","is_active","created_at","updated_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateNotificationTemplate":{"type":"object","properties":{"name":{"type":"string","maxLength":150,"example":"string"},"event_key":{"type":"string","maxLength":150,"example":"string"},"channel":{"type":"string","enum":["email","sms","whatsapp","push"],"example":"string"},"subject":{"type":["string","null"],"maxLength":255,"example":"string"},"body":{"type":"string","example":"string"},"variables":{"type":["array","null"],"example":[]},"is_active":{"type":["boolean","null"],"example":true}},"required":["name","event_key","channel","body"]},"NotificationTemplateGetNotificationTemplate":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateNotificationTemplate":{"type":"object","properties":{"name":{"type":"string","maxLength":150,"example":"string"},"event_key":{"type":"string","maxLength":150,"example":"string"},"channel":{"type":"string","enum":["email","sms","whatsapp","push"],"example":"string"},"subject":{"type":["string","null"],"maxLength":255,"example":"string"},"body":{"type":"string","example":"string"},"variables":{"type":["array","null"],"example":[]},"is_active":{"type":"boolean","example":true}},"required":[]},"GetIntegrationLog":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","integration_config_id","provider","endpoint","method","log_type","request_data","response_data","error_message","status_code","response_time_ms","ip_address"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateIntegrationLog":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"integration_config_id":{"type":["integer","null"],"example":0},"provider":{"type":"string","example":"string"},"endpoint":{"type":["string","null"],"example":"string"},"method":{"type":["string","null"],"enum":["GET","POST","PUT","PATCH","DELETE"],"example":"string"},"log_type":{"type":["string","null"],"enum":["request","response","webhook","error","sync"],"example":"string"},"request_data":{"type":["array","null"],"example":[]},"response_data":{"type":["array","null"],"example":[]},"error_message":{"type":["string","null"],"example":"string"},"status_code":{"type":["integer","null"],"example":0},"response_time_ms":{"type":["integer","null"],"example":0},"ip_address":{"type":["string","null"],"example":"string"},"user_agent":{"type":["string","null"],"example":"string"},"is_successful":{"type":["boolean","null"],"example":true},"is_retry":{"type":["boolean","null"],"example":true},"retry_count":{"type":["integer","null"],"example":0},"reference_id":{"type":["integer","null"],"example":0}},"required":["provider"]},"IntegrationLogGetIntegrationLog":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateIntegrationLog":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"integration_config_id":{"type":"integer","example":0},"provider":{"type":"string","example":"string"},"endpoint":{"type":"string","example":"string"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"example":"string"},"log_type":{"type":"string","enum":["request","response","webhook","error","sync"],"example":"string"},"request_data":{"type":"array","example":[]},"response_data":{"type":"array","example":[]},"error_message":{"type":"string","example":"string"},"status_code":{"type":"integer","example":0},"response_time_ms":{"type":"integer","example":0},"ip_address":{"type":"string","example":"string"},"user_agent":{"type":"string","example":"string"},"is_successful":{"type":"boolean","example":true},"is_retry":{"type":"boolean","example":true},"retry_count":{"type":"integer","example":0},"reference_id":{"type":"integer","example":0}},"required":[]},"GetWebhookLog":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","integration_config_id","provider","event_type","webhook_id","payload","headers","status","error_message","retry_count","received_at","processed_at"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateWebhookLog":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"integration_config_id":{"type":["integer","null"],"example":0},"provider":{"type":"string","example":"string"},"event_type":{"type":["string","null"],"example":"string"},"webhook_id":{"type":["integer","null"],"example":0},"payload":{"type":["array","null"],"example":[]},"headers":{"type":["array","null"],"example":[]},"status":{"type":["string","null"],"enum":["received","processing","processed","failed"],"example":"string"},"error_message":{"type":["string","null"],"example":"string"},"retry_count":{"type":["integer","null"],"example":0},"received_at":{"type":"string","format":"date","example":"string"},"processed_at":{"type":["string","null"],"format":"date","example":"string"},"is_processed":{"type":["boolean","null"],"example":true},"signature":{"type":["string","null"],"example":"string"}},"required":["provider","received_at"]},"WebhookLogGetWebhookLog":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateWebhookLog":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"integration_config_id":{"type":"integer","example":0},"provider":{"type":"string","example":"string"},"event_type":{"type":"string","example":"string"},"webhook_id":{"type":"integer","example":0},"payload":{"type":"array","example":[]},"headers":{"type":"array","example":[]},"status":{"type":"string","enum":["received","processing","processed","failed"],"example":"string"},"error_message":{"type":"string","example":"string"},"retry_count":{"type":"integer","example":0},"received_at":{"type":"string","format":"date","example":"string"},"processed_at":{"type":"string","format":"date","example":"string"},"is_processed":{"type":"boolean","example":true},"signature":{"type":"string","example":"string"}},"required":[]},"GetCity":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["state_id","name","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateCity":{"type":"object","properties":{"state_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["state_id","name"]},"CityGetCity":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateCity":{"type":"object","properties":{"state_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetCountry":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["name","iso_code_2","iso_code_3","phone_code","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateCountry":{"type":"object","properties":{"name":{"type":"string","example":"string"},"iso_code_2":{"type":"string","example":"string"},"iso_code_3":{"type":"string","example":"string"},"phone_code":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["name","iso_code_2","iso_code_3"]},"CountryGetCountry":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateCountry":{"type":"object","properties":{"name":{"type":"string","example":"string"},"iso_code_2":{"type":"string","example":"string"},"iso_code_3":{"type":"string","example":"string"},"phone_code":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetState":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["country_id","name","code","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateState":{"type":"object","properties":{"country_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["country_id","name"]},"StateGetState":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateState":{"type":"object","properties":{"country_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetBankMaster":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","bank_name","branch_name","ifsc_code","micr_code","swift_code","address","city_id","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateBankMaster":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"bank_name":{"type":"string","example":"string"},"branch_name":{"type":["string","null"],"example":"string"},"ifsc_code":{"type":["string","null"],"example":"string"},"micr_code":{"type":["string","null"],"example":"string"},"swift_code":{"type":["string","null"],"example":"string"},"address":{"type":["string","null"],"example":"string"},"city_id":{"type":["integer","null"],"example":0},"is_active":{"type":["boolean","null"],"example":true}},"required":["bank_name"]},"BankMasterGetBankMaster":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateBankMaster":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"bank_name":{"type":"string","example":"string"},"branch_name":{"type":"string","example":"string"},"ifsc_code":{"type":"string","example":"string"},"micr_code":{"type":"string","example":"string"},"swift_code":{"type":"string","example":"string"},"address":{"type":"string","example":"string"},"city_id":{"type":"integer","example":0},"is_active":{"type":"boolean","example":true}},"required":[]},"GetDepartment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","manager_id","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateDepartment":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"manager_id":{"type":["integer","null"],"example":0},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"DepartmentGetDepartment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateDepartment":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"manager_id":{"type":"integer","example":0},"is_active":{"type":"boolean","example":true}},"required":[]},"GetDesignation":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","level","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateDesignation":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"level":{"type":["integer","null"],"example":0},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"DesignationGetDesignation":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateDesignation":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"level":{"type":"integer","example":0},"is_active":{"type":"boolean","example":true}},"required":[]},"GetDocumentType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","category","is_mandatory","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateDocumentType":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"category":{"type":["string","null"],"example":"string"},"is_mandatory":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"DocumentTypeGetDocumentType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateDocumentType":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"category":{"type":"string","example":"string"},"is_mandatory":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetExpenseCategory":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","expense_type_id","name","code","description","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateExpenseCategory":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"expense_type_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["expense_type_id","name"]},"ExpenseCategoryGetExpenseCategory":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateExpenseCategory":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"expense_type_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetExpenseType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateExpenseType":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"ExpenseTypeGetExpenseType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateExpenseType":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetLeadSource":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateLeadSource":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"LeadSourceGetLeadSource":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLeadSource":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetMaterialMaster":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","unit_id","rate_per_unit","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMaterialMaster":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"unit_id":{"type":["integer","null"],"example":0},"rate_per_unit":{"type":["number","null"],"example":0},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"MaterialMasterGetMaterialMaster":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMaterialMaster":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"unit_id":{"type":"integer","example":0},"rate_per_unit":{"type":"number","example":0},"is_active":{"type":"boolean","example":true}},"required":[]},"GetPaymentMode":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePaymentMode":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"PaymentModeGetPaymentMode":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePaymentMode":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetPlotType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePlotType":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"PlotTypeGetPlotType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePlotType":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetProjectType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateProjectType":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"ProjectTypeGetProjectType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateProjectType":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetPropertyCategory":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePropertyCategory":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"PropertyCategoryGetPropertyCategory":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePropertyCategory":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetPropertyType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","property_category_id","name","code","description","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePropertyType":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"property_category_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["property_category_id","name"]},"PropertyTypeGetPropertyType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePropertyType":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"property_category_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetUnit":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","unit_type_id","name","code","symbol","conversion_factor","is_default","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateUnit":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"unit_type_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"symbol":{"type":["string","null"],"example":"string"},"conversion_factor":{"type":["number","null"],"example":0},"is_default":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["unit_type_id","name"]},"UnitGetUnit":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateUnit":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"unit_type_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"symbol":{"type":"string","example":"string"},"conversion_factor":{"type":"number","example":0},"is_default":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetUnitType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateUnitType":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"UnitTypeGetUnitType":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateUnitType":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetMlmAgent":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["user_id","organization_id","branch_id","agent_code","sponsor_id","placement_id","current_rank_id","rank_achieved_date","total_bv","personal_bv","team_bv","left_bv"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmAgent":{"type":"object","properties":{"user_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"network_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"agent_code":{"type":["string","null"],"maxLength":50,"example":"string"},"sponsor_id":{"type":["integer","null"],"example":0},"placement_id":{"type":["integer","null"],"example":0},"placement_position":{"type":["string","null"],"enum":["left","right"],"example":"string"},"sponsor_type":{"type":["string","null"],"enum":["organization","agent"],"example":"string"},"current_rank_id":{"type":["integer","null"],"example":0},"rank_achieved_date":{"type":["string","null"],"format":"date","example":"string"},"total_bv":{"type":["number","null"],"example":0},"personal_bv":{"type":["number","null"],"example":0},"team_bv":{"type":["number","null"],"example":0},"left_bv":{"type":["number","null"],"example":0},"right_bv":{"type":["number","null"],"example":0},"left_count":{"type":["integer","null"],"example":0},"right_count":{"type":["integer","null"],"example":0},"total_commission_earned":{"type":["number","null"],"example":0},"pending_commission":{"type":["number","null"],"example":0},"status":{"type":["string","null"],"enum":["active","inactive","suspended"],"example":"string"},"activation_date":{"type":"string","format":"date","example":"string"},"deactivation_date":{"type":["string","null"],"format":"date","example":"string"},"is_kyc_verified":{"type":["boolean","null"],"example":true},"kyc_verified_at":{"type":["string","null"],"format":"date","example":"string"}},"required":["user_id","activation_date"]},"EnrollBusinessAssociate":{"type":"object","properties":{"user_id":{"type":"integer","example":0},"network_id":{"type":"integer","example":0},"agent_code":{"type":["string","null"],"maxLength":60,"example":"string"},"sponsor_id":{"type":["integer","null"],"example":0},"placement_id":{"type":["integer","null"],"example":0},"placement_position":{"type":["string","null"],"enum":["left","right"],"example":"string"}},"required":["user_id","network_id"]},"MlmAgentGetMlmAgent":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmAgent":{"type":"object","properties":{"user_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"agent_code":{"type":"string","example":"string"},"sponsor_id":{"type":"integer","example":0},"placement_id":{"type":"integer","example":0},"current_rank_id":{"type":"integer","example":0},"rank_achieved_date":{"type":"string","format":"date","example":"string"},"total_bv":{"type":"number","example":0},"personal_bv":{"type":"number","example":0},"team_bv":{"type":"number","example":0},"left_bv":{"type":"number","example":0},"right_bv":{"type":"number","example":0},"left_count":{"type":"integer","example":0},"right_count":{"type":"integer","example":0},"total_commission_earned":{"type":"number","example":0},"pending_commission":{"type":"number","example":0},"status":{"type":"string","enum":["active","inactive","suspended"],"example":"string"},"activation_date":{"type":"string","format":"date","example":"string"},"deactivation_date":{"type":"string","format":"date","example":"string"},"is_kyc_verified":{"type":"boolean","example":true},"kyc_verified_at":{"type":"string","format":"date","example":"string"}},"required":[]},"GetMlmNetwork":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["name","code","status","created_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmNetwork":{"type":"object","properties":{"name":{"type":"string","maxLength":120,"example":"string"},"code":{"type":"string","maxLength":60,"example":"string"},"branch_id":{"type":["integer","null"],"example":0},"status":{"type":["string","null"],"maxLength":30,"example":"string"},"metadata":{"type":["array","null"],"example":[]}},"required":["name","code"]},"UpdateMlmNetwork":{"type":"object","properties":{"name":{"type":"string","maxLength":120,"example":"string"},"code":{"type":"string","maxLength":60,"example":"string"},"branch_id":{"type":["integer","null"],"example":0},"status":{"type":"string","maxLength":30,"example":"string"},"metadata":{"type":["array","null"],"example":[]}},"required":[]},"GetMlmClosure":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","ancestor_id","descendant_id","depth"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmClosure":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"ancestor_id":{"type":"integer","example":0},"descendant_id":{"type":"integer","example":0},"depth":{"type":["integer","null"],"example":0}},"required":["ancestor_id","descendant_id"]},"MlmClosureGetMlmClosure":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmClosure":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"ancestor_id":{"type":"integer","example":0},"descendant_id":{"type":"integer","example":0},"depth":{"type":"integer","example":0}},"required":[]},"GetMlmCommission":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["agent_id","organization_id","transaction_id","commission_code","commission_type","amount","rate","bv_value","level","from_agent_id","downline_agent_id","status"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmCommission":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"transaction_id":{"type":["integer","null"],"example":0},"commission_code":{"type":"string","example":"string"},"commission_type":{"type":["string","null"],"enum":["direct","binary","matching","level","royalty","bonus","incentive"],"example":"string"},"amount":{"type":"number","example":0},"rate":{"type":"number","example":0},"bv_value":{"type":["number","null"],"example":0},"level":{"type":["integer","null"],"example":0},"from_agent_id":{"type":["integer","null"],"example":0},"downline_agent_id":{"type":["integer","null"],"example":0},"status":{"type":["string","null"],"enum":["pending","approved","paid","cancelled"],"example":"string"},"approved_by":{"type":["integer","null"],"example":0},"approved_at":{"type":["string","null"],"format":"date","example":"string"},"payment_id":{"type":["integer","null"],"example":0},"paid_at":{"type":["string","null"],"format":"date","example":"string"},"remarks":{"type":["string","null"],"example":"string"}},"required":["agent_id","commission_code","amount","rate"]},"MlmCommissionGetMlmCommission":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmCommission":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"transaction_id":{"type":"integer","example":0},"commission_code":{"type":"string","example":"string"},"commission_type":{"type":"string","enum":["direct","binary","matching","level","royalty","bonus","incentive"],"example":"string"},"amount":{"type":"number","example":0},"rate":{"type":"number","example":0},"bv_value":{"type":"number","example":0},"level":{"type":"integer","example":0},"from_agent_id":{"type":"integer","example":0},"downline_agent_id":{"type":"integer","example":0},"status":{"type":"string","enum":["pending","approved","paid","cancelled"],"example":"string"},"approved_by":{"type":"integer","example":0},"approved_at":{"type":"string","format":"date","example":"string"},"payment_id":{"type":"integer","example":0},"paid_at":{"type":"string","format":"date","example":"string"},"remarks":{"type":"string","example":"string"}},"required":[]},"GetMlmCommissionLedger":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["agent_id","organization_id","commission_id","transaction_type","amount","balance_before","balance_after","reference_type","reference_id","description"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmCommissionLedger":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"commission_id":{"type":"integer","example":0},"transaction_type":{"type":["string","null"],"enum":["credit","debit"],"example":"string"},"amount":{"type":"number","example":0},"balance_before":{"type":"number","example":0},"balance_after":{"type":"number","example":0},"reference_type":{"type":["string","null"],"example":"string"},"reference_id":{"type":["integer","null"],"example":0},"description":{"type":["string","null"],"example":"string"}},"required":["agent_id","commission_id","amount","balance_before","balance_after"]},"MlmCommissionLedgerGetMlmCommissionLedger":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmCommissionLedger":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"commission_id":{"type":"integer","example":0},"transaction_type":{"type":"string","enum":["credit","debit"],"example":"string"},"amount":{"type":"number","example":0},"balance_before":{"type":"number","example":0},"balance_after":{"type":"number","example":0},"reference_type":{"type":"string","example":"string"},"reference_id":{"type":"integer","example":0},"description":{"type":"string","example":"string"}},"required":[]},"GetMlmOffer":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","offer_type","reward_type","target_bv","target_team_count","target_rank_level","reward_points","reward_bonus","start_date"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmOffer":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":["string","null"],"example":"string"},"offer_type":{"type":["string","null"],"enum":["bv_target","team_bv","rank_achievement","recruitment","special"],"example":"string"},"reward_type":{"type":["string","null"],"enum":["points","bonus","gift","cash"],"example":"string"},"target_bv":{"type":["number","null"],"example":0},"target_team_count":{"type":["integer","null"],"example":0},"target_rank_level":{"type":["integer","null"],"example":0},"reward_points":{"type":["number","null"],"example":0},"reward_bonus":{"type":["number","null"],"example":0},"start_date":{"type":"string","format":"date","example":"string"},"end_date":{"type":"string","format":"date","example":"string"},"is_active":{"type":["boolean","null"],"example":true},"is_unlimited":{"type":["boolean","null"],"example":true},"max_claims":{"type":["integer","null"],"example":0}},"required":["name","code","start_date","end_date"]},"MlmOfferGetMlmOffer":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmOffer":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"offer_type":{"type":"string","enum":["bv_target","team_bv","rank_achievement","recruitment","special"],"example":"string"},"reward_type":{"type":"string","enum":["points","bonus","gift","cash"],"example":"string"},"target_bv":{"type":"number","example":0},"target_team_count":{"type":"integer","example":0},"target_rank_level":{"type":"integer","example":0},"reward_points":{"type":"number","example":0},"reward_bonus":{"type":"number","example":0},"start_date":{"type":"string","format":"date","example":"string"},"end_date":{"type":"string","format":"date","example":"string"},"is_active":{"type":"boolean","example":true},"is_unlimited":{"type":"boolean","example":true},"max_claims":{"type":"integer","example":0}},"required":[]},"GetMlmRank":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","level","min_personal_bv","min_team_bv","min_direct_count","min_team_count","direct_commission_rate","binary_commission_rate","matching_commission_rate"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmRank":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":["string","null"],"example":"string"},"level":{"type":["integer","null"],"example":0},"min_personal_bv":{"type":["number","null"],"example":0},"min_team_bv":{"type":["number","null"],"example":0},"min_direct_count":{"type":["integer","null"],"example":0},"min_team_count":{"type":["integer","null"],"example":0},"direct_commission_rate":{"type":["number","null"],"example":0},"binary_commission_rate":{"type":["number","null"],"example":0},"matching_commission_rate":{"type":["number","null"],"example":0},"level_commission_rate":{"type":["number","null"],"example":0},"benefits":{"type":["array","null"],"example":[]},"is_active":{"type":["boolean","null"],"example":true},"is_default":{"type":["boolean","null"],"example":true}},"required":["name","code"]},"MlmRankGetMlmRank":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmRank":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"level":{"type":"integer","example":0},"min_personal_bv":{"type":"number","example":0},"min_team_bv":{"type":"number","example":0},"min_direct_count":{"type":"integer","example":0},"min_team_count":{"type":"integer","example":0},"direct_commission_rate":{"type":"number","example":0},"binary_commission_rate":{"type":"number","example":0},"matching_commission_rate":{"type":"number","example":0},"level_commission_rate":{"type":"number","example":0},"benefits":{"type":"array","example":[]},"is_active":{"type":"boolean","example":true},"is_default":{"type":"boolean","example":true}},"required":[]},"GetMlmReward":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["agent_id","organization_id","offer_id","reward_code","reward_type","points","bonus_amount","target_bv","achieved_bv","achieved_percentage","status","approved_by"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmReward":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"offer_id":{"type":["integer","null"],"example":0},"reward_code":{"type":"string","example":"string"},"reward_type":{"type":"string","example":"string"},"points":{"type":["number","null"],"example":0},"bonus_amount":{"type":["number","null"],"example":0},"target_bv":{"type":["number","null"],"example":0},"achieved_bv":{"type":["number","null"],"example":0},"achieved_percentage":{"type":["integer","null"],"example":0},"status":{"type":["string","null"],"enum":["pending","approved","rejected","redeemed"],"example":"string"},"approved_by":{"type":["integer","null"],"example":0},"approved_at":{"type":["string","null"],"format":"date","example":"string"},"reward_date":{"type":"string","format":"date","example":"string"},"expiry_date":{"type":["string","null"],"format":"date","example":"string"},"remarks":{"type":["string","null"],"example":"string"}},"required":["agent_id","reward_code","reward_type","reward_date"]},"MlmRewardGetMlmReward":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmReward":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"offer_id":{"type":"integer","example":0},"reward_code":{"type":"string","example":"string"},"reward_type":{"type":"string","example":"string"},"points":{"type":"number","example":0},"bonus_amount":{"type":"number","example":0},"target_bv":{"type":"number","example":0},"achieved_bv":{"type":"number","example":0},"achieved_percentage":{"type":"integer","example":0},"status":{"type":"string","enum":["pending","approved","rejected","redeemed"],"example":"string"},"approved_by":{"type":"integer","example":0},"approved_at":{"type":"string","format":"date","example":"string"},"reward_date":{"type":"string","format":"date","example":"string"},"expiry_date":{"type":"string","format":"date","example":"string"},"remarks":{"type":"string","example":"string"}},"required":[]},"GetMlmStatistic":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["agent_id","organization_id","total_downline","active_downline","direct_downline","level_counts","total_team_bv","left_team_bv","right_team_bv","monthly_bv","weekly_bv","daily_bv"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmStatistic":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"total_downline":{"type":["integer","null"],"example":0},"active_downline":{"type":["integer","null"],"example":0},"direct_downline":{"type":["integer","null"],"example":0},"level_counts":{"type":["array","null"],"example":[]},"total_team_bv":{"type":["number","null"],"example":0},"left_team_bv":{"type":["number","null"],"example":0},"right_team_bv":{"type":["number","null"],"example":0},"monthly_bv":{"type":["number","null"],"example":0},"weekly_bv":{"type":["number","null"],"example":0},"daily_bv":{"type":["number","null"],"example":0},"total_commission":{"type":["number","null"],"example":0},"monthly_commission":{"type":["number","null"],"example":0},"pending_commission":{"type":["number","null"],"example":0},"next_rank_progress":{"type":["string","null"],"example":"string"},"next_rank_bv_required":{"type":["number","null"],"example":0},"summary_date":{"type":"string","format":"date","example":"string"}},"required":["agent_id","summary_date"]},"MlmStatisticGetMlmStatistic":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmStatistic":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"total_downline":{"type":"integer","example":0},"active_downline":{"type":"integer","example":0},"direct_downline":{"type":"integer","example":0},"level_counts":{"type":"array","example":[]},"total_team_bv":{"type":"number","example":0},"left_team_bv":{"type":"number","example":0},"right_team_bv":{"type":"number","example":0},"monthly_bv":{"type":"number","example":0},"weekly_bv":{"type":"number","example":0},"daily_bv":{"type":"number","example":0},"total_commission":{"type":"number","example":0},"monthly_commission":{"type":"number","example":0},"pending_commission":{"type":"number","example":0},"next_rank_progress":{"type":"string","example":"string"},"next_rank_bv_required":{"type":"number","example":0},"summary_date":{"type":"string","format":"date","example":"string"}},"required":[]},"GetMlmWallet":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["agent_id","organization_id","balance","total_credited","total_debited","pending_withdrawal","min_withdrawal","max_withdrawal","is_active","last_activity_at"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmWallet":{"type":"object","properties":{"agent_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"balance":{"type":"string","example":"string"},"total_credited":{"type":"string","example":"string"},"total_debited":{"type":"string","example":"string"},"pending_withdrawal":{"type":"string","example":"string"},"last_activity_at":{"type":"string","example":"string"},"min_withdrawal":{"type":["number","null"],"minimum":0,"format":"decimal","example":0},"max_withdrawal":{"type":["number","null"],"minimum":0,"format":"decimal","example":0},"is_active":{"type":["boolean","null"],"example":true}},"required":["agent_id"]},"MlmWalletGetMlmWallet":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmWallet":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"agent_id":{"type":"string","example":"string"},"balance":{"type":"string","example":"string"},"total_credited":{"type":"string","example":"string"},"total_debited":{"type":"string","example":"string"},"pending_withdrawal":{"type":"string","example":"string"},"last_activity_at":{"type":"string","example":"string"},"min_withdrawal":{"type":"number","minimum":0,"format":"decimal","example":0},"max_withdrawal":{"type":"number","minimum":0,"format":"decimal","example":0},"is_active":{"type":"boolean","example":true}},"required":[]},"GetMlmWalletTransaction":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["wallet_id","agent_id","organization_id","transaction_code","transaction_type","direction","amount","balance_before","balance_after","reference_type","reference_id","bank_account"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateMlmWalletTransaction":{"type":"object","properties":{"wallet_id":{"type":"integer","example":0},"agent_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"transaction_code":{"type":"string","example":"string"},"transaction_type":{"type":["string","null"],"enum":["commission","withdrawal","transfer","adjustment","reward"],"example":"string"},"direction":{"type":["string","null"],"enum":["credit","debit"],"example":"string"},"amount":{"type":"number","example":0},"balance_before":{"type":"number","example":0},"balance_after":{"type":"number","example":0},"reference_type":{"type":["string","null"],"example":"string"},"reference_id":{"type":["integer","null"],"example":0},"bank_account":{"type":["string","null"],"example":"string"},"upi_id":{"type":["integer","null"],"example":0},"transaction_id":{"type":["integer","null"],"example":0},"status":{"type":["string","null"],"enum":["pending","processed","completed","failed","cancelled"],"example":"string"},"failure_reason":{"type":["string","null"],"example":"string"},"approved_by":{"type":["integer","null"],"example":0},"approved_at":{"type":["string","null"],"format":"date","example":"string"},"processed_by":{"type":["integer","null"],"example":0},"processed_at":{"type":["string","null"],"format":"date","example":"string"},"remarks":{"type":["string","null"],"example":"string"}},"required":["wallet_id","agent_id","transaction_code","amount","balance_before","balance_after"]},"MlmWalletTransactionGetMlmWalletTransaction":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateMlmWalletTransaction":{"type":"object","properties":{"wallet_id":{"type":"integer","example":0},"agent_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"transaction_code":{"type":"string","example":"string"},"transaction_type":{"type":"string","enum":["commission","withdrawal","transfer","adjustment","reward"],"example":"string"},"direction":{"type":"string","enum":["credit","debit"],"example":"string"},"amount":{"type":"number","example":0},"balance_before":{"type":"number","example":0},"balance_after":{"type":"number","example":0},"reference_type":{"type":"string","example":"string"},"reference_id":{"type":"integer","example":0},"bank_account":{"type":"string","example":"string"},"upi_id":{"type":"integer","example":0},"transaction_id":{"type":"integer","example":0},"status":{"type":"string","enum":["pending","processed","completed","failed","cancelled"],"example":"string"},"failure_reason":{"type":"string","example":"string"},"approved_by":{"type":"integer","example":0},"approved_at":{"type":"string","format":"date","example":"string"},"processed_by":{"type":"integer","example":0},"processed_at":{"type":"string","format":"date","example":"string"},"remarks":{"type":"string","example":"string"}},"required":[]},"ExportReport":{"type":"object","properties":{"type":{"type":"string","enum":["sales","booking","payment","crm","real_estate","inventory","mlm"],"example":"string"},"from":{"type":["string","null"],"format":"date","example":"string"},"to":{"type":["string","null"],"format":"date","example":"string"}},"required":["type"]},"GetReport":{"type":"object","properties":{"type":{"type":"string","enum":["sales","booking","payment","crm","hrms","payroll","real_estate","mlm","financial","inventory"],"example":"string"},"from":{"type":["string","null"],"format":"date","example":"string"},"to":{"type":["string","null"],"format":"date","example":"string"}},"required":["type"]},"GetEmiInstallment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"booking_id":{"type":["integer","null"],"minimum":1,"example":0},"overdue_only":{"type":["boolean","null"],"example":true},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["payment_id","organization_id","emi_plan_id","installment_number","due_date","paid_date","principal_amount","interest_amount","total_amount","paid_amount","balance_amount","late_fee"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateEmiInstallment":{"type":"object","properties":{"payment_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"emi_plan_id":{"type":["integer","null"],"example":0},"installment_number":{"type":"integer","example":0},"due_date":{"type":"string","format":"date","example":"string"},"principal_amount":{"type":"number","example":0},"interest_amount":{"type":["number","null"],"example":0},"total_amount":{"type":"number","example":0},"remarks":{"type":["string","null"],"example":"string"}},"required":["payment_id","installment_number","due_date","principal_amount","total_amount"]},"EmiInstallmentGetEmiInstallment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateEmiInstallment":{"type":"object","properties":{"remarks":{"type":"string","example":"string"}},"required":[]},"GetEmiPlan":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","duration_months","interest_rate","processing_fee","min_amount","max_amount","payment_frequency","is_active","is_default"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateEmiPlan":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"duration_months":{"type":"integer","example":0},"interest_rate":{"type":["number","null"],"example":0},"processing_fee":{"type":["number","null"],"example":0},"min_amount":{"type":["number","null"],"example":0},"max_amount":{"type":["number","null"],"example":0},"payment_frequency":{"type":["string","null"],"enum":["monthly","quarterly","half_yearly","yearly"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true},"is_default":{"type":["boolean","null"],"example":true}},"required":["name","duration_months"]},"EmiPlanGetEmiPlan":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateEmiPlan":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"duration_months":{"type":"integer","example":0},"interest_rate":{"type":"number","example":0},"processing_fee":{"type":"number","example":0},"min_amount":{"type":"number","example":0},"max_amount":{"type":"number","example":0},"payment_frequency":{"type":"string","enum":["monthly","quarterly","half_yearly","yearly"],"example":"string"},"is_active":{"type":"boolean","example":true},"is_default":{"type":"boolean","example":true}},"required":[]},"GetPayment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"paymentable_id":{"type":["integer","null"],"minimum":1,"example":0},"payment_number":{"type":["string","null"],"maxLength":100,"example":"string"},"paymentable_type":{"type":["string","null"],"enum":["App\\Models\\Booking\\Booking"],"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","paymentable_type","paymentable_id","payment_number","payment_date","amount","tax_amount","total_amount","payment_type","payment_mode_id","mode_type"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePayment":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"paymentable_type":{"type":["string","null"],"enum":["App\\Models\\Booking\\Booking"],"example":"string"},"paymentable_id":{"type":"integer","example":0},"payment_date":{"type":"string","format":"date","example":"string"},"amount":{"type":"number","format":"decimal","example":0},"tax_amount":{"type":["number","null"],"format":"decimal","example":0},"total_amount":{"type":"number","format":"decimal","example":0},"payment_type":{"type":["string","null"],"enum":["booking","down_payment","emi","full_payment","registration","commission","refund","other"],"example":"string"},"payment_mode_id":{"type":["integer","null"],"example":0},"mode_type":{"type":["string","null"],"enum":["cash","cheque","bank_transfer","upi","card","online_gateway"],"example":"string"},"payment_gateway_id":{"type":["integer","null"],"example":0},"transaction_id":{"type":["string","null"],"maxLength":100,"example":"string"},"cheque_number":{"type":["string","null"],"example":"string"},"cheque_date":{"type":["string","null"],"format":"date","example":"string"},"cheque_bank":{"type":["string","null"],"example":"string"},"bank_name":{"type":["string","null"],"example":"string"},"bank_account_number":{"type":["string","null"],"example":"string"},"ifsc_code":{"type":["string","null"],"example":"string"},"reference_number":{"type":["string","null"],"example":"string"},"upi_id":{"type":["string","null"],"maxLength":100,"example":"string"},"upi_transaction_id":{"type":["string","null"],"maxLength":100,"example":"string"},"remarks":{"type":["string","null"],"example":"string"}},"required":["paymentable_id","payment_date","amount","total_amount"]},"PaymentGetPayment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePayment":{"type":"object","properties":{"payment_date":{"type":"string","format":"date","example":"string"},"amount":{"type":"number","format":"decimal","example":0},"tax_amount":{"type":"number","format":"decimal","example":0},"total_amount":{"type":"number","format":"decimal","example":0},"payment_type":{"type":"string","enum":["booking","down_payment","emi","full_payment","registration","commission","refund","other"],"example":"string"},"payment_mode_id":{"type":"integer","example":0},"mode_type":{"type":"string","enum":["cash","cheque","bank_transfer","upi","card","online_gateway"],"example":"string"},"payment_gateway_id":{"type":"integer","example":0},"transaction_id":{"type":"string","maxLength":100,"example":"string"},"cheque_number":{"type":"string","example":"string"},"cheque_date":{"type":"string","format":"date","example":"string"},"cheque_bank":{"type":"string","example":"string"},"bank_name":{"type":"string","example":"string"},"bank_account_number":{"type":"string","example":"string"},"ifsc_code":{"type":"string","example":"string"},"reference_number":{"type":"string","example":"string"},"upi_id":{"type":"string","maxLength":100,"example":"string"},"upi_transaction_id":{"type":"string","maxLength":100,"example":"string"},"remarks":{"type":"string","example":"string"}},"required":[]},"CreateEmiSchedule":{"type":"object","properties":{"emi_plan_id":{"type":"integer","example":0},"financed_amount":{"type":"number","example":0},"start_date":{"type":"string","format":"date","example":"string"}},"required":["emi_plan_id","financed_amount","start_date"]},"Refund":{"type":"object","properties":{"amount":{"type":["number","null"],"format":"decimal","example":0},"reason":{"type":["string","null"],"maxLength":1000,"example":"string"},"idempotency_key":{"type":"string","maxLength":100,"example":"string"}},"required":["idempotency_key"]},"Reconcile":{"type":"object","properties":{"bank_name":{"type":"string","maxLength":100,"example":"string"},"account_number":{"type":"string","maxLength":50,"example":"string"},"transaction_reference":{"type":["string","null"],"maxLength":100,"example":"string"},"transaction_date":{"type":"string","format":"date","example":"string"},"bank_amount":{"type":"number","minimum":0,"example":0},"difference_reason":{"type":["string","null"],"example":"string"},"remarks":{"type":["string","null"],"example":"string"}},"required":["bank_name","account_number","transaction_date","bank_amount"]},"GetPaymentGateway":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","api_key","api_secret","webhook_secret","additional_settings","base_url","webhook_url","supports_refund","supports_webhook"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePaymentGateway":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","enum":["dummy","stripe","razorpay","paypal","custom"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"api_key":{"type":["string","null"],"example":"string"},"api_secret":{"type":["string","null"],"example":"string"},"webhook_secret":{"type":["string","null"],"example":"string"},"additional_settings":{"type":["array","null"],"example":[]},"base_url":{"type":["string","null"],"example":"string"},"webhook_url":{"type":["string","null"],"example":"string"},"supports_refund":{"type":["boolean","null"],"example":true},"supports_webhook":{"type":["boolean","null"],"example":true},"is_test_mode":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true},"is_default":{"type":["boolean","null"],"example":true}},"required":["name","code"]},"PaymentGatewayGetPaymentGateway":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"CreateGatewayOrder":{"type":"object","properties":{"payment_id":{"type":"integer","example":0},"receipt":{"type":["string","null"],"maxLength":100,"example":"string"},"metadata":{"type":["array","null"],"example":[]}},"required":["payment_id"]},"CaptureGatewayOrder":{"type":"object","properties":{"payment_id":{"type":"integer","example":0},"order_id":{"type":"string","maxLength":150,"example":"string"},"gateway_payment_id":{"type":["string","null"],"maxLength":150,"example":"string"},"amount_minor":{"type":["integer","null"],"minimum":1,"example":0},"currency":{"type":["string","null"],"minLength":3,"maxLength":3,"example":"string"}},"required":["payment_id","order_id"]},"GetPaymentLog":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["payment_id","organization_id","payment_gateway_id","log_type","event","request_data","response_data","webhook_data","status_code","error_message","ip_address","user_agent"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePaymentLog":{"type":"object","properties":{"payment_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"payment_gateway_id":{"type":["integer","null"],"example":0},"log_type":{"type":"string","example":"string"},"event":{"type":["string","null"],"example":"string"},"request_data":{"type":["array","null"],"example":[]},"response_data":{"type":["array","null"],"example":[]},"webhook_data":{"type":["array","null"],"example":[]},"status_code":{"type":["string","null"],"example":"string"},"error_message":{"type":["string","null"],"example":"string"},"ip_address":{"type":["string","null"],"example":"string"},"user_agent":{"type":["string","null"],"example":"string"},"is_processed":{"type":["boolean","null"],"example":true},"processed_at":{"type":["string","null"],"format":"date","example":"string"}},"required":["payment_id","log_type"]},"PaymentLogGetPaymentLog":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePaymentLog":{"type":"object","properties":{"payment_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"payment_gateway_id":{"type":"integer","example":0},"log_type":{"type":"string","example":"string"},"event":{"type":"string","example":"string"},"request_data":{"type":"array","example":[]},"response_data":{"type":"array","example":[]},"webhook_data":{"type":"array","example":[]},"status_code":{"type":"string","example":"string"},"error_message":{"type":"string","example":"string"},"ip_address":{"type":"string","example":"string"},"user_agent":{"type":"string","example":"string"},"is_processed":{"type":"boolean","example":true},"processed_at":{"type":"string","format":"date","example":"string"}},"required":[]},"ListPendingGatewayOperation":{"type":"object","properties":{"per_page":{"type":"integer","minimum":1,"maximum":100,"example":0},"page":{"type":"integer","minimum":1,"maximum":1000000,"example":0}},"required":[]},"ListPendingGatewayRefund":{"type":"object","properties":{"per_page":{"type":"integer","minimum":1,"maximum":100,"example":0},"page":{"type":"integer","minimum":1,"maximum":1000000,"example":0}},"required":[]},"GetPaymentReconciliation":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","payment_id","reconciliation_number","reconciliation_date","bank_name","account_number","transaction_reference","transaction_date","bank_amount","system_amount","difference_amount","difference_reason"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePaymentReconciliation":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"payment_id":{"type":"integer","example":0},"reconciliation_number":{"type":"string","example":"string"},"reconciliation_date":{"type":"string","format":"date","example":"string"},"bank_name":{"type":"string","example":"string"},"account_number":{"type":"string","example":"string"},"transaction_reference":{"type":["string","null"],"example":"string"},"transaction_date":{"type":"string","format":"date","example":"string"},"bank_amount":{"type":"number","example":0},"system_amount":{"type":"number","example":0},"difference_amount":{"type":["number","null"],"example":0},"difference_reason":{"type":["string","null"],"example":"string"},"reconciled_by":{"type":"integer","example":0},"reconciled_at":{"type":["string","null"],"format":"date","example":"string"},"remarks":{"type":["string","null"],"example":"string"}},"required":["payment_id","reconciliation_number","reconciliation_date","bank_name","account_number","transaction_date","bank_amount","system_amount","reconciled_by"]},"PaymentReconciliationGetPaymentReconciliation":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePaymentReconciliation":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"payment_id":{"type":"integer","example":0},"reconciliation_number":{"type":"string","example":"string"},"reconciliation_date":{"type":"string","format":"date","example":"string"},"bank_name":{"type":"string","example":"string"},"account_number":{"type":"string","example":"string"},"transaction_reference":{"type":"string","example":"string"},"transaction_date":{"type":"string","format":"date","example":"string"},"bank_amount":{"type":"number","example":0},"system_amount":{"type":"number","example":0},"difference_amount":{"type":"number","example":0},"difference_reason":{"type":"string","example":"string"},"reconciled_by":{"type":"integer","example":0},"reconciled_at":{"type":"string","format":"date","example":"string"},"remarks":{"type":"string","example":"string"}},"required":[]},"GetReceipt":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["payment_id","organization_id","branch_id","receipt_number","receipt_date","received_from","received_address","received_mobile","amount","amount_in_words","payment_mode","transaction_reference"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateReceipt":{"type":"object","properties":{"payment_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"receipt_number":{"type":["string","null"],"maxLength":50,"example":"string"},"receipt_date":{"type":"string","format":"date","example":"string"},"received_from":{"type":"string","example":"string"},"received_address":{"type":["string","null"],"example":"string"},"received_mobile":{"type":["string","null"],"example":"string"},"amount":{"type":"number","example":0},"amount_in_words":{"type":["number","null"],"example":0},"payment_mode":{"type":"string","example":"string"},"transaction_reference":{"type":["string","null"],"example":"string"},"cheque_number":{"type":["string","null"],"example":"string"},"cheque_date":{"type":["string","null"],"format":"date","example":"string"},"purpose":{"type":"string","example":"string"},"description":{"type":["string","null"],"example":"string"},"file_path":{"type":["string","null"],"example":"string"},"file_name":{"type":["string","null"],"example":"string"},"generated_by":{"type":["integer","null"],"example":0},"is_active":{"type":["boolean","null"],"example":true}},"required":["payment_id","receipt_date","received_from","amount","payment_mode","purpose"]},"ReceiptGetReceipt":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateReceipt":{"type":"object","properties":{"payment_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"receipt_number":{"type":"string","example":"string"},"receipt_date":{"type":"string","format":"date","example":"string"},"received_from":{"type":"string","example":"string"},"received_address":{"type":"string","example":"string"},"received_mobile":{"type":"string","example":"string"},"amount":{"type":"number","example":0},"amount_in_words":{"type":"number","example":0},"payment_mode":{"type":"string","example":"string"},"transaction_reference":{"type":"string","example":"string"},"cheque_number":{"type":"string","example":"string"},"cheque_date":{"type":"string","format":"date","example":"string"},"purpose":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"file_path":{"type":"string","example":"string"},"file_name":{"type":"string","example":"string"},"generated_by":{"type":"integer","example":0},"is_active":{"type":"boolean","example":true}},"required":[]},"GetEmployeeSalary":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["employee_id","organization_id","salary_structure_id","basic_salary","gross_salary","net_salary","total_earnings","total_deductions","effective_from","effective_to","is_current","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateEmployeeSalary":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"salary_structure_id":{"type":"integer","example":0},"basic_salary":{"type":"number","minimum":0,"format":"decimal","example":0},"gross_salary":{"type":"number","minimum":0,"format":"decimal","example":0},"effective_from":{"type":"string","format":"date","example":"string"},"effective_to":{"type":["string","null"],"format":"date","example":"string"}},"required":["employee_id","salary_structure_id","basic_salary","gross_salary","effective_from"]},"EmployeeSalaryGetEmployeeSalary":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateEmployeeSalary":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"salary_structure_id":{"type":"integer","example":0},"basic_salary":{"type":"number","minimum":0,"format":"decimal","example":0},"gross_salary":{"type":"number","minimum":0,"format":"decimal","example":0},"effective_from":{"type":"string","format":"date","example":"string"},"effective_to":{"type":["string","null"],"format":"date","example":"string"}},"required":[]},"GetPayroll":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","payroll_code","month","year","from_date","to_date","payment_date","total_employees","total_basic","total_gross","total_earnings"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePayroll":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"payroll_code":{"type":"string","example":"string"},"month":{"type":"string","example":"string"},"year":{"type":"string","example":"string"},"from_date":{"type":"string","format":"date","example":"string"},"to_date":{"type":"string","format":"date","example":"string"},"payment_date":{"type":["string","null"],"format":"date","example":"string"},"total_employees":{"type":["integer","null"],"example":0},"total_basic":{"type":["number","null"],"example":0},"total_gross":{"type":["number","null"],"example":0},"total_earnings":{"type":["number","null"],"example":0},"total_deductions":{"type":["number","null"],"example":0},"total_net_payable":{"type":["number","null"],"example":0},"total_pf":{"type":["number","null"],"example":0},"total_esi":{"type":["number","null"],"example":0},"total_tds":{"type":["number","null"],"example":0},"total_bonus":{"type":["number","null"],"example":0},"total_incentive":{"type":["number","null"],"example":0},"total_commission":{"type":["number","null"],"example":0},"remarks":{"type":["string","null"],"example":"string"}},"required":["payroll_code","month","year","from_date","to_date"]},"PayrollGetPayroll":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePayroll":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"payroll_code":{"type":"string","example":"string"},"month":{"type":"string","example":"string"},"year":{"type":"string","example":"string"},"from_date":{"type":"string","format":"date","example":"string"},"to_date":{"type":"string","format":"date","example":"string"},"payment_date":{"type":"string","format":"date","example":"string"},"total_employees":{"type":"integer","example":0},"total_basic":{"type":"number","example":0},"total_gross":{"type":"number","example":0},"total_earnings":{"type":"number","example":0},"total_deductions":{"type":"number","example":0},"total_net_payable":{"type":"number","example":0},"total_pf":{"type":"number","example":0},"total_esi":{"type":"number","example":0},"total_tds":{"type":"number","example":0},"total_bonus":{"type":"number","example":0},"total_incentive":{"type":"number","example":0},"total_commission":{"type":"number","example":0},"remarks":{"type":"string","example":"string"}},"required":[]},"GetPayrollDetail":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["payroll_id","employee_id","organization_id","employee_salary_id","basic_salary","gross_salary","net_salary","earnings","total_earnings","deductions","total_deductions","present_days"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePayrollDetail":{"type":"object","properties":{"payroll_id":{"type":"integer","example":0},"employee_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"employee_salary_id":{"type":"integer","example":0},"basic_salary":{"type":"number","example":0},"gross_salary":{"type":"number","example":0},"net_salary":{"type":"number","example":0},"earnings":{"type":["array","null"],"example":[]},"total_earnings":{"type":["number","null"],"example":0},"deductions":{"type":["array","null"],"example":[]},"total_deductions":{"type":["number","null"],"example":0},"present_days":{"type":["integer","null"],"example":0},"absent_days":{"type":["integer","null"],"example":0},"leave_days":{"type":["integer","null"],"example":0},"holiday_days":{"type":["integer","null"],"example":0},"half_days":{"type":["integer","null"],"example":0},"overtime_hours":{"type":["number","null"],"example":0},"late_hours":{"type":["number","null"],"example":0},"bonus":{"type":["number","null"],"example":0},"incentive":{"type":["number","null"],"example":0},"commission":{"type":["number","null"],"example":0},"reimbursement":{"type":["number","null"],"example":0},"pf_amount":{"type":["number","null"],"example":0},"esi_amount":{"type":["number","null"],"example":0},"tds_amount":{"type":["number","null"],"example":0},"professional_tax":{"type":["number","null"],"example":0},"payable_amount":{"type":"number","example":0},"calculation_details":{"type":["array","null"],"example":[]},"remarks":{"type":["string","null"],"example":"string"}},"required":["payroll_id","employee_id","employee_salary_id","basic_salary","gross_salary","net_salary","payable_amount"]},"PayrollDetailGetPayrollDetail":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePayrollDetail":{"type":"object","properties":{"payroll_id":{"type":"integer","example":0},"employee_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"employee_salary_id":{"type":"integer","example":0},"basic_salary":{"type":"number","example":0},"gross_salary":{"type":"number","example":0},"net_salary":{"type":"number","example":0},"earnings":{"type":"array","example":[]},"total_earnings":{"type":"number","example":0},"deductions":{"type":"array","example":[]},"total_deductions":{"type":"number","example":0},"present_days":{"type":"integer","example":0},"absent_days":{"type":"integer","example":0},"leave_days":{"type":"integer","example":0},"holiday_days":{"type":"integer","example":0},"half_days":{"type":"integer","example":0},"overtime_hours":{"type":"number","example":0},"late_hours":{"type":"number","example":0},"bonus":{"type":"number","example":0},"incentive":{"type":"number","example":0},"commission":{"type":"number","example":0},"reimbursement":{"type":"number","example":0},"pf_amount":{"type":"number","example":0},"esi_amount":{"type":"number","example":0},"tds_amount":{"type":"number","example":0},"professional_tax":{"type":"number","example":0},"payable_amount":{"type":"number","example":0},"calculation_details":{"type":"array","example":[]},"remarks":{"type":"string","example":"string"}},"required":[]},"GetSalaryComponent":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","type","calculation_type","is_taxable","is_pf_applicable","is_esi_applicable","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateSalaryComponent":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"type":{"type":["string","null"],"enum":["earning","deduction"],"example":"string"},"calculation_type":{"type":["string","null"],"enum":["fixed","percentage","formula"],"example":"string"},"is_taxable":{"type":["boolean","null"],"example":true},"is_pf_applicable":{"type":["boolean","null"],"example":true},"is_esi_applicable":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"SalaryComponentGetSalaryComponent":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateSalaryComponent":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"type":{"type":"string","enum":["earning","deduction"],"example":"string"},"calculation_type":{"type":"string","enum":["fixed","percentage","formula"],"example":"string"},"is_taxable":{"type":"boolean","example":true},"is_pf_applicable":{"type":"boolean","example":true},"is_esi_applicable":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetSalaryRevision":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["employee_id","organization_id","old_salary_id","new_salary_id","old_basic","old_gross","new_basic","new_gross","increment_amount","increment_percentage","revision_date","effective_from"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateSalaryRevision":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"old_salary_id":{"type":["integer","null"],"example":0},"new_salary_id":{"type":["integer","null"],"example":0},"old_basic":{"type":"number","example":0},"old_gross":{"type":"number","example":0},"new_basic":{"type":"number","example":0},"new_gross":{"type":"number","example":0},"increment_amount":{"type":"number","example":0},"increment_percentage":{"type":"number","example":0},"revision_date":{"type":"string","format":"date","example":"string"},"effective_from":{"type":"string","format":"date","example":"string"},"revision_type":{"type":["string","null"],"enum":["promotion","annual","merit","correction","other"],"example":"string"},"reason":{"type":["string","null"],"example":"string"}},"required":["employee_id","old_basic","old_gross","new_basic","new_gross","increment_amount","increment_percentage","revision_date","effective_from"]},"SalaryRevisionGetSalaryRevision":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateSalaryRevision":{"type":"object","properties":{"employee_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"old_salary_id":{"type":"integer","example":0},"new_salary_id":{"type":"integer","example":0},"old_basic":{"type":"number","example":0},"old_gross":{"type":"number","example":0},"new_basic":{"type":"number","example":0},"new_gross":{"type":"number","example":0},"increment_amount":{"type":"number","example":0},"increment_percentage":{"type":"number","example":0},"revision_date":{"type":"string","format":"date","example":"string"},"effective_from":{"type":"string","format":"date","example":"string"},"revision_type":{"type":"string","enum":["promotion","annual","merit","correction","other"],"example":"string"},"reason":{"type":"string","example":"string"},"rejection_reason":{"type":"string","example":"string"}},"required":[]},"GetSalaryStructure":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","name","code","description","designation_id","department_id","basic_percentage","hra_percentage","da_percentage","gross_salary_min","gross_salary_max","is_default"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateSalaryStructure":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"designation_id":{"type":["integer","null"],"example":0},"department_id":{"type":["integer","null"],"example":0},"basic_percentage":{"type":["number","null"],"example":0},"hra_percentage":{"type":["number","null"],"example":0},"da_percentage":{"type":["number","null"],"example":0},"gross_salary_min":{"type":["number","null"],"example":0},"gross_salary_max":{"type":["number","null"],"example":0},"is_default":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"SalaryStructureGetSalaryStructure":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateSalaryStructure":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"designation_id":{"type":"integer","example":0},"department_id":{"type":"integer","example":0},"basic_percentage":{"type":"number","example":0},"hra_percentage":{"type":"number","example":0},"da_percentage":{"type":"number","example":0},"gross_salary_min":{"type":"number","example":0},"gross_salary_max":{"type":"number","example":0},"is_default":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetSalaryStructureComponent":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["salary_structure_id","salary_component_id","organization_id","value","percentage","formula","is_mandatory","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateSalaryStructureComponent":{"type":"object","properties":{"salary_structure_id":{"type":"integer","example":0},"salary_component_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"value":{"type":["number","null"],"example":0},"percentage":{"type":["number","null"],"example":0},"formula":{"type":["string","null"],"example":"string"},"is_mandatory":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["salary_structure_id","salary_component_id"]},"SalaryStructureComponentGetSalaryStructureComponent":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateSalaryStructureComponent":{"type":"object","properties":{"salary_structure_id":{"type":"integer","example":0},"salary_component_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"value":{"type":"number","example":0},"percentage":{"type":"number","example":0},"formula":{"type":"string","example":"string"},"is_mandatory":{"type":"boolean","example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetLandOwner":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","first_name","last_name","email","mobile","alternate_mobile","whatsapp_number","address","city_id","postal_code","aadhar_number"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateLandOwner":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"first_name":{"type":"string","example":"string"},"last_name":{"type":["string","null"],"example":"string"},"email":{"type":["string","null"],"example":"string"},"mobile":{"type":"string","example":"string"},"alternate_mobile":{"type":["string","null"],"example":"string"},"whatsapp_number":{"type":["string","null"],"example":"string"},"address":{"type":["string","null"],"example":"string"},"city_id":{"type":["integer","null"],"example":0},"postal_code":{"type":["string","null"],"example":"string"},"aadhar_number":{"type":["string","null"],"example":"string"},"pan_number":{"type":["string","null"],"example":"string"},"passport_number":{"type":["string","null"],"example":"string"},"bank_name":{"type":["string","null"],"example":"string"},"bank_account_number":{"type":["string","null"],"example":"string"},"ifsc_code":{"type":["string","null"],"example":"string"},"upi_id":{"type":["string","null"],"maxLength":100,"example":"string"},"occupation":{"type":["string","null"],"example":"string"},"dob":{"type":["string","null"],"format":"date","example":"string"},"gender":{"type":["string","null"],"enum":["male","female","other"],"example":"string"},"profile_picture":{"type":["string","null"],"example":"string"},"profile_picture_upload":{"type":["image","null"],"format":"binary","example":null},"aadhar_file":{"type":["string","null"],"example":"string"},"aadhar_upload":{"type":["file","null"],"format":"binary","example":null},"pan_file":{"type":["string","null"],"example":"string"},"pan_upload":{"type":["file","null"],"format":"binary","example":null},"status":{"type":["string","null"],"enum":["active","inactive","blacklisted"],"example":"string"},"remarks":{"type":["string","null"],"example":"string"}},"required":["first_name","mobile"]},"LandOwnerGetLandOwner":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLandOwner":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"first_name":{"type":"string","example":"string"},"last_name":{"type":"string","example":"string"},"email":{"type":"string","example":"string"},"mobile":{"type":"string","example":"string"},"alternate_mobile":{"type":"string","example":"string"},"whatsapp_number":{"type":"string","example":"string"},"address":{"type":"string","example":"string"},"city_id":{"type":"integer","example":0},"postal_code":{"type":"string","example":"string"},"aadhar_number":{"type":"string","example":"string"},"pan_number":{"type":"string","example":"string"},"passport_number":{"type":"string","example":"string"},"bank_name":{"type":"string","example":"string"},"bank_account_number":{"type":"string","example":"string"},"ifsc_code":{"type":"string","example":"string"},"upi_id":{"type":"string","maxLength":100,"example":"string"},"occupation":{"type":"string","example":"string"},"dob":{"type":"string","format":"date","example":"string"},"gender":{"type":"string","enum":["male","female","other"],"example":"string"},"profile_picture":{"type":"string","example":"string"},"profile_picture_upload":{"type":["image","null"],"format":"binary","example":null},"aadhar_file":{"type":"string","example":"string"},"aadhar_upload":{"type":["file","null"],"format":"binary","example":null},"pan_file":{"type":"string","example":"string"},"pan_upload":{"type":["file","null"],"format":"binary","example":null},"status":{"type":"string","enum":["active","inactive","blacklisted"],"example":"string"},"remarks":{"type":"string","example":"string"}},"required":[]},"GetLandPurchase":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","project_id","property_id","plot_id","purchase_code","purchase_date","agreement_date","registration_date","land_description","survey_number","khata_number"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateLandPurchase":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"project_id":{"type":["integer","null"],"example":0},"property_id":{"type":["integer","null"],"example":0},"plot_id":{"type":["integer","null"],"example":0},"purchase_code":{"type":"string","example":"string"},"purchase_date":{"type":"string","format":"date","example":"string"},"agreement_date":{"type":["string","null"],"format":"date","example":"string"},"registration_date":{"type":["string","null"],"format":"date","example":"string"},"land_description":{"type":["string","null"],"example":"string"},"survey_number":{"type":["string","null"],"example":"string"},"khata_number":{"type":["string","null"],"example":"string"},"mutation_number":{"type":["string","null"],"example":"string"},"address":{"type":["string","null"],"example":"string"},"city_id":{"type":["integer","null"],"example":0},"postal_code":{"type":["string","null"],"example":"string"},"total_area":{"type":["number","null"],"example":0},"area_unit_id":{"type":["integer","null"],"example":0},"total_price":{"type":"number","example":0},"price_per_unit":{"type":["number","null"],"example":0},"booking_amount":{"type":["number","null"],"example":0},"down_payment":{"type":["number","null"],"example":0},"emi_months":{"type":["integer","null"],"example":0},"emi_amount":{"type":["number","null"],"example":0},"owner_details":{"type":["array","null"],"example":[]},"remarks":{"type":["string","null"],"example":"string"}},"required":["purchase_code","purchase_date","total_price"]},"LandPurchaseGetLandPurchase":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateLandPurchase":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"project_id":{"type":"integer","example":0},"property_id":{"type":"integer","example":0},"plot_id":{"type":"integer","example":0},"purchase_code":{"type":"string","example":"string"},"purchase_date":{"type":"string","format":"date","example":"string"},"agreement_date":{"type":"string","format":"date","example":"string"},"registration_date":{"type":"string","format":"date","example":"string"},"land_description":{"type":"string","example":"string"},"survey_number":{"type":"string","example":"string"},"khata_number":{"type":"string","example":"string"},"mutation_number":{"type":"string","example":"string"},"address":{"type":"string","example":"string"},"city_id":{"type":"integer","example":0},"postal_code":{"type":"string","example":"string"},"total_area":{"type":"number","example":0},"area_unit_id":{"type":"integer","example":0},"total_price":{"type":"number","example":0},"price_per_unit":{"type":"number","example":0},"booking_amount":{"type":"number","example":0},"down_payment":{"type":"number","example":0},"emi_months":{"type":"integer","example":0},"emi_amount":{"type":"number","example":0},"owner_details":{"type":"array","example":[]},"remarks":{"type":"string","example":"string"}},"required":[]},"GetPlot":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","project_id","phase_id","property_id","plot_type_id","plot_number","block","subdivision","description","area","area_unit_id"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePlot":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"project_id":{"type":"integer","example":0},"phase_id":{"type":["integer","null"],"example":0},"property_id":{"type":["integer","null"],"example":0},"plot_type_id":{"type":["integer","null"],"example":0},"plot_number":{"type":"string","example":"string"},"block":{"type":["string","null"],"example":"string"},"subdivision":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"area":{"type":["number","null"],"example":0},"area_unit_id":{"type":["integer","null"],"example":0},"length":{"type":["number","null"],"example":0},"width":{"type":["number","null"],"example":0},"front_facing":{"type":["string","null"],"example":"string"},"corner":{"type":["string","null"],"example":"string"},"price":{"type":["number","null"],"example":0},"price_per_unit":{"type":["number","null"],"example":0},"booking_amount":{"type":["number","null"],"example":0},"dimensions":{"type":["array","null"],"example":[]},"image":{"type":["string","null"],"example":"string"},"image_upload":{"type":["image","null"],"format":"binary","example":null},"is_active":{"type":["boolean","null"],"example":true}},"required":["project_id","plot_number"]},"PlotGetPlot":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePlot":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"project_id":{"type":"integer","example":0},"phase_id":{"type":"integer","example":0},"property_id":{"type":"integer","example":0},"plot_type_id":{"type":"integer","example":0},"plot_number":{"type":"string","example":"string"},"block":{"type":"string","example":"string"},"subdivision":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"area":{"type":"number","example":0},"area_unit_id":{"type":"integer","example":0},"length":{"type":"number","example":0},"width":{"type":"number","example":0},"front_facing":{"type":"string","example":"string"},"corner":{"type":"string","example":"string"},"price":{"type":"number","example":0},"price_per_unit":{"type":"number","example":0},"booking_amount":{"type":"number","example":0},"dimensions":{"type":"array","example":[]},"image":{"type":"string","example":"string"},"image_upload":{"type":["image","null"],"format":"binary","example":null},"is_active":{"type":"boolean","example":true}},"required":[]},"GetPlotAvailability":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["plot_id","organization_id","status","status_date","remarks","changed_by"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePlotAvailability":{"type":"object","properties":{"plot_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"status":{"type":["string","null"],"enum":["available","booked","sold","blocked","reserved"],"example":"string"},"status_date":{"type":"string","format":"date","example":"string"},"remarks":{"type":["string","null"],"example":"string"},"changed_by":{"type":["integer","null"],"example":0}},"required":["plot_id","status_date"]},"PlotAvailabilityGetPlotAvailability":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePlotAvailability":{"type":"object","properties":{"plot_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"status":{"type":"string","enum":["available","booked","sold","blocked","reserved"],"example":"string"},"status_date":{"type":"string","format":"date","example":"string"},"remarks":{"type":"string","example":"string"},"changed_by":{"type":"integer","example":0}},"required":[]},"GetPropertySourcingPartner":{"type":"object","properties":{"search":{"type":["string","null"],"maxLength":200,"example":"string"},"membership_id":{"type":["integer","null"],"example":0},"organization_id":{"type":["integer","null"],"example":0},"partner_code":{"type":["string","null"],"maxLength":60,"example":"string"},"commission_type":{"type":["string","null"],"enum":["percentage","fixed"],"example":"string"},"status":{"type":["string","null"],"enum":["active","inactive"],"example":"string"},"with":{"type":["array","null"],"example":[]},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["id","partner_code","commission_rate","created_at","updated_at"],"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePropertySourcingPartner":{"type":"object","properties":{"user_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"branch_id":{"type":["integer","null"],"example":0},"partner_code":{"type":"string","maxLength":60,"example":"string"},"commission_rate":{"type":["number","null"],"minimum":0,"example":0},"commission_type":{"type":["string","null"],"enum":["percentage","fixed"],"example":"string"},"metadata":{"type":["array","null"],"example":[]}},"required":["user_id","organization_id","partner_code"]},"PropertySourcingPartnerGetPropertySourcingPartner":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePropertySourcingPartner":{"type":"object","properties":{"commission_rate":{"type":"number","minimum":0,"example":0},"commission_type":{"type":"string","enum":["percentage","fixed"],"example":"string"},"status":{"type":"string","enum":["active","inactive"],"example":"string"},"metadata":{"type":["array","null"],"example":[]}},"required":[]},"GetProject":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","project_type_id","name","slug","code","description","address","city_id","postal_code","latitude","longitude"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateProject":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"project_type_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"slug":{"type":["string","null"],"maxLength":200,"example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"address":{"type":["string","null"],"example":"string"},"city_id":{"type":["integer","null"],"example":0},"postal_code":{"type":["string","null"],"example":"string"},"latitude":{"type":["number","null"],"example":0},"longitude":{"type":["number","null"],"example":0},"total_area":{"type":["number","null"],"example":0},"area_unit_id":{"type":["integer","null"],"example":0},"total_plots":{"type":["integer","null"],"example":0},"total_properties":{"type":["integer","null"],"example":0},"min_price":{"type":["number","null"],"example":0},"max_price":{"type":["number","null"],"example":0},"price_per_unit":{"type":["number","null"],"example":0},"launch_date":{"type":["string","null"],"format":"date","example":"string"},"possession_date":{"type":["string","null"],"format":"date","example":"string"},"completion_date":{"type":["string","null"],"format":"date","example":"string"},"amenities":{"type":["array","null"],"example":[]},"features":{"type":["array","null"],"example":[]},"cover_image_file":{"type":["image","null"],"format":"binary","example":null},"gallery_image_files":{"type":["array","null"],"maxLength":20,"example":[]},"retained_gallery_images":{"type":["array","null"],"example":[]},"brochure_file":{"type":["file","null"],"format":"binary","example":null},"keep_cover_image":{"type":["boolean","null"],"example":true},"keep_brochure":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["name"]},"ProjectGetProject":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateProject":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"project_type_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"slug":{"type":["string","null"],"maxLength":200,"example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"address":{"type":"string","example":"string"},"city_id":{"type":"integer","example":0},"postal_code":{"type":"string","example":"string"},"latitude":{"type":"number","example":0},"longitude":{"type":"number","example":0},"total_area":{"type":"number","example":0},"area_unit_id":{"type":"integer","example":0},"total_plots":{"type":"integer","example":0},"total_properties":{"type":"integer","example":0},"min_price":{"type":"number","example":0},"max_price":{"type":"number","example":0},"price_per_unit":{"type":"number","example":0},"launch_date":{"type":"string","format":"date","example":"string"},"possession_date":{"type":"string","format":"date","example":"string"},"completion_date":{"type":"string","format":"date","example":"string"},"amenities":{"type":"array","example":[]},"features":{"type":"array","example":[]},"cover_image_file":{"type":["image","null"],"format":"binary","example":null},"gallery_image_files":{"type":["array","null"],"maxLength":20,"example":[]},"retained_gallery_images":{"type":["array","null"],"example":[]},"brochure_file":{"type":["file","null"],"format":"binary","example":null},"keep_cover_image":{"type":["boolean","null"],"example":true},"keep_brochure":{"type":["boolean","null"],"example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetProjectMilestone":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["project_id","organization_id","phase_id","name","description","target_date","actual_date","priority","status","completion_percentage","remarks","assigned_to"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateProjectMilestone":{"type":"object","properties":{"project_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"phase_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"description":{"type":["string","null"],"example":"string"},"target_date":{"type":"string","format":"date","example":"string"},"actual_date":{"type":["string","null"],"format":"date","example":"string"},"priority":{"type":["string","null"],"enum":["low","medium","high","critical"],"example":"string"},"completion_percentage":{"type":["number","null"],"example":0},"remarks":{"type":["string","null"],"example":"string"},"assigned_to":{"type":["integer","null"],"example":0},"is_active":{"type":["boolean","null"],"example":true}},"required":["project_id","name","target_date"]},"ProjectMilestoneGetProjectMilestone":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateProjectMilestone":{"type":"object","properties":{"project_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"phase_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"target_date":{"type":"string","format":"date","example":"string"},"actual_date":{"type":"string","format":"date","example":"string"},"priority":{"type":"string","enum":["low","medium","high","critical"],"example":"string"},"completion_percentage":{"type":"number","example":0},"remarks":{"type":"string","example":"string"},"assigned_to":{"type":"integer","example":0},"is_active":{"type":"boolean","example":true}},"required":[]},"GetProjectPhase":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["project_id","organization_id","name","code","description","phase_number","total_plots","total_properties","area","area_unit_id","start_date","end_date"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateProjectPhase":{"type":"object","properties":{"project_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"phase_number":{"type":["integer","null"],"example":0},"total_plots":{"type":["integer","null"],"example":0},"total_properties":{"type":["integer","null"],"example":0},"area":{"type":["number","null"],"example":0},"area_unit_id":{"type":["integer","null"],"example":0},"start_date":{"type":["string","null"],"format":"date","example":"string"},"end_date":{"type":["string","null"],"format":"date","example":"string"},"possession_date":{"type":["string","null"],"format":"date","example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["project_id","name"]},"ProjectPhaseGetProjectPhase":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateProjectPhase":{"type":"object","properties":{"project_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"phase_number":{"type":"integer","example":0},"total_plots":{"type":"integer","example":0},"total_properties":{"type":"integer","example":0},"area":{"type":"number","example":0},"area_unit_id":{"type":"integer","example":0},"start_date":{"type":"string","format":"date","example":"string"},"end_date":{"type":"string","format":"date","example":"string"},"possession_date":{"type":"string","format":"date","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetProperty":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["organization_id","branch_id","project_id","phase_id","property_category_id","property_type_id","name","code","description","area","area_unit_id","length"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateProperty":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"project_id":{"type":"integer","example":0},"phase_id":{"type":["integer","null"],"example":0},"property_category_id":{"type":["integer","null"],"example":0},"property_type_id":{"type":["integer","null"],"example":0},"name":{"type":"string","example":"string"},"code":{"type":["string","null"],"example":"string"},"description":{"type":["string","null"],"example":"string"},"area":{"type":["number","null"],"example":0},"area_unit_id":{"type":["integer","null"],"example":0},"length":{"type":["number","null"],"example":0},"width":{"type":["number","null"],"example":0},"height":{"type":["number","null"],"example":0},"block":{"type":["string","null"],"example":"string"},"floor":{"type":["string","null"],"example":"string"},"unit_number":{"type":["string","null"],"example":"string"},"price":{"type":["number","null"],"example":0},"price_per_unit":{"type":["number","null"],"example":0},"booking_amount":{"type":["number","null"],"example":0},"features":{"type":["array","null"],"example":[]},"specifications":{"type":["array","null"],"example":[]},"cover_image_file":{"type":["image","null"],"format":"binary","example":null},"gallery_image_files":{"type":["array","null"],"maxLength":20,"example":[]},"retained_gallery_images":{"type":["array","null"],"example":[]},"keep_cover_image":{"type":["boolean","null"],"example":true},"is_active":{"type":["boolean","null"],"example":true}},"required":["project_id","name"]},"PropertyGetProperty":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateProperty":{"type":"object","properties":{"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"project_id":{"type":"integer","example":0},"phase_id":{"type":"integer","example":0},"property_category_id":{"type":"integer","example":0},"property_type_id":{"type":"integer","example":0},"name":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"area":{"type":"number","example":0},"area_unit_id":{"type":"integer","example":0},"length":{"type":"number","example":0},"width":{"type":"number","example":0},"height":{"type":"number","example":0},"block":{"type":"string","example":"string"},"floor":{"type":"string","example":"string"},"unit_number":{"type":"string","example":"string"},"price":{"type":"number","example":0},"price_per_unit":{"type":"number","example":0},"booking_amount":{"type":"number","example":0},"features":{"type":"array","example":[]},"specifications":{"type":"array","example":[]},"cover_image_file":{"type":["image","null"],"format":"binary","example":null},"gallery_image_files":{"type":["array","null"],"maxLength":20,"example":[]},"retained_gallery_images":{"type":["array","null"],"example":[]},"keep_cover_image":{"type":["boolean","null"],"example":true},"is_active":{"type":"boolean","example":true}},"required":[]},"GetPropertySpecification":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["property_id","organization_id","specification_group","specification_key","specification_value","specification_type","is_active"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePropertySpecification":{"type":"object","properties":{"property_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"specification_group":{"type":["string","null"],"example":"string"},"specification_key":{"type":"string","example":"string"},"specification_value":{"type":["string","null"],"example":"string"},"specification_type":{"type":["string","null"],"example":"string"},"is_active":{"type":["boolean","null"],"example":true}},"required":["property_id","specification_key"]},"PropertySpecificationGetPropertySpecification":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePropertySpecification":{"type":"object","properties":{"property_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"specification_group":{"type":"string","example":"string"},"specification_key":{"type":"string","example":"string"},"specification_value":{"type":"string","example":"string"},"specification_type":{"type":"string","example":"string"},"is_active":{"type":"boolean","example":true}},"required":[]},"GetPurchaseAgreement":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["land_purchase_id","organization_id","branch_id","agreement_number","agreement_date","execution_date","expiry_date","terms_and_conditions","special_conditions","seller_details","buyer_details","property_description"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePurchaseAgreement":{"type":"object","properties":{"land_purchase_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"agreement_number":{"type":"string","example":"string"},"agreement_date":{"type":"string","format":"date","example":"string"},"execution_date":{"type":["string","null"],"format":"date","example":"string"},"expiry_date":{"type":["string","null"],"format":"date","example":"string"},"terms_and_conditions":{"type":["string","null"],"example":"string"},"special_conditions":{"type":["array","null"],"example":[]},"seller_details":{"type":["array","null"],"example":[]},"buyer_details":{"type":["array","null"],"example":[]},"property_description":{"type":["string","null"],"example":"string"},"survey_number":{"type":["string","null"],"example":"string"},"agreement_value":{"type":"number","example":0},"booking_amount":{"type":["number","null"],"example":0},"down_payment":{"type":["number","null"],"example":0},"payment_schedule":{"type":["array","null"],"example":[]},"agreement_file_path":{"type":["string","null"],"example":"string"},"agreement_upload":{"type":["file","null"],"format":"binary","example":null},"sale_deed_path":{"type":["string","null"],"example":"string"},"sale_deed_upload":{"type":["file","null"],"format":"binary","example":null},"remarks":{"type":["string","null"],"example":"string"}},"required":["land_purchase_id","agreement_number","agreement_date","agreement_value"]},"PurchaseAgreementGetPurchaseAgreement":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePurchaseAgreement":{"type":"object","properties":{"land_purchase_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"branch_id":{"type":"integer","example":0},"agreement_number":{"type":"string","example":"string"},"agreement_date":{"type":"string","format":"date","example":"string"},"execution_date":{"type":"string","format":"date","example":"string"},"expiry_date":{"type":"string","format":"date","example":"string"},"terms_and_conditions":{"type":"string","example":"string"},"special_conditions":{"type":"array","example":[]},"seller_details":{"type":"array","example":[]},"buyer_details":{"type":"array","example":[]},"property_description":{"type":"string","example":"string"},"survey_number":{"type":"string","example":"string"},"agreement_value":{"type":"number","example":0},"booking_amount":{"type":"number","example":0},"down_payment":{"type":"number","example":0},"payment_schedule":{"type":"array","example":[]},"agreement_file_path":{"type":"string","example":"string"},"agreement_upload":{"type":["file","null"],"format":"binary","example":null},"sale_deed_path":{"type":"string","example":"string"},"sale_deed_upload":{"type":["file","null"],"format":"binary","example":null},"remarks":{"type":"string","example":"string"}},"required":[]},"GetPurchaseDocument":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["land_purchase_id","organization_id","document_type_id","document_name","document_number","file_path","file_name","mime_type","file_size","document_date","expiry_date","status"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePurchaseDocument":{"type":"object","properties":{"land_purchase_id":{"type":"integer","example":0},"organization_id":{"type":["integer","null"],"example":0},"document_type_id":{"type":["integer","null"],"example":0},"document_name":{"type":"string","example":"string"},"document_number":{"type":["string","null"],"example":"string"},"file":{"type":"file","format":"binary","example":null},"document_date":{"type":["string","null"],"format":"date","example":"string"},"expiry_date":{"type":["string","null"],"format":"date","example":"string"},"rejection_reason":{"type":["string","null"],"example":"string"}},"required":["land_purchase_id","document_name","file"]},"PurchaseDocumentGetPurchaseDocument":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePurchaseDocument":{"type":"object","properties":{"land_purchase_id":{"type":"integer","example":0},"organization_id":{"type":"integer","example":0},"document_type_id":{"type":["integer","null"],"example":0},"document_name":{"type":"string","example":"string"},"document_number":{"type":["string","null"],"example":"string"},"file":{"type":["file","null"],"format":"binary","example":null},"document_date":{"type":["string","null"],"format":"date","example":"string"},"expiry_date":{"type":["string","null"],"format":"date","example":"string"},"rejection_reason":{"type":["string","null"],"example":"string"}},"required":[]},"GetPurchasePayment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["land_purchase_id","organization_id","branch_id","payment_code","payment_date","amount","paid_amount","balance_amount","payment_mode_id","transaction_id","reference_number","cheque_number"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreatePurchasePayment":{"type":"object","properties":{"organization_id":{"type":["integer","null"],"example":0},"branch_id":{"type":["integer","null"],"example":0},"land_purchase_id":{"type":"integer","example":0},"payment_code":{"type":"string","example":"string"},"payment_date":{"type":"string","format":"date","example":"string"},"amount":{"type":"number","example":0},"payment_mode_id":{"type":["integer","null"],"example":0},"transaction_id":{"type":["string","null"],"maxLength":100,"example":"string"},"reference_number":{"type":["string","null"],"example":"string"},"cheque_number":{"type":["string","null"],"example":"string"},"cheque_date":{"type":["string","null"],"format":"date","example":"string"},"payment_type":{"type":["string","null"],"enum":["booking","down_payment","emi","full_payment","other"],"example":"string"},"remarks":{"type":["string","null"],"example":"string"},"receipt_path":{"type":["string","null"],"example":"string"},"receipt_upload":{"type":["file","null"],"format":"binary","example":null}},"required":["land_purchase_id","payment_code","payment_date","amount"]},"PurchasePaymentGetPurchasePayment":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdatePurchasePayment":{"type":"object","properties":{"payment_mode_id":{"type":"integer","example":0},"transaction_id":{"type":["string","null"],"maxLength":100,"example":"string"},"reference_number":{"type":"string","example":"string"},"cheque_number":{"type":"string","example":"string"},"cheque_date":{"type":"string","format":"date","example":"string"},"payment_type":{"type":"string","enum":["booking","down_payment","emi","full_payment","other"],"example":"string"},"remarks":{"type":"string","example":"string"},"receipt_path":{"type":"string","example":"string"},"receipt_upload":{"type":["file","null"],"format":"binary","example":null}},"required":[]},"GetRegistryDetail":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]},"search":{"type":["string","null"],"maxLength":200,"example":"string"},"per_page":{"type":["string","null"],"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,"all"],"example":"string"},"page":{"type":["integer","null"],"minimum":1,"example":0},"sort_by":{"type":["string","null"],"enum":["land_purchase_id","organization_id","branch_id","registry_number","registry_date","registration_date","property_description","survey_number","khata_number","mutation_number","sub_register_office","district"],"maxLength":100,"example":"string"},"sort_order":{"type":["string","null"],"enum":["asc","desc"],"example":"string"}},"required":[]},"CreateRegistryDetail":{"type":"object","properties":{"land_purchase_id":{"type":"integer","example":0},"registry_number":{"type":"string","example":"string"},"registry_date":{"type":"string","format":"date","example":"string"},"registration_date":{"type":"string","format":"date","example":"string"},"property_description":{"type":["string","null"],"example":"string"},"survey_number":{"type":["string","null"],"example":"string"},"khata_number":{"type":["string","null"],"example":"string"},"mutation_number":{"type":["string","null"],"example":"string"},"sub_register_office":{"type":["string","null"],"example":"string"},"district":{"type":["string","null"],"example":"string"},"state":{"type":["string","null"],"example":"string"},"registry_value":{"type":"number","example":0},"stamp_duty":{"type":["number","null"],"example":0},"registration_fee":{"type":["number","null"],"example":0},"other_charges":{"type":["number","null"],"example":0},"total_cost":{"type":["number","null"],"example":0},"owner_details":{"type":["array","null"],"example":[]},"buyer_details":{"type":["array","null"],"example":[]},"registry_file_path":{"type":["string","null"],"example":"string"},"registry_upload":{"type":["file","null"],"format":"binary","example":null},"sale_deed_path":{"type":["string","null"],"example":"string"},"sale_deed_upload":{"type":["file","null"],"format":"binary","example":null},"encumbrance_certificate_path":{"type":["string","null"],"example":"string"},"certificate_upload":{"type":["file","null"],"format":"binary","example":null},"remarks":{"type":["string","null"],"example":"string"}},"required":["land_purchase_id","registry_number","registry_date","registration_date","registry_value"]},"RegistryDetailGetRegistryDetail":{"type":"object","properties":{"with":{"type":["array","null"],"example":[]}},"required":[]},"UpdateRegistryDetail":{"type":"object","properties":{"registry_number":{"type":"string","example":"string"},"registry_date":{"type":"string","format":"date","example":"string"},"registration_date":{"type":"string","format":"date","example":"string"},"property_description":{"type":"string","example":"string"},"survey_number":{"type":"string","example":"string"},"khata_number":{"type":"string","example":"string"},"mutation_number":{"type":"string","example":"string"},"sub_register_office":{"type":"string","example":"string"},"district":{"type":"string","example":"string"},"state":{"type":"string","example":"string"},"registry_value":{"type":"number","example":0},"stamp_duty":{"type":"number","example":0},"registration_fee":{"type":"number","example":0},"other_charges":{"type":"number","example":0},"total_cost":{"type":"number","example":0},"owner_details":{"type":"array","example":[]},"buyer_details":{"type":"array","example":[]},"registry_file_path":{"type":"string","example":"string"},"registry_upload":{"type":["file","null"],"format":"binary","example":null},"sale_deed_path":{"type":"string","example":"string"},"sale_deed_upload":{"type":["file","null"],"format":"binary","example":null},"encumbrance_certificate_path":{"type":"string","example":"string"},"certificate_upload":{"type":["file","null"],"format":"binary","example":null},"remarks":{"type":"string","example":"string"}},"required":[]},"RegistryDetailReject":{"type":"object","properties":{"reason":{"type":["string","null"],"maxLength":2000,"example":"string"}},"required":[]},"ResponseMeta":{"type":"object","properties":{"request_id":{"type":"string","example":"5d57a3db-30e6-48ba-bd2c-1d5ddc35d985"},"response_time":{"type":"string","example":"23.45ms"},"timestamp":{"type":"string","format":"date-time"},"timestamp_unix":{"type":"integer"},"api_version":{"type":"string"},"environment":{"type":"string"},"environment_display":{"type":"string"},"applied_filters":{"type":"object","nullable":true,"additionalProperties":true}}},"PaginatedResponseMeta":{"allOf":[{"$ref":"#\/components\/schemas\/ResponseMeta"},{"type":"object","properties":{"pagination":{"type":"object","properties":{"total":{"type":"integer"},"per_page":{"type":"integer"},"current_page":{"type":"integer"},"last_page":{"type":"integer"},"from":{"type":"integer","nullable":true},"to":{"type":"integer","nullable":true}}}}}]},"ValidationError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Validation failed"},"error_code":{"type":"string","example":"VALIDATION_ERROR"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","error_code","errors","meta"]},"ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string"},"error_code":{"type":"string"},"meta":{"$ref":"#\/components\/schemas\/ResponseMeta"}},"required":["success","message","error_code","meta"]}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"Unauthorized":{"description":"Unauthorized","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"NotFound":{"description":"Not Found","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"ValidationError":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ValidationError"}}}},"ServerError":{"description":"Internal Server Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}}},"security":[]}