$ids * @return array */ public function namesByIds(array $ids): array; /** * Card header colours (#rrggbb, null = default colour) by customer id. * * @param list $ids * @return array */ public function headerColorsByIds(array $ids): array; /** * The company's own internal customer, whose jobs hold internal work * and the yearly quick sale job. */ public function internalCustomerId(): ?int; /** * The full personal identity code. Sensitive: call only after checking * the customers.view-personal-identity-code ability, and never log it. */ public function personalIdentityCodeOf(int $customerId): ?string; /** * Customers ordered by name, filtered by a name or business ID fragment. * * @return LengthAwarePaginator */ public function paginate(?string $search, int $perPage = 25): LengthAwarePaginator; /** * Best name matches for autocomplete. * * @return list */ public function search(string $term, int $limit = 10): array; /** * The customer's contacts ordered by name. * * @return list */ public function contactsOf(int $customerId): array; /** * Null when the contact does not exist or belongs to another customer. */ public function findContact(int $customerId, int $contactId): ?ContactSummary; /** * The customer's billing units ordered by name. * * @return list */ public function billingUnitsOf(int $customerId): array; /** * Null when the billing unit does not exist or belongs to another customer. */ public function findBillingUnit(int $customerId, int $billingUnitId): ?BillingUnitSummary; }