# TimestampEvent

Industry: Transport

One recorded timestamp of an event: what it claims, when it claims it, and when that claim was recorded.

```ts
import type { TimestampEvent } from "@northguild/gmt";
```

## Members

| Member | Type | Description |
| --- | --- | --- |
| `classifier` | `"PLN"` \| `"EST"` \| `"REQ"` \| `"ACT"` ([`TimestampClass`](/gmt/reference/types/TimestampClass/)) | What the timestamp claims to be: planned, estimated, requested or actual. |
| `at` | `string` | The moment the timestamp names, as an ISO 8601 instant (`Z` or an offset) with no annotation. Functions that return it echo it exactly as written. |
| `recordedAt` | `string` | When the timestamp was recorded or received, as an ISO 8601 instant with no annotation. It orders revisions of the same class: the latest recorded is the current one. |

## Definition

```ts
type TimestampEvent = {
  /** What the timestamp claims to be: planned, estimated, requested or actual. */
  classifier: TimestampClass;
  /**
   * The moment the timestamp names, as an ISO 8601 instant (`Z` or an offset) with no annotation.
   * Functions that return it echo it exactly as written.
   */
  at: string;
  /**
   * When the timestamp was recorded or received, as an ISO 8601 instant with no annotation. It
   * orders revisions of the same class: the latest recorded is the current one.
   */
  recordedAt: string;
};
```

## Used by

- [`bestAvailable`](/gmt/reference/transport/calculate/bestAvailable/)
- [`estimateDrift`](/gmt/reference/transport/calculate/estimateDrift/)

## Source

[types/transport-timestamps.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/types/transport-timestamps.ts)
