# Reference
## api-keys
<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">apiKeyCreate</a>({ ...params }) -> Truvity.ResourceApiKeyFull</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create a new API key resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.apiKeys.apiKeyCreate();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.ApiKeyCreateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ApiKeys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">apiKeySearch</a>({ ...params }) -> Truvity.ListApiKey</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Search for API Keys with extended filters capabilities.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.apiKeys.apiKeySearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.ApiKeySearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ApiKeys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">apiKeyLatest</a>(id, { ...params }) -> Truvity.ResourceApiKey</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the latest version of API Key.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.apiKeys.apiKeyLatest("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.ApiKeyLatestRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ApiKeys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">apiKeyDelete</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete API Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.apiKeys.apiKeyDelete("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.ApiKeyDeleteRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ApiKeys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">apiKeyUpdateAnnotations</a>(id, { ...params }) -> Truvity.ResourceApiKey</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update annotations of API Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.apiKeys.apiKeyUpdateAnnotations("id", {
    ifMatch: "If-Match",
    annotations: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.ApiKeyUpdateAnnotationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ApiKeys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">apiKeyUpdateLabels</a>(id, { ...params }) -> Truvity.ResourceApiKey</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update labels of API Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.apiKeys.apiKeyUpdateLabels("id", {
    ifMatch: "If-Match",
    labels: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.ApiKeyUpdateLabelsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ApiKeys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">apiKeyRestore</a>(id, { ...params }) -> Truvity.ResourceApiKey</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Restore API Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.apiKeys.apiKeyRestore("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.ApiKeyRestoreRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ApiKeys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">apiKeyHistory</a>(id, { ...params }) -> Truvity.ListApiKey</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

History of the API Key's resources.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.apiKeys.apiKeyHistory("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.ApiKeyHistoryRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ApiKeys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">apiKeyRevision</a>(id, revision, { ...params }) -> Truvity.ResourceApiKey</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Read the specific version of the API Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.apiKeys.apiKeyRevision("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.ApiKeyRevisionRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ApiKeys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## credentials
<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialImport</a>({ ...params }) -> Truvity.ResourceCredential</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Import a Verifiable Credential's resource with a **blob_id**.

