Introduce model object for AI telemetry events.

Summary

Follow-up from !152946 (comment 1906711076)

As our functionality around AI tracking grows we should create a maintainable model for storing and validating input data.

Proposal

A rails-like PORO model backed up by clickhouse storage should fit.