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

# Event

> PTP Event type definitions

# Event

## EventParameter

### Properties

| Property | Type | Required |
| - | - | - |
| **name** | `string` | ✓ |
| **description** | `string` | ✓ |
| **codec** | `CodecDefinition&lt;T&gt;` | ✓ |

***

## EventDefinition

### Properties

| Property | Type | Required |
| - | - | - |
| **code** | `number` | ✓ |
| **name** | `string` | ✓ |
| **description** | `string` | ✓ |
| **sessionId** | `string` | |
| **transactionId** | `string` | |
| **parameters** | `[EventParameter?, EventParameter?, EventParameter?]` | ✓ |

***

## EventCode

**Type:** `number`

***

## EventData

**Type:** `number | string | object | number[] | Record&lt;string, any&gt;`

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.