> ## Documentation Index
> Fetch the complete documentation index at: https://terminal49.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: Transport

> Transport class in the Terminal49 TypeScript SDK, the low-level HTTP layer that wraps openapi-fetch with authentication, retry, and error-mapping interceptors.

# Class: Transport

## Constructors

### Constructor

> **new Transport**(`config`): `Transport`

#### Parameters

| Parameter | Type                                                                            |
| --------- | ------------------------------------------------------------------------------- |
| `config`  | [`TransportConfig`](/docs/sdk/reference/client/transport/interfaces/TransportConfig) |

#### Returns

`Transport`

## Properties

| Property                              | Modifier | Type     |
| ------------------------------------- | -------- | -------- |
| <a id="property-baseurl" /> `baseUrl` | `public` | `string` |
| <a id="property-client" /> `client`   | `public` | `Client` |

## Methods

### execute()

> **execute**\<`T`>(`fn`): `Promise`\<`T`>

#### Type Parameters

| Type Parameter | Default type |
| -------------- | ------------ |
| `T`            | `any`        |

#### Parameters

| Parameter | Type                                                    |
| --------- | ------------------------------------------------------- |
| `fn`      | () => `Promise`\<`FetchResponse`\<`any`, `any`, `any`>> |

#### Returns

`Promise`\<`T`>

***

### executeManual()

> **executeManual**\<`T`>(`input`, `init?`): `Promise`\<`T`>

Run a request that has no entry in the generated OpenAPI types (currently
only `search()`) through the same Auth -> Retry -> ErrorMapping pipeline the
typed client uses, including the timeout-wrapped fetch. Successful bodies are
read with readSuccessBody so a non-JSON success body is surfaced
rather than silently collapsed to `undefined`.

#### Type Parameters

| Type Parameter | Default type |
| -------------- | ------------ |
| `T`            | `any`        |

#### Parameters

| Parameter | Type                           |
| --------- | ------------------------------ |
| `input`   | `string` \| `Request` \| `URL` |
| `init?`   | `RequestInit`                  |

#### Returns

`Promise`\<`T`>

***

### use()

> **use**(`interceptor`): `void`

#### Parameters

| Parameter     | Type         |
| ------------- | ------------ |
| `interceptor` | `Middleware` |

#### Returns

`void`
