def make_event( ts: int, account_id: int, device_id: str, object_hash: str, logical_key: str, action: str, corp: dict | None, policy_version: str = "1.0", ) -> dict: return { "ts": ts, "account_id": account_id, "device_id": device_id, "object_hash": object_hash, "logical_key": logical_key, "action": action, "corp": corp or {}, "policy_version": policy_version, }