For models with the upsertPlugin, extend this interface to add the upsert static method.

## Type Parameters

### T

`T`

## Methods

### upsert()

> **upsert**(`conditions`, `update`): `Promise`\<`T`\>

#### Parameters

##### conditions

`Record`\<`string`, `unknown`\>

##### update

`Record`\<`string`, `unknown`\>

#### Returns

`Promise`\<`T`\>
