def METHOD_NAME(projectId: int, recordId: int, data: schemas_ee.AssistRecordUpdatePayloadSchema = Body(...),
                  context: schemas_ee.CurrentContext = Depends(OR_context)):
    result = assist_records.METHOD_NAME(project_id=projectId, record_id=recordId, data=data, context=context)
    if "errors" in result:
        return result
    return {"data": result}