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