BexioApiClient.Contacts (bexio_api_client v0.1.1)

Bexio API for the contacts

Link to this section Summary

Link to this section Functions

Link to this function

fetch_contacts(client, order_by \\ :id, limit \\ 500, offset \\ 0, show_archived \\ false)

@spec fetch_contacts(
  client :: Tesla.Client.t(),
  order_by ::
    :id
    | :nr
    | :name_1
    | :updated_at
    | :id_desc
    | :nr_desc
    | :offset_desc
    | :updated_at_desc
    | :id_asc
    | :nr_asc
    | :offset_asc
    | :updated_at_asc,
  limit :: pos_integer(),
  offset :: non_neg_integer(),
  show_archived :: boolean()
) :: {:ok, [BexioApiClient.Contacts.Contact.t()]} | {:error, any()}