It shall be the duty of the director to receive complaints from consumers concerning (a) unfair methods of competition and unfair or deceptive acts or practices undertaken by any person in the conduct of any trade or commerce; (b) the production, distribution, sale, and lease of any goods and services undertaken by any person which may endanger the public health, safety, or welfare; (c) violations of provisions of this code relating to businesses and professions licensed by any agency of the department, and regulations promulgated pursuant thereto; and (d) other matters consistent with the purposes of this chapter, whenever appropriate.