'array', 'is_active' => 'boolean', ]; } public function organization(): BelongsTo { return $this->belongsTo(Organization::class, 'organization_id'); } public function subscribesTo(string $event): bool { $events = $this->events ?? config('frontdesk.webhook_events', []); return in_array($event, $events, true) || in_array('*', $events, true); } }