diff --git a/connect/config-csharp.yaml b/connect/config-csharp.yaml
index cf789c936..bcfbf6576 100644
--- a/connect/config-csharp.yaml
+++ b/connect/config-csharp.yaml
@@ -1,6 +1,6 @@
additionalProperties:
# https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/csharp.md
- packageVersion: 0.0.8
+ packageVersion: 0.0.9
packageName: Trinsic.Connect
packageTitle: Trinsic Connect SDK
packageCompany: trinsic.id
diff --git a/connect/dotnet/README.md b/connect/dotnet/README.md
index fb54f0602..8de606110 100644
--- a/connect/dotnet/README.md
+++ b/connect/dotnet/README.md
@@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: v1
-- SDK version: 0.0.8
+- SDK version: 0.0.9
- Generator version: 7.8.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
diff --git a/connect/dotnet/src/Trinsic.Connect/Api/AttachmentsApi.cs b/connect/dotnet/src/Trinsic.Connect/Api/AttachmentsApi.cs
index ac0253109..79af60df1 100644
--- a/connect/dotnet/src/Trinsic.Connect/Api/AttachmentsApi.cs
+++ b/connect/dotnet/src/Trinsic.Connect/Api/AttachmentsApi.cs
@@ -13,6 +13,7 @@
namespace Trinsic.Connect.Api;
+
///
/// Represents a collection of functions to interact with the API endpoints
///
diff --git a/connect/dotnet/src/Trinsic.Connect/Api/NetworkApi.cs b/connect/dotnet/src/Trinsic.Connect/Api/NetworkApi.cs
index a45e541d8..a712d58eb 100644
--- a/connect/dotnet/src/Trinsic.Connect/Api/NetworkApi.cs
+++ b/connect/dotnet/src/Trinsic.Connect/Api/NetworkApi.cs
@@ -14,6 +14,7 @@
namespace Trinsic.Connect.Api;
+
///
/// Represents a collection of functions to interact with the API endpoints
///
diff --git a/connect/dotnet/src/Trinsic.Connect/Api/SessionsApi.cs b/connect/dotnet/src/Trinsic.Connect/Api/SessionsApi.cs
index 21d07f574..9fc16559d 100644
--- a/connect/dotnet/src/Trinsic.Connect/Api/SessionsApi.cs
+++ b/connect/dotnet/src/Trinsic.Connect/Api/SessionsApi.cs
@@ -14,6 +14,7 @@
namespace Trinsic.Connect.Api;
+
///
/// Represents a collection of functions to interact with the API endpoints
///
diff --git a/connect/dotnet/src/Trinsic.Connect/Client/ApiClient.cs b/connect/dotnet/src/Trinsic.Connect/Client/ApiClient.cs
index c7ea9ba3b..f2458cabe 100644
--- a/connect/dotnet/src/Trinsic.Connect/Client/ApiClient.cs
+++ b/connect/dotnet/src/Trinsic.Connect/Client/ApiClient.cs
@@ -384,7 +384,7 @@ private HttpRequestMessage NewRequest(
}
}
}
-
+
_ = new List>();
string contentType = null;
diff --git a/connect/dotnet/src/Trinsic.Connect/Client/Configuration.cs b/connect/dotnet/src/Trinsic.Connect/Client/Configuration.cs
index 2f31dbdce..b756cdcc1 100644
--- a/connect/dotnet/src/Trinsic.Connect/Client/Configuration.cs
+++ b/connect/dotnet/src/Trinsic.Connect/Client/Configuration.cs
@@ -29,7 +29,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
///
/// Version of the package.
- public const string Version = "0.0.8";
+ public const string Version = "0.0.9";
///
/// Identifier for ISO 8601 DateTime Format
@@ -115,7 +115,7 @@ public class Configuration : IReadableConfiguration
public Configuration()
{
Proxy = null;
- UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/0.0.8/csharp");
+ UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/0.0.9/csharp");
BasePath = "https://connect.trinsic.id";
DefaultHeaders = new ConcurrentDictionary();
ApiKey = new ConcurrentDictionary();
@@ -362,7 +362,10 @@ public virtual string DateTimeFormat
public virtual IDictionary ApiKeyPrefix
{
get => _apiKeyPrefix;
- set => _apiKeyPrefix = value ?? throw new InvalidOperationException("ApiKeyPrefix collection may not be null.");
+ set
+ {
+ _apiKeyPrefix = value ?? throw new InvalidOperationException("ApiKeyPrefix collection may not be null.");
+ }
}
///
@@ -372,7 +375,10 @@ public virtual IDictionary ApiKeyPrefix
public virtual IDictionary ApiKey
{
get => _apiKey;
- set => _apiKey = value ?? throw new InvalidOperationException("ApiKey collection may not be null.");
+ set
+ {
+ _apiKey = value ?? throw new InvalidOperationException("ApiKey collection may not be null.");
+ }
}
///
@@ -382,7 +388,10 @@ public virtual IDictionary ApiKey
public virtual IList> Servers
{
get => _servers;
- set => _servers = value ?? throw new InvalidOperationException("Servers may not be null.");
+ set
+ {
+ _servers = value ?? throw new InvalidOperationException("Servers may not be null.");
+ }
}
///
@@ -392,7 +401,10 @@ public virtual IList> Servers
public virtual IReadOnlyDictionary>> OperationServers
{
get => _operationServers;
- set => _operationServers = value ?? throw new InvalidOperationException("Operation servers may not be null.");
+ set
+ {
+ _operationServers = value ?? throw new InvalidOperationException("Operation servers may not be null.");
+ }
}
///
@@ -515,7 +527,7 @@ public static string ToDebugReport()
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: v1\n";
- report += " SDK Package Version: 0.0.8\n";
+ report += " SDK Package Version: 0.0.9\n";
return report;
}
diff --git a/connect/dotnet/src/Trinsic.Connect/Client/FileParameter.cs b/connect/dotnet/src/Trinsic.Connect/Client/FileParameter.cs
index 2ade12092..f6b95c01a 100644
--- a/connect/dotnet/src/Trinsic.Connect/Client/FileParameter.cs
+++ b/connect/dotnet/src/Trinsic.Connect/Client/FileParameter.cs
@@ -11,6 +11,7 @@
namespace Trinsic.Connect.Client;
+
///
/// Represents a File passed to the API as a Parameter, allows using different backends for files
///
diff --git a/connect/dotnet/src/Trinsic.Connect/Client/RequestOptions.cs b/connect/dotnet/src/Trinsic.Connect/Client/RequestOptions.cs
index ddbdc1fba..2d28d36fc 100644
--- a/connect/dotnet/src/Trinsic.Connect/Client/RequestOptions.cs
+++ b/connect/dotnet/src/Trinsic.Connect/Client/RequestOptions.cs
@@ -7,6 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
+using System;
using System.Collections.Generic;
using System.Net;
diff --git a/connect/dotnet/src/Trinsic.Connect/Model/AbstractOpenAPISchema.cs b/connect/dotnet/src/Trinsic.Connect/Model/AbstractOpenAPISchema.cs
index 01bdb50fc..efa5f5189 100644
--- a/connect/dotnet/src/Trinsic.Connect/Model/AbstractOpenAPISchema.cs
+++ b/connect/dotnet/src/Trinsic.Connect/Model/AbstractOpenAPISchema.cs
@@ -7,6 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
+using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
diff --git a/connect/dotnet/src/Trinsic.Connect/README.md b/connect/dotnet/src/Trinsic.Connect/README.md
index 6be5f6d99..8de606110 100644
--- a/connect/dotnet/src/Trinsic.Connect/README.md
+++ b/connect/dotnet/src/Trinsic.Connect/README.md
@@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: v1
-- SDK version: 0.0.8
+- SDK version: 0.0.9
- Generator version: 7.8.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
@@ -112,17 +112,17 @@ namespace Example
// create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
- var apiInstance = new SessionsApi(httpClient, config, httpClientHandler);
- var sessionId = "sessionId_example"; // string |
+ var apiInstance = new AttachmentsApi(httpClient, config, httpClientHandler);
+ var attachmentAccessKey = "attachmentAccessKey_example"; // string? | (optional)
try
{
- CancelSessionResponse result = apiInstance.CancelSession(sessionId);
- Debug.WriteLine(result);
+ // Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the linked resource. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant.
+ apiInstance.GetAttachment(attachmentAccessKey);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling SessionsApi.CancelSession: " + e.Message );
+ Debug.Print("Exception when calling AttachmentsApi.GetAttachment: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -139,37 +139,46 @@ All URIs are relative to *https://connect.trinsic.id*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
-*SessionsApi* | [**CancelSession**](docs/SessionsApi.md#cancelsession) | **POST** /api/v1/sessions/{sessionId}/cancel |
-*SessionsApi* | [**CreateSession**](docs/SessionsApi.md#createsession) | **POST** /api/v1/sessions |
-*SessionsApi* | [**GetSession**](docs/SessionsApi.md#getsession) | **GET** /api/v1/sessions/{sessionId} |
-*SessionsApi* | [**ListSessions**](docs/SessionsApi.md#listsessions) | **GET** /api/v1/sessions |
-*SessionsApi* | [**RedactSession**](docs/SessionsApi.md#redactsession) | **POST** /api/v1/sessions/{sessionId}/redact |
+*AttachmentsApi* | [**GetAttachment**](docs/AttachmentsApi.md#getattachment) | **GET** /api/v1/attachments/fetch | Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the linked resource. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant.
+*NetworkApi* | [**IdentityLookup**](docs/NetworkApi.md#identitylookup) | **GET** /api/v1/network/identities/{phoneNumber} | Query the availability of an identity in the Trinsic Network by phone number
+*NetworkApi* | [**ListProviders**](docs/NetworkApi.md#listproviders) | **GET** /api/v1/network/providers | List all identity providers available for use
+*SessionsApi* | [**CancelSession**](docs/SessionsApi.md#cancelsession) | **POST** /api/v1/sessions/{sessionId}/cancel | Cancel a Session by its ID
+*SessionsApi* | [**CreateSession**](docs/SessionsApi.md#createsession) | **POST** /api/v1/sessions | Create a Session to verify a user's identity
+*SessionsApi* | [**ExchangeResultsKey**](docs/SessionsApi.md#exchangeresultskey) | **POST** /api/v1/sessions/{sessionId}/results | Exchange a Results Access Key for Identity Data
+*SessionsApi* | [**GetSession**](docs/SessionsApi.md#getsession) | **GET** /api/v1/sessions/{sessionId} | Get a Session by its ID
+*SessionsApi* | [**ListSessions**](docs/SessionsApi.md#listsessions) | **GET** /api/v1/sessions | List Sessions created by your account
+*SessionsApi* | [**RedactSession**](docs/SessionsApi.md#redactsession) | **POST** /api/v1/sessions/{sessionId}/redact | Redact a Session, removing all identity data from Trinsic's servers. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
## Documentation for Models
- [Model.Address](docs/Address.md)
+ - [Model.Attachments](docs/Attachments.md)
- [Model.CancelSessionResponse](docs/CancelSessionResponse.md)
- [Model.CreateSessionRequest](docs/CreateSessionRequest.md)
- [Model.CreateSessionResponse](docs/CreateSessionResponse.md)
- [Model.DisclosedFields](docs/DisclosedFields.md)
- [Model.DisclosedFieldsRequest](docs/DisclosedFieldsRequest.md)
- [Model.DocumentData](docs/DocumentData.md)
+ - [Model.ExchangeResultsKeyRequest](docs/ExchangeResultsKeyRequest.md)
+ - [Model.ExchangeResultsKeyResponse](docs/ExchangeResultsKeyResponse.md)
- [Model.FailureMessage](docs/FailureMessage.md)
- - [Model.GetSessionResponseV1](docs/GetSessionResponseV1.md)
- - [Model.IDVSessionState](docs/IDVSessionState.md)
+ - [Model.GetSessionResponse](docs/GetSessionResponse.md)
- [Model.IdentityData](docs/IdentityData.md)
+ - [Model.IdentityLookupResponse](docs/IdentityLookupResponse.md)
+ - [Model.Integration](docs/Integration.md)
+ - [Model.ListProvidersResponse](docs/ListProvidersResponse.md)
- [Model.ListSessionsResponse](docs/ListSessionsResponse.md)
- [Model.OrderDirection](docs/OrderDirection.md)
- [Model.PersonData](docs/PersonData.md)
- [Model.Session](docs/Session.md)
- [Model.SessionFailCode](docs/SessionFailCode.md)
- [Model.SessionOrdering](docs/SessionOrdering.md)
+ - [Model.SessionState](docs/SessionState.md)
- [Model.ValidationResult](docs/ValidationResult.md)
- [Model.Verification](docs/Verification.md)
- [Model.VerificationFailCode](docs/VerificationFailCode.md)
- - [Model.VerificationState](docs/VerificationState.md)
diff --git a/connect/dotnet/src/Trinsic.Connect/Trinsic.Connect.csproj b/connect/dotnet/src/Trinsic.Connect/Trinsic.Connect.csproj
index 07e163ac4..ba0bdfebd 100644
--- a/connect/dotnet/src/Trinsic.Connect/Trinsic.Connect.csproj
+++ b/connect/dotnet/src/Trinsic.Connect/Trinsic.Connect.csproj
@@ -12,7 +12,7 @@
Trinsic Connect SDK
No Copyright
Trinsic.Connect
- 0.0.8
+ 0.0.9
bin\$(Configuration)\$(TargetFramework)\Trinsic.Connect.xml
https://github.com/GIT_USER_ID/GIT_REPO_ID.git
git