$this->encodePrimaryKey($contact->id), 'first_name' => $contact->first_name ?: '', 'last_name' => $contact->last_name ?: '', 'email' => $contact->email ?: '', 'updated_at' => $contact->updated_at, 'archived_at' => $contact->deleted_at, 'is_primary' => (bool) $contact->is_primary, 'is_locked' => (bool) $contact->is_locked, 'phone' => $contact->phone ?: '', 'custom_value1' => $contact->custom_value1 ?: '', 'custom_value2' => $contact->custom_value2 ?: '', 'custom_value3' => $contact->custom_value3 ?: '', 'custom_value4' => $contact->custom_value4 ?: '', 'contact_key' => $contact->contact_key, 'send_invoice' => (bool) $contact->send_invoice, ]; } }