# `Pluggy.Items`
[🔗](https://github.com/fellipessanha/pluggy_ai_ex/blob/main/lib/pluggy/items.ex#L1)

Functions for interacting with the Pluggy Items API.

An item represents a connection to a financial institution.

# `create`

```elixir
@spec create(Pluggy.Client.t(), map()) :: {:ok, term()} | {:error, Pluggy.Error.t()}
```

Creates a new item (connection to a financial institution).

# `create!`

```elixir
@spec create!(Pluggy.Client.t(), map()) :: term()
```

# `delete`

```elixir
@spec delete(Pluggy.Client.t(), String.t()) ::
  {:ok, term()} | {:error, Pluggy.Error.t()}
```

Deletes an item.

# `delete!`

```elixir
@spec delete!(Pluggy.Client.t(), String.t()) :: term()
```

# `disable_auto_sync`

```elixir
@spec disable_auto_sync(Pluggy.Client.t(), String.t()) ::
  {:ok, term()} | {:error, Pluggy.Error.t()}
```

Disables automatic sync for an item.

# `disable_auto_sync!`

```elixir
@spec disable_auto_sync!(Pluggy.Client.t(), String.t()) :: term()
```

# `get`

```elixir
@spec get(Pluggy.Client.t(), String.t()) :: {:ok, term()} | {:error, Pluggy.Error.t()}
```

Gets an item by ID.

# `get!`

```elixir
@spec get!(Pluggy.Client.t(), String.t()) :: term()
```

# `send_mfa`

```elixir
@spec send_mfa(Pluggy.Client.t(), String.t(), map()) ::
  {:ok, term()} | {:error, Pluggy.Error.t()}
```

Sends MFA (multi-factor authentication) response for an item.

# `send_mfa!`

```elixir
@spec send_mfa!(Pluggy.Client.t(), String.t(), map()) :: term()
```

# `update`

```elixir
@spec update(Pluggy.Client.t(), String.t(), map()) ::
  {:ok, term()} | {:error, Pluggy.Error.t()}
```

Updates an item.

# `update!`

```elixir
@spec update!(Pluggy.Client.t(), String.t(), map()) :: term()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
