# Event

## Extends

- `Event`

### agent?

```ts
optional agent: Agent;
```

#### Inherited from

```ts
bkper.Event.agent
```

***

### book?

```ts
optional book: Book;
```

#### Inherited from

```ts
bkper.Event.book
```

***

### bookId?

```ts
optional bookId: string;
```

The id of the Book associated to the Event

#### Inherited from

```ts
bkper.Event.bookId
```

***

### botResponses?

```ts
optional botResponses: BotResponse[];
```

The list of bot responses associated to the Event

#### Inherited from

```ts
bkper.Event.botResponses
```

***

### createdAt?

```ts
optional createdAt: string;
```

The creation timestamp, in milliseconds

#### Inherited from

```ts
bkper.Event.createdAt
```

***

### createdOn?

```ts
optional createdOn: string;
```

The creation date time on RFC3339 format

#### Inherited from

```ts
bkper.Event.createdOn
```

***

### data?

```ts
optional data: EventData;
```

#### Inherited from

```ts
bkper.Event.data
```

***

### id?

```ts
optional id: string;
```

The unique id that identifies the Event

#### Inherited from

```ts
bkper.Event.id
```

***

### resource?

```ts
optional resource: string;
```

The resource associated to the Event

#### Inherited from

```ts
bkper.Event.resource
```

***

### type?

```ts
optional type: 
  | "FILE_CREATED"
  | "FILE_UPDATED"
  | "FILE_DELETED"
  | "TRANSACTION_CREATED"
  | "TRANSACTION_UPDATED"
  | "TRANSACTION_DELETED"
  | "TRANSACTION_POSTED"
  | "TRANSACTION_CHECKED"
  | "TRANSACTION_UNCHECKED"
  | "TRANSACTION_RESTORED"
  | "ACCOUNT_CREATED"
  | "ACCOUNT_UPDATED"
  | "ACCOUNT_DELETED"
  | "QUERY_CREATED"
  | "QUERY_UPDATED"
  | "QUERY_DELETED"
  | "GROUP_CREATED"
  | "GROUP_UPDATED"
  | "GROUP_DELETED"
  | "COMMENT_CREATED"
  | "COMMENT_DELETED"
  | "COLLABORATOR_ADDED"
  | "COLLABORATOR_UPDATED"
  | "COLLABORATOR_REMOVED"
  | "INTEGRATION_CREATED"
  | "INTEGRATION_UPDATED"
  | "INTEGRATION_DELETED"
  | "BOOK_CREATED"
  | "BOOK_AUDITED"
  | "BOOK_UPDATED"
  | "BOOK_DELETED";
```

The type of the Event

#### Inherited from

```ts
bkper.Event.type
```

***

### user?

```ts
optional user: User;
```

#### Inherited from

```ts
bkper.Event.user
```
