• This function looks for exact matches of the given customer-data.

    Parameters

    • customer: Partial<
          {
              birthday?: string;
              city?: string;
              company?: string;
              country?: string;
              email?: string;
              firstName?: string;
              houseNumber?: string;
              id: number;
              lastName?: string;
              notes?: string[];
              phone?: string;
              postCode?: string;
              salutation?: string;
              street?: string;
              timestamp?: string;
              uid_number?: string;
          },
      >

      The customer-data that is being checked for exact matches.

    Returns Promise<
        {
            birthday?: string;
            city?: string;
            company?: string;
            country?: string;
            email?: string;
            firstName?: string;
            houseNumber?: string;
            id: number;
            lastName?: string;
            notes?: string[];
            phone?: string;
            postCode?: string;
            salutation?: string;
            street?: string;
            timestamp?: string;
            uid_number?: string;
        }[],
    >

    An array of customers that match the given customer-data.