# `Twilio.Intelligence.V2.Operator.CustomService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/intelligence/v2/operator/custom_service.ex#L2)

Service for Custom API operations.

Operations: `list`, `create`, `fetch`, `update`, `delete`

# `create`

```elixir
@spec create(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Intelligence.V2.Operator.Custom.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Create a new Custom Operator for the given Account

Operation: `CreateCustomOperator` | Tags: IntelligenceV2CustomOperator

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Config` | string | Operator configuration, following the schema defined by the Operator Type. |
| `FriendlyName` | string | A human readable description of the new Operator, up to 64 characters. |
| `OperatorType` | string | Operator Type for this Operator. References an existing Operator Type resource. |

# `delete`

```elixir
@spec delete(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
```

Delete a specific Custom Operator.

Operation: `DeleteCustomOperator` | Tags: IntelligenceV2CustomOperator

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Intelligence.V2.Operator.Custom.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Fetch a specific Custom Operator.

Operation: `FetchCustomOperator` | Tags: IntelligenceV2CustomOperator

# `list`

```elixir
@spec list(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Retrieves a list of all Custom Operators for an Account.

Operation: `ListCustomOperator` | Tags: IntelligenceV2CustomOperator

## Query Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `Availability` | string | Returns Custom Operators with the provided availability type. Possible values: internal, beta, public, retired. |
| `LanguageCode` | string | Returns Custom Operators that support the provided language code. |

# `stream`

```elixir
@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()
```

Stream: Retrieves a list of all Custom Operators for an Account. (lazy auto-pagination).

# `update`

```elixir
@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Intelligence.V2.Operator.Custom.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Update a specific Custom Operator.

Operation: `UpdateCustomOperator` | Tags: IntelligenceV2CustomOperator

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Config` | string | Operator configuration, following the schema defined by the Operator Type. |
| `FriendlyName` | string | A human-readable name of this resource, up to 64 characters. |

---

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