{"openapi":"3.1.0","info":{"title":"BuildOS App API","version":"1.1.0","description":"API for the general BuildOS mobile app. Users log in with their own BuildOS account (no API keys). Every request uses the user's session token and returns exactly what that user can see in the web app (row-level security: own company, own projects, subcontractor trade, module permissions). Access tokens expire; refresh with /auth/refresh. Writing: every action the web app's screens call is available under /actions/{name} with the same validation, permissions and side effects (list regenerated from source on every build); files via /uploads."},"servers":[{"url":"https://buildos.ge/api/app/v1"}],"security":[{"session":[]}],"paths":{"/auth/login":{"post":{"summary":"Log in with BuildOS e-mail and password","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string"},"password":{"type":"string"}}}}}},"responses":{"200":{"description":"Session","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"access_token":{"type":"string"},"refresh_token":{"type":"string"},"expires_at":{"type":"integer","description":"Unix seconds"},"user":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"}}}}}}}}}},"401":{"description":"Invalid email or password"},"429":{"description":"Too many attempts (10 per 10 minutes per IP)"}}}},"/auth/refresh":{"post":{"summary":"Refresh an expired session","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["refresh_token"],"properties":{"refresh_token":{"type":"string"}}}}}},"responses":{"200":{"description":"New session","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"access_token":{"type":"string"},"refresh_token":{"type":"string"},"expires_at":{"type":"integer","description":"Unix seconds"},"user":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"}}}}}}}}}},"401":{"description":"Refresh token invalid or expired"}}}},"/me":{"get":{"summary":"Current user and companies (role, position)","responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"}}}},"/data":{"get":{"summary":"Data resources in the app","description":"Resource names and filters; rows are limited to what the user can see.","responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/projects":{"get":{"tags":["data: projects"],"summary":"List projects","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"project_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"name":{},"city":{},"status":{},"project_type":{},"created_at":{},"resource_capacity":{},"address":{},"latitude":{},"longitude":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/projects/{id}":{"get":{"tags":["data: projects"],"summary":"Get one projects","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"name":{},"city":{},"status":{},"project_type":{},"created_at":{},"resource_capacity":{},"address":{},"latitude":{},"longitude":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_zones":{"get":{"tags":["data: projects"],"summary":"List project_zones","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"name":{},"zone_type":{},"block":{},"floor":{},"notes":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_zones/{id}":{"get":{"tags":["data: projects"],"summary":"Get one project_zones","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"name":{},"zone_type":{},"block":{},"floor":{},"notes":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_milestones":{"get":{"tags":["data: projects"],"summary":"List project_milestones","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"target_date":{},"status":{},"notes":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_milestones/{id}":{"get":{"tags":["data: projects"],"summary":"Get one project_milestones","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"target_date":{},"status":{},"notes":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_partners":{"get":{"tags":["data: projects"],"summary":"List project_partners","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"company_id":{},"status":{},"partner_role":{},"accepted_at":{},"created_at":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_partners/{id}":{"get":{"tags":["data: projects"],"summary":"Get one project_partners","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"company_id":{},"status":{},"partner_role":{},"accepted_at":{},"created_at":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/block_locations":{"get":{"tags":["data: projects"],"summary":"List block_locations","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"block":{},"latitude":{},"longitude":{},"radius_m":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/block_locations/{id}":{"get":{"tags":["data: projects"],"summary":"Get one block_locations","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"block":{},"latitude":{},"longitude":{},"radius_m":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/massing_blocks":{"get":{"tags":["data: projects"],"summary":"List massing_blocks","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"block":{},"floor_height_m":{},"ground_commercial":{},"parking_levels":{},"pos_x":{},"pos_z":{},"rotation_deg":{},"width_m":{},"depth_m":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/massing_blocks/{id}":{"get":{"tags":["data: projects"],"summary":"Get one massing_blocks","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"block":{},"floor_height_m":{},"ground_commercial":{},"parking_levels":{},"pos_x":{},"pos_z":{},"rotation_deg":{},"width_m":{},"depth_m":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/units":{"get":{"tags":["data: sales"],"summary":"List units","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"block","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_number":{},"block":{},"floor":{},"gross_m2":{},"land_m2":{},"rooms":{},"unit_type":{},"offer_type":{},"view_type":{},"facade":{},"features":{},"list_price":{},"sale_price":{},"discount_amount":{},"currency":{},"status":{},"reserved_at":{},"reserved_until":{},"sold_at":{},"handed_over_at":{},"warranty_months":{},"web_visible":{},"campaign_id":{},"customer_id":{},"updated_at":{},"customer_name":{},"customer_phone":{},"customer_email":{},"customer_tax_id":{},"payment_method":{},"bank_name":{},"loan_amount":{},"loan_status":{},"agent_name":{},"commission_pct":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/units/{id}":{"get":{"tags":["data: sales"],"summary":"Get one units","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_number":{},"block":{},"floor":{},"gross_m2":{},"land_m2":{},"rooms":{},"unit_type":{},"offer_type":{},"view_type":{},"facade":{},"features":{},"list_price":{},"sale_price":{},"discount_amount":{},"currency":{},"status":{},"reserved_at":{},"reserved_until":{},"sold_at":{},"handed_over_at":{},"warranty_months":{},"web_visible":{},"campaign_id":{},"customer_id":{},"updated_at":{},"customer_name":{},"customer_phone":{},"customer_email":{},"customer_tax_id":{},"payment_method":{},"bank_name":{},"loan_amount":{},"loan_status":{},"agent_name":{},"commission_pct":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_payments":{"get":{"tags":["data: sales"],"summary":"List unit_payments","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"unit_id":{},"project_id":{},"kind":{},"installment_no":{},"due_date":{},"amount":{},"currency":{},"paid_at":{},"paid_amount":{},"due_basis":{},"milestone_id":{},"grace_days":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_payments/{id}":{"get":{"tags":["data: sales"],"summary":"Get one unit_payments","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"unit_id":{},"project_id":{},"kind":{},"installment_no":{},"due_date":{},"amount":{},"currency":{},"paid_at":{},"paid_amount":{},"due_basis":{},"milestone_id":{},"grace_days":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_price_history":{"get":{"tags":["data: sales"],"summary":"List unit_price_history","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"unit_id":{},"project_id":{},"old_price":{},"new_price":{},"reason":{},"note":{},"changed_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_price_history/{id}":{"get":{"tags":["data: sales"],"summary":"Get one unit_price_history","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"unit_id":{},"project_id":{},"old_price":{},"new_price":{},"reason":{},"note":{},"changed_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_changes":{"get":{"tags":["data: sales"],"summary":"List unit_changes","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"title":{},"description":{},"category":{},"status":{},"currency":{},"customer_price":{},"payment_status":{},"done_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_changes/{id}":{"get":{"tags":["data: sales"],"summary":"Get one unit_changes","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"title":{},"description":{},"category":{},"status":{},"currency":{},"customer_price":{},"payment_status":{},"done_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_requests":{"get":{"tags":["data: sales"],"summary":"List unit_requests","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"unit_id":{},"project_id":{},"kind":{},"status":{},"replied_at":{},"created_at":{},"message":{},"reply":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_requests/{id}":{"get":{"tags":["data: sales"],"summary":"Get one unit_requests","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"unit_id":{},"project_id":{},"kind":{},"status":{},"replied_at":{},"created_at":{},"message":{},"reply":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_leases":{"get":{"tags":["data: sales"],"summary":"List unit_leases","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"unit_id":{},"project_id":{},"monthly_rent":{},"currency":{},"start_date":{},"term_months":{},"ended_at":{},"created_at":{},"tenant_name":{},"tenant_phone":{},"note":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_leases/{id}":{"get":{"tags":["data: sales"],"summary":"Get one unit_leases","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"unit_id":{},"project_id":{},"monthly_rent":{},"currency":{},"start_date":{},"term_months":{},"ended_at":{},"created_at":{},"tenant_name":{},"tenant_phone":{},"note":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/customers":{"get":{"tags":["data: sales"],"summary":"List customers","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"kind":{},"locale":{},"created_at":{},"updated_at":{},"full_name":{},"phone":{},"email":{},"tax_id":{},"address":{},"notes":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/customers/{id}":{"get":{"tags":["data: sales"],"summary":"Get one customers","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"kind":{},"locale":{},"created_at":{},"updated_at":{},"full_name":{},"phone":{},"email":{},"tax_id":{},"address":{},"notes":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_leads":{"get":{"tags":["data: sales"],"summary":"List sales_leads","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"stage","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"source","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"customer_id":{},"source":{},"interested_type":{},"rooms":{},"budget":{},"currency":{},"stage":{},"reached_stage":{},"lost_reason":{},"follow_up_date":{},"closed_at":{},"created_at":{},"updated_at":{},"name":{},"phone":{},"email":{},"notes":{},"lost_note":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_leads/{id}":{"get":{"tags":["data: sales"],"summary":"Get one sales_leads","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"customer_id":{},"source":{},"interested_type":{},"rooms":{},"budget":{},"currency":{},"stage":{},"reached_stage":{},"lost_reason":{},"follow_up_date":{},"closed_at":{},"created_at":{},"updated_at":{},"name":{},"phone":{},"email":{},"notes":{},"lost_note":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_lead_activities":{"get":{"tags":["data: sales"],"summary":"List sales_lead_activities","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"lead_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"lead_id":{},"kind":{},"outcome":{},"duration_sec":{},"created_at":{},"body":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_lead_activities/{id}":{"get":{"tags":["data: sales"],"summary":"Get one sales_lead_activities","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"lead_id":{},"kind":{},"outcome":{},"duration_sec":{},"created_at":{},"body":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_quotes":{"get":{"tags":["data: sales"],"summary":"List sales_quotes","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"lead_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"lead_id":{},"quote_no":{},"lang":{},"currency":{},"items":{},"list_total":{},"discount_total":{},"net_total":{},"plan":{},"valid_until":{},"status":{},"sent_via":{},"sent_at":{},"viewed_at":{},"accepted_at":{},"campaign_id":{},"created_at":{},"updated_at":{},"customer_name":{},"customer_phone":{},"customer_email":{},"note":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_quotes/{id}":{"get":{"tags":["data: sales"],"summary":"Get one sales_quotes","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"lead_id":{},"quote_no":{},"lang":{},"currency":{},"items":{},"list_total":{},"discount_total":{},"net_total":{},"plan":{},"valid_until":{},"status":{},"sent_via":{},"sent_at":{},"viewed_at":{},"accepted_at":{},"campaign_id":{},"created_at":{},"updated_at":{},"customer_name":{},"customer_phone":{},"customer_email":{},"note":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_campaigns":{"get":{"tags":["data: sales"],"summary":"List sales_campaigns","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"name":{},"code":{},"kind":{},"value":{},"cash_only":{},"max_units":{},"starts_on":{},"ends_on":{},"active":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_campaigns/{id}":{"get":{"tags":["data: sales"],"summary":"Get one sales_campaigns","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"name":{},"code":{},"kind":{},"value":{},"cash_only":{},"max_units":{},"starts_on":{},"ends_on":{},"active":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_price_premiums":{"get":{"tags":["data: sales"],"summary":"List sales_price_premiums","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"kind":{},"floor_from":{},"floor_to":{},"match_value":{},"adjust_type":{},"amount":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_price_premiums/{id}":{"get":{"tags":["data: sales"],"summary":"Get one sales_price_premiums","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"kind":{},"floor_from":{},"floor_to":{},"match_value":{},"adjust_type":{},"amount":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_targets":{"get":{"tags":["data: sales"],"summary":"List sales_targets","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"month":{},"target_count":{},"target_amount":{},"currency":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_targets/{id}":{"get":{"tags":["data: sales"],"summary":"Get one sales_targets","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"month":{},"target_count":{},"target_amount":{},"currency":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_discount_requests":{"get":{"tags":["data: sales"],"summary":"List sales_discount_requests","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"lead_id":{},"list_price":{},"discount_amount":{},"currency":{},"reason":{},"status":{},"decided_at":{},"decision_note":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/sales_discount_requests/{id}":{"get":{"tags":["data: sales"],"summary":"Get one sales_discount_requests","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"lead_id":{},"list_price":{},"discount_amount":{},"currency":{},"reason":{},"status":{},"decided_at":{},"decision_note":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_sales_settings":{"get":{"tags":["data: sales"],"summary":"List project_sales_settings","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"project_id":{},"base_mode":{},"base_price":{},"reservation_days":{},"auto_release":{},"milestone_grace_days":{},"reminder_every_days":{},"late_interest_rate":{},"late_interest_basis":{},"late_interest_grace_days":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_contracts":{"get":{"tags":["data: contracts"],"summary":"List project_contracts","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"subcontractor_company_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"work_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"subcontractor_company_id":{},"employer_company_id":{},"title":{},"contract_number":{},"work_title":{},"work_type":{},"trade_code":{},"total_amount":{},"currency":{},"retention_rate":{},"overhead_pct":{},"profit_pct":{},"vat_pct":{},"penalty_per_day":{},"advance_amount":{},"advance_deduction_pct":{},"advance_base":{},"materials_by_contractor":{},"status":{},"doc_status":{},"doc_version":{},"signed_date":{},"deadline":{},"tender_id":{},"created_at":{},"customer_legal_name":{},"customer_tax_id":{},"contractor_legal_name":{},"contractor_tax_id":{},"cadastral_code":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_contracts/{id}":{"get":{"tags":["data: contracts"],"summary":"Get one project_contracts","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"subcontractor_company_id":{},"employer_company_id":{},"title":{},"contract_number":{},"work_title":{},"work_type":{},"trade_code":{},"total_amount":{},"currency":{},"retention_rate":{},"overhead_pct":{},"profit_pct":{},"vat_pct":{},"penalty_per_day":{},"advance_amount":{},"advance_deduction_pct":{},"advance_base":{},"materials_by_contractor":{},"status":{},"doc_status":{},"doc_version":{},"signed_date":{},"deadline":{},"tender_id":{},"created_at":{},"customer_legal_name":{},"customer_tax_id":{},"contractor_legal_name":{},"contractor_tax_id":{},"cadastral_code":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/contract_items":{"get":{"tags":["data: contracts"],"summary":"List contract_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"section","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"contract_id":{},"code":{},"section":{},"is_section":{},"title":{},"title_alt":{},"unit":{},"quantity":{},"unit_price":{},"material_unit_price":{},"labor_unit_price":{},"machinery_unit_price":{},"recipe_id":{},"change_order_id":{},"parent_item_id":{},"parent_ratio":{},"sort_order":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/contract_items/{id}":{"get":{"tags":["data: contracts"],"summary":"Get one contract_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"contract_id":{},"code":{},"section":{},"is_section":{},"title":{},"title_alt":{},"unit":{},"quantity":{},"unit_price":{},"material_unit_price":{},"labor_unit_price":{},"machinery_unit_price":{},"recipe_id":{},"change_order_id":{},"parent_item_id":{},"parent_ratio":{},"sort_order":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/change_orders":{"get":{"tags":["data: contracts"],"summary":"List change_orders","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"contract_id":{},"title":{},"description":{},"cost_impact":{},"schedule_impact_days":{},"status":{},"recorded_at":{},"items_applied_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/change_orders/{id}":{"get":{"tags":["data: contracts"],"summary":"Get one change_orders","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"contract_id":{},"title":{},"description":{},"cost_impact":{},"schedule_impact_days":{},"status":{},"recorded_at":{},"items_applied_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/change_order_items":{"get":{"tags":["data: contracts"],"summary":"List change_order_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"change_order_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"change_order_id":{},"code":{},"title":{},"title_alt":{},"unit":{},"quantity":{},"material_unit_price":{},"labor_unit_price":{},"machinery_unit_price":{},"sort_order":{},"target_item_id":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/change_order_items/{id}":{"get":{"tags":["data: contracts"],"summary":"Get one change_order_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"change_order_id":{},"code":{},"title":{},"title_alt":{},"unit":{},"quantity":{},"material_unit_price":{},"labor_unit_price":{},"machinery_unit_price":{},"sort_order":{},"target_item_id":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/progress_payments":{"get":{"tags":["data: contracts"],"summary":"List progress_payments","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"contract_id":{},"act_number":{},"period_title":{},"period_end":{},"source":{},"status":{},"currency":{},"exchange_rate_to_gel":{},"base_amount":{},"gross_amount":{},"overhead_amount":{},"profit_amount":{},"vat_amount":{},"retention_rate":{},"retention_amount":{},"penalty_deductions":{},"advance_deduction":{},"net_payable":{},"paid_on":{},"paid_amount":{},"submitted_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/progress_payments/{id}":{"get":{"tags":["data: contracts"],"summary":"Get one progress_payments","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"contract_id":{},"act_number":{},"period_title":{},"period_end":{},"source":{},"status":{},"currency":{},"exchange_rate_to_gel":{},"base_amount":{},"gross_amount":{},"overhead_amount":{},"profit_amount":{},"vat_amount":{},"retention_rate":{},"retention_amount":{},"penalty_deductions":{},"advance_deduction":{},"net_payable":{},"paid_on":{},"paid_amount":{},"submitted_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/progress_payment_items":{"get":{"tags":["data: contracts"],"summary":"List progress_payment_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"progress_payment_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_item_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"review_status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"progress_payment_id":{},"contract_item_id":{},"code":{},"section":{},"title":{},"title_alt":{},"unit":{},"contract_qty":{},"qty_previous":{},"qty_period":{},"qty_claimed":{},"qty_cumulative":{},"unit_price":{},"material_unit_price":{},"labor_unit_price":{},"machinery_unit_price":{},"amount":{},"sort_order":{},"review_status":{},"review_note":{},"reviewed_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/progress_payment_items/{id}":{"get":{"tags":["data: contracts"],"summary":"Get one progress_payment_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"progress_payment_id":{},"contract_item_id":{},"code":{},"section":{},"title":{},"title_alt":{},"unit":{},"contract_qty":{},"qty_previous":{},"qty_period":{},"qty_claimed":{},"qty_cumulative":{},"unit_price":{},"material_unit_price":{},"labor_unit_price":{},"machinery_unit_price":{},"amount":{},"sort_order":{},"review_status":{},"review_note":{},"reviewed_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/subcontractor_compliance_documents":{"get":{"tags":["data: contracts"],"summary":"List subcontractor_compliance_documents","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"document_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"contract_id":{},"document_type":{},"title":{},"expiry_date":{},"notes":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/subcontractor_compliance_documents/{id}":{"get":{"tags":["data: contracts"],"summary":"Get one subcontractor_compliance_documents","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"contract_id":{},"document_type":{},"title":{},"expiry_date":{},"notes":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/budget_lines":{"get":{"tags":["data: contracts"],"summary":"List budget_lines","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"category":{},"planned_amount":{},"actual_amount":{},"currency":{},"notes":{},"tracks_direct_labor":{},"tracks_procurement":{},"tracks_equipment":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/budget_lines/{id}":{"get":{"tags":["data: contracts"],"summary":"Get one budget_lines","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"category":{},"planned_amount":{},"actual_amount":{},"currency":{},"notes":{},"tracks_direct_labor":{},"tracks_procurement":{},"tracks_equipment":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/takeoff_entries":{"get":{"tags":["data: takeoff"],"summary":"List takeoff_entries","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"zone_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"recipe_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"zone_id":{},"recipe_id":{},"contract_item_id":{},"title":{},"category":{},"trade":{},"quantity":{},"unit":{},"measurements":{},"notes":{},"recorded_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/takeoff_entries/{id}":{"get":{"tags":["data: takeoff"],"summary":"Get one takeoff_entries","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"zone_id":{},"recipe_id":{},"contract_item_id":{},"title":{},"category":{},"trade":{},"quantity":{},"unit":{},"measurements":{},"notes":{},"recorded_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/takeoff_recipes":{"get":{"tags":["data: takeoff"],"summary":"List takeoff_recipes","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"title":{},"category":{},"unit":{},"notes":{},"sort_order":{},"is_active":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/takeoff_recipes/{id}":{"get":{"tags":["data: takeoff"],"summary":"Get one takeoff_recipes","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"title":{},"category":{},"unit":{},"notes":{},"sort_order":{},"is_active":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/takeoff_recipe_materials":{"get":{"tags":["data: takeoff"],"summary":"List takeoff_recipe_materials","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"recipe_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"recipe_id":{},"material_id":{},"material_name":{},"unit":{},"qty_per_unit":{},"waste_pct":{},"pack_size":{},"pack_label":{},"sort_order":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/takeoff_recipe_materials/{id}":{"get":{"tags":["data: takeoff"],"summary":"Get one takeoff_recipe_materials","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"recipe_id":{},"material_id":{},"material_name":{},"unit":{},"qty_per_unit":{},"waste_pct":{},"pack_size":{},"pack_label":{},"sort_order":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_work_items":{"get":{"tags":["data: takeoff"],"summary":"List unit_work_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"zone_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"zone_id":{},"contract_id":{},"title":{},"category":{},"trade":{},"is_done":{},"done_at":{},"done_by_company_id":{},"is_skipped":{},"skip_reason":{},"is_critical":{},"planned_date":{},"notes":{},"sort_order":{},"created_at":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/unit_work_items/{id}":{"get":{"tags":["data: takeoff"],"summary":"Get one unit_work_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"zone_id":{},"contract_id":{},"title":{},"category":{},"trade":{},"is_done":{},"done_at":{},"done_by_company_id":{},"is_skipped":{},"skip_reason":{},"is_critical":{},"planned_date":{},"notes":{},"sort_order":{},"created_at":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/work_item_catalog":{"get":{"tags":["data: takeoff"],"summary":"List work_item_catalog","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"scope","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"scope":{},"title":{},"category":{},"sort_order":{},"is_active":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/work_item_catalog/{id}":{"get":{"tags":["data: takeoff"],"summary":"Get one work_item_catalog","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"scope":{},"title":{},"category":{},"sort_order":{},"is_active":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/materials":{"get":{"tags":["data: procurement"],"summary":"List materials","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"name":{},"unit":{},"pack_size":{},"pack_label":{},"min_stock":{},"unit_cost":{},"unit_cost_currency":{},"is_active":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/materials/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one materials","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"name":{},"unit":{},"pack_size":{},"pack_label":{},"min_stock":{},"unit_cost":{},"unit_cost_currency":{},"is_active":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/catalog_items":{"get":{"tags":["data: procurement"],"summary":"List catalog_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"category":{},"name":{},"spec":{},"size":{},"brand":{},"unit":{},"is_active":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/catalog_items/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one catalog_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"category":{},"name":{},"spec":{},"size":{},"brand":{},"unit":{},"is_active":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/suppliers":{"get":{"tags":["data: procurement"],"summary":"List suppliers","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"name":{},"created_at":{},"contact_name":{},"phone":{},"email":{},"tax_id":{},"notes":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/suppliers/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one suppliers","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"name":{},"created_at":{},"contact_name":{},"phone":{},"email":{},"tax_id":{},"notes":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/material_requests":{"get":{"tags":["data: procurement"],"summary":"List material_requests","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"supplier_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"item_name":{},"quantity":{},"unit":{},"status":{},"material_id":{},"catalog_item_id":{},"supplier_id":{},"supplier_name":{},"order_no":{},"ordered_at":{},"unit_price":{},"order_currency":{},"domestic_price_est":{},"import_price_est":{},"received_qty":{},"received_at":{},"needed_by":{},"source_activity_id":{},"rejected_reason":{},"rejected_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/material_requests/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one material_requests","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"item_name":{},"quantity":{},"unit":{},"status":{},"material_id":{},"catalog_item_id":{},"supplier_id":{},"supplier_name":{},"order_no":{},"ordered_at":{},"unit_price":{},"order_currency":{},"domestic_price_est":{},"import_price_est":{},"received_qty":{},"received_at":{},"needed_by":{},"source_activity_id":{},"rejected_reason":{},"rejected_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/material_quotes":{"get":{"tags":["data: procurement"],"summary":"List material_quotes","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"request_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"supplier_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"request_id":{},"supplier_id":{},"supplier_name":{},"unit_price":{},"currency":{},"lead_days":{},"note":{},"selected":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/material_quotes/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one material_quotes","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"request_id":{},"supplier_id":{},"supplier_name":{},"unit_price":{},"currency":{},"lead_days":{},"note":{},"selected":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/goods_receipts":{"get":{"tags":["data: procurement"],"summary":"List goods_receipts","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"request_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"request_id":{},"item_name":{},"unit":{},"quantity":{},"waybill_no":{},"rs_waybill_id":{},"supplier_name":{},"gross_kg":{},"tare_kg":{},"net_kg":{},"delivered_at":{},"notes":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/goods_receipts/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one goods_receipts","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"request_id":{},"item_name":{},"unit":{},"quantity":{},"waybill_no":{},"rs_waybill_id":{},"supplier_name":{},"gross_kg":{},"tare_kg":{},"net_kg":{},"delivered_at":{},"notes":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warehouses":{"get":{"tags":["data: procurement"],"summary":"List warehouses","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"name":{},"created_at":{},"address":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warehouses/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one warehouses","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"name":{},"created_at":{},"address":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warehouse_projects":{"get":{"tags":["data: procurement"],"summary":"List warehouse_projects","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"warehouse_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"project_id":{},"warehouse_id":{},"is_default":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/site_inventory":{"get":{"tags":["data: procurement"],"summary":"List site_inventory","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"warehouse_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"material_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"warehouse_id":{},"material_id":{},"item_name":{},"unit":{},"quantity_on_hand":{},"min_threshold":{},"avg_cost":{},"cost_currency":{},"notes":{},"created_at":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/site_inventory/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one site_inventory","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"warehouse_id":{},"material_id":{},"item_name":{},"unit":{},"quantity_on_hand":{},"min_threshold":{},"avg_cost":{},"cost_currency":{},"notes":{},"created_at":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/stock_movements":{"get":{"tags":["data: procurement"],"summary":"List stock_movements","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"warehouse_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"material_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"work_log_entry_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"warehouse_id":{},"inventory_item_id":{},"work_log_entry_id":{},"material_id":{},"material_name":{},"unit":{},"kind":{},"delta":{},"quantity_needed":{},"quantity_deducted":{},"unit_cost":{},"cost_currency":{},"status":{},"ref":{},"note":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/stock_movements/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one stock_movements","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"warehouse_id":{},"inventory_item_id":{},"work_log_entry_id":{},"material_id":{},"material_name":{},"unit":{},"kind":{},"delta":{},"quantity_needed":{},"quantity_deducted":{},"unit_cost":{},"cost_currency":{},"status":{},"ref":{},"note":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/stock_aliases":{"get":{"tags":["data: procurement"],"summary":"List stock_aliases","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"material_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"source_name":{},"source_key":{},"source_unit":{},"material_id":{},"factor":{},"created_at":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/stock_aliases/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one stock_aliases","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"source_name":{},"source_key":{},"source_unit":{},"material_id":{},"factor":{},"created_at":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/internal_transfers":{"get":{"tags":["data: procurement"],"summary":"List internal_transfers","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"from_warehouse_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"to_warehouse_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"waybill_id":{},"waybill_number":{},"from_warehouse_id":{},"to_warehouse_id":{},"items":{},"status":{},"created_at":{},"applied_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/internal_transfers/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one internal_transfers","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"waybill_id":{},"waybill_number":{},"from_warehouse_id":{},"to_warehouse_id":{},"items":{},"status":{},"created_at":{},"applied_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/stock_counts":{"get":{"tags":["data: procurement"],"summary":"List stock_counts","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"warehouse_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"warehouse_id":{},"project_id":{},"count_no":{},"count_date":{},"note":{},"applied":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/stock_counts/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one stock_counts","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"warehouse_id":{},"project_id":{},"count_no":{},"count_date":{},"note":{},"applied":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/stock_count_lines":{"get":{"tags":["data: procurement"],"summary":"List stock_count_lines","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"count_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"count_id":{},"inventory_item_id":{},"item_name":{},"unit":{},"book_qty":{},"counted_qty":{},"diff":{},"pct":{},"level":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/stock_count_lines/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one stock_count_lines","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"count_id":{},"inventory_item_id":{},"item_name":{},"unit":{},"book_qty":{},"counted_qty":{},"diff":{},"pct":{},"level":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/writeoff_acts":{"get":{"tags":["data: procurement"],"summary":"List writeoff_acts","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"progress_payment_id":{},"number":{},"payment_act_number":{},"contract_title":{},"period_from":{},"period_to":{},"status":{},"totals":{},"documented_count":{},"partial_count":{},"undocumented_count":{},"generated_at":{},"submitted_at":{},"verified_at":{},"approved_at":{},"created_at":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/writeoff_acts/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one writeoff_acts","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"progress_payment_id":{},"number":{},"payment_act_number":{},"contract_title":{},"period_from":{},"period_to":{},"status":{},"totals":{},"documented_count":{},"partial_count":{},"undocumented_count":{},"generated_at":{},"submitted_at":{},"verified_at":{},"approved_at":{},"created_at":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/petty_cash_entries":{"get":{"tags":["data: procurement"],"summary":"List petty_cash_entries","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"kind":{},"amount":{},"vat_amount":{},"currency":{},"entry_date":{},"vendor":{},"description":{},"category":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/petty_cash_entries/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one petty_cash_entries","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"kind":{},"amount":{},"vat_amount":{},"currency":{},"entry_date":{},"vendor":{},"description":{},"category":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/petty_cash_closings":{"get":{"tags":["data: procurement"],"summary":"List petty_cash_closings","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"month":{},"system_balance":{},"counted_amount":{},"difference":{},"note":{},"closed_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/petty_cash_closings/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one petty_cash_closings","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"month":{},"system_balance":{},"counted_amount":{},"difference":{},"note":{},"closed_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/rs_waybill_imports":{"get":{"tags":["data: procurement"],"summary":"List rs_waybill_imports","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"warehouse_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"waybill_id":{},"waybill_number":{},"waybill_date":{},"project_id":{},"warehouse_id":{},"seller_name":{},"seller_tin":{},"amount":{},"status":{},"imported_at":{},"decided_at":{},"note":{},"rs_alert":{},"rs_alert_at":{},"rs_new_amount":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/rs_waybill_imports/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one rs_waybill_imports","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"waybill_id":{},"waybill_number":{},"waybill_date":{},"project_id":{},"warehouse_id":{},"seller_name":{},"seller_tin":{},"amount":{},"status":{},"imported_at":{},"decided_at":{},"note":{},"rs_alert":{},"rs_alert_at":{},"rs_new_amount":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/rs_returns":{"get":{"tags":["data: procurement"],"summary":"List rs_returns","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"warehouse_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"import_id":{},"waybill_id":{},"waybill_number":{},"warehouse_id":{},"items":{},"status":{},"created_at":{},"applied_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/rs_returns/{id}":{"get":{"tags":["data: procurement"],"summary":"Get one rs_returns","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"import_id":{},"waybill_id":{},"waybill_number":{},"warehouse_id":{},"items":{},"status":{},"created_at":{},"applied_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/workers":{"get":{"tags":["data: hr"],"summary":"List workers","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"team_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"trade","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"is_active","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"employment_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"trade":{},"team_id":{},"employment_type":{},"is_active":{},"hire_date":{},"termination_date":{},"created_at":{},"full_name":{},"daily_rate":{},"currency":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/workers/{id}":{"get":{"tags":["data: hr"],"summary":"Get one workers","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"trade":{},"team_id":{},"employment_type":{},"is_active":{},"hire_date":{},"termination_date":{},"created_at":{},"full_name":{},"daily_rate":{},"currency":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_teams":{"get":{"tags":["data: hr"],"summary":"List worker_teams","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"name":{},"foreman_worker_id":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_teams/{id}":{"get":{"tags":["data: hr"],"summary":"Get one worker_teams","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"name":{},"foreman_worker_id":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_attendance":{"get":{"tags":["data: hr"],"summary":"List worker_attendance","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"worker_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"work_date","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"worker_id":{},"project_id":{},"work_date":{},"hours":{},"overtime_hours":{},"activity_id":{},"unit_id":{},"zone_id":{},"takeoff_entry_id":{},"notes":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_attendance/{id}":{"get":{"tags":["data: hr"],"summary":"Get one worker_attendance","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"worker_id":{},"project_id":{},"work_date":{},"hours":{},"overtime_hours":{},"activity_id":{},"unit_id":{},"zone_id":{},"takeoff_entry_id":{},"notes":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_checkins":{"get":{"tags":["data: hr"],"summary":"List worker_checkins","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"worker_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"worker_id":{},"project_id":{},"kind":{},"at":{},"method":{},"flagged":{},"distance_m":{},"created_at":{},"lat":{},"lng":{},"accuracy_m":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_checkins/{id}":{"get":{"tags":["data: hr"],"summary":"Get one worker_checkins","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"worker_id":{},"project_id":{},"kind":{},"at":{},"method":{},"flagged":{},"distance_m":{},"created_at":{},"lat":{},"lng":{},"accuracy_m":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_leaves":{"get":{"tags":["data: hr"],"summary":"List worker_leaves","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"worker_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"leave_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"worker_id":{},"leave_type":{},"start_date":{},"end_date":{},"status":{},"requested_by_worker":{},"decided_at":{},"created_at":{},"note":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_leaves/{id}":{"get":{"tags":["data: hr"],"summary":"Get one worker_leaves","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"worker_id":{},"leave_type":{},"start_date":{},"end_date":{},"status":{},"requested_by_worker":{},"decided_at":{},"created_at":{},"note":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_payroll_items":{"get":{"tags":["data: hr"],"summary":"List worker_payroll_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"worker_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"period","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"worker_id":{},"period":{},"kind":{},"created_at":{},"amount":{},"currency":{},"note":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_payroll_items/{id}":{"get":{"tags":["data: hr"],"summary":"Get one worker_payroll_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"worker_id":{},"period":{},"kind":{},"created_at":{},"amount":{},"currency":{},"note":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_documents":{"get":{"tags":["data: hr"],"summary":"List worker_documents","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"worker_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"doc_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"worker_id":{},"doc_type":{},"title":{},"issue_date":{},"expiry_date":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_documents/{id}":{"get":{"tags":["data: hr"],"summary":"Get one worker_documents","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"worker_id":{},"doc_type":{},"title":{},"issue_date":{},"expiry_date":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_assets":{"get":{"tags":["data: hr"],"summary":"List worker_assets","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"worker_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"worker_id":{},"category":{},"item_name":{},"quantity":{},"issued_at":{},"returned_at":{},"note":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_assets/{id}":{"get":{"tags":["data: hr"],"summary":"Get one worker_assets","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"worker_id":{},"category":{},"item_name":{},"quantity":{},"issued_at":{},"returned_at":{},"note":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_profiles":{"get":{"tags":["data: hr"],"summary":"List worker_profiles","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"worker_id":{},"gender":{},"nationality":{},"city":{},"education":{},"shirt_size":{},"shoe_size":{},"updated_at":{},"phone":{},"email":{},"personal_id":{},"birth_date":{},"address":{},"emergency_name":{},"emergency_phone":{},"marital_status":{},"blood_type":{},"iban":{},"notes":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/worker_profiles/{worker_id}":{"get":{"tags":["data: hr"],"summary":"Get one worker_profiles","description":"404 if the user cannot see the record.","parameters":[{"name":"worker_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"worker_id":{},"gender":{},"nationality":{},"city":{},"education":{},"shirt_size":{},"shoe_size":{},"updated_at":{},"phone":{},"email":{},"personal_id":{},"birth_date":{},"address":{},"emergency_name":{},"emergency_phone":{},"marital_status":{},"blood_type":{},"iban":{},"notes":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/work_log_entries":{"get":{"tags":["data: site"],"summary":"List work_log_entries","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"zone_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"qc_status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"entry_date","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"company_id":{},"contract_id":{},"contract_item_id":{},"takeoff_entry_id":{},"task_id":{},"activity_id":{},"progress_payment_id":{},"unit_id":{},"zone_id":{},"block":{},"floor":{},"entry_date":{},"description":{},"quantity":{},"unit":{},"notes":{},"qc_status":{},"qc_reason":{},"reviewed_at":{},"recorded_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/work_log_entries/{id}":{"get":{"tags":["data: site"],"summary":"Get one work_log_entries","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"company_id":{},"contract_id":{},"contract_item_id":{},"takeoff_entry_id":{},"task_id":{},"activity_id":{},"progress_payment_id":{},"unit_id":{},"zone_id":{},"block":{},"floor":{},"entry_date":{},"description":{},"quantity":{},"unit":{},"notes":{},"qc_status":{},"qc_reason":{},"reviewed_at":{},"recorded_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/site_daily_logs":{"get":{"tags":["data: site"],"summary":"List site_daily_logs","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"log_date","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"log_date":{},"weather_summary":{},"is_work_halted":{},"daily_workers_count":{},"equipment_hours":{},"notes":{},"personnel":{},"machine_counts":{},"work_items":{},"recorded_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/site_daily_logs/{id}":{"get":{"tags":["data: site"],"summary":"Get one site_daily_logs","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"log_date":{},"weather_summary":{},"is_work_halted":{},"daily_workers_count":{},"equipment_hours":{},"notes":{},"personnel":{},"machine_counts":{},"work_items":{},"recorded_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/daily_report_settings":{"get":{"tags":["data: site"],"summary":"List daily_report_settings","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"project_id":{},"company_id":{},"employer_name":{},"project_title":{},"logos":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/daily_report_settings/{project_id}":{"get":{"tags":["data: site"],"summary":"Get one daily_report_settings","description":"404 if the user cannot see the record.","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"project_id":{},"company_id":{},"employer_name":{},"project_title":{},"logos":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/punch_list_items":{"get":{"tags":["data: site"],"summary":"List punch_list_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"severity","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"zone_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"assigned_subcontractor_id":{},"unit_id":{},"zone_id":{},"work_item_id":{},"title":{},"description":{},"location":{},"severity":{},"status":{},"work_category":{},"trade":{},"due_date":{},"resolved_at":{},"resolution_notes":{},"resolved_by_company_id":{},"repair_cost":{},"reopened_at":{},"reopen_note":{},"overdue_alerted_on":{},"handover_protocol_id":{},"recorded_at":{},"created_at":{},"reported_by_name":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/punch_list_items/{id}":{"get":{"tags":["data: site"],"summary":"Get one punch_list_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"assigned_subcontractor_id":{},"unit_id":{},"zone_id":{},"work_item_id":{},"title":{},"description":{},"location":{},"severity":{},"status":{},"work_category":{},"trade":{},"due_date":{},"resolved_at":{},"resolution_notes":{},"resolved_by_company_id":{},"repair_cost":{},"reopened_at":{},"reopen_note":{},"overdue_alerted_on":{},"handover_protocol_id":{},"recorded_at":{},"created_at":{},"reported_by_name":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/inspections":{"get":{"tags":["data: site"],"summary":"List inspections","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"template_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"template_id":{},"contract_id":{},"unit_id":{},"zone_id":{},"title":{},"inspected_at":{},"status":{},"notes":{},"created_at":{},"inspector_name":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/inspections/{id}":{"get":{"tags":["data: site"],"summary":"Get one inspections","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"template_id":{},"contract_id":{},"unit_id":{},"zone_id":{},"title":{},"inspected_at":{},"status":{},"notes":{},"created_at":{},"inspector_name":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/inspection_results":{"get":{"tags":["data: site"],"summary":"List inspection_results","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"inspection_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"result","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"inspection_id":{},"sort_order":{},"item_title":{},"hold_point":{},"result":{},"note":{},"punch_item_id":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/inspection_results/{id}":{"get":{"tags":["data: site"],"summary":"Get one inspection_results","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"inspection_id":{},"sort_order":{},"item_title":{},"hold_point":{},"result":{},"note":{},"punch_item_id":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/inspection_templates":{"get":{"tags":["data: site"],"summary":"List inspection_templates","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"work_category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"title":{},"work_category":{},"items":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/inspection_templates/{id}":{"get":{"tags":["data: site"],"summary":"Get one inspection_templates","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"title":{},"work_category":{},"items":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/equipment":{"get":{"tags":["data: site"],"summary":"List equipment","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"equipment_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"name":{},"equipment_type":{},"status":{},"last_maintenance_date":{},"next_maintenance_date":{},"service_interval_hours":{},"hours_at_last_service":{},"hourly_rate":{},"rate_currency":{},"operator_worker_id":{},"notes":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/equipment/{id}":{"get":{"tags":["data: site"],"summary":"Get one equipment","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"name":{},"equipment_type":{},"status":{},"last_maintenance_date":{},"next_maintenance_date":{},"service_interval_hours":{},"hours_at_last_service":{},"hourly_rate":{},"rate_currency":{},"operator_worker_id":{},"notes":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/equipment_fuel_logs":{"get":{"tags":["data: site"],"summary":"List equipment_fuel_logs","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"equipment_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"equipment_id":{},"project_id":{},"log_date":{},"liters":{},"unit_price":{},"currency":{},"meter_reading":{},"worker_id":{},"note":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/equipment_fuel_logs/{id}":{"get":{"tags":["data: site"],"summary":"Get one equipment_fuel_logs","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"equipment_id":{},"project_id":{},"log_date":{},"liters":{},"unit_price":{},"currency":{},"meter_reading":{},"worker_id":{},"note":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/equipment_checklists":{"get":{"tags":["data: site"],"summary":"List equipment_checklists","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"equipment_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"equipment_id":{},"check_date":{},"items":{},"failed_items":{},"failed_critical":{},"worker_id":{},"note":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/equipment_checklists/{id}":{"get":{"tags":["data: site"],"summary":"Get one equipment_checklists","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"equipment_id":{},"check_date":{},"items":{},"failed_items":{},"failed_critical":{},"worker_id":{},"note":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/concealed_acts":{"get":{"tags":["data: site"],"summary":"List concealed_acts","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"zone_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"act_no":{},"act_date":{},"lang":{},"unit_id":{},"zone_id":{},"location":{},"work_title":{},"drawings":{},"materials":{},"deviations":{},"next_work":{},"status":{},"decision_note":{},"decided_at":{},"replaces_act_id":{},"created_at":{},"contractor_rep":{},"supervisor_rep":{},"designer_rep":{},"decided_by_name":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/concealed_acts/{id}":{"get":{"tags":["data: site"],"summary":"Get one concealed_acts","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"act_no":{},"act_date":{},"lang":{},"unit_id":{},"zone_id":{},"location":{},"work_title":{},"drawings":{},"materials":{},"deviations":{},"next_work":{},"status":{},"decision_note":{},"decided_at":{},"replaces_act_id":{},"created_at":{},"contractor_rep":{},"supervisor_rep":{},"designer_rep":{},"decided_by_name":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/concealed_act_items":{"get":{"tags":["data: site"],"summary":"List concealed_act_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"act_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"act_id":{},"takeoff_entry_id":{},"title":{},"quantity":{},"unit":{},"position":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/concealed_act_items/{id}":{"get":{"tags":["data: site"],"summary":"Get one concealed_act_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"act_id":{},"takeoff_entry_id":{},"title":{},"quantity":{},"unit":{},"position":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/concrete_pours":{"get":{"tags":["data: site"],"summary":"List concrete_pours","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"zone_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"grade","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"pour_no":{},"poured_on":{},"unit_id":{},"zone_id":{},"location":{},"element":{},"grade":{},"required_mpa":{},"volume_m3":{},"supplier":{},"waybill_no":{},"notes":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/concrete_pours/{id}":{"get":{"tags":["data: site"],"summary":"Get one concrete_pours","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"pour_no":{},"poured_on":{},"unit_id":{},"zone_id":{},"location":{},"element":{},"grade":{},"required_mpa":{},"volume_m3":{},"supplier":{},"waybill_no":{},"notes":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/concrete_tests":{"get":{"tags":["data: site"],"summary":"List concrete_tests","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"pour_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"age_days","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"pour_id":{},"age_days":{},"due_on":{},"tested_on":{},"strength_mpa":{},"punch_item_id":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/concrete_tests/{id}":{"get":{"tags":["data: site"],"summary":"Get one concrete_tests","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"pour_id":{},"age_days":{},"due_on":{},"tested_on":{},"strength_mpa":{},"punch_item_id":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/schedule_activities":{"get":{"tags":["data: schedule"],"summary":"List schedule_activities","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"phase","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"zone_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"parent_activity_id":{},"phase":{},"category":{},"title":{},"trade":{},"contract_id":{},"contract_item_id":{},"milestone_id":{},"unit_id":{},"zone_id":{},"block":{},"floor":{},"planned_start":{},"planned_end":{},"baseline_start":{},"baseline_end":{},"actual_start":{},"actual_end":{},"start_time":{},"progress_pct":{},"progress_mode":{},"target_qty":{},"predecessor_ids":{},"predecessor_links":{},"resources":{},"notes":{},"sort_order":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/schedule_activities/{id}":{"get":{"tags":["data: schedule"],"summary":"Get one schedule_activities","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"parent_activity_id":{},"phase":{},"category":{},"title":{},"trade":{},"contract_id":{},"contract_item_id":{},"milestone_id":{},"unit_id":{},"zone_id":{},"block":{},"floor":{},"planned_start":{},"planned_end":{},"baseline_start":{},"baseline_end":{},"actual_start":{},"actual_end":{},"start_time":{},"progress_pct":{},"progress_mode":{},"target_qty":{},"predecessor_ids":{},"predecessor_links":{},"resources":{},"notes":{},"sort_order":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tasks":{"get":{"tags":["data: schedule"],"summary":"List tasks","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"assigned_subcontractor_id":{},"title":{},"description":{},"trade":{},"block":{},"floor":{},"status":{},"approved_at":{},"recorded_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tasks/{id}":{"get":{"tags":["data: schedule"],"summary":"Get one tasks","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"assigned_subcontractor_id":{},"title":{},"description":{},"trade":{},"block":{},"floor":{},"status":{},"approved_at":{},"recorded_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/risks":{"get":{"tags":["data: schedule"],"summary":"List risks","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"activity_id":{},"title":{},"description":{},"category":{},"probability":{},"impact":{},"risk_score":{},"mitigation_strategy":{},"status":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/risks/{id}":{"get":{"tags":["data: schedule"],"summary":"Get one risks","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"activity_id":{},"title":{},"description":{},"category":{},"probability":{},"impact":{},"risk_score":{},"mitigation_strategy":{},"status":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/meetings":{"get":{"tags":["data: schedule"],"summary":"List meetings","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"held_at":{},"notes":{},"created_by_company_id":{},"created_at":{},"attendees":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/meetings/{id}":{"get":{"tags":["data: schedule"],"summary":"Get one meetings","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"held_at":{},"notes":{},"created_by_company_id":{},"created_at":{},"attendees":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/meeting_actions":{"get":{"tags":["data: schedule"],"summary":"List meeting_actions","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"meeting_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"meeting_id":{},"project_id":{},"title":{},"due_date":{},"done_at":{},"instruction_id":{},"created_at":{},"owner_name":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/meeting_actions/{id}":{"get":{"tags":["data: schedule"],"summary":"Get one meeting_actions","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"meeting_id":{},"project_id":{},"title":{},"due_date":{},"done_at":{},"instruction_id":{},"created_at":{},"owner_name":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/rfis":{"get":{"tags":["data: schedule"],"summary":"List rfis","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"priority","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"raised_by_company_id":{},"subject":{},"question":{},"response":{},"priority":{},"status":{},"responded_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/rfis/{id}":{"get":{"tags":["data: schedule"],"summary":"Get one rfis","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"raised_by_company_id":{},"subject":{},"question":{},"response":{},"priority":{},"status":{},"responded_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/submittals":{"get":{"tags":["data: schedule"],"summary":"List submittals","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"kind":{},"title":{},"description":{},"status":{},"submitted_by_company_id":{},"decided_at":{},"decision_note":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/submittals/{id}":{"get":{"tags":["data: schedule"],"summary":"Get one submittals","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"kind":{},"title":{},"description":{},"status":{},"submitted_by_company_id":{},"decided_at":{},"decision_note":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/site_instructions":{"get":{"tags":["data: schedule"],"summary":"List site_instructions","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"entry_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"entry_type":{},"title":{},"details":{},"contract_id":{},"addressed_to":{},"unit_id":{},"zone_id":{},"activity_id":{},"task_id":{},"punch_item_id":{},"drawing_id":{},"trade":{},"priority":{},"due_at":{},"status":{},"acknowledged_at":{},"done_at":{},"verified_at":{},"recorded_at":{},"created_at":{},"given_by":{},"location":{},"worker_id":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/site_instructions/{id}":{"get":{"tags":["data: schedule"],"summary":"Get one site_instructions","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"entry_type":{},"title":{},"details":{},"contract_id":{},"addressed_to":{},"unit_id":{},"zone_id":{},"activity_id":{},"task_id":{},"punch_item_id":{},"drawing_id":{},"trade":{},"priority":{},"due_at":{},"status":{},"acknowledged_at":{},"done_at":{},"verified_at":{},"recorded_at":{},"created_at":{},"given_by":{},"location":{},"worker_id":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/announcements":{"get":{"tags":["data: schedule"],"summary":"List announcements","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"target_contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"body":{},"target_contract_id":{},"activity_id":{},"recorded_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/announcements/{id}":{"get":{"tags":["data: schedule"],"summary":"Get one announcements","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"body":{},"target_contract_id":{},"activity_id":{},"recorded_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_documents":{"get":{"tags":["data: documents"],"summary":"List project_documents","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"category":{},"file_name":{},"file_size_bytes":{},"uploaded_by_company_id":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_documents/{id}":{"get":{"tags":["data: documents"],"summary":"Get one project_documents","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"category":{},"file_name":{},"file_size_bytes":{},"uploaded_by_company_id":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_drawings":{"get":{"tags":["data: documents"],"summary":"List project_drawings","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"discipline","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"drawing_stage","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"approval_status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"block","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"discipline":{},"revision":{},"revision_note":{},"issued_date":{},"file_name":{},"file_size_bytes":{},"unit_id":{},"zone_id":{},"block":{},"trade":{},"drawing_stage":{},"approval_status":{},"approval_note":{},"approved_at":{},"uploaded_by_company_id":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/project_drawings/{id}":{"get":{"tags":["data: documents"],"summary":"Get one project_drawings","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"discipline":{},"revision":{},"revision_note":{},"issued_date":{},"file_name":{},"file_size_bytes":{},"unit_id":{},"zone_id":{},"block":{},"trade":{},"drawing_stage":{},"approval_status":{},"approval_note":{},"approved_at":{},"uploaded_by_company_id":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/drawing_pins":{"get":{"tags":["data: documents"],"summary":"List drawing_pins","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"drawing_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"drawing_id":{},"project_id":{},"x":{},"y":{},"kind":{},"title":{},"entity_id":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/drawing_pins/{id}":{"get":{"tags":["data: documents"],"summary":"Get one drawing_pins","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"drawing_id":{},"project_id":{},"x":{},"y":{},"kind":{},"title":{},"entity_id":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/attachments":{"get":{"tags":["data: documents"],"summary":"List attachments","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"entity_type","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"entity_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"entity_type":{},"entity_id":{},"file_name":{},"mime_type":{},"size_bytes":{},"is_image":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/attachments/{id}":{"get":{"tags":["data: documents"],"summary":"Get one attachments","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"entity_type":{},"entity_id":{},"file_name":{},"mime_type":{},"size_bytes":{},"is_image":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/floor_plans":{"get":{"tags":["data: documents"],"summary":"List floor_plans","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"block","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"floor","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"block":{},"floor":{},"aspect":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/floor_plans/{id}":{"get":{"tags":["data: documents"],"summary":"Get one floor_plans","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"block":{},"floor":{},"aspect":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/floor_plan_units":{"get":{"tags":["data: documents"],"summary":"List floor_plan_units","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"plan_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"plan_id":{},"unit_id":{},"points":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/floor_plan_units/{id}":{"get":{"tags":["data: documents"],"summary":"Get one floor_plan_units","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"plan_id":{},"unit_id":{},"points":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/hse_incidents":{"get":{"tags":["data: hse"],"summary":"List hse_incidents","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"severity","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"incident_type","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"unit_id":{},"zone_id":{},"incident_type":{},"severity":{},"occurred_at":{},"description":{},"root_cause":{},"corrective_action":{},"corrective_owner":{},"corrective_due":{},"corrective_done_at":{},"is_osha_recordable":{},"status":{},"created_at":{},"worker_id":{},"location":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/hse_incidents/{id}":{"get":{"tags":["data: hse"],"summary":"Get one hse_incidents","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"unit_id":{},"zone_id":{},"incident_type":{},"severity":{},"occurred_at":{},"description":{},"root_cause":{},"corrective_action":{},"corrective_owner":{},"corrective_due":{},"corrective_done_at":{},"is_osha_recordable":{},"status":{},"created_at":{},"worker_id":{},"location":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/hse_documents":{"get":{"tags":["data: hse"],"summary":"List hse_documents","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"doc_type","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"doc_type":{},"doc_no":{},"title":{},"lang":{},"doc_date":{},"valid_until":{},"status":{},"created_at":{},"updated_at":{},"payload":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/hse_documents/{id}":{"get":{"tags":["data: hse"],"summary":"Get one hse_documents","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"doc_type":{},"doc_no":{},"title":{},"lang":{},"doc_date":{},"valid_until":{},"status":{},"created_at":{},"updated_at":{},"payload":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/hse_custom_rules":{"get":{"tags":["data: hse"],"summary":"List hse_custom_rules","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"category":{},"title":{},"body":{},"source_note":{},"is_active":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/hse_custom_rules/{id}":{"get":{"tags":["data: hse"],"summary":"Get one hse_custom_rules","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"category":{},"title":{},"body":{},"source_note":{},"is_active":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/handover_slots":{"get":{"tags":["data: warranty"],"summary":"List handover_slots","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"starts_at":{},"duration_min":{},"capacity":{},"note":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/handover_slots/{id}":{"get":{"tags":["data: warranty"],"summary":"Get one handover_slots","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"starts_at":{},"duration_min":{},"capacity":{},"note":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/handover_bookings":{"get":{"tags":["data: warranty"],"summary":"List handover_bookings","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"slot_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"slot_id":{},"unit_id":{},"status":{},"created_at":{},"buyer_note":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/handover_bookings/{id}":{"get":{"tags":["data: warranty"],"summary":"Get one handover_bookings","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"slot_id":{},"unit_id":{},"status":{},"created_at":{},"buyer_note":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/handover_protocols":{"get":{"tags":["data: warranty"],"summary":"List handover_protocols","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"status":{},"lang":{},"checklist":{},"meters":{},"keys":{},"defects":{},"notes":{},"signed_at":{},"final_at":{},"created_at":{},"updated_at":{},"buyer_name":{},"staff_name":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/handover_protocols/{id}":{"get":{"tags":["data: warranty"],"summary":"Get one handover_protocols","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"status":{},"lang":{},"checklist":{},"meters":{},"keys":{},"defects":{},"notes":{},"signed_at":{},"final_at":{},"created_at":{},"updated_at":{},"buyer_name":{},"staff_name":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/handover_templates":{"get":{"tags":["data: warranty"],"summary":"List handover_templates","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"unit_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"unit_type":{},"rooms":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/handover_templates/{id}":{"get":{"tags":["data: warranty"],"summary":"Get one handover_templates","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"unit_type":{},"rooms":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warranty_terms":{"get":{"tags":["data: warranty"],"summary":"List warranty_terms","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"contract_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"category":{},"months":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warranty_terms/{id}":{"get":{"tags":["data: warranty"],"summary":"Get one warranty_terms","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"contract_id":{},"category":{},"months":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warranty_sla":{"get":{"tags":["data: warranty"],"summary":"List warranty_sla","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"priority","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"priority":{},"response_hours":{},"resolve_hours":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warranty_tickets":{"get":{"tags":["data: warranty"],"summary":"List warranty_tickets","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"priority","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"assigned_company_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"contract_id":{},"assigned_company_id":{},"category":{},"room":{},"priority":{},"status":{},"coverage":{},"assigned_at":{},"visit_at":{},"quote_amount":{},"quote_currency":{},"quote_status":{},"fix_note":{},"response_due_at":{},"resolve_due_at":{},"first_response_at":{},"fixed_at":{},"closed_at":{},"reopen_count":{},"created_at":{},"updated_at":{},"description":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warranty_tickets/{id}":{"get":{"tags":["data: warranty"],"summary":"Get one warranty_tickets","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"contract_id":{},"assigned_company_id":{},"category":{},"room":{},"priority":{},"status":{},"coverage":{},"assigned_at":{},"visit_at":{},"quote_amount":{},"quote_currency":{},"quote_status":{},"fix_note":{},"response_due_at":{},"resolve_due_at":{},"first_response_at":{},"fixed_at":{},"closed_at":{},"reopen_count":{},"created_at":{},"updated_at":{},"description":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warranty_ticket_events":{"get":{"tags":["data: warranty"],"summary":"List warranty_ticket_events","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"ticket_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"ticket_id":{},"kind":{},"note":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/warranty_ticket_events/{id}":{"get":{"tags":["data: warranty"],"summary":"Get one warranty_ticket_events","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"ticket_id":{},"kind":{},"note":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/satisfaction_surveys":{"get":{"tags":["data: warranty"],"summary":"List satisfaction_surveys","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"context","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"context":{},"ticket_id":{},"score":{},"created_at":{},"comment":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/satisfaction_surveys/{id}":{"get":{"tags":["data: warranty"],"summary":"Get one satisfaction_surveys","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_id":{},"context":{},"ticket_id":{},"score":{},"created_at":{},"comment":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tenders":{"get":{"tags":["data: tenders"],"summary":"List tenders","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"description":{},"budget_estimate":{},"currency":{},"status":{},"bid_deadline":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tenders/{id}":{"get":{"tags":["data: tenders"],"summary":"Get one tenders","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"title":{},"description":{},"budget_estimate":{},"currency":{},"status":{},"bid_deadline":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tender_items":{"get":{"tags":["data: tenders"],"summary":"List tender_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"tender_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"tender_id":{},"code":{},"title":{},"unit":{},"quantity":{},"category":{},"sort_order":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tender_items/{id}":{"get":{"tags":["data: tenders"],"summary":"Get one tender_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"tender_id":{},"code":{},"title":{},"unit":{},"quantity":{},"category":{},"sort_order":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tender_bids":{"get":{"tags":["data: tenders"],"summary":"List tender_bids","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"tender_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"subcontractor_company_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"tender_id":{},"subcontractor_company_id":{},"amount":{},"message":{},"status":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tender_bids/{id}":{"get":{"tags":["data: tenders"],"summary":"Get one tender_bids","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"tender_id":{},"subcontractor_company_id":{},"amount":{},"message":{},"status":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tender_bid_items":{"get":{"tags":["data: tenders"],"summary":"List tender_bid_items","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"bid_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"tender_item_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"bid_id":{},"tender_item_id":{},"unit_price":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/tender_bid_items/{id}":{"get":{"tags":["data: tenders"],"summary":"Get one tender_bid_items","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"bid_id":{},"tender_item_id":{},"unit_price":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estates":{"get":{"tags":["data: estate"],"summary":"List estates","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"source_project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"name":{},"city":{},"source_project_id":{},"developer_company_id":{},"currency":{},"ref_prefix":{},"status":{},"share_owner_contacts":{},"expense_four_eyes":{},"handed_over_at":{},"created_at":{},"updated_at":{},"address":{},"iban":{},"bank_name":{},"account_holder":{},"notes":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estates/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estates","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"name":{},"city":{},"source_project_id":{},"developer_company_id":{},"currency":{},"ref_prefix":{},"status":{},"share_owner_contacts":{},"expense_four_eyes":{},"handed_over_at":{},"created_at":{},"updated_at":{},"address":{},"iban":{},"bank_name":{},"account_holder":{},"notes":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_units":{"get":{"tags":["data: estate"],"summary":"List estate_units","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"block","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"source_unit_id":{},"block":{},"unit_number":{},"floor":{},"unit_type":{},"area_m2":{},"share_pct":{},"allocated_to_unit_id":{},"charges_from":{},"payment_ref":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_units/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_units","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"source_unit_id":{},"block":{},"unit_number":{},"floor":{},"unit_type":{},"area_m2":{},"share_pct":{},"allocated_to_unit_id":{},"charges_from":{},"payment_ref":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_contacts":{"get":{"tags":["data: estate"],"summary":"List estate_contacts","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"role","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"unit_id":{},"role":{},"source":{},"lang":{},"is_resident":{},"active":{},"created_at":{},"updated_at":{},"full_name":{},"phone":{},"email":{},"plates":{},"notes":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_contacts/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_contacts","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"unit_id":{},"role":{},"source":{},"lang":{},"is_resident":{},"active":{},"created_at":{},"updated_at":{},"full_name":{},"phone":{},"email":{},"plates":{},"notes":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_budgets":{"get":{"tags":["data: estate"],"summary":"List estate_budgets","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"year","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"year":{},"status":{},"notes":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_budgets/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_budgets","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"year":{},"status":{},"notes":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_budget_lines":{"get":{"tags":["data: estate"],"summary":"List estate_budget_lines","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"budget_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"budget_id":{},"name":{},"category":{},"annual_amount":{},"allocation_key":{},"unit_types":{},"is_reserve":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_budget_lines/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_budget_lines","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"budget_id":{},"name":{},"category":{},"annual_amount":{},"allocation_key":{},"unit_types":{},"is_reserve":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_charges":{"get":{"tags":["data: estate"],"summary":"List estate_charges","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"period","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"budget_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"unit_id":{},"budget_id":{},"period":{},"amount":{},"reserve_amount":{},"breakdown":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_charges/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_charges","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"unit_id":{},"budget_id":{},"period":{},"amount":{},"reserve_amount":{},"breakdown":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_payments":{"get":{"tags":["data: estate"],"summary":"List estate_payments","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"method","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"source","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"unit_id":{},"amount":{},"paid_on":{},"method":{},"source":{},"created_at":{},"payer":{},"reference":{},"note":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_payments/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_payments","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"unit_id":{},"amount":{},"paid_on":{},"method":{},"source":{},"created_at":{},"payer":{},"reference":{},"note":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_expenses":{"get":{"tags":["data: estate"],"summary":"List estate_expenses","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"category":{},"supplier_name":{},"invoice_no":{},"invoice_date":{},"amount":{},"paid_from":{},"status":{},"note":{},"approved_at":{},"paid_on":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_expenses/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_expenses","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"category":{},"supplier_name":{},"invoice_no":{},"invoice_date":{},"amount":{},"paid_from":{},"status":{},"note":{},"approved_at":{},"paid_on":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_cash_entries":{"get":{"tags":["data: estate"],"summary":"List estate_cash_entries","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"kind":{},"amount":{},"entry_date":{},"note":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_cash_entries/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_cash_entries","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"kind":{},"amount":{},"entry_date":{},"note":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_reports":{"get":{"tags":["data: estate"],"summary":"List estate_reports","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"period","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"published","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"period":{},"data":{},"published":{},"published_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_reports/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_reports","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"period":{},"data":{},"published":{},"published_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_equipment":{"get":{"tags":["data: estate"],"summary":"List estate_equipment","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"source_equipment_id":{},"name":{},"category":{},"brand":{},"model":{},"serial_no":{},"location":{},"installed_on":{},"warranty_until":{},"period_months":{},"last_service_on":{},"next_due_on":{},"certificate_expires_on":{},"vendor_name":{},"notes":{},"created_at":{},"vendor_phone":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_equipment/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_equipment","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"source_equipment_id":{},"name":{},"category":{},"brand":{},"model":{},"serial_no":{},"location":{},"installed_on":{},"warranty_until":{},"period_months":{},"last_service_on":{},"next_due_on":{},"certificate_expires_on":{},"vendor_name":{},"notes":{},"created_at":{},"vendor_phone":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_work_orders":{"get":{"tags":["data: estate"],"summary":"List estate_work_orders","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"priority","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"category","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"unit_id":{},"equipment_id":{},"source":{},"category":{},"title":{},"description":{},"location":{},"priority":{},"status":{},"assignee_vendor":{},"due_at":{},"planned_for":{},"resolved_at":{},"resolution_note":{},"created_at":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_work_orders/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_work_orders","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"unit_id":{},"equipment_id":{},"source":{},"category":{},"title":{},"description":{},"location":{},"priority":{},"status":{},"assignee_vendor":{},"due_at":{},"planned_for":{},"resolved_at":{},"resolution_note":{},"created_at":{},"updated_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_announcements":{"get":{"tags":["data: estate"],"summary":"List estate_announcements","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"published","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"title":{},"body":{},"published":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_announcements/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_announcements","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"title":{},"body":{},"published":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_votes":{"get":{"tags":["data: estate"],"summary":"List estate_votes","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"title":{},"description":{},"options":{},"weight_basis":{},"quorum_pct":{},"status":{},"closes_at":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_votes/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_votes","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"title":{},"description":{},"options":{},"weight_basis":{},"quorum_pct":{},"status":{},"closes_at":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_resources":{"get":{"tags":["data: estate"],"summary":"List estate_resources","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"name":{},"rules":{},"slot_minutes":{},"open_from":{},"open_to":{},"max_per_week":{},"active":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_resources/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_resources","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"name":{},"rules":{},"slot_minutes":{},"open_from":{},"open_to":{},"max_per_week":{},"active":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_bookings":{"get":{"tags":["data: estate"],"summary":"List estate_bookings","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"estate_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"resource_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"estate_id":{},"resource_id":{},"unit_id":{},"starts_at":{},"ends_at":{},"status":{},"created_at":{},"contact_id":{},"note":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/estate_bookings/{id}":{"get":{"tags":["data: estate"],"summary":"Get one estate_bookings","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"estate_id":{},"resource_id":{},"unit_id":{},"starts_at":{},"ends_at":{},"status":{},"created_at":{},"contact_id":{},"note":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/companies":{"get":{"tags":["data: settings"],"summary":"List companies","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"name":{},"country":{},"default_currency":{},"website":{},"created_at":{},"tax_number":{},"phone":{},"email":{},"address":{},"iban":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/companies/{id}":{"get":{"tags":["data: settings"],"summary":"Get one companies","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"name":{},"country":{},"default_currency":{},"website":{},"created_at":{},"tax_number":{},"phone":{},"email":{},"address":{},"iban":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/company_modules":{"get":{"tags":["data: settings"],"summary":"List company_modules","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"module_key","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"module_key":{},"enabled":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/approval_policies":{"get":{"tags":["data: settings"],"summary":"List approval_policies","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"updated_since","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"doc_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"doc_type":{},"enabled":{},"verify_roles":{},"approve_roles":{},"amount_threshold":{},"threshold_currency":{},"updated_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/role_templates":{"get":{"tags":["data: settings"],"summary":"List role_templates","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"base_role","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"name":{},"base_role":{},"grants":{},"created_at":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/role_templates/{id}":{"get":{"tags":["data: settings"],"summary":"Get one role_templates","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"name":{},"base_role":{},"grants":{},"created_at":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/site_units":{"get":{"tags":["data: projects"],"summary":"List site_units","description":"Records the logged-in user can see (same as the web app; row-level security).","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0}},{"name":"q","in":"query","schema":{"type":"string","maxLength":60},"description":"Text search (title, name, description, notes, location...). Results are newest first."},{"name":"project_id","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"block","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"status","in":"query","schema":{"type":"string"},"description":"Equality filter"},{"name":"unit_type","in":"query","schema":{"type":"string"},"description":"Equality filter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{},"project_id":{},"unit_number":{},"block":{},"floor":{},"gross_m2":{},"land_m2":{},"unit_type":{},"offer_type":{},"view_type":{},"facade":{},"features":{},"status":{},"currency":{},"handed_over_at":{},"warranty_months":{}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/data/site_units/{id}":{"get":{"tags":["data: projects"],"summary":"Get one site_units","description":"404 if the user cannot see the record.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{},"project_id":{},"unit_number":{},"block":{},"floor":{},"gross_m2":{},"land_m2":{},"unit_type":{},"offer_type":{},"view_type":{},"facade":{},"features":{},"status":{},"currency":{},"handed_over_at":{},"warranty_months":{}}}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/actions":{"get":{"summary":"List callable actions (name, module, web parameters)","responses":{"200":{"description":"OK"}}}},"/uploads":{"post":{"summary":"Upload a photo or file (multipart: bucket, path, file)","description":"Buckets: attachments, hse-evidence, project-documents, worker-documents, estate-files, after-sales, company-logos. Same path rules as the web app (e.g. attachments: {projectId}/{entityType}/{entityId}/{uuid}-{name}). Compress photos to WebP (max 1080p, < 500 KB) before upload, then link the file with an action such as createAttachmentAction.","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["bucket","path","file"],"properties":{"bucket":{"type":"string"},"path":{"type":"string"},"file":{"type":"string","format":"binary"}}}}}},"responses":{"201":{"description":"Uploaded: {data: {bucket, path, url}}"},"403":{"description":"Not allowed for this user or path"}}}},"/actions/acceptHandoverAction":{"post":{"tags":["actions: estate"],"summary":"acceptHandoverAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `token: string, companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/acceptPartnerInviteAction":{"post":{"tags":["actions: partners"],"summary":"acceptPartnerInviteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `token: string, companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/acceptPublicQuoteAction":{"post":{"tags":["actions: sales-deals"],"summary":"acceptPublicQuoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `token: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/actionToInstructionAction":{"post":{"tags":["actions: meetings"],"summary":"actionToInstructionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `actionId: string, companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/activateWaybillAction":{"post":{"tags":["actions: rs-ge"],"summary":"activateWaybillAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, waybillId: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addAgentAction":{"post":{"tags":["actions: sales-agents"],"summary":"addAgentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: z.input<typeof schema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addAnnouncementAction":{"post":{"tags":["actions: estate"],"summary":"addAnnouncementAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, input: z.input<typeof annSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addBankAccountAction":{"post":{"tags":["actions: sales-deals"],"summary":"addBankAccountAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: z.input<typeof accountSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addCashEntryAction":{"post":{"tags":["actions: estate"],"summary":"addCashEntryAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, input: z.input<typeof cashSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/building.catalog-actions.addCatalogItemAction":{"post":{"tags":["actions: building"],"summary":"building.catalog-actions.addCatalogItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, scope: CatalogScope, title: string, category: WorkCategory, projectId?: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/catalog.actions.addCatalogItemAction":{"post":{"tags":["actions: catalog"],"summary":"catalog.actions.addCatalogItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: CatalogItemInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addConcealedPhotoAction":{"post":{"tags":["actions: concealed"],"summary":"addConcealedPhotoAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, target: ConcealedTarget, input: z.input<typeof schema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addContractItemAction":{"post":{"tags":["actions: contracts"],"summary":"addContractItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, input: ContractItemInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addContractSectionAction":{"post":{"tags":["actions: contracts"],"summary":"addContractSectionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, code: string, title: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addCustomRuleAction":{"post":{"tags":["actions: hse"],"summary":"addCustomRuleAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: CustomRuleInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addDirectorySupplierAction":{"post":{"tags":["actions: supplier-directory"],"summary":"addDirectorySupplierAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, entryId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addDocumentAction":{"post":{"tags":["actions: estate"],"summary":"addDocumentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, filePath: string, fileName: string, input: { title: string; category: string; residentVisible: boolean },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addDrawingPinAction":{"post":{"tags":["actions: drawings"],"summary":"addDrawingPinAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: { drawingId: string; projectId: string; companyId: string; drawingTitle: string; x: number; y: number; kind: PinKind; title: string; unitId?: string | null; zoneId?: string | null; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addFuelAction":{"post":{"tags":["actions: equipment"],"summary":"addFuelAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof fuelSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addHandoverDocAction":{"post":{"tags":["actions: handover"],"summary":"addHandoverDocAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof addSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addLeadActivityAction":{"post":{"tags":["actions: sales-crm"],"summary":"addLeadActivityAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `leadId: string, input: ActivityInput, followUpDate?: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addLibraryItemsAction":{"post":{"tags":["actions: building"],"summary":"addLibraryItemsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, scope: CatalogScope, indexes: number[], projectId?: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addMaterialAction":{"post":{"tags":["actions: materials"],"summary":"addMaterialAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: { name: string; unit: string; minStock?: number; packSize?: number; packLabel?: string; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addMeetingActionAction":{"post":{"tags":["actions: meetings"],"summary":"addMeetingActionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `meetingId: string, projectId: string, input: { title: string; ownerName?: string; dueDate?: string },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/estate.charges.payment-actions.addPaymentAction":{"post":{"tags":["actions: estate"],"summary":"estate.charges.payment-actions.addPaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, input: z.input<typeof manualSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sales.payment-actions.addPaymentAction":{"post":{"tags":["actions: sales"],"summary":"sales.payment-actions.addPaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, dueDate: string, amount: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addPayrollItemAction":{"post":{"tags":["actions: workforce"],"summary":"addPayrollItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: PayrollItemInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addPettyCashAction":{"post":{"tags":["actions: petty-cash"],"summary":"addPettyCashAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string, input: z.input<typeof entrySchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addPremiumAction":{"post":{"tags":["actions: sales"],"summary":"addPremiumAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: PremiumInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addQuoteAction":{"post":{"tags":["actions: procurement"],"summary":"addQuoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `requestId: string, companyId: string, input: { supplierId?: string; supplierName: string; unitPrice: number; currency: string; leadDays?: number; note?: string; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addRecipeAction":{"post":{"tags":["actions: takeoff"],"summary":"addRecipeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: CreateRecipeInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addRecipeMaterialAction":{"post":{"tags":["actions: takeoff"],"summary":"addRecipeMaterialAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `recipeId: string, input: CreateRecipeMaterialInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addStagePaymentAction":{"post":{"tags":["actions: sales"],"summary":"addStagePaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, stage: string, amount: number, graceDays: number | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addTemplateAction":{"post":{"tags":["actions: sales-leads"],"summary":"addTemplateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: z.input<typeof schema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addTenderItemAction":{"post":{"tags":["actions: tenders"],"summary":"addTenderItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `tenderId: string, input: { code: string; title: string; unit: string; quantity: number },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/addWorkItemAction":{"post":{"tags":["actions: building"],"summary":"addWorkItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, target: StructureTarget, input: WorkItemInput, sortOrder: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/adjustPaymentLinesAction":{"post":{"tags":["actions: finance"],"summary":"adjustPaymentLinesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string, cuts: Record<string, number>, note: string, /** Kalem bazinda gerekce (yoksa genel gerekce yazilir). */ lineNotes?: Record<string, string>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/adjustQuantityAction":{"post":{"tags":["actions: inventory"],"summary":"adjustQuantityAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string, currentQuantity: number, delta: number, movement: MovementInfo = { kind: \"manual\" },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/agentAddLeadAction":{"post":{"tags":["actions: sales-agents"],"summary":"agentAddLeadAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `token: string, input: z.input<typeof leadSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/apiKeyUsageAction":{"post":{"tags":["actions: public-api"],"summary":"apiKeyUsageAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, keyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/applyPriceListAction":{"post":{"tags":["actions: sales"],"summary":"applyPriceListAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, opts: { includeReserved: boolean; includeManual: boolean },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/applyPriceToMaterialAction":{"post":{"tags":["actions: market-prices"],"summary":"applyPriceToMaterialAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `materialId: string, unitPriceGel: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/applyTemplateAction":{"post":{"tags":["actions: building"],"summary":"applyTemplateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, scope: CatalogScope, target: StructureTarget | { kind: \"all_units\" },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/approveChangeOrderAction":{"post":{"tags":["actions: change-orders"],"summary":"approveChangeOrderAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `changeOrderId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/approveTaskAction":{"post":{"tags":["actions: kanban"],"summary":"approveTaskAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `taskId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/approveWaybillAction":{"post":{"tags":["actions: rs-ge"],"summary":"approveWaybillAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, id: string, waybillId: number, warehouseId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/assignContractByCategoryAction":{"post":{"tags":["actions: building"],"summary":"assignContractByCategoryAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, category: WorkCategory, contractId: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/assignPaymentAction":{"post":{"tags":["actions: estate"],"summary":"assignPaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string, unitId: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/awardBidAction":{"post":{"tags":["actions: tenders"],"summary":"awardBidAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `bidId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/bookHandoverAction":{"post":{"tags":["actions: handover"],"summary":"bookHandoverAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `slotId: string, unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/bookSlotAction":{"post":{"tags":["actions: estate"],"summary":"bookSlotAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `token: string, resourceId: string, startsAt: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/bulkCreateUnitsAction":{"post":{"tags":["actions: building"],"summary":"bulkCreateUnitsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, currency: string, input: BulkUnitsInput, catalogCompanyId?: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/bulkPriceChangeAction":{"post":{"tags":["actions: sales"],"summary":"bulkPriceChangeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: BulkChangeFormInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/bulkUpsertAttendanceAction":{"post":{"tags":["actions: workforce"],"summary":"bulkUpsertAttendanceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `params: { companyId: string; projectId: string; workDate: string }, workerIds: string[], input: { hours: number; overtimeHours: number; activityId?: string },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/buyerDecideChangeAction":{"post":{"tags":["actions: unit-changes"],"summary":"buyerDecideChangeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `token: string, changeId: string, approve: boolean, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/cancelBookingAction":{"post":{"tags":["actions: estate"],"summary":"cancelBookingAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/cancelDiscountRequestAction":{"post":{"tags":["actions: sales-deals"],"summary":"cancelDiscountRequestAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/cancelHandoverAction":{"post":{"tags":["actions: estate"],"summary":"cancelHandoverAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/cancelSlotAction":{"post":{"tags":["actions: estate"],"summary":"cancelSlotAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `token: string, bookingId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/changeLeadStageAction":{"post":{"tags":["actions: sales-crm"],"summary":"changeLeadStageAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `leadId: string, input: StageChangeInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/closePettyMonthAction":{"post":{"tags":["actions: petty-cash"],"summary":"closePettyMonthAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string, month: string, counted: number, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/closeRfiAction":{"post":{"tags":["actions: rfis"],"summary":"closeRfiAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `rfiId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/closeTenderAction":{"post":{"tags":["actions: tenders"],"summary":"closeTenderAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `tenderId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/closeTicketAction":{"post":{"tags":["actions: handover"],"summary":"closeTicketAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `ticketId: string, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/commentTicketAction":{"post":{"tags":["actions: handover"],"summary":"commentTicketAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `ticketId: string, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/completeChangeAction":{"post":{"tags":["actions: unit-changes"],"summary":"completeChangeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `changeId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/computeReportAction":{"post":{"tags":["actions: estate"],"summary":"computeReportAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string, month: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/confirmUserEmailAction":{"post":{"tags":["actions: platform-admin"],"summary":"confirmUserEmailAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `userId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/convertLeadToReservationAction":{"post":{"tags":["actions: sales-crm"],"summary":"convertLeadToReservationAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `leadId: string, unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/convertToPunchItemAction":{"post":{"tags":["actions: site-instructions"],"summary":"convertToPunchItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `instructionId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/convertToTaskAction":{"post":{"tags":["actions: site-instructions"],"summary":"convertToTaskAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `instructionId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/copyLastDayAttendanceAction":{"post":{"tags":["actions: workforce"],"summary":"copyLastDayAttendanceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/copyRecipeToCompanyAction":{"post":{"tags":["actions: takeoff"],"summary":"copyRecipeToCompanyAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, recipeId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createActivityAction":{"post":{"tags":["actions: schedule"],"summary":"createActivityAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateActivityInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createAnnouncementAction":{"post":{"tags":["actions: announcements"],"summary":"createAnnouncementAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateAnnouncementInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createApiKeyAction":{"post":{"tags":["actions: public-api"],"summary":"createApiKeyAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: CreateKeyInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createAttachmentAction":{"post":{"tags":["actions: attachments"],"summary":"createAttachmentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: { projectId: string; companyId: string; entityType: AttachmentEntityType; entityId: string; fileUrl: string; fileName: string; mimeType: string | null; sizeBytes: number; isImage: boolean; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createBudgetAction":{"post":{"tags":["actions: estate"],"summary":"createBudgetAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, year: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createBudgetLineAction":{"post":{"tags":["actions: budget"],"summary":"createBudgetLineAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateBudgetLineInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createCampaignAction":{"post":{"tags":["actions: sales-deals"],"summary":"createCampaignAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CampaignInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createChangeOrderAction":{"post":{"tags":["actions: change-orders"],"summary":"createChangeOrderAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, input: CreateChangeOrderInput, items: ChangeOrderItemInput[] = [],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createComplianceDocumentAction":{"post":{"tags":["actions: compliance"],"summary":"createComplianceDocumentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, input: CreateComplianceDocumentInput, file?: { url: string; name: string; sizeBytes: number },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createConcealedActAction":{"post":{"tags":["actions: concealed-acts"],"summary":"createConcealedActAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: { projectId: string; companyId: string; target: ConcealedTarget; form: ActFormInput; selection: ActSelection; /** A#7: reddedilen tutanagin duzeltilmis yeniden gonderimi. */ replacesActId?: string; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createConcretePourAction":{"post":{"tags":["actions: concrete"],"summary":"createConcretePourAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: PourFormValues,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createContractAction":{"post":{"tags":["actions: contracts"],"summary":"createContractAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateContractInput, employerCompanyId: string | null = null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createContractFromTenderAction":{"post":{"tags":["actions: tenders"],"summary":"createContractFromTenderAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `tenderId: string, bidId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createDocumentAction":{"post":{"tags":["actions: documents"],"summary":"createDocumentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, uploadedByCompanyId: string, input: CreateDocumentInput, file: { url: string; name: string; sizeBytes: number },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createDrawingAction":{"post":{"tags":["actions: drawings"],"summary":"createDrawingAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, input: CreateDrawingInput, file: { url: string; name: string; sizeBytes: number }, scope: DrawingScope = { kind: \"project\" },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createEquipmentAction":{"post":{"tags":["actions: equipment"],"summary":"createEquipmentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: CreateEquipmentInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createEstateAction":{"post":{"tags":["actions: estate"],"summary":"createEstateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: EstateInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createEstateFromProjectAction":{"post":{"tags":["actions: estate"],"summary":"createEstateFromProjectAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof createSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createHandoverSlotsAction":{"post":{"tags":["actions: handover"],"summary":"createHandoverSlotsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: SlotsInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createHseDocAction":{"post":{"tags":["actions: hse-docs"],"summary":"createHseDocAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, input: z.input<typeof createSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createIncidentAction":{"post":{"tags":["actions: hse"],"summary":"createIncidentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateIncidentInput, options: { incidentId?: string; evidencePhotoUrl?: string; companyId?: string; } = {},`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createInspectionAction":{"post":{"tags":["actions: quality"],"summary":"createInspectionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: { templateId: string; title?: string; contractId?: string; target?: string; inspectedAt: string; inspectorName?: string; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createInstructionAction":{"post":{"tags":["actions: site-instructions"],"summary":"createInstructionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, input: CreateInstructionInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createInternalWaybillAction":{"post":{"tags":["actions: rs-ge"],"summary":"createInternalWaybillAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: InternalWaybillInput & { goods: (InternalWaybillInput[\"goods\"][number] & { itemId?: string })[]; }, route: { fromWarehouseId: string; toWarehouseId: string } | null = null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createInventoryItemAction":{"post":{"tags":["actions: inventory"],"summary":"createInventoryItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateInventoryItemInput, /** Secili depo; bos ise projenin deposu (tetikleyici doldurur). */ warehouseId?: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createInviteAction":{"post":{"tags":["actions: members"],"summary":"createInviteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: { email?: string; role: MemberRole; position?: string; positionTemplate?: string; grants?: Record<string, \"none\" | \"read\" | \"write\">; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createLeadAction":{"post":{"tags":["actions: sales-crm"],"summary":"createLeadAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: LeadFormValues,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createLeaveAction":{"post":{"tags":["actions: workforce"],"summary":"createLeaveAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: LeaveInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createMaterialRequestAction":{"post":{"tags":["actions: procurement"],"summary":"createMaterialRequestAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string, input: CreateMaterialRequestInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createMeetingAction":{"post":{"tags":["actions: meetings"],"summary":"createMeetingAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, input: { title: string; heldAt: string; attendees?: string; notes?: string; actionLines?: string; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createMilestoneAction":{"post":{"tags":["actions: milestones"],"summary":"createMilestoneAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateMilestoneInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createOrderFromMarketPriceAction":{"post":{"tags":["actions: market-prices"],"summary":"createOrderFromMarketPriceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof schema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createPaymentFromBoqAction":{"post":{"tags":["actions: finance"],"summary":"createPaymentFromBoqAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, input: { periodTitle: string; periodEnd: string; retentionRate: number; penaltyDeductions: number; advanceDeduction: number; currency: string; exchangeRateToGel: number; actNumber?: number; overheadPct?: number; profitPct?: number; vatPct?: number; /** Elle girilen bu donem miktarlari (kesif kalemi id -> miktar). */ overrides?: Record<string, number>; /** G36: sozlesme miktari asimi icin isveren gerekce (yalnizca isveren; bossa asim odenmez). */ overrunNote?: string; /** H#2: onizlemede degistirilen/kaldirilan baglantilar (kayit id -> kalem id | null). */ linkOverrides?: LinkOverrides; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createProgressPaymentAction":{"post":{"tags":["actions: finance"],"summary":"createProgressPaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, input: CreateProgressPaymentInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createProjectAction":{"post":{"tags":["actions: projects"],"summary":"createProjectAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: CreateProjectInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createPunchListItemAction":{"post":{"tags":["actions: punch-list"],"summary":"createPunchListItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreatePunchListItemInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createQuoteAction":{"post":{"tags":["actions: sales-deals"],"summary":"createQuoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: QuoteInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createQuoteInviteAction":{"post":{"tags":["actions: procurement"],"summary":"createQuoteInviteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof createSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createRecipeWithMaterialsAction":{"post":{"tags":["actions: takeoff"],"summary":"createRecipeWithMaterialsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, recipe: CreateRecipeInput, materials: CreateRecipeMaterialInput[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createRetentionReleaseAction":{"post":{"tags":["actions: finance"],"summary":"createRetentionReleaseAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, pct: 50 | 100,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createReturnWaybillAction":{"post":{"tags":["actions: rs-ge"],"summary":"createReturnWaybillAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, importId: string, input: ReturnInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createRfiAction":{"post":{"tags":["actions: rfis"],"summary":"createRfiAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, raisedByCompanyId: string, input: CreateRfiInput, file?: { url: string; name: string },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createRiskAction":{"post":{"tags":["actions: risks"],"summary":"createRiskAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateRiskInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createRiskFromActivityAction":{"post":{"tags":["actions: schedule"],"summary":"createRiskFromActivityAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `activityId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createShortageRequestsAction":{"post":{"tags":["actions: inventory"],"summary":"createShortageRequestsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, rows: ShortageRow[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createSiteLogAction":{"post":{"tags":["actions: site-log"],"summary":"createSiteLogAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateSiteLogInput, equipmentHours: Record<string, number> = {},`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createSplitActivitiesAction":{"post":{"tags":["actions: schedule"],"summary":"createSplitActivitiesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: SplitActivitiesInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createSubActivityAction":{"post":{"tags":["actions: schedule"],"summary":"createSubActivityAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `parentId: string, input: SubActivityInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createSubmittalAction":{"post":{"tags":["actions: meetings"],"summary":"createSubmittalAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, input: { title: string; kind: SubmittalKind; contractId?: string; description?: string; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createSupplierAction":{"post":{"tags":["actions: procurement"],"summary":"createSupplierAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: { name: string; contactName?: string; phone?: string; email?: string; taxId?: string; notes?: string; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createTakeoffEntryAction":{"post":{"tags":["actions: takeoff"],"summary":"createTakeoffEntryAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, input: CreateTakeoffEntryInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createTaskAction":{"post":{"tags":["actions: kanban"],"summary":"createTaskAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: { projectId: string; title: string; block?: string; floor?: string; description?: string; contractId?: string; /** Is dali; verilmezse bagli sozlesmenin dali, o da yoksa yalniz proje sahibi. */ trade?: string | null; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createTeamAction":{"post":{"tags":["actions: workforce"],"summary":"createTeamAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: z.input<typeof teamSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createTemplateAction":{"post":{"tags":["actions: quality"],"summary":"createTemplateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: { title: string; workCategory?: string; lines: string },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createTenderAction":{"post":{"tags":["actions: tenders"],"summary":"createTenderAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateTenderInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createUnitAction":{"post":{"tags":["actions: sales"],"summary":"createUnitAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateUnitInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createUnitChangeAction":{"post":{"tags":["actions: unit-changes"],"summary":"createUnitChangeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, input: { title: string; description?: string; category?: ChangeCategory },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createUnregisteredCompanyAction":{"post":{"tags":["actions: contracts"],"summary":"createUnregisteredCompanyAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `name: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createVoteAction":{"post":{"tags":["actions: estate"],"summary":"createVoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, input: z.input<typeof voteSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createWebhookAction":{"post":{"tags":["actions: public-api"],"summary":"createWebhookAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: { url: string; events: string[] },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createWorkerAction":{"post":{"tags":["actions: workforce"],"summary":"createWorkerAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: CreateWorkerInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createWorkerDocumentAction":{"post":{"tags":["actions: workforce"],"summary":"createWorkerDocumentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `workerId: string, input: WorkerDocInput, file?: { url: string; name: string },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createWorkLogAction":{"post":{"tags":["actions: work-log"],"summary":"createWorkLogAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, input: CreateWorkLogInput, photoUrl: string | null, scope: WorkLogScope = { kind: \"project\" },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/createZoneAction":{"post":{"tags":["actions: building"],"summary":"createZoneAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CreateZoneInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/decideConcealedActAction":{"post":{"tags":["actions: concealed-acts"],"summary":"decideConcealedActAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `actId: string, approve: boolean, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/decideContractDocAction":{"post":{"tags":["actions: contract-doc"],"summary":"decideContractDocAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, approve: boolean, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/decideDiscountAction":{"post":{"tags":["actions: sales-deals"],"summary":"decideDiscountAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, approve: boolean, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/decideLeaveAction":{"post":{"tags":["actions: workforce"],"summary":"decideLeaveAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, approve: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/decideSubmittalAction":{"post":{"tags":["actions: meetings"],"summary":"decideSubmittalAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `submittalId: string, status: Exclude<SubmittalStatus, \"submitted\">, note?: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteActivityAction":{"post":{"tags":["actions: schedule"],"summary":"deleteActivityAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `activityId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteAliasAction":{"post":{"tags":["actions: inventory"],"summary":"deleteAliasAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/announcements.actions.deleteAnnouncementAction":{"post":{"tags":["actions: announcements"],"summary":"announcements.actions.deleteAnnouncementAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `announcementId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/estate.governance.gov-actions.deleteAnnouncementAction":{"post":{"tags":["actions: estate"],"summary":"estate.governance.gov-actions.deleteAnnouncementAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteAssetAction":{"post":{"tags":["actions: workforce"],"summary":"deleteAssetAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteAttachmentAction":{"post":{"tags":["actions: attachments"],"summary":"deleteAttachmentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `attachmentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteAttendanceAction":{"post":{"tags":["actions: workforce"],"summary":"deleteAttendanceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `entryId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteBlockLocationAction":{"post":{"tags":["actions: building"],"summary":"deleteBlockLocationAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, block: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteBudgetLineAction":{"post":{"tags":["actions: estate"],"summary":"deleteBudgetLineAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `lineId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteCashEntryAction":{"post":{"tags":["actions: estate"],"summary":"deleteCashEntryAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `entryId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteCatalogItemAction":{"post":{"tags":["actions: catalog"],"summary":"deleteCatalogItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteCompanyTemplateAction":{"post":{"tags":["actions: permissions"],"summary":"deleteCompanyTemplateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteComplianceDocumentAction":{"post":{"tags":["actions: compliance"],"summary":"deleteComplianceDocumentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `documentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteConcealedActAction":{"post":{"tags":["actions: concealed-acts"],"summary":"deleteConcealedActAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `actId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteConcealedPhotoAction":{"post":{"tags":["actions: concealed"],"summary":"deleteConcealedPhotoAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteConcretePourAction":{"post":{"tags":["actions: concrete"],"summary":"deleteConcretePourAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `pourId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteContactAction":{"post":{"tags":["actions: estate"],"summary":"deleteContactAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contactId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteCustomerAction":{"post":{"tags":["actions: customers"],"summary":"deleteCustomerAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `customerId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteCustomRuleAction":{"post":{"tags":["actions: hse"],"summary":"deleteCustomRuleAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `ruleId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/documents.actions.deleteDocumentAction":{"post":{"tags":["actions: documents"],"summary":"documents.actions.deleteDocumentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `documentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/estate.equipment-actions.deleteDocumentAction":{"post":{"tags":["actions: estate"],"summary":"estate.equipment-actions.deleteDocumentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `documentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteDrawingAction":{"post":{"tags":["actions: drawings"],"summary":"deleteDrawingAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `drawingId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteDrawingPinAction":{"post":{"tags":["actions: drawings"],"summary":"deleteDrawingPinAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `pinId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteEquipmentAction":{"post":{"tags":["actions: estate"],"summary":"deleteEquipmentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `equipmentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteEstateAction":{"post":{"tags":["actions: estate"],"summary":"deleteEstateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteExpenseAction":{"post":{"tags":["actions: estate"],"summary":"deleteExpenseAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `expenseId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteFloorPlanAction":{"post":{"tags":["actions: massing"],"summary":"deleteFloorPlanAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `planId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteFuelAction":{"post":{"tags":["actions: equipment"],"summary":"deleteFuelAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteHandoverDocAction":{"post":{"tags":["actions: handover"],"summary":"deleteHandoverDocAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteHandoverSlotAction":{"post":{"tags":["actions: handover"],"summary":"deleteHandoverSlotAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteHseDocAction":{"post":{"tags":["actions: hse-docs"],"summary":"deleteHseDocAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteInspectionAction":{"post":{"tags":["actions: quality"],"summary":"deleteInspectionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `inspectionId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteLeadAction":{"post":{"tags":["actions: sales-crm"],"summary":"deleteLeadAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `leadId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteLeaveAction":{"post":{"tags":["actions: workforce"],"summary":"deleteLeaveAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteMeetingAction":{"post":{"tags":["actions: meetings"],"summary":"deleteMeetingAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `meetingId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/estate.charges.payment-actions.deletePaymentAction":{"post":{"tags":["actions: estate"],"summary":"estate.charges.payment-actions.deletePaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sales.payment-actions.deletePaymentAction":{"post":{"tags":["actions: sales"],"summary":"sales.payment-actions.deletePaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deletePayrollItemAction":{"post":{"tags":["actions: workforce"],"summary":"deletePayrollItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deletePeriodChargesAction":{"post":{"tags":["actions: estate"],"summary":"deletePeriodChargesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string, period: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deletePettyCashAction":{"post":{"tags":["actions: petty-cash"],"summary":"deletePettyCashAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deletePolygonAction":{"post":{"tags":["actions: massing"],"summary":"deletePolygonAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `planId: string, unitId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deletePremiumAction":{"post":{"tags":["actions: sales"],"summary":"deletePremiumAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteQuoteAction":{"post":{"tags":["actions: sales-deals"],"summary":"deleteQuoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `quoteId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteResourceAction":{"post":{"tags":["actions: estate"],"summary":"deleteResourceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteRsSettingsAction":{"post":{"tags":["actions: rs-ge"],"summary":"deleteRsSettingsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteSupplierAction":{"post":{"tags":["actions: procurement"],"summary":"deleteSupplierAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `supplierId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteTakeoffEntryAction":{"post":{"tags":["actions: takeoff"],"summary":"deleteTakeoffEntryAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `entryId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteTeamAction":{"post":{"tags":["actions: workforce"],"summary":"deleteTeamAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `teamId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/quality.template-actions.deleteTemplateAction":{"post":{"tags":["actions: quality"],"summary":"quality.template-actions.deleteTemplateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `templateId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sales-leads.template-actions.deleteTemplateAction":{"post":{"tags":["actions: sales-leads"],"summary":"sales-leads.template-actions.deleteTemplateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteUnitAction":{"post":{"tags":["actions: estate"],"summary":"deleteUnitAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteVoteAction":{"post":{"tags":["actions: estate"],"summary":"deleteVoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `voteId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteWarehouseAction":{"post":{"tags":["actions: warehouses"],"summary":"deleteWarehouseAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteWaybillAction":{"post":{"tags":["actions: rs-ge"],"summary":"deleteWaybillAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, waybillId: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteWebhookAction":{"post":{"tags":["actions: public-api"],"summary":"deleteWebhookAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteWorkerDocumentAction":{"post":{"tags":["actions: workforce"],"summary":"deleteWorkerDocumentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `documentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteWorkItemAction":{"post":{"tags":["actions: building"],"summary":"deleteWorkItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteWorkLogAction":{"post":{"tags":["actions: work-log"],"summary":"deleteWorkLogAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `entryId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteWorkOrderAction":{"post":{"tags":["actions: estate"],"summary":"deleteWorkOrderAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `orderId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/deleteZoneAction":{"post":{"tags":["actions: building"],"summary":"deleteZoneAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `zoneId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/distributeDefectsAction":{"post":{"tags":["actions: site-instructions"],"summary":"distributeDefectsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, input: DistributeInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/draftDailyNoteAction":{"post":{"tags":["actions: site-log"],"summary":"draftDailyNoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: { date: string; roughNotes: string; isWorkHalted: boolean },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/endLeaseAction":{"post":{"tags":["actions: sales"],"summary":"endLeaseAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/estateFileUrlAction":{"post":{"tags":["actions: estate"],"summary":"estateFileUrlAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `path: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/expenseTransitionAction":{"post":{"tags":["actions: estate"],"summary":"expenseTransitionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `expenseId: string, action: \"approve\" | \"reject\" | \"pay\" | \"reopen\", paidOn: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/finalizeHandoverAction":{"post":{"tags":["actions: handover"],"summary":"finalizeHandoverAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `protocolId: string, date: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/finalizeInspectionAction":{"post":{"tags":["actions: quality"],"summary":"finalizeInspectionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `inspectionId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/findDuplicateLeads":{"post":{"tags":["actions: sales-leads"],"summary":"findDuplicateLeads","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, probe: { phone: string | null; email: string | null; excludeId?: string },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/fixTicketAction":{"post":{"tags":["actions: handover"],"summary":"fixTicketAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `ticketId: string, media: z.input<typeof mediaSchema>, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/gateClockAction":{"post":{"tags":["actions: workforce"],"summary":"gateClockAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, card: string, kind: \"in\" | \"out\",`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/generateChargesAction":{"post":{"tags":["actions: estate"],"summary":"generateChargesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, budgetId: string, fromMonth: string, toMonth: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/generatePlannedAction":{"post":{"tags":["actions: estate"],"summary":"generatePlannedAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string, days: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/generateWriteoffActAction":{"post":{"tags":["actions: writeoffs"],"summary":"generateWriteoffActAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAccountingRows":{"post":{"tags":["actions: finance"],"summary":"getAccountingRows","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getActiveLease":{"post":{"tags":["actions: sales"],"summary":"getActiveLease","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getActivities":{"post":{"tags":["actions: schedule"],"summary":"getActivities","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, /** G24: verilirse (taseron gorunumu) yalnizca bu sirketin sozlesmelerine bagli aktiviteler. */ viewerCompanyId?: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getActSources":{"post":{"tags":["actions: concealed-acts"],"summary":"getActSources","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `target: ConcealedTarget,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAdjustableLines":{"post":{"tags":["actions: finance"],"summary":"getAdjustableLines","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAdjustPreviewData":{"post":{"tags":["actions: finance"],"summary":"getAdjustPreviewData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAdvanceBalance":{"post":{"tags":["actions: finance"],"summary":"getAdvanceBalance","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAliasesAction":{"post":{"tags":["actions: inventory"],"summary":"getAliasesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAllProjects":{"post":{"tags":["actions: projects"],"summary":"getAllProjects","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAnnouncements":{"post":{"tags":["actions: announcements"],"summary":"getAnnouncements","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getApprovalPoliciesAction":{"post":{"tags":["actions: approvals"],"summary":"getApprovalPoliciesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getApprovalStatesAction":{"post":{"tags":["actions: approvals"],"summary":"getApprovalStatesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `docType: ApprovalDocType, ids: string[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAssets":{"post":{"tags":["actions: workforce"],"summary":"getAssets","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAttachmentCounts":{"post":{"tags":["actions: attachments"],"summary":"getAttachmentCounts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, entityType: AttachmentEntityType,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAttachments":{"post":{"tags":["actions: attachments"],"summary":"getAttachments","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `entityType: AttachmentEntityType, entityId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAttendance":{"post":{"tags":["actions: workforce"],"summary":"getAttendance","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string, workDate: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getAuditLog":{"post":{"tags":["actions: security"],"summary":"getAuditLog","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, table: string | null, limit = 100,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getBlockLocations":{"post":{"tags":["actions: building"],"summary":"getBlockLocations","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getBoardData":{"post":{"tags":["actions: kanban"],"summary":"getBoardData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: { role: \"developer\" | \"subcontractor\"; companyId: string; projectId?: string; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getBookingData":{"post":{"tags":["actions: estate"],"summary":"getBookingData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getBoqProgressReport":{"post":{"tags":["actions: finance"],"summary":"getBoqProgressReport","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, periodEnd: string, allowOverrun = false, /** Onizlemede kullanicinin degistirdigi/kaldirdigi otomatik baglantilar. */ linkOverrides: LinkOverrides = {},`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getBudgetLines":{"post":{"tags":["actions: budget"],"summary":"getBudgetLines","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getBuildingStructure":{"post":{"tags":["actions: building"],"summary":"getBuildingStructure","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCampaigns":{"post":{"tags":["actions: sales-deals"],"summary":"getCampaigns","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCatalog":{"post":{"tags":["actions: building"],"summary":"getCatalog","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, scope: CatalogScope,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCatalogItems":{"post":{"tags":["actions: catalog"],"summary":"getCatalogItems","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCategoryFreshness":{"post":{"tags":["actions: market-prices"],"summary":"getCategoryFreshness","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getChainSourceAction":{"post":{"tags":["actions: finance"],"summary":"getChainSourceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, periodEnd: string, targets: { itemId: string; code: string | null; title: string; unit: string; }[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getChangeCandidates":{"post":{"tags":["actions: unit-changes"],"summary":"getChangeCandidates","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getChangeOrders":{"post":{"tags":["actions: change-orders"],"summary":"getChangeOrders","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCharges":{"post":{"tags":["actions: estate"],"summary":"getCharges","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCheckinSettings":{"post":{"tags":["actions: workforce"],"summary":"getCheckinSettings","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCloseoutSummary":{"post":{"tags":["actions: projects"],"summary":"getCloseoutSummary","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCompanyExport":{"post":{"tags":["actions: security"],"summary":"getCompanyExport","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCompanyInvites":{"post":{"tags":["actions: members"],"summary":"getCompanyInvites","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCompanyMembers":{"post":{"tags":["actions: members"],"summary":"getCompanyMembers","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCompanyProfile":{"post":{"tags":["actions: company-settings"],"summary":"getCompanyProfile","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCompanyProjectsBasic":{"post":{"tags":["actions: warehouses"],"summary":"getCompanyProjectsBasic","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCompanyTemplate":{"post":{"tags":["actions: contract-doc"],"summary":"getCompanyTemplate","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, language: DocLanguage, workType: WorkType,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCompanyTemplatesAction":{"post":{"tags":["actions: permissions"],"summary":"getCompanyTemplatesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getComplianceDocuments":{"post":{"tags":["actions: compliance"],"summary":"getComplianceDocuments","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getComplianceSummaries":{"post":{"tags":["actions: contracts"],"summary":"getComplianceSummaries","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractIds: string[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getConcealedActs":{"post":{"tags":["actions: concealed-acts"],"summary":"getConcealedActs","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `target: ConcealedTarget,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getConcealedPhotos":{"post":{"tags":["actions: concealed"],"summary":"getConcealedPhotos","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, target: ConcealedTarget,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getConcreteOfferData":{"post":{"tags":["actions: market-prices"],"summary":"getConcreteOfferData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, ref: { requestId?: string; projectId?: string },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getConcretePours":{"post":{"tags":["actions: concrete"],"summary":"getConcretePours","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getContractDocData":{"post":{"tags":["actions: contract-doc"],"summary":"getContractDocData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getContractDocEvents":{"post":{"tags":["actions: contract-doc"],"summary":"getContractDocEvents","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getContractedProjects":{"post":{"tags":["actions: projects"],"summary":"getContractedProjects","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getContractItems":{"post":{"tags":["actions: contracts"],"summary":"getContractItems","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getContractParties":{"post":{"tags":["actions: form2-import"],"summary":"getContractParties","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getContractPaymentLines":{"post":{"tags":["actions: finance"],"summary":"getContractPaymentLines","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getContracts":{"post":{"tags":["actions: contracts"],"summary":"getContracts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCustomerDetail":{"post":{"tags":["actions: customers"],"summary":"getCustomerDetail","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `customerId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCustomers":{"post":{"tags":["actions: customers"],"summary":"getCustomers","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getCustomRules":{"post":{"tags":["actions: hse"],"summary":"getCustomRules","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getDailyLogPrefill":{"post":{"tags":["actions: site-log"],"summary":"getDailyLogPrefill","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, date: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getDailyReportData":{"post":{"tags":["actions: daily-report"],"summary":"getDailyReportData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `logId: string, companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getDataPrefsAction":{"post":{"tags":["actions: company-settings"],"summary":"getDataPrefsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getDiscountSettings":{"post":{"tags":["actions: sales-deals"],"summary":"getDiscountSettings","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getDiscountStatus":{"post":{"tags":["actions: sales-deals"],"summary":"getDiscountStatus","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getDocuments":{"post":{"tags":["actions: documents"],"summary":"getDocuments","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getDrawingPins":{"post":{"tags":["actions: drawings"],"summary":"getDrawingPins","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `drawingId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getDrawings":{"post":{"tags":["actions: drawings"],"summary":"getDrawings","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, scope: DrawingScope = { kind: \"project\" },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getEffectiveAccess":{"post":{"tags":["actions: permissions"],"summary":"getEffectiveAccess","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, userId: string, role: MemberRole,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getEmailLog":{"post":{"tags":["actions: email"],"summary":"getEmailLog","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getEmailSettings":{"post":{"tags":["actions: email"],"summary":"getEmailSettings","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getEquipment":{"post":{"tags":["actions: equipment"],"summary":"getEquipment","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getEquipmentLogbook":{"post":{"tags":["actions: equipment"],"summary":"getEquipmentLogbook","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `equipmentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getEstateRegistry":{"post":{"tags":["actions: estate"],"summary":"getEstateRegistry","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getEstates":{"post":{"tags":["actions: estate"],"summary":"getEstates","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getExchangeRates":{"post":{"tags":["actions: exchange-rates"],"summary":"getExchangeRates","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getExpenses":{"post":{"tags":["actions: estate"],"summary":"getExpenses","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getGovernance":{"post":{"tags":["actions: estate"],"summary":"getGovernance","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getGroupedMarketPrices":{"post":{"tags":["actions: market-prices"],"summary":"getGroupedMarketPrices","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, filter: { query?: string; category?: string },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getHandoverCalendar":{"post":{"tags":["actions: handover"],"summary":"getHandoverCalendar","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getHandoverCandidates":{"post":{"tags":["actions: estate"],"summary":"getHandoverCandidates","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getHandoverDocs":{"post":{"tags":["actions: handover"],"summary":"getHandoverDocs","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getHrOverview":{"post":{"tags":["actions: workforce"],"summary":"getHrOverview","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getHseDocs":{"post":{"tags":["actions: hse-docs"],"summary":"getHseDocs","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getIncidents":{"post":{"tags":["actions: hse"],"summary":"getIncidents","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getInspectionResults":{"post":{"tags":["actions: quality"],"summary":"getInspectionResults","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `inspectionId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getInspections":{"post":{"tags":["actions: quality"],"summary":"getInspections","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getInstallmentWatch":{"post":{"tags":["actions: sales"],"summary":"getInstallmentWatch","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getInstructions":{"post":{"tags":["actions: site-instructions"],"summary":"getInstructions","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getInventoryItems":{"post":{"tags":["actions: inventory"],"summary":"getInventoryItems","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string | null = null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getItemActivities":{"post":{"tags":["actions: schedule"],"summary":"getItemActivities","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractItemId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getItemMovementsAction":{"post":{"tags":["actions: inventory"],"summary":"getItemMovementsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getItemProgress":{"post":{"tags":["actions: contracts"],"summary":"getItemProgress","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getLeadActivities":{"post":{"tags":["actions: sales-crm"],"summary":"getLeadActivities","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `leadId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getLeads":{"post":{"tags":["actions: sales-crm"],"summary":"getLeads","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getLeaves":{"post":{"tags":["actions: workforce"],"summary":"getLeaves","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMarketPrices":{"post":{"tags":["actions: market-prices"],"summary":"getMarketPrices","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `_companyId: string, filter: { query?: string; category?: string; limit?: number },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMassingData":{"post":{"tags":["actions: massing"],"summary":"getMassingData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMaterialForecast":{"post":{"tags":["actions: inventory"],"summary":"getMaterialForecast","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMaterialRequests":{"post":{"tags":["actions: procurement"],"summary":"getMaterialRequests","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMaterials":{"post":{"tags":["actions: materials"],"summary":"getMaterials","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMe":{"post":{"tags":["actions: profile"],"summary":"getMe","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMeetings":{"post":{"tags":["actions: meetings"],"summary":"getMeetings","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMilestones":{"post":{"tags":["actions: milestones"],"summary":"getMilestones","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMonthlyAttendance":{"post":{"tags":["actions: workforce"],"summary":"getMonthlyAttendance","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string, month: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMyContracts":{"post":{"tags":["actions: contracts"],"summary":"getMyContracts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMyEffectiveAccess":{"post":{"tags":["actions: permissions"],"summary":"getMyEffectiveAccess","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, role: MemberRole,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMyEmailPrefs":{"post":{"tags":["actions: email"],"summary":"getMyEmailPrefs","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMyFeedback":{"post":{"tags":["actions: feedback"],"summary":"getMyFeedback","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMyPartnerAccess":{"post":{"tags":["actions: partners"],"summary":"getMyPartnerAccess","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMyProjects":{"post":{"tags":["actions: projects"],"summary":"getMyProjects","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMyQuoteRequests":{"post":{"tags":["actions: unit-changes"],"summary":"getMyQuoteRequests","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getMyTenders":{"post":{"tags":["actions: tenders"],"summary":"getMyTenders","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getNextActNumber":{"post":{"tags":["actions: finance"],"summary":"getNextActNumber","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getNoticeData":{"post":{"tags":["actions: sales-pay"],"summary":"getNoticeData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getNotifications":{"post":{"tags":["actions: notifications"],"summary":"getNotifications","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, includeComputed = true,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getOnboardingState":{"post":{"tags":["actions: onboarding"],"summary":"getOnboardingState","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getOpenOrdersAction":{"post":{"tags":["actions: rs-ge"],"summary":"getOpenOrdersAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getOpenTasks":{"post":{"tags":["actions: kanban"],"summary":"getOpenTasks","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getOpenTenders":{"post":{"tags":["actions: tenders"],"summary":"getOpenTenders","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `excludeCompanyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getOverviewBundle":{"post":{"tags":["actions: overview"],"summary":"getOverviewBundle","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPartnerAccess":{"post":{"tags":["actions: partners"],"summary":"getPartnerAccess","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPayLogAction":{"post":{"tags":["actions: finance"],"summary":"getPayLogAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPaymentLines":{"post":{"tags":["actions: finance"],"summary":"getPaymentLines","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPayrollData":{"post":{"tags":["actions: workforce"],"summary":"getPayrollData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, month: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPenaltySuggestion":{"post":{"tags":["actions: finance"],"summary":"getPenaltySuggestion","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, periodEnd: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPendingApprovalsAction":{"post":{"tags":["actions: approvals"],"summary":"getPendingApprovalsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPendingWorkAction":{"post":{"tags":["actions: approvals"],"summary":"getPendingWorkAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPendingWriteoffs":{"post":{"tags":["actions: writeoffs"],"summary":"getPendingWriteoffs","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPettyCash":{"post":{"tags":["actions: petty-cash"],"summary":"getPettyCash","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPortfolio":{"post":{"tags":["actions: projects"],"summary":"getPortfolio","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPriceSetup":{"post":{"tags":["actions: sales"],"summary":"getPriceSetup","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProgressPayments":{"post":{"tags":["actions: finance"],"summary":"getProgressPayments","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProjectAccounts":{"post":{"tags":["actions: sales-deals"],"summary":"getProjectAccounts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProjectCollections":{"post":{"tags":["actions: sales"],"summary":"getProjectCollections","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProjectContractItems":{"post":{"tags":["actions: contracts"],"summary":"getProjectContractItems","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProjectFinancialSummary":{"post":{"tags":["actions: budget"],"summary":"getProjectFinancialSummary","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/milestones.get-project-health.getProjectHealth":{"post":{"tags":["actions: milestones"],"summary":"milestones.get-project-health.getProjectHealth","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/overview.get-health.getProjectHealth":{"post":{"tags":["actions: overview"],"summary":"overview.get-health.getProjectHealth","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProjectStockRows":{"post":{"tags":["actions: inventory"],"summary":"getProjectStockRows","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `warehouseIds: string[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProjectSubcontractors":{"post":{"tags":["actions: subcontractors"],"summary":"getProjectSubcontractors","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProjectWeather":{"post":{"tags":["actions: weather"],"summary":"getProjectWeather","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProtocol":{"post":{"tags":["actions: handover"],"summary":"getProtocol","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getProtocolList":{"post":{"tags":["actions: handover"],"summary":"getProtocolList","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPublicRoadmap":{"post":{"tags":["actions: feedback"],"summary":"getPublicRoadmap","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getPunchListItems":{"post":{"tags":["actions: punch-list"],"summary":"getPunchListItems","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getQuickAttendanceState":{"post":{"tags":["actions: workforce"],"summary":"getQuickAttendanceState","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getQuoteDocument":{"post":{"tags":["actions: sales-deals"],"summary":"getQuoteDocument","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `quoteId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getQuoteInvites":{"post":{"tags":["actions: procurement"],"summary":"getQuoteInvites","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `requestId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/procurement.order-actions.getQuotes":{"post":{"tags":["actions: procurement"],"summary":"procurement.order-actions.getQuotes","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `requestId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sales-deals.quote-queries.getQuotes":{"post":{"tags":["actions: sales-deals"],"summary":"sales-deals.quote-queries.getQuotes","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, leadId?: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getQuoteStages":{"post":{"tags":["actions: sales-deals"],"summary":"getQuoteStages","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getReceipts":{"post":{"tags":["actions: procurement"],"summary":"getReceipts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `requestId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getRecipes":{"post":{"tags":["actions: takeoff"],"summary":"getRecipes","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getRecordHistory":{"post":{"tags":["actions: record-history"],"summary":"getRecordHistory","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `table: HistoryTable, rowId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getRequestWarehouses":{"post":{"tags":["actions: warehouses"],"summary":"getRequestWarehouses","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `requestId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getResourceCapacity":{"post":{"tags":["actions: schedule"],"summary":"getResourceCapacity","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getRfis":{"post":{"tags":["actions: rfis"],"summary":"getRfis","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getRisks":{"post":{"tags":["actions: risks"],"summary":"getRisks","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getRiskSuggestions":{"post":{"tags":["actions: risks"],"summary":"getRiskSuggestions","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getRsSettings":{"post":{"tags":["actions: rs-ge"],"summary":"getRsSettings","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSalesReport":{"post":{"tags":["actions: sales-crm"],"summary":"getSalesReport","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSalesSettings":{"post":{"tags":["actions: sales"],"summary":"getSalesSettings","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSalesUsers":{"post":{"tags":["actions: sales-crm"],"summary":"getSalesUsers","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSatisfactionReport":{"post":{"tags":["actions: handover"],"summary":"getSatisfactionReport","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getScheduledQty":{"post":{"tags":["actions: schedule"],"summary":"getScheduledQty","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractItemId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getScopeTexts":{"post":{"tags":["actions: contract-doc"],"summary":"getScopeTexts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSendStatusAction":{"post":{"tags":["actions: platform-admin"],"summary":"getSendStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSiteCheck":{"post":{"tags":["actions: finance"],"summary":"getSiteCheck","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSiteHeadcount":{"post":{"tags":["actions: workforce"],"summary":"getSiteHeadcount","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, workDate: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSiteLogs":{"post":{"tags":["actions: site-log"],"summary":"getSiteLogs","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSiteWorkforce":{"post":{"tags":["actions: workforce"],"summary":"getSiteWorkforce","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, from: string, to: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSla":{"post":{"tags":["actions: handover"],"summary":"getSla","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getStageOptions":{"post":{"tags":["actions: sales"],"summary":"getStageOptions","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getStockCounts":{"post":{"tags":["actions: inventory"],"summary":"getStockCounts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, warehouseId: string | null, projectId: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getStockMovements":{"post":{"tags":["actions: inventory"],"summary":"getStockMovements","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSubcontractorOverview":{"post":{"tags":["actions: subcontractors"],"summary":"getSubcontractorOverview","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSubcontractorScorecards":{"post":{"tags":["actions: scorecards"],"summary":"getSubcontractorScorecards","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSubmittals":{"post":{"tags":["actions: meetings"],"summary":"getSubmittals","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getSuppliers":{"post":{"tags":["actions: procurement"],"summary":"getSuppliers","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTakeoffCosts":{"post":{"tags":["actions: takeoff"],"summary":"getTakeoffCosts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTakeoffEntries":{"post":{"tags":["actions: takeoff"],"summary":"getTakeoffEntries","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, scope: TakeoffScope = {},`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTeamData":{"post":{"tags":["actions: sales-team"],"summary":"getTeamData","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, month: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTeams":{"post":{"tags":["actions: workforce"],"summary":"getTeams","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTelegramLinkState":{"post":{"tags":["actions: telegram"],"summary":"getTelegramLinkState","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTemplates":{"post":{"tags":["actions: quality"],"summary":"getTemplates","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTemplateTexts":{"post":{"tags":["actions: handover"],"summary":"getTemplateTexts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTenderBids":{"post":{"tags":["actions: tenders"],"summary":"getTenderBids","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `tenderId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTenderComparison":{"post":{"tags":["actions: tenders"],"summary":"getTenderComparison","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `tenderId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTenderItems":{"post":{"tags":["actions: tenders"],"summary":"getTenderItems","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `tenderId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTicketEvents":{"post":{"tags":["actions: handover"],"summary":"getTicketEvents","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `ticketId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTickets":{"post":{"tags":["actions: handover"],"summary":"getTickets","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `filter: { projectId?: string; assignedCompanyId?: string; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getTodayCheckins":{"post":{"tags":["actions: workforce"],"summary":"getTodayCheckins","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getUnitChanges":{"post":{"tags":["actions: unit-changes"],"summary":"getUnitChanges","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getUnitInterest":{"post":{"tags":["actions: sales-pay"],"summary":"getUnitInterest","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getUnitPayments":{"post":{"tags":["actions: sales"],"summary":"getUnitPayments","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getUnitPricing":{"post":{"tags":["actions: sales"],"summary":"getUnitPricing","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getUnitRequests":{"post":{"tags":["actions: sales"],"summary":"getUnitRequests","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getUnits":{"post":{"tags":["actions: sales"],"summary":"getUnits","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getUnscheduledWork":{"post":{"tags":["actions: schedule"],"summary":"getUnscheduledWork","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWarehouseItems":{"post":{"tags":["actions: inventory"],"summary":"getWarehouseItems","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `warehouseId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWarehouses":{"post":{"tags":["actions: warehouses"],"summary":"getWarehouses","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWarrantyKpis":{"post":{"tags":["actions: handover"],"summary":"getWarrantyKpis","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWarrantyMatrix":{"post":{"tags":["actions: handover"],"summary":"getWarrantyMatrix","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWaybillGoodsAction":{"post":{"tags":["actions: rs-ge"],"summary":"getWaybillGoodsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, waybillId: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWeatherByCoords":{"post":{"tags":["actions: weather"],"summary":"getWeatherByCoords","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `latitude: number, longitude: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWeeklyReportText":{"post":{"tags":["actions: schedule"],"summary":"getWeeklyReportText","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, projectName: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkCalendar":{"post":{"tags":["actions: schedule"],"summary":"getWorkCalendar","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkerCardAction":{"post":{"tags":["actions: workforce"],"summary":"getWorkerCardAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `workerId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkerCards":{"post":{"tags":["actions: workforce"],"summary":"getWorkerCards","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkerDocAlerts":{"post":{"tags":["actions: workforce"],"summary":"getWorkerDocAlerts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkerDocuments":{"post":{"tags":["actions: workforce"],"summary":"getWorkerDocuments","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `workerId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkerProfile":{"post":{"tags":["actions: workforce"],"summary":"getWorkerProfile","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `workerId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkers":{"post":{"tags":["actions: workforce"],"summary":"getWorkers","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkItems":{"post":{"tags":["actions: building"],"summary":"getWorkItems","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `target: StructureTarget,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkItemsForTarget":{"post":{"tags":["actions: building"],"summary":"getWorkItemsForTarget","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `target: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkLog":{"post":{"tags":["actions: work-log"],"summary":"getWorkLog","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, scope: WorkLogScope = { kind: \"project\" },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkOrders":{"post":{"tags":["actions: estate"],"summary":"getWorkOrders","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWorkQcQueue":{"post":{"tags":["actions: quality"],"summary":"getWorkQcQueue","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, filter: WorkQcFilter,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWriteoffAct":{"post":{"tags":["actions: writeoffs"],"summary":"getWriteoffAct","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/getWriteoffActs":{"post":{"tags":["actions: writeoffs"],"summary":"getWriteoffActs","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/globalSearch":{"post":{"tags":["actions: search"],"summary":"globalSearch","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: GlobalSearchInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/ignoreLineAction":{"post":{"tags":["actions: sales-pay"],"summary":"ignoreLineAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `lineId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/importDrawingTakeoffAction":{"post":{"tags":["actions: drawing-takeoff"],"summary":"importDrawingTakeoffAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, entries: CreateTakeoffEntryInput[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/importForm2ActAction":{"post":{"tags":["actions: form2-import"],"summary":"importForm2ActAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, input: ImportActInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/importForm2Action":{"post":{"tags":["actions: form2-import"],"summary":"importForm2Action","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, input: ImportForm2Input,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/importMspTasksAction":{"post":{"tags":["actions: schedule"],"summary":"importMspTasksAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, tasks: MspTask[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/importPaymentsAction":{"post":{"tags":["actions: estate"],"summary":"importPaymentsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, rows: z.input<typeof importSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/importStatementAction":{"post":{"tags":["actions: sales-pay"],"summary":"importStatementAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof importSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/importUnitsAction":{"post":{"tags":["actions: estate"],"summary":"importUnitsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, rows: ImportRow[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/inviteChangeQuotesAction":{"post":{"tags":["actions: unit-changes"],"summary":"inviteChangeQuotesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `changeId: string, companyIds: string[], quoteDue: string | null = null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/inviteHandoverAction":{"post":{"tags":["actions: estate"],"summary":"inviteHandoverAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, email: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/invitePartnerAction":{"post":{"tags":["actions: partners"],"summary":"invitePartnerAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: InvitePartnerInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/invoiceLinesAction":{"post":{"tags":["actions: rs-ge"],"summary":"invoiceLinesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, invoiceId: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/isAiDraftAvailable":{"post":{"tags":["actions: site-log"],"summary":"isAiDraftAvailable","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/isPlatformAdminAction":{"post":{"tags":["actions: error-log"],"summary":"isPlatformAdminAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `none`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/issueAssetAction":{"post":{"tags":["actions: workforce"],"summary":"issueAssetAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: z.input<typeof assetSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/leaseUnitAction":{"post":{"tags":["actions: sales"],"summary":"leaseUnitAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, input: LeaseInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/linkContractItemRecipesAction":{"post":{"tags":["actions: contracts"],"summary":"linkContractItemRecipesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `links: { itemId: string; recipeId: string }[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/linkMilestoneActivitiesAction":{"post":{"tags":["actions: milestones"],"summary":"linkMilestoneActivitiesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `milestoneId: string, projectId: string, activityIds: string[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/linkPaymentStageAction":{"post":{"tags":["actions: sales"],"summary":"linkPaymentStageAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string, stage: string, graceDays: number | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/linkTakeoffEntriesAction":{"post":{"tags":["actions: takeoff"],"summary":"linkTakeoffEntriesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listAdminCompanies":{"post":{"tags":["actions: platform-admin"],"summary":"listAdminCompanies","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `search: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listAdminFeedback":{"post":{"tags":["actions: platform-admin"],"summary":"listAdminFeedback","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `status: FeedbackStatus | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listAdminUsers":{"post":{"tags":["actions: platform-admin"],"summary":"listAdminUsers","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `search: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listAgents":{"post":{"tags":["actions: sales-agents"],"summary":"listAgents","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listApiKeysAction":{"post":{"tags":["actions: public-api"],"summary":"listApiKeysAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listApprovalsAction":{"post":{"tags":["actions: rs-ge"],"summary":"listApprovalsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listBankAccounts":{"post":{"tags":["actions: sales-deals"],"summary":"listBankAccounts","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listDeliveriesAction":{"post":{"tags":["actions: public-api"],"summary":"listDeliveriesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, webhookId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listDiscountRequests":{"post":{"tags":["actions: sales-deals"],"summary":"listDiscountRequests","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listErrorOccurrencesAction":{"post":{"tags":["actions: error-log"],"summary":"listErrorOccurrencesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `filter: { errorId?: string; userId?: string; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listErrorsAction":{"post":{"tags":["actions: error-log"],"summary":"listErrorsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `status: ErrorStatus | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listIncomingWaybillsAction":{"post":{"tags":["actions: rs-ge"],"summary":"listIncomingWaybillsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, from: string, to: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listInvoicesAction":{"post":{"tags":["actions: rs-ge"],"summary":"listInvoicesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, days: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listOpenPayments":{"post":{"tags":["actions: sales-pay"],"summary":"listOpenPayments","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listOutgoingWaybillsAction":{"post":{"tags":["actions: rs-ge"],"summary":"listOutgoingWaybillsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, from: string, to: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listStatementLines":{"post":{"tags":["actions: sales-pay"],"summary":"listStatementLines","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listTemplates":{"post":{"tags":["actions: sales-leads"],"summary":"listTemplates","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listWebhooksAction":{"post":{"tags":["actions: public-api"],"summary":"listWebhooksAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listWebProjectsAction":{"post":{"tags":["actions: public-api"],"summary":"listWebProjectsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/listWebUnitsAction":{"post":{"tags":["actions: public-api"],"summary":"listWebUnitsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/locateBlockAction":{"post":{"tags":["actions: building"],"summary":"locateBlockAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, lat: number, lng: number, accuracyM?: number | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/logContactAction":{"post":{"tags":["actions: sales-leads"],"summary":"logContactAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `leadId: string, input: z.input<typeof contactSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/markAllPresentAction":{"post":{"tags":["actions: workforce"],"summary":"markAllPresentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/markAllReadAction":{"post":{"tags":["actions: notifications"],"summary":"markAllReadAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/markCountAppliedAction":{"post":{"tags":["actions: inventory"],"summary":"markCountAppliedAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/markNotificationReadAction":{"post":{"tags":["actions: notifications"],"summary":"markNotificationReadAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/markPaymentPaidAction":{"post":{"tags":["actions: sales"],"summary":"markPaymentPaidAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string, paidAt: string, paidAmount?: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/markQuoteSentAction":{"post":{"tags":["actions: sales-deals"],"summary":"markQuoteSentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `quoteId: string, via: \"whatsapp\" | \"link\",`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/markServicedAction":{"post":{"tags":["actions: equipment"],"summary":"markServicedAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `equipmentId: string, totalHours: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/markWorkItemsDoneAction":{"post":{"tags":["actions: building"],"summary":"markWorkItemsDoneAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemIds: string[], companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/matchLineAction":{"post":{"tags":["actions: sales-pay"],"summary":"matchLineAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `lineId: string, paymentId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/mergeLeadsAction":{"post":{"tags":["actions: sales-leads"],"summary":"mergeLeadsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `keepId: string, dropId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/moveDrawingPinAction":{"post":{"tags":["actions: drawings"],"summary":"moveDrawingPinAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `pinId: string, x: number, y: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/newTelegramLinkCodeAction":{"post":{"tags":["actions: telegram"],"summary":"newTelegramLinkCodeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/nokToInstructionsAction":{"post":{"tags":["actions: hse-docs"],"summary":"nokToInstructionsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, docTitle: string, items: CheckItem[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/openWriteoffForPaymentAction":{"post":{"tags":["actions: writeoffs"],"summary":"openWriteoffForPaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/orderFromQuoteAction":{"post":{"tags":["actions: procurement"],"summary":"orderFromQuoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `quoteId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/planActivityMaterialsAction":{"post":{"tags":["actions: schedule"],"summary":"planActivityMaterialsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `activityId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/ppeToAssetsAction":{"post":{"tags":["actions: hse-docs"],"summary":"ppeToAssetsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, docTitle: string, rows: PpeRow[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/priceChangeAction":{"post":{"tags":["actions: unit-changes"],"summary":"priceChangeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `changeId: string, input: z.infer<typeof pricingSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/pushMaterialsToProcurementAction":{"post":{"tags":["actions: takeoff"],"summary":"pushMaterialsToProcurementAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, totals: MaterialTotal[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/readReceiptAction":{"post":{"tags":["actions: petty-cash"],"summary":"readReceiptAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `imageBase64: string, mediaType: \"image/webp\" | \"image/jpeg\" | \"image/png\",`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/readWaybillAction":{"post":{"tags":["actions: procurement"],"summary":"readWaybillAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `imageBase64: string, mediaType: \"image/webp\" | \"image/jpeg\" | \"image/png\",`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/receiveGoodsAction":{"post":{"tags":["actions: procurement"],"summary":"receiveGoodsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `requestId: string, input: ReceiptInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/recordApprovalAction":{"post":{"tags":["actions: approvals"],"summary":"recordApprovalAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `docType: ApprovalDocType, docId: string, step: \"verified\" | \"approved\", note?: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/recordConcreteTestAction":{"post":{"tags":["actions: concrete"],"summary":"recordConcreteTestAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `testId: string, input: TestResultFormValues,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/recordPaperBallotAction":{"post":{"tags":["actions: estate"],"summary":"recordPaperBallotAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, voteId: string, unitId: string, optionIndex: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/regenerateCheckinTokenAction":{"post":{"tags":["actions: workforce"],"summary":"regenerateCheckinTokenAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/regenerateWorkerCardAction":{"post":{"tags":["actions: workforce"],"summary":"regenerateWorkerCardAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `workerId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/rejectChangeOrderAction":{"post":{"tags":["actions: change-orders"],"summary":"rejectChangeOrderAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `changeOrderId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/rejectMaterialRequestAction":{"post":{"tags":["actions: procurement"],"summary":"rejectMaterialRequestAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `requestId: string, reason: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/rejectWaybillAction":{"post":{"tags":["actions: rs-ge"],"summary":"rejectWaybillAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, id: string, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/releaseUnitAction":{"post":{"tags":["actions: sales"],"summary":"releaseUnitAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/removeCatalogItemAction":{"post":{"tags":["actions: building"],"summary":"removeCatalogItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/removeContractItemAction":{"post":{"tags":["actions: contracts"],"summary":"removeContractItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/removeMemberAction":{"post":{"tags":["actions: members"],"summary":"removeMemberAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `memberId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/removePartnerAction":{"post":{"tags":["actions: partners"],"summary":"removePartnerAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `partnerId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/removeRecipeAction":{"post":{"tags":["actions: takeoff"],"summary":"removeRecipeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `recipeId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/removeRecipeMaterialAction":{"post":{"tags":["actions: takeoff"],"summary":"removeRecipeMaterialAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `materialId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/removeTenderItemAction":{"post":{"tags":["actions: tenders"],"summary":"removeTenderItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/reopenPunchItemAction":{"post":{"tags":["actions: punch-list"],"summary":"reopenPunchItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/replyUnitRequestAction":{"post":{"tags":["actions: sales"],"summary":"replyUnitRequestAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `requestId: string, reply: string, status: UnitRequest[\"status\"],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/reportClientErrorAction":{"post":{"tags":["actions: errors"],"summary":"reportClientErrorAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: ClientErrorInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/requestAccountDeletionAction":{"post":{"tags":["actions: account-deletion"],"summary":"requestAccountDeletionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof schema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/requestApprovalAction":{"post":{"tags":["actions: rs-ge"],"summary":"requestApprovalAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, w: RsWaybill,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/requestDiscountAction":{"post":{"tags":["actions: sales-deals"],"summary":"requestDiscountAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof requestSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/resendDeliveryAction":{"post":{"tags":["actions: public-api"],"summary":"resendDeliveryAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, deliveryId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/resendPartnerInviteAction":{"post":{"tags":["actions: partners"],"summary":"resendPartnerInviteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `partnerId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/reserveUnitAction":{"post":{"tags":["actions: sales"],"summary":"reserveUnitAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, input: SellUnitInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/resetModuleGrantsAction":{"post":{"tags":["actions: permissions"],"summary":"resetModuleGrantsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, userId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/resetWorkerPinAction":{"post":{"tags":["actions: workforce"],"summary":"resetWorkerPinAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `workerId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/resolvePunchItemAction":{"post":{"tags":["actions: punch-list"],"summary":"resolvePunchItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string, companyId: string, input: { resolvedAt?: string; notes?: string },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/respondRfiAction":{"post":{"tags":["actions: rfis"],"summary":"respondRfiAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `rfiId: string, input: RespondRfiInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/resubmitWorkLogAction":{"post":{"tags":["actions: work-log"],"summary":"resubmitWorkLogAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `entryId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/resyncEstateAction":{"post":{"tags":["actions: estate"],"summary":"resyncEstateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/returnAssetAction":{"post":{"tags":["actions: workforce"],"summary":"returnAssetAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/returnToServiceAction":{"post":{"tags":["actions: equipment"],"summary":"returnToServiceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof schema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/reviewDrawingAction":{"post":{"tags":["actions: drawings"],"summary":"reviewDrawingAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `drawingId: string, status: Exclude<ApprovalStatus, \"pending\">, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/reviewPaymentLinesAction":{"post":{"tags":["actions: finance"],"summary":"reviewPaymentLinesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string, lineIds: string[], status: \"approved\" | \"pending\",`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/reviewWorkLogsAction":{"post":{"tags":["actions: quality"],"summary":"reviewWorkLogsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: { ids: string[]; status: \"approved\" | \"rejected\"; reason?: string; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/revokeApiKeyAction":{"post":{"tags":["actions: public-api"],"summary":"revokeApiKeyAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, keyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/revokeInviteAction":{"post":{"tags":["actions: members"],"summary":"revokeInviteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `inviteId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/revokeQuoteInviteAction":{"post":{"tags":["actions: procurement"],"summary":"revokeQuoteInviteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/rotatePortalTokenAction":{"post":{"tags":["actions: estate"],"summary":"rotatePortalTokenAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contactId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/runWeeklyReportsIfDueAction":{"post":{"tags":["actions: email"],"summary":"runWeeklyReportsIfDueAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveAliasAction":{"post":{"tags":["actions: inventory"],"summary":"saveAliasAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof saveSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveApprovalPolicyAction":{"post":{"tags":["actions: approvals"],"summary":"saveApprovalPolicyAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, docType: ApprovalDocType, input: Omit<ApprovalPolicy, \"docType\">,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveBankMappingAction":{"post":{"tags":["actions: estate"],"summary":"saveBankMappingAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string, mapping: BankMapping,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveBlockLocationAction":{"post":{"tags":["actions: building"],"summary":"saveBlockLocationAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string, input: z.input<typeof schema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveBlockSettingsAction":{"post":{"tags":["actions: massing"],"summary":"saveBlockSettingsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: BlockSettings[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveBudgetLineAction":{"post":{"tags":["actions: estate"],"summary":"saveBudgetLineAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, budgetId: string, lineId: string | null, input: LineInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveCheckinSettingsAction":{"post":{"tags":["actions: workforce"],"summary":"saveCheckinSettingsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: CheckinSettingsInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/contract-doc.template-actions.saveCompanyTemplateAction":{"post":{"tags":["actions: contract-doc"],"summary":"contract-doc.template-actions.saveCompanyTemplateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, language: DocLanguage, workType: WorkType, body: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/permissions.template-actions.saveCompanyTemplateAction":{"post":{"tags":["actions: permissions"],"summary":"permissions.template-actions.saveCompanyTemplateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: { name: string; baseRole: string; grants: EffectiveAccess },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveContactAction":{"post":{"tags":["actions: estate"],"summary":"saveContactAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, contactId: string | null, input: ContactInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveCustomerAction":{"post":{"tags":["actions: customers"],"summary":"saveCustomerAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, customerId: string | null, input: CustomerFormValues,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveDailyReportAction":{"post":{"tags":["actions: daily-report"],"summary":"saveDailyReportAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `logId: string, input: ReportContentInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveDiscountSettingsAction":{"post":{"tags":["actions: sales-deals"],"summary":"saveDiscountSettingsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: DiscountSettings,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveEmailSettingsAction":{"post":{"tags":["actions: email"],"summary":"saveEmailSettingsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: EmailSettingsInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveEquipmentAction":{"post":{"tags":["actions: estate"],"summary":"saveEquipmentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, equipmentId: string | null, input: EquipmentInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveExpenseAction":{"post":{"tags":["actions: estate"],"summary":"saveExpenseAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, expenseId: string | null, input: ExpenseInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveFloorPlanAction":{"post":{"tags":["actions: massing"],"summary":"saveFloorPlanAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.infer<typeof planSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveModuleGrantsAction":{"post":{"tags":["actions: permissions"],"summary":"saveModuleGrantsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, userId: string, grants: Record<string, AccessLevel>, template?: AppliedTemplate,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/savePolygonAction":{"post":{"tags":["actions: massing"],"summary":"savePolygonAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.infer<typeof polygonSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/savePriceSettingsAction":{"post":{"tags":["actions: sales"],"summary":"savePriceSettingsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: PriceSettingsInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveProjectWebAction":{"post":{"tags":["actions: public-api"],"summary":"saveProjectWebAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, row: WebProjectRow,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveProtocolAction":{"post":{"tags":["actions: handover"],"summary":"saveProtocolAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, body: ProtocolBodyInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/savePushSubscriptionAction":{"post":{"tags":["actions: notifications"],"summary":"savePushSubscriptionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, subscription: { endpoint: string; keys: { p256dh: string; auth: string } },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveRecipeMaterialsAction":{"post":{"tags":["actions: takeoff"],"summary":"saveRecipeMaterialsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `recipeId: string, materials: CreateRecipeMaterialInput[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveReportAction":{"post":{"tags":["actions: estate"],"summary":"saveReportAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, month: string, publish: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveReportSettingsAction":{"post":{"tags":["actions: daily-report"],"summary":"saveReportSettingsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, input: ReportSettingsInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveResourceAction":{"post":{"tags":["actions: estate"],"summary":"saveResourceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, resourceId: string | null, input: z.input<typeof resourceSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveRsSettingsAction":{"post":{"tags":["actions: rs-ge"],"summary":"saveRsSettingsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, serviceUser: string, password: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveSalesSettingsAction":{"post":{"tags":["actions: sales"],"summary":"saveSalesSettingsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: SalesSettings,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveSlaAction":{"post":{"tags":["actions: handover"],"summary":"saveSlaAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, rows: SlaRow[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveStockCountAction":{"post":{"tags":["actions: inventory"],"summary":"saveStockCountAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: { companyId: string; warehouseId: string | null; projectId: string | null; countDate: string; counters: string; note: string; rows: CountResult[]; existingId?: string | null; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveSyncedContactExtrasAction":{"post":{"tags":["actions: estate"],"summary":"saveSyncedContactExtrasAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contactId: string, input: Pick<ContactInput, \"lang\" | \"plates\" | \"isResident\" | \"notes\">,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveTargetAction":{"post":{"tags":["actions: sales-team"],"summary":"saveTargetAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: z.input<typeof schema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveTemplateAction":{"post":{"tags":["actions: handover"],"summary":"saveTemplateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, unitType: string | null, text: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveUnitAction":{"post":{"tags":["actions: estate"],"summary":"saveUnitAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, unitId: string | null, input: UnitInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveUnitInterestAction":{"post":{"tags":["actions: sales-pay"],"summary":"saveUnitInterestAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, terms: InterestTerms | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveUnitPricingAction":{"post":{"tags":["actions: sales"],"summary":"saveUnitPricingAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, input: UnitPricingInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveUnitWebAction":{"post":{"tags":["actions: public-api"],"summary":"saveUnitWebAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, unit: Pick<WebUnitRow, \"id\" | \"webVisible\" | \"rooms\" | \"floorPlanPath\">,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveWarehouseAction":{"post":{"tags":["actions: warehouses"],"summary":"saveWarehouseAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, id: string | null, input: WarehouseInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveWorkerCardAction":{"post":{"tags":["actions: workforce"],"summary":"saveWorkerCardAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `workerId: string, input: WorkerCardInput, includeProfile: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/saveWorkOrderAction":{"post":{"tags":["actions: estate"],"summary":"saveWorkOrderAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, orderId: string | null, input: WoInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/scheduleTicketAction":{"post":{"tags":["actions: handover"],"summary":"scheduleTicketAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `ticketId: string, visit: string, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/scrapeCategoryAction":{"post":{"tags":["actions: market-prices"],"summary":"scrapeCategoryAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, categoryKey: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/searchCompanies":{"post":{"tags":["actions: contracts"],"summary":"searchCompanies","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `query: string, excludeCompanyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/searchCustomers":{"post":{"tags":["actions: customers"],"summary":"searchCustomers","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, query: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/searchDirectory":{"post":{"tags":["actions: supplier-directory"],"summary":"searchDirectory","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `country: string, f: DirectoryFilter,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/seedDefaultTemplatesAction":{"post":{"tags":["actions: quality"],"summary":"seedDefaultTemplatesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sellUnitAction":{"post":{"tags":["actions: sales"],"summary":"sellUnitAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, input: SellUnitInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sendContractDocAction":{"post":{"tags":["actions: contract-doc"],"summary":"sendContractDocAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, file: { url: string; name: string }, note: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sendPasswordResetAction":{"post":{"tags":["actions: platform-admin"],"summary":"sendPasswordResetAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `userId: string, email: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sendQuoteEmailAction":{"post":{"tags":["actions: sales-deals"],"summary":"sendQuoteEmailAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `quoteId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sendReminderAction":{"post":{"tags":["actions: estate"],"summary":"sendReminderAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, estateId: string, unitId: string, channel: \"in_app\" | \"email\" | \"whatsapp\", amount: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sendTestEmailAction":{"post":{"tags":["actions: email"],"summary":"sendTestEmailAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/sendWeeklyReportEmailAction":{"post":{"tags":["actions: email"],"summary":"sendWeeklyReportEmailAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, projectId: string, projectName: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setBankAccountActiveAction":{"post":{"tags":["actions: sales-deals"],"summary":"setBankAccountActiveAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, active: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setBaselineAction":{"post":{"tags":["actions: schedule"],"summary":"setBaselineAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setBookingStatusAction":{"post":{"tags":["actions: handover"],"summary":"setBookingStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, status: \"cancelled\" | \"done\",`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setCampaignActiveAction":{"post":{"tags":["actions: sales-deals"],"summary":"setCampaignActiveAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, active: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setChangePaymentAction":{"post":{"tags":["actions: unit-changes"],"summary":"setChangePaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `changeId: string, status: ChangePaymentStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setChangeStatusAction":{"post":{"tags":["actions: unit-changes"],"summary":"setChangeStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `changeId: string, next: Next,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setCompanyLogoAction":{"post":{"tags":["actions: company-settings"],"summary":"setCompanyLogoAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, logoUrl: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setConcealedRequiredAction":{"post":{"tags":["actions: concealed"],"summary":"setConcealedRequiredAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, value: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setContractTradeAction":{"post":{"tags":["actions: trades"],"summary":"setContractTradeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, tradeCode: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setContractWorkTypeAction":{"post":{"tags":["actions: contract-doc"],"summary":"setContractWorkTypeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, workType: WorkType,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setCorrectiveDoneAction":{"post":{"tags":["actions: hse"],"summary":"setCorrectiveDoneAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `incidentId: string, done: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setDataPrefAction":{"post":{"tags":["actions: company-settings"],"summary":"setDataPrefAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, key: z.infer<typeof prefKey>, value: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setDocumentVisibleAction":{"post":{"tags":["actions: estate"],"summary":"setDocumentVisibleAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `documentId: string, visible: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setEquipmentOperatorAction":{"post":{"tags":["actions: equipment"],"summary":"setEquipmentOperatorAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `equipmentId: string, workerId: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setErrorStatusAction":{"post":{"tags":["actions: error-log"],"summary":"setErrorStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, status: ErrorStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setHandoverAction":{"post":{"tags":["actions: sales"],"summary":"setHandoverAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, date: string | null, warrantyMonths: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setInstructionStatusAction":{"post":{"tags":["actions: site-instructions"],"summary":"setInstructionStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `instructionId: string, status: InstructionStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setItemParentRatioAction":{"post":{"tags":["actions: contracts"],"summary":"setItemParentRatioAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string, ratio: number | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setMaterialsByContractorAction":{"post":{"tags":["actions: contracts"],"summary":"setMaterialsByContractorAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, value: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setMemberRoleAction":{"post":{"tags":["actions: members"],"summary":"setMemberRoleAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `memberId: string, role: MemberRole,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setModuleEnabledAction":{"post":{"tags":["actions: company-settings"],"summary":"setModuleEnabledAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, moduleKey: string, enabled: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setMyEmailPrefsAction":{"post":{"tags":["actions: email"],"summary":"setMyEmailPrefsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `prefs: EmailPrefs,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setPartnerAccessAction":{"post":{"tags":["actions: partners"],"summary":"setPartnerAccessAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, companyId: string, access: PartnerAccessMap,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setPredecessorLinksAction":{"post":{"tags":["actions: schedule"],"summary":"setPredecessorLinksAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `activityId: string, input: PredecessorLink[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setProgressPaymentStatusAction":{"post":{"tags":["actions: finance"],"summary":"setProgressPaymentStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string, next: ProgressPaymentStatus, note?: string, paid?: PaidDetails,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setProjectStatusAction":{"post":{"tags":["actions: projects"],"summary":"setProjectStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, status: ProjectStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setQuoteAmountAction":{"post":{"tags":["actions: unit-changes"],"summary":"setQuoteAmountAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `quoteId: string, amount: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setQuoteStatusAction":{"post":{"tags":["actions: sales-deals"],"summary":"setQuoteStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `quoteId: string, status: \"accepted\" | \"rejected\",`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setRecipientStatusAction":{"post":{"tags":["actions: platform-admin"],"summary":"setRecipientStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, status: RecipientStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setRecordTradeAction":{"post":{"tags":["actions: trades"],"summary":"setRecordTradeAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `table: TradeTable, id: string, trade: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setReportPublishedAction":{"post":{"tags":["actions: estate"],"summary":"setReportPublishedAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `reportId: string, published: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setResourceCapacityAction":{"post":{"tags":["actions: schedule"],"summary":"setResourceCapacityAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: { key: string; limit: number | null },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setResourcesAction":{"post":{"tags":["actions: schedule"],"summary":"setResourcesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `activityId: string, input: ActivityResource[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setResultAction":{"post":{"tags":["actions: quality"],"summary":"setResultAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `resultId: string, result: ItemResult, note?: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setServiceIntervalAction":{"post":{"tags":["actions: equipment"],"summary":"setServiceIntervalAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `equipmentId: string, intervalHours: number | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setShowPricingAction":{"post":{"tags":["actions: platform-settings"],"summary":"setShowPricingAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `show: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setTenderItemsFromTakeoffAction":{"post":{"tags":["actions: tenders"],"summary":"setTenderItemsFromTakeoffAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `tenderId: string, projectId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setUserSuspendedAction":{"post":{"tags":["actions: platform-admin"],"summary":"setUserSuspendedAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `userId: string, suspended: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setVoteStatusAction":{"post":{"tags":["actions: estate"],"summary":"setVoteStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `voteId: string, status: \"draft\" | \"open\" | \"closed\",`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setWarrantyTermAction":{"post":{"tags":["actions: handover"],"summary":"setWarrantyTermAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: { projectId: string; scope: WarrantyScope; contractId: string | null; category: string; months: number | null; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setWebhookActiveAction":{"post":{"tags":["actions: public-api"],"summary":"setWebhookActiveAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, id: string, active: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setWorkCalendarAction":{"post":{"tags":["actions: schedule"],"summary":"setWorkCalendarAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, input: WorkCalendar | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setWorkerActiveAction":{"post":{"tags":["actions: workforce"],"summary":"setWorkerActiveAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `workerId: string, isActive: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setWorkerPhotoAction":{"post":{"tags":["actions: workforce"],"summary":"setWorkerPhotoAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `workerId: string, photoUrl: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/setWorkOrderStatusAction":{"post":{"tags":["actions: estate"],"summary":"setWorkOrderStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `orderId: string, status: (typeof WO_STATUSES)[number], note: string | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/signAfterSalesPaths":{"post":{"tags":["actions: handover"],"summary":"signAfterSalesPaths","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paths: string[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/signProtocolAction":{"post":{"tags":["actions: handover"],"summary":"signProtocolAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, body: ProtocolBodyInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/startCampaignSendAction":{"post":{"tags":["actions: platform-admin"],"summary":"startCampaignSendAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `campaignId: string, count: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/submitBidAction":{"post":{"tags":["actions: tenders"],"summary":"submitBidAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `tenderId: string, subcontractorCompanyId: string, input: CreateBidInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/submitChecklistAction":{"post":{"tags":["actions: equipment"],"summary":"submitChecklistAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof checklistSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/submitEvidenceAction":{"post":{"tags":["actions: kanban"],"summary":"submitEvidenceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `taskId: string, photoUrl: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/submitFeedbackAction":{"post":{"tags":["actions: feedback"],"summary":"submitFeedbackAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: FeedbackInput, context: FeedbackContext,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/submitPublicQuoteAction":{"post":{"tags":["actions: procurement"],"summary":"submitPublicQuoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: z.input<typeof submitSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/submitQuoteAction":{"post":{"tags":["actions: unit-changes"],"summary":"submitQuoteAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `quoteId: string, amount: number, days: number | null, note: string, materialIncluded = true,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/suggestContractForCategory":{"post":{"tags":["actions: punch-list"],"summary":"suggestContractForCategory","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, category: WorkCategory,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/toggleMeetingActionAction":{"post":{"tags":["actions: meetings"],"summary":"toggleMeetingActionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `actionId: string, done: boolean,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/toggleWorkItemAction":{"post":{"tags":["actions: building"],"summary":"toggleWorkItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string, isDone: boolean, companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/transferStockItemAction":{"post":{"tags":["actions: inventory"],"summary":"transferStockItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string, input: TransferFormValues,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/triageTicketAction":{"post":{"tags":["actions: handover"],"summary":"triageTicketAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `ticketId: string, input: z.input<typeof triageSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/unlinkTelegramAction":{"post":{"tags":["actions: telegram"],"summary":"unlinkTelegramAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/unmarkPaymentAction":{"post":{"tags":["actions: sales"],"summary":"unmarkPaymentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `paymentId: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/unmatchLineAction":{"post":{"tags":["actions: sales-pay"],"summary":"unmatchLineAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `lineId: string`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateActivityProgressAction":{"post":{"tags":["actions: schedule"],"summary":"updateActivityProgressAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `activityId: string, progressPct: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateActualAmountAction":{"post":{"tags":["actions: budget"],"summary":"updateActualAmountAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `budgetLineId: string, actualAmount: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateAgentAction":{"post":{"tags":["actions: sales-agents"],"summary":"updateAgentAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, patch: { active?: boolean; rotateToken?: boolean },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateCompanyProfileAction":{"post":{"tags":["actions: company-settings"],"summary":"updateCompanyProfileAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, input: CompanyProfileInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateContractAmountAction":{"post":{"tags":["actions: contracts"],"summary":"updateContractAmountAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, input: z.input<typeof amountSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateContractForm2Action":{"post":{"tags":["actions: contracts"],"summary":"updateContractForm2Action","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `contractId: string, input: ContractForm2Input,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateDefaultCurrencyAction":{"post":{"tags":["actions: company-settings"],"summary":"updateDefaultCurrencyAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `companyId: string, currency: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateEquipmentStatusAction":{"post":{"tags":["actions: equipment"],"summary":"updateEquipmentStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `equipmentId: string, status: EquipmentStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateEstateAction":{"post":{"tags":["actions: estate"],"summary":"updateEstateAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `estateId: string, input: EstateInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateFeedbackAction":{"post":{"tags":["actions: platform-admin"],"summary":"updateFeedbackAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `feedbackId: string, input: FeedbackUpdateValues,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateHseDocAction":{"post":{"tags":["actions: hse-docs"],"summary":"updateHseDocAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, input: { title: string; docDate: string; validUntil: string | null; status: \"draft\" | \"active\" | \"closed\"; payload: HseDocPayload; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateIncidentStatusAction":{"post":{"tags":["actions: hse"],"summary":"updateIncidentStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `incidentId: string, status: IncidentStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateInstructionAction":{"post":{"tags":["actions: site-instructions"],"summary":"updateInstructionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `instructionId: string, input: CreateInstructionInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateItemQuantitiesFromTakeoffAction":{"post":{"tags":["actions: contracts"],"summary":"updateItemQuantitiesFromTakeoffAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `updates: { itemId: string; quantity: number }[],`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateLeadAction":{"post":{"tags":["actions: sales-crm"],"summary":"updateLeadAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `leadId: string, input: LeadFormValues,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateMaterialAction":{"post":{"tags":["actions: materials"],"summary":"updateMaterialAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `materialId: string, input: { name: string; unit: string; minStock: number; unitCost?: number | null; unitCostCurrency?: string | null; },`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateMaterialRequestStatusAction":{"post":{"tags":["actions: procurement"],"summary":"updateMaterialRequestStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `requestId: string, status: MaterialRequestStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateMilestoneStatusAction":{"post":{"tags":["actions: milestones"],"summary":"updateMilestoneStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `milestoneId: string, status: MilestoneStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateMyNameAction":{"post":{"tags":["actions: profile"],"summary":"updateMyNameAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `input: { fullName: string; }`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateProjectLocationAction":{"post":{"tags":["actions: projects"],"summary":"updateProjectLocationAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `projectId: string, latitude: number, longitude: number,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updatePunchListItemAction":{"post":{"tags":["actions: punch-list"],"summary":"updatePunchListItemAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string, input: CreatePunchListItemInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updatePunchListStatusAction":{"post":{"tags":["actions: punch-list"],"summary":"updatePunchListStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string, status: PunchListStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateReservationAction":{"post":{"tags":["actions: sales"],"summary":"updateReservationAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, until: string, deposit: number | null,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateRiskStatusAction":{"post":{"tags":["actions: risks"],"summary":"updateRiskStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `riskId: string, status: RiskStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateSaleTermsAction":{"post":{"tags":["actions: sales"],"summary":"updateSaleTermsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, input: SaleTermsFormValues,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateTakeoffEntryAction":{"post":{"tags":["actions: takeoff"],"summary":"updateTakeoffEntryAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `entryId: string, input: CreateTakeoffEntryInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateTaskStatusAction":{"post":{"tags":["actions: kanban"],"summary":"updateTaskStatusAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `taskId: string, status: TaskStatus,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateTeamAction":{"post":{"tags":["actions: workforce"],"summary":"updateTeamAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `teamId: string, input: z.input<typeof teamSchema>,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateUnitAttributesAction":{"post":{"tags":["actions: sales"],"summary":"updateUnitAttributesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, input: UnitAttributesInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateUnitFeaturesAction":{"post":{"tags":["actions: building"],"summary":"updateUnitFeaturesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `unitId: string, features: string[], specialNotes: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateWorkItemDetailsAction":{"post":{"tags":["actions: building"],"summary":"updateWorkItemDetailsAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `itemId: string, input: WorkItemDetailsInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateWorkLogAction":{"post":{"tags":["actions: work-log"],"summary":"updateWorkLogAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `entryId: string, input: CreateWorkLogInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/updateZoneNotesAction":{"post":{"tags":["actions: building"],"summary":"updateZoneNotesAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `zoneId: string, specialNotes: string,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/upsertAttendanceAction":{"post":{"tags":["actions: workforce"],"summary":"upsertAttendanceAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `params: { workerId: string; companyId: string; projectId: string; workDate: string; }, input: AttendanceInput,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}},"/actions/writeoffTransitionAction":{"post":{"tags":["actions: writeoffs"],"summary":"writeoffTransitionAction","description":"Same server action as the web app, run with the user's session. Parameters in order, as the JSON array \"args\": `id: string, action: WriteoffTransition,`. Returns {data}. Validation, permission or business-rule errors return 422 {error: {code: \"action_failed\", message}} in the user's language (header X-BuildOS-Locale: ka|tr|en|ru).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["args"],"properties":{"args":{"type":"array","items":{}}}}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Session missing or expired"},"422":{"description":"Rejected"}}}}},"components":{"securitySchemes":{"session":{"type":"http","scheme":"bearer","description":"access_token from /auth/login"}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}},"Pagination":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"next_offset":{"type":["integer","null"]}}}}}}