To get **blob_id** call [Upload](#tag/credentials/operation/CredentialUpload) first.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialImport({
    blobId: "blob_id"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.CredentialImportRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialSearch</a>({ ...params }) -> Truvity.ListCredential</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Search for Credentials with extended filters capabilities.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialSearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.CredentialSearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialUpload</a>({ ...params }) -> Truvity.UploadResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Initiates a Credential blob upload, returning a pre-signed S3 URL. Response contains: 

 - **blob_id** (required for Credential creation) 

 - **upload_uri** (pre-signed URL for upload) 

 - **timeout** (expiration in seconds).
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialUpload();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.CredentialUploadRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialLatest</a>(id, { ...params }) -> Truvity.ResourceCredential</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the latest version of Credential.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialLatest("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialLatestRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialDelete</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete Credential's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialDelete("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialDeleteRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialUpdateAnnotations</a>(id, { ...params }) -> Truvity.ResourceCredential</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update annotations of Credential's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialUpdateAnnotations("id", {
    ifMatch: "If-Match",
    annotations: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialUpdateAnnotationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialUpdateLabels</a>(id, { ...params }) -> Truvity.ResourceCredential</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update labels of Credential's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialUpdateLabels("id", {
    ifMatch: "If-Match",
    labels: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialUpdateLabelsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialRestore</a>(id, { ...params }) -> Truvity.ResourceCredential</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Restore Credential's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialRestore("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialRestoreRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialHistory</a>(id, { ...params }) -> Truvity.ListCredential</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

History of the Credential's resources.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialHistory("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialHistoryRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialRevision</a>(id, revision, { ...params }) -> Truvity.ResourceCredential</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Read the specific version of the Credential's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialRevision("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialRevisionRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialDownload</a>(id, revision, { ...params }) -> core.BinaryResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Download of Credential's blob.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialDownload("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialDownloadRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">getCredentialClaimValues</a>(id, { ...params }) -> Truvity.CredentialClaimValues</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieve the claim values of a Verifiable Credential.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.getCredentialClaimValues("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the credential resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.GetCredentialClaimValuesRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentials.<a href="/src/api/resources/credentials/client/Client.ts">credentialVerify</a>(id, { ...params }) -> Truvity.CredentialVerify</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Verify a Verifiable Credential.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentials.credentialVerify("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialVerifyRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Credentials.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## didcomm-messages
<details><summary><code>client.didcommMessages.<a href="/src/api/resources/didcommMessages/client/Client.ts">didcommMessageSearch</a>({ ...params }) -> Truvity.ListDidCommMessage</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Search for DIDComm Messages with extended filters capabilities.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.didcommMessages.didcommMessageSearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.DidcommMessageSearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DidcommMessages.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.didcommMessages.<a href="/src/api/resources/didcommMessages/client/Client.ts">didCommMessageSend</a>({ ...params }) -> Truvity.ResourceDidCommMessage</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Send a DIDComm Message to a recipient.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.didcommMessages.didCommMessageSend({
    data: {
        keyId: "key_id",
        to: "to"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.DidCommMessageSendRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DidcommMessages.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.didcommMessages.<a href="/src/api/resources/didcommMessages/client/Client.ts">didcommMessageLatest</a>(id, { ...params }) -> Truvity.ResourceDidCommMessage</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the latest version of DIDComm Message.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.didcommMessages.didcommMessageLatest("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidcommMessageLatestRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DidcommMessages.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.didcommMessages.<a href="/src/api/resources/didcommMessages/client/Client.ts">didcommMessageDelete</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete DIDComm Message's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.didcommMessages.didcommMessageDelete("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidcommMessageDeleteRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DidcommMessages.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.didcommMessages.<a href="/src/api/resources/didcommMessages/client/Client.ts">didcommMessageUpdateAnnotations</a>(id, { ...params }) -> Truvity.ResourceDidCommMessage</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update annotations of DIDComm Message's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.didcommMessages.didcommMessageUpdateAnnotations("id", {
    ifMatch: "If-Match",
    annotations: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidcommMessageUpdateAnnotationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DidcommMessages.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.didcommMessages.<a href="/src/api/resources/didcommMessages/client/Client.ts">didcommMessageUpdateLabels</a>(id, { ...params }) -> Truvity.ResourceDidCommMessage</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update labels of DIDComm Message's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.didcommMessages.didcommMessageUpdateLabels("id", {
    ifMatch: "If-Match",
    labels: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidcommMessageUpdateLabelsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DidcommMessages.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.didcommMessages.<a href="/src/api/resources/didcommMessages/client/Client.ts">didcommMessageRestore</a>(id, { ...params }) -> Truvity.ResourceDidCommMessage</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Restore DIDComm Message's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.didcommMessages.didcommMessageRestore("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidcommMessageRestoreRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DidcommMessages.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.didcommMessages.<a href="/src/api/resources/didcommMessages/client/Client.ts">didcommMessageHistory</a>(id, { ...params }) -> Truvity.ListDidCommMessage</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

History of the DIDComm Message's resources.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.didcommMessages.didcommMessageHistory("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidcommMessageHistoryRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DidcommMessages.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.didcommMessages.<a href="/src/api/resources/didcommMessages/client/Client.ts">didcommMessageRevision</a>(id, revision, { ...params }) -> Truvity.ResourceDidCommMessage</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Read the specific version of the DIDComm Message's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.didcommMessages.didcommMessageRevision("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidcommMessageRevisionRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DidcommMessages.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## dids
<details><summary><code>client.dids.<a href="/src/api/resources/dids/client/Client.ts">didDocumentSelfGet</a>({ ...params }) -> Truvity.DidDocument</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Return the tenant's DID(did:web) document.
        Comparing to [DIDDocumentGet](#tag/desk/operation/DIDDocumentGet) endpoint, this one returns the tenant's DID(did:web) document for the authenticated tenant only.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.dids.didDocumentSelfGet();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.DidDocumentSelfGetRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Dids.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## drafts
<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftCreate</a>({ ...params }) -> Truvity.ResourceDraft</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates Draft's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftCreate({
    data: {
        metaSchema: {
            schema: {
                fields: [{
                        kind: "BOOLEAN",
                        name: "name"
                    }]
            }
        }
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.DraftCreateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftSearch</a>({ ...params }) -> Truvity.ListDraft</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Search for Drafts with extended filters capabilities.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftSearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.DraftSearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftLatest</a>(id, { ...params }) -> Truvity.ResourceDraft</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the latest version of Draft.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftLatest("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftLatestRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftDelete</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete Draft's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftDelete("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftDeleteRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftUpdate</a>(id, { ...params }) -> Truvity.ResourceDraft</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update Draft's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftUpdate("id", {
    ifMatch: "If-Match",
    data: {}
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftUpdateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftUpdateAnnotations</a>(id, { ...params }) -> Truvity.ResourceDraft</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update annotations of Draft's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftUpdateAnnotations("id", {
    ifMatch: "If-Match",
    annotations: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftUpdateAnnotationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftLatestIssue</a>(id, { ...params }) -> Truvity.ResourceCredential</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

This operation issues a Verifiable Credential from a Draft resource. Operational Lifecycle:
   1) [Exporting](#tag/drafts/operation/DraftExport) Draft.
   2) [Signing](#tag/keys/operation/CredentialSign) the exported Draft.
   3) [Importing](#tag/credentials/operation/CredentialImport) the signed Credential.

Cascade Issuance: If the Draft references other drafts the system automatically builds a dependency graph and issues all required drafts in the correct order.
The correct order is a topological order of the dependency graph, where each draft is issued only after all its prerequisite drafts have been issued.

Strict Mode:
- The `strict_mode` option allows clients to control how prerequisite drafts are handled during cascade issuance.
- Use `strict_mode` to enforce that only the explicitly specified drafts in `prerequisite_drafts` (with matching ETags) are accepted as prerequisites.
- When disabled (default), the system will automatically discover and include all linked drafts as prerequisites, building the full dependency graph for cascade issuance.

Performance Considerations:
- The process may take longer than typical API calls due to:
- Building and traversing the dependency graph for cascade issuance, which determines the correct issuance order for all linked drafts.
- Fetching and resolving external resources required for generating cryptographic proofs, which may involve network requests.
- Generating cryptographic proofs for each credential in the dependency graph.

Concurrency and Consistency:
- If the `If-Match` header is provided, strict version control is enforced. The operation will fail if the ETag does not match the current Draft version.
- The endpoint is idempotent with respect to the Draft resource and ETag.

Recovery:
- If the issuance process fails at any stage, the operation can be safely retried. The endpoint is idempotent with respect to the Draft resource and ETag, so repeated calls will not result in duplicate credentials or inconsistent state.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftLatestIssue("id", {
    keyId: "key_id"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftLatestIssueRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftUpdateLabels</a>(id, { ...params }) -> Truvity.ResourceDraft</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update labels of Draft's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftUpdateLabels("id", {
    ifMatch: "If-Match",
    labels: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftUpdateLabelsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftRestore</a>(id, { ...params }) -> Truvity.ResourceDraft</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Restore Draft's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftRestore("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftRestoreRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftHistory</a>(id, { ...params }) -> Truvity.ListDraft</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

History of the Draft's resources.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftHistory("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftHistoryRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftRevision</a>(id, revision, { ...params }) -> Truvity.ResourceDraft</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Read the specific version of the Draft's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftRevision("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftRevisionRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">draftExport</a>(id, revision, { ...params }) -> core.BinaryResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Generate an unsigned Verifiable Credential in JSON-LD format from a Draft.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.drafts.draftExport("id", 1, {
    issuer: "issuer",
    validFrom: undefined,
    validUntil: undefined
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DraftExportRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Drafts.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## files
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileCreate</a>({ ...params }) -> Truvity.ResourceFile</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates File's resource with **blob_id**. 

 To get **blob_id** call [Upload](#tag/files/operation/FileUpload) first.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileCreate({
    blobId: "blob_id"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.FileCreateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileSearch</a>({ ...params }) -> Truvity.ListFile</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Search for Files with extended filters capabilities.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileSearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.FileSearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileUpload</a>({ ...params }) -> Truvity.UploadResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Initiates a File blob upload, returning a pre-signed S3 URL. Response contains: 

 - **blob_id** (required for File creation) 

 - **upload_uri** (pre-signed URL for upload) 

 - **timeout** (expiration in seconds).
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileUpload();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.FileUploadRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileLatest</a>(id, { ...params }) -> Truvity.ResourceFile</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the latest version of File.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileLatest("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.FileLatestRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileDelete</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete File's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileDelete("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.FileDeleteRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileUpdateAnnotations</a>(id, { ...params }) -> Truvity.ResourceFile</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update annotations of File's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileUpdateAnnotations("id", {
    ifMatch: "If-Match",
    annotations: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.FileUpdateAnnotationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileUpdateLabels</a>(id, { ...params }) -> Truvity.ResourceFile</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update labels of File's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileUpdateLabels("id", {
    ifMatch: "If-Match",
    labels: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.FileUpdateLabelsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileRestore</a>(id, { ...params }) -> Truvity.ResourceFile</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Restore File's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileRestore("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.FileRestoreRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileHistory</a>(id, { ...params }) -> Truvity.ListFile</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

History of the File's resources.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileHistory("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.FileHistoryRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileRevision</a>(id, revision, { ...params }) -> Truvity.ResourceFile</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Read the specific version of the File's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileRevision("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.FileRevisionRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">fileDownload</a>(id, revision, { ...params }) -> core.BinaryResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Download of File's blob.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.files.fileDownload("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.FileDownloadRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Files.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## keys
<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keyGenerate</a>({ ...params }) -> Truvity.ResourceKeyPublic</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Generate a new cryptographic key pair.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keyGenerate({
    data: {
        type: "ED25519"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.KeyGenerateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keyImport</a>({ ...params }) -> Truvity.ResourceKeyPublic</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

You could use KeyGenerate, if you want to rely to generated by Truvity key-pairs for CredentialIssue and PresentationIssue.
Remember, that you do not have any option to get private key by Truvity API, you could only use it

If you prefer to keep private key, then you need to generate it manually.
To use manually generated key CredentialIssue and PresentationIssue you need to import it.

To generate key-pair you have two options
1. OpenSSL - [OpenSSL commands](https://www.openssl.org/docs/man1.1.1/man1/index.html)
2. JWX tool - [https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)

How to install JWX
1. Download & Install Golang - [https://go.dev/doc/install](https://go.dev/doc/install)
2. Clone & Build & Install [github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx)
	```bash
	git clone https://github.com/lestrrat-go/jwx
	cd jwx/cmd/jwx
	go install -tags=jwx_es256k,jwx_secp256k1_pem .
	```
3. Verify that you correctly install everything
	```bash
	➜ jwx --help
	NAME:
		jwx - Tools for various JWE/JWK/JWS/JWT operations

	 USAGE:
		jwx [global options] command [command options] [arguments...]

	 COMMANDS:
		jwa      List available algorithms and types
		jwe      Work with JWE messages
		jwk      Work with JWK and JWK sets
		jws      Work with JWS messages
		help, h  Shows a list of commands or help for one command

	 GLOBAL OPTIONS:
		--help, -h  show help
	```

How generate private key by `jwx` (output format JWK)
```bash
# ED25519
jwx jwx generate --type OKP --curve Ed25519
# P256
jwx jwx generate --type EC --curve P-256
# P384
jwx jwx generate --type EC --curve P-384
```
How to generate public key from private key by `jwx` (input format - JWK, output format - JWK)
```bash
jwx jwk format -I json -O json - <(pathfile with private key in JWK format)
```
How to generate private key by OpenSSL (output format PEM - PKCS#8)
```bash
# ED25519
openssl genpkey -algorithm ed25519 | openssl pkcs8 -nocrypt -topk8
# P256
openssl ecparam -name prime256v1 -noout -genkey | openssl pkcs8 -nocrypt -topk8
# P384
openssl ecparam -name secp384r1 -noout -genkey | openssl pkcs8 -nocrypt -topk8
```
How to transform existing private key to PKCS8 format by OpenSSL (input format PEM, output format - PEM PCKS#8)
```bash
openssl pkcs8 -nocrypt -topk8 <(pathfile with private key in PEM format)
```
How to transform private key to public key by OpenSSL (input format PEM, output format - PEM PKIX)
```bash
openssl pkey -pubout <(pathfile with private key in PKCS8 format)
```
Useful third-party documentation:
- [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/manmaster/man1/openssl-genpkey.html).
- [openssl-ec, ec - EC key processing](https://www.openssl.org/docs/man1.0.2/man1/ec.html)
- [openssl-genrsa - generate an RSA private key](https://www.openssl.org/docs/man3.0/man1/openssl-genrsa.html)
- [openssl-pkcs8 - PKCS#8 format private key conversion command](https://www.openssl.org/docs/manmaster/man1/openssl-pkcs8.html)
- [JWX - github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx/blob/main/cmd/jwx/README.md)
- [FIPS 186-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf).
- [SEC2](https://www.secg.org/sec2-v2.pdf).
- [AWS KMS - Asymmetric key specs](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html)
.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keyImport({
    data: "data"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.KeyImportRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keySearch</a>({ ...params }) -> Truvity.ListKeyPublic</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Search for Keys with extended filters capabilities.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keySearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.KeySearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keyLatest</a>(id, { ...params }) -> Truvity.ResourceKeyPublic</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the latest version of Key.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keyLatest("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.KeyLatestRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keyDelete</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keyDelete("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.KeyDeleteRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keyUpdateAnnotations</a>(id, { ...params }) -> Truvity.ResourceKeyPublic</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update annotations of Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keyUpdateAnnotations("id", {
    ifMatch: "If-Match",
    annotations: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.KeyUpdateAnnotationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">credentialSign</a>(id, { ...params }) -> core.BinaryResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sign a JSON-LD representation of an unsigned Credential.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.credentialSign("id", {
    body: "string"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.CredentialSignRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">didCommMessageSign</a>(id, { ...params }) -> core.BinaryResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sign DIDComm Message Plaintext.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.didCommMessageSign("id", {
    body: "string"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidCommMessageSignRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keyUpdateLabels</a>(id, { ...params }) -> Truvity.ResourceKeyPublic</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update labels of Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keyUpdateLabels("id", {
    ifMatch: "If-Match",
    labels: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.KeyUpdateLabelsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">presentationSign</a>(id, { ...params }) -> core.BinaryResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sign a JSON-LD representation of an unsigned Presentation.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.presentationSign("id", {
    body: "string"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationSignRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keyRestore</a>(id, { ...params }) -> Truvity.ResourceKeyPublic</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Restore Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keyRestore("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.KeyRestoreRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keyHistory</a>(id, { ...params }) -> Truvity.ListKeyPublic</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

History of the Key's resources.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keyHistory("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.KeyHistoryRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.keys.<a href="/src/api/resources/keys/client/Client.ts">keyRevision</a>(id, revision, { ...params }) -> Truvity.ResourceKeyPublic</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Read the specific version of the Key's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.keys.keyRevision("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.KeyRevisionRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Keys.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## presentations
<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationExport</a>({ ...params }) -> core.BinaryResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Generate an unsigned Verifiable Presentation in JSON-LD format from a list of Credentials.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationExport({
    compositionType: "EMBED",
    credentialIds: ["credential_ids", "credential_ids"],
    holder: "holder"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.PresentationExportRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationImport</a>({ ...params }) -> Truvity.ResourcePresentation</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Import a Verifiable Presentation's resource with **blob_id**.

To get **blob_id** call [Upload](#tag/presentations/operation/PresentationUpload) first.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationImport({
    blobId: "blob_id"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.PresentationImportRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationIssue</a>({ ...params }) -> Truvity.ResourcePresentation</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

It's a handy call that wraps the following:
1) [Exporting](#tag/presentations/operation/PresentationExport) an unsigned JSON-LD representation of a Verifiable Presentation.
2) [Signing](#tag/keys/operation/PresentationSign) the created unsigned Presentation.
3) [Importing](#tag/presentations/operation/PresentationImport) the signed Presentation.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationIssue({
    compositionType: "EMBED",
    credentialIds: ["credential_ids"],
    keyId: "key_id"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.PresentationIssueRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationSearch</a>({ ...params }) -> Truvity.ListPresentation</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Search for Presentations with extended filters capabilities.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationSearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.PresentationSearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationUpload</a>({ ...params }) -> Truvity.UploadResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Initiates a Presentation blob upload, returning a pre-signed S3 URL. Response contains: 

 - **blob_id** (required for Presentation creation) 

 - **upload_uri** (pre-signed URL for upload) 

 - **timeout** (expiration in seconds).
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationUpload();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.PresentationUploadRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationLatest</a>(id, { ...params }) -> Truvity.ResourcePresentation</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the latest version of Presentation.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationLatest("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationLatestRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationDelete</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete Presentation's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationDelete("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationDeleteRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationUpdateAnnotations</a>(id, { ...params }) -> Truvity.ResourcePresentation</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update annotations of Presentation's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationUpdateAnnotations("id", {
    ifMatch: "If-Match",
    annotations: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationUpdateAnnotationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationUpdateLabels</a>(id, { ...params }) -> Truvity.ResourcePresentation</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update labels of Presentation's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationUpdateLabels("id", {
    ifMatch: "If-Match",
    labels: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationUpdateLabelsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationRestore</a>(id, { ...params }) -> Truvity.ResourcePresentation</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Restore Presentation's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationRestore("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationRestoreRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationHistory</a>(id, { ...params }) -> Truvity.ListPresentation</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

History of the Presentation's resources.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationHistory("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationHistoryRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationRevision</a>(id, revision, { ...params }) -> Truvity.ResourcePresentation</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Read the specific version of the Presentation's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationRevision("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationRevisionRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationDownload</a>(id, revision, { ...params }) -> core.BinaryResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Download of Presentation's blob.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationDownload("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationDownloadRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.presentations.<a href="/src/api/resources/presentations/client/Client.ts">presentationVerify</a>(id, { ...params }) -> Truvity.PresentationVerify</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Verify a Verifiable Presentation.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.presentations.presentationVerify("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PresentationVerifyRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Presentations.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## published-schemas
<details><summary><code>client.publishedSchemas.<a href="/src/api/resources/publishedSchemas/client/Client.ts">publishedSchemaSearch</a>({ ...params }) -> Truvity.ListPublishedCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Search for PublishedSchemas with extended filters capabilities.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.publishedSchemas.publishedSchemaSearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.PublishedSchemaSearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `PublishedSchemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.publishedSchemas.<a href="/src/api/resources/publishedSchemas/client/Client.ts">publishedSchemaLatest</a>(id, { ...params }) -> Truvity.ResourcePublishedCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the latest version of PublishedSchema.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.publishedSchemas.publishedSchemaLatest("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedSchemaLatestRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `PublishedSchemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.publishedSchemas.<a href="/src/api/resources/publishedSchemas/client/Client.ts">publishedSchemaDelete</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete PublishedSchema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.publishedSchemas.publishedSchemaDelete("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedSchemaDeleteRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `PublishedSchemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.publishedSchemas.<a href="/src/api/resources/publishedSchemas/client/Client.ts">publishedSchemaUpdateAnnotations</a>(id, { ...params }) -> Truvity.ResourcePublishedCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update annotations of PublishedSchema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.publishedSchemas.publishedSchemaUpdateAnnotations("id", {
    ifMatch: "If-Match",
    annotations: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedSchemaUpdateAnnotationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `PublishedSchemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.publishedSchemas.<a href="/src/api/resources/publishedSchemas/client/Client.ts">publishedSchemaUpdateLabels</a>(id, { ...params }) -> Truvity.ResourcePublishedCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update labels of PublishedSchema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.publishedSchemas.publishedSchemaUpdateLabels("id", {
    ifMatch: "If-Match",
    labels: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedSchemaUpdateLabelsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `PublishedSchemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.publishedSchemas.<a href="/src/api/resources/publishedSchemas/client/Client.ts">publishedSchemaRestore</a>(id, { ...params }) -> Truvity.ResourcePublishedCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Restore PublishedSchema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.publishedSchemas.publishedSchemaRestore("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedSchemaRestoreRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `PublishedSchemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.publishedSchemas.<a href="/src/api/resources/publishedSchemas/client/Client.ts">publishedSchemaRevision</a>(id, revision, { ...params }) -> Truvity.ResourcePublishedCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Read the specific version of the PublishedSchema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.publishedSchemas.publishedSchemaRevision("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedSchemaRevisionRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `PublishedSchemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## schemas
<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaCreate</a>({ ...params }) -> Truvity.ResourceCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates Schema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaCreate({
    data: {}
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.SchemaCreateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaImport</a>({ ...params }) -> Truvity.ResourcePublishedCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Import a Credential Schema.

This operation accepts a schema definition and checks if a published schema with this definition already exists. If it exists, the operation returns the published meta-schema resource. If not, it creates and publishes a new temporary schema, using the schema definition hash as its slug.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaImport({
    data: {
        schema: {
            fields: [{
                    kind: "BOOLEAN",
                    name: "name"
                }]
        }
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.SchemaImportRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaSearch</a>({ ...params }) -> Truvity.ListCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Search for Schemas with extended filters capabilities.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaSearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.SchemaSearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaLatest</a>(id, { ...params }) -> Truvity.ResourceCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the latest version of Schema.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaLatest("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.SchemaLatestRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaDelete</a>(id, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete Schema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaDelete("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.SchemaDeleteRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaUpdate</a>(id, { ...params }) -> Truvity.ResourceCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update Schema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaUpdate("id", {
    ifMatch: "If-Match",
    data: {
        schema: {}
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.SchemaUpdateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaUpdateAnnotations</a>(id, { ...params }) -> Truvity.ResourceCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update annotations of Schema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaUpdateAnnotations("id", {
    ifMatch: "If-Match",
    annotations: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.SchemaUpdateAnnotationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaUpdateLabels</a>(id, { ...params }) -> Truvity.ResourceCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update labels of Schema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaUpdateLabels("id", {
    ifMatch: "If-Match",
    labels: {
        "key": "value"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.SchemaUpdateLabelsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaPublish</a>(id, { ...params }) -> Truvity.ResourcePublishedCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Publish a Credential Schema.

This operation publishes a Credential Schema, making it available for use.

If no slug is provided, the schema will be published as a temporary schema using the schema definition hash as its slug.
If version is not passed, a default version will be equal 1.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaPublish("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.SchemaPublishRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaRestore</a>(id, { ...params }) -> Truvity.ResourceCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Restore Schema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaRestore("id", {
    ifMatch: "If-Match"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` 

The primary and unique identifier of the resource (inside tenant)
according to [RFC 4122](https://www.rfc-editor.org/info/rfc4122).
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.SchemaRestoreRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaHistory</a>(id, { ...params }) -> Truvity.ListCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

History of the Schema's resources.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaHistory("id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.SchemaHistoryRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.schemas.<a href="/src/api/resources/schemas/client/Client.ts">schemaRevision</a>(id, revision, { ...params }) -> Truvity.ResourceCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Read the specific version of the Schema's resource.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.schemas.schemaRevision("id", 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `string` — The ID of the resource.
    
</dd>
</dl>

<dl>
<dd>

**revision:** `number` — The revision of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.SchemaRevisionRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Schemas.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## gdpr
<details><summary><code>client.gdpr.<a href="/src/api/resources/gdpr/client/Client.ts">supportRequestCreate</a>({ ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create a request to support.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.gdpr.supportRequestCreate({
    message: "message",
    type: "DATA_DUMP"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Truvity.SupportRequestCreateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Gdpr.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## desk
<details><summary><code>client.desk.<a href="/src/api/resources/desk/client/Client.ts">publishedJsonSchemaFetch</a>(tenantId, slug, version, { ...params }) -> Record&lt;string, unknown&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the published JSON Schema for a given slug and version. The slug is the unique identifier for the schema, and the version is the specific version of the schema.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.desk.publishedJsonSchemaFetch("tenant_id", "slug", 1000000);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**tenantId:** `string` — The ID of the tenant.
    
</dd>
</dl>

<dl>
<dd>

**slug:** `string` — Slug of a CredentialSchema.
    
</dd>
</dl>

<dl>
<dd>

**version:** `number` — The version of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedJsonSchemaFetchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Desk.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.desk.<a href="/src/api/resources/desk/client/Client.ts">publishedMetaSchemaFetch</a>(tenantId, slug, version, { ...params }) -> Truvity.PublishedCredentialSchema</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the published Meta Schema for a given slug and version. The slug is the unique identifier for the schema.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.desk.publishedMetaSchemaFetch("tenant_id", "slug", 1000000);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**tenantId:** `string` — The ID of the tenant.
    
</dd>
</dl>

<dl>
<dd>

**slug:** `string` — Slug of a CredentialSchema.
    
</dd>
</dl>

<dl>
<dd>

**version:** `number` — The version of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedMetaSchemaFetchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Desk.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.desk.<a href="/src/api/resources/desk/client/Client.ts">publishedVcdmJsonSchemaFetch</a>(tenantId, slug, version, { ...params }) -> Record&lt;string, unknown&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the published VCDM JSON Schema for a given slug and version. The slug is the unique identifier for the schema, and the version is the specific version of the schema.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.desk.publishedVcdmJsonSchemaFetch("tenant_id", "slug", 1000000);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**tenantId:** `string` — The ID of the tenant.
    
</dd>
</dl>

<dl>
<dd>

**slug:** `string` — Slug of a CredentialSchema.
    
</dd>
</dl>

<dl>
<dd>

**version:** `number` — The version of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedVcdmJsonSchemaFetchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Desk.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.desk.<a href="/src/api/resources/desk/client/Client.ts">publishedJsonLdVocabFetch</a>(tenantId, slug, version, { ...params }) -> Record&lt;string, unknown&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get the published JSON-LD Vocab for a given slug and version. The slug is the unique identifier for the schema, and the version is the specific version of the schema.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.desk.publishedJsonLdVocabFetch("tenant_id", "slug", 1000000);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**tenantId:** `string` — The ID of the tenant.
    
</dd>
</dl>

<dl>
<dd>

**slug:** `string` — Slug of a CredentialSchema.
    
</dd>
</dl>

<dl>
<dd>

**version:** `number` — The version of the resource.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.PublishedJsonLdVocabFetchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Desk.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.desk.<a href="/src/api/resources/desk/client/Client.ts">didDocumentGet</a>(tenantId, { ...params }) -> Truvity.DidDocument</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get DID-Document for [did:web Method Specification](https://w3c-ccg.github.io/did-method-web/).
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.desk.didDocumentGet("tenant_id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**tenantId:** `string` — The ID of the tenant.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidDocumentGetRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Desk.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.desk.<a href="/src/api/resources/desk/client/Client.ts">didCommMessageRecv</a>(tenantId, { ...params }) -> void</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Receive DIDComm Message.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.desk.didCommMessageRecv("tenant_id", {
    body: "string"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**tenantId:** `string` — The ID of the tenant.
    
</dd>
</dl>

<dl>
<dd>

**request:** `Truvity.DidCommMessageRecvRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Desk.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
