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

# Interface: Approvals

> Reference for the Approvals interface in bijection/server.

[server](/api/modules/server).Approvals

## Methods

### issue

▸ **issue**\<`C`>(`command`, `options`): `Promise`\<[`ApprovalId`](/api/modules/server#approvalid)>

#### Type parameters

| Name | Type |
| :- | :- |
| `C` | extends [`CommandHandle`](/api/modules/server#commandhandle)\<`any`> |

#### Parameters

| Name | Type | Description |
| :- | :- | :- |
| `command` | `C` | - |
| `options` | `Object` | - |
| `options.target` | [`CommandTarget`](/api/modules/server#commandtarget) | - |
| `options.args` | [`CommandArgs`](/api/modules/server#commandargs)\<`C`> | - |
| `options.beneficiary` | `string` | - |
| `options.expiresAt` | `number` | The instant the approval expires, in epoch milliseconds: the same spelling as `Date.now()` and `_creationTime`. |

#### Returns

`Promise`\<[`ApprovalId`](/api/modules/server#approvalid)>

***

### revoke

▸ **revoke**(`id`): `Promise`\<`null`>

#### Parameters

| Name | Type |
| :- | :- |
| `id` | [`ApprovalId`](/api/modules/server#approvalid) |

#### Returns

`Promise`\<`null`>
