diff --git a/.swagger-codegen/VERSION b/.swagger-codegen/VERSION
index 9183195..26f8b8b 100644
--- a/.swagger-codegen/VERSION
+++ b/.swagger-codegen/VERSION
@@ -1 +1 @@
-2.4.0
\ No newline at end of file
+2.4.5
\ No newline at end of file
diff --git a/README.md b/README.md
index 0023ed3..3ac6268 100644
--- a/README.md
+++ b/README.md
@@ -3,29 +3,17 @@
[](https://badge.fury.io/nu/SignRequest)
-
## Frameworks supported
-
-- .NET 4.0 or later
-- Windows Phone 7.1 (Mango)
+- .NET Core >=1.0
+- .NET Framework >=4.6
+- Mono/Xamarin >=vNext
+- UWP >=10.0
-
## Dependencies
-
-- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later
-- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later
-- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.2.0 or later
-
-The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
-
-```
-Install-Package RestSharp
-Install-Package Newtonsoft.Json
-Install-Package JsonSubTypes
-```
-
-NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742)
+- FubarCoder.RestSharp.Portable.Core >=4.0.7
+- FubarCoder.RestSharp.Portable.HttpClient >=4.0.7
+- Newtonsoft.Json >=10.0.3
@@ -35,27 +23,11 @@ NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploa
The SignRequest API client can be installed using NuGet with the package name [SignRequest](https://www.nuget.org/packages/SignRequest/).
-### Building from Source
-
-Run the following command to generate the DLL
-
-- [Mac/Linux] `/bin/sh build.sh`
-- [Windows] `build.bat`
-
-Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
-
-```csharp
-using SignRequest.Api;
-using SignRequest.Client;
-using SignRequest.Model;
-```
-
## API Documentation
Full API documentation, including code samples, can be found here:
https://signrequest.com/api/v1/docs/
-
## Getting Started
```csharp
@@ -94,105 +66,101 @@ namespace Example
```
-
## Documentation for API Endpoints
-All URIs are relative to _https://signrequest.com/api/v1_
-
-| Class | Method | HTTP request | Description |
-| --------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------------------------------------- |
-| _ApiTokensApi_ | [**ApiTokensCreate**](docs/ApiTokensApi.md#apitokenscreate) | **POST** /api-tokens/ | Create an API token |
-| _ApiTokensApi_ | [**ApiTokensDelete**](docs/ApiTokensApi.md#apitokensdelete) | **DELETE** /api-tokens/{key}/ | Delete an API token |
-| _ApiTokensApi_ | [**ApiTokensList**](docs/ApiTokensApi.md#apitokenslist) | **GET** /api-tokens/ | Retrieve a list of API tokens |
-| _ApiTokensApi_ | [**ApiTokensRead**](docs/ApiTokensApi.md#apitokensread) | **GET** /api-tokens/{key}/ | Retrieve an API token |
-| _DocumentAttachmentsApi_ | [**DocumentAttachmentsCreate**](docs/DocumentAttachmentsApi.md#documentattachmentscreate) | **POST** /document-attachments/ | Create a Document Attachment |
-| _DocumentAttachmentsApi_ | [**DocumentAttachmentsList**](docs/DocumentAttachmentsApi.md#documentattachmentslist) | **GET** /document-attachments/ | Retrieve a list of Document Attachments |
-| _DocumentAttachmentsApi_ | [**DocumentAttachmentsRead**](docs/DocumentAttachmentsApi.md#documentattachmentsread) | **GET** /document-attachments/{uuid}/ | Retrieve a Document Attachment |
-| _DocumentsApi_ | [**DocumentsCreate**](docs/DocumentsApi.md#documentscreate) | **POST** /documents/ | Create a Document |
-| _DocumentsApi_ | [**DocumentsDelete**](docs/DocumentsApi.md#documentsdelete) | **DELETE** /documents/{uuid}/ | Delete a Document |
-| _DocumentsApi_ | [**DocumentsList**](docs/DocumentsApi.md#documentslist) | **GET** /documents/ | Retrieve a list of Documents |
-| _DocumentsApi_ | [**DocumentsRead**](docs/DocumentsApi.md#documentsread) | **GET** /documents/{uuid}/ | Retrieve a Document |
-| _DocumentsSearchApi_ | [**DocumentsSearchList**](docs/DocumentsSearchApi.md#documentssearchlist) | **GET** /documents-search/ | Search documents |
-| _EventsApi_ | [**EventsList**](docs/EventsApi.md#eventslist) | **GET** /events/ | Retrieve a list of Events |
-| _EventsApi_ | [**EventsRead**](docs/EventsApi.md#eventsread) | **GET** /events/{id}/ | Retrieve an Event |
-| _SignrequestQuickCreateApi_ | [**SignrequestQuickCreateCreate**](docs/SignrequestQuickCreateApi.md#signrequestquickcreatecreate) | **POST** /signrequest-quick-create/ | Quick create a SignRequest |
-| _SignrequestsApi_ | [**SignrequestsCancelSignrequest**](docs/SignrequestsApi.md#signrequestscancelsignrequest) | **POST** /signrequests/{uuid}/cancel_signrequest/ | Cancel a SignRequest |
-| _SignrequestsApi_ | [**SignrequestsCreate**](docs/SignrequestsApi.md#signrequestscreate) | **POST** /signrequests/ | Create a SignRequest |
-| _SignrequestsApi_ | [**SignrequestsList**](docs/SignrequestsApi.md#signrequestslist) | **GET** /signrequests/ | Retrieve a list of SignRequests |
-| _SignrequestsApi_ | [**SignrequestsRead**](docs/SignrequestsApi.md#signrequestsread) | **GET** /signrequests/{uuid}/ | Retrieve a SignRequest |
-| _SignrequestsApi_ | [**SignrequestsResendSignrequestEmail**](docs/SignrequestsApi.md#signrequestsresendsignrequestemail) | **POST** /signrequests/{uuid}/resend_signrequest_email/ | Resend a SignRequest |
-| _TeamMembersApi_ | [**TeamMembersList**](docs/TeamMembersApi.md#teammemberslist) | **GET** /team-members/ | Retrieve a list of Team Members |
-| _TeamMembersApi_ | [**TeamMembersRead**](docs/TeamMembersApi.md#teammembersread) | **GET** /team-members/{uuid}/ | Retrieve a Team Member |
-| _TeamsApi_ | [**TeamsCreate**](docs/TeamsApi.md#teamscreate) | **POST** /teams/ | Create a Team |
-| _TeamsApi_ | [**TeamsDelete**](docs/TeamsApi.md#teamsdelete) | **DELETE** /teams/{subdomain}/ | Delete a Team |
-| _TeamsApi_ | [**TeamsInviteMember**](docs/TeamsApi.md#teamsinvitemember) | **POST** /teams/{subdomain}/invite_member/ | Invite a Team Member |
-| _TeamsApi_ | [**TeamsList**](docs/TeamsApi.md#teamslist) | **GET** /teams/ | Retrieve a list of Teams |
-| _TeamsApi_ | [**TeamsPartialUpdate**](docs/TeamsApi.md#teamspartialupdate) | **PATCH** /teams/{subdomain}/ | Update a Team |
-| _TeamsApi_ | [**TeamsRead**](docs/TeamsApi.md#teamsread) | **GET** /teams/{subdomain}/ | Retrieve a Team |
-| _TemplatesApi_ | [**TemplatesList**](docs/TemplatesApi.md#templateslist) | **GET** /templates/ | Retrieve a list of Templates |
-| _TemplatesApi_ | [**TemplatesRead**](docs/TemplatesApi.md#templatesread) | **GET** /templates/{uuid}/ | Retrieve a Template |
-| _WebhooksApi_ | [**WebhooksCreate**](docs/WebhooksApi.md#webhookscreate) | **POST** /webhooks/ | Create a Webhook |
-| _WebhooksApi_ | [**WebhooksDelete**](docs/WebhooksApi.md#webhooksdelete) | **DELETE** /webhooks/{uuid}/ | Delete a Webhook |
-| _WebhooksApi_ | [**WebhooksList**](docs/WebhooksApi.md#webhookslist) | **GET** /webhooks/ | Retrieve a list of Webhooks |
-| _WebhooksApi_ | [**WebhooksPartialUpdate**](docs/WebhooksApi.md#webhookspartialupdate) | **PATCH** /webhooks/{uuid}/ | Partially update a Webhook |
-| _WebhooksApi_ | [**WebhooksRead**](docs/WebhooksApi.md#webhooksread) | **GET** /webhooks/{uuid}/ | Retrieve a Webhook |
-| _WebhooksApi_ | [**WebhooksUpdate**](docs/WebhooksApi.md#webhooksupdate) | **PUT** /webhooks/{uuid}/ | Update a Webhook |
+All URIs are relative to *https://signrequest.com/api/v1*
+
+Class | Method | HTTP request | Description
+------------ | ------------- | ------------- | -------------
+*ApiTokensApi* | [**ApiTokensList**](docs/ApiTokensApi.md#apitokenslist) | **GET** /api-tokens/ | Retrieve a list of API tokens
+*DocumentAttachmentsApi* | [**DocumentAttachmentsCreate**](docs/DocumentAttachmentsApi.md#documentattachmentscreate) | **POST** /document-attachments/ | Create a Document Attachment
+*DocumentAttachmentsApi* | [**DocumentAttachmentsList**](docs/DocumentAttachmentsApi.md#documentattachmentslist) | **GET** /document-attachments/ | Retrieve a list of Document Attachments
+*DocumentAttachmentsApi* | [**DocumentAttachmentsRead**](docs/DocumentAttachmentsApi.md#documentattachmentsread) | **GET** /document-attachments/{uuid}/ | Retrieve a Document Attachment
+*DocumentsApi* | [**DocumentsCreate**](docs/DocumentsApi.md#documentscreate) | **POST** /documents/ | Create a Document
+*DocumentsApi* | [**DocumentsDelete**](docs/DocumentsApi.md#documentsdelete) | **DELETE** /documents/{uuid}/ | Delete a Document
+*DocumentsApi* | [**DocumentsList**](docs/DocumentsApi.md#documentslist) | **GET** /documents/ | Retrieve a list of Documents
+*DocumentsApi* | [**DocumentsRead**](docs/DocumentsApi.md#documentsread) | **GET** /documents/{uuid}/ | Retrieve a Document
+*DocumentsSearchApi* | [**DocumentsSearchList**](docs/DocumentsSearchApi.md#documentssearchlist) | **GET** /documents-search/ | Search documents
+*EventsApi* | [**EventsList**](docs/EventsApi.md#eventslist) | **GET** /events/ | Retrieve a list of Events
+*EventsApi* | [**EventsRead**](docs/EventsApi.md#eventsread) | **GET** /events/{id}/ | Retrieve an Event
+*SignrequestQuickCreateApi* | [**SignrequestQuickCreateCreate**](docs/SignrequestQuickCreateApi.md#signrequestquickcreatecreate) | **POST** /signrequest-quick-create/ | Quick create a SignRequest
+*SignrequestsApi* | [**SignrequestsCancelSignrequest**](docs/SignrequestsApi.md#signrequestscancelsignrequest) | **POST** /signrequests/{uuid}/cancel_signrequest/ | Cancel a SignRequest
+*SignrequestsApi* | [**SignrequestsCreate**](docs/SignrequestsApi.md#signrequestscreate) | **POST** /signrequests/ | Create a SignRequest
+*SignrequestsApi* | [**SignrequestsList**](docs/SignrequestsApi.md#signrequestslist) | **GET** /signrequests/ | Retrieve a list of SignRequests
+*SignrequestsApi* | [**SignrequestsRead**](docs/SignrequestsApi.md#signrequestsread) | **GET** /signrequests/{uuid}/ | Retrieve a SignRequest
+*SignrequestsApi* | [**SignrequestsResendSignrequestEmail**](docs/SignrequestsApi.md#signrequestsresendsignrequestemail) | **POST** /signrequests/{uuid}/resend_signrequest_email/ | Resend a SignRequest
+*TeamMembersApi* | [**TeamMembersList**](docs/TeamMembersApi.md#teammemberslist) | **GET** /team-members/ | Retrieve a list of Team Members
+*TeamMembersApi* | [**TeamMembersRead**](docs/TeamMembersApi.md#teammembersread) | **GET** /team-members/{uuid}/ | Retrieve a Team Member
+*TeamsApi* | [**TeamsCreate**](docs/TeamsApi.md#teamscreate) | **POST** /teams/ | Create a Team
+*TeamsApi* | [**TeamsDelete**](docs/TeamsApi.md#teamsdelete) | **DELETE** /teams/{subdomain}/ | Delete a Team
+*TeamsApi* | [**TeamsInviteMember**](docs/TeamsApi.md#teamsinvitemember) | **POST** /teams/{subdomain}/invite_member/ | Invite a Team Member
+*TeamsApi* | [**TeamsList**](docs/TeamsApi.md#teamslist) | **GET** /teams/ | Retrieve a list of Teams
+*TeamsApi* | [**TeamsPartialUpdate**](docs/TeamsApi.md#teamspartialupdate) | **PATCH** /teams/{subdomain}/ | Update a Team
+*TeamsApi* | [**TeamsRead**](docs/TeamsApi.md#teamsread) | **GET** /teams/{subdomain}/ | Retrieve a Team
+*TemplatesApi* | [**TemplatesList**](docs/TemplatesApi.md#templateslist) | **GET** /templates/ | Retrieve a list of Templates
+*TemplatesApi* | [**TemplatesRead**](docs/TemplatesApi.md#templatesread) | **GET** /templates/{uuid}/ | Retrieve a Template
+*WebhooksApi* | [**WebhooksCreate**](docs/WebhooksApi.md#webhookscreate) | **POST** /webhooks/ | Create a Webhook
+*WebhooksApi* | [**WebhooksDelete**](docs/WebhooksApi.md#webhooksdelete) | **DELETE** /webhooks/{uuid}/ | Delete a Webhook
+*WebhooksApi* | [**WebhooksList**](docs/WebhooksApi.md#webhookslist) | **GET** /webhooks/ | Retrieve a list of Webhooks
+*WebhooksApi* | [**WebhooksPartialUpdate**](docs/WebhooksApi.md#webhookspartialupdate) | **PATCH** /webhooks/{uuid}/ | Partially update a Webhook
+*WebhooksApi* | [**WebhooksRead**](docs/WebhooksApi.md#webhooksread) | **GET** /webhooks/{uuid}/ | Retrieve a Webhook
+*WebhooksApi* | [**WebhooksUpdate**](docs/WebhooksApi.md#webhooksupdate) | **PUT** /webhooks/{uuid}/ | Update a Webhook
-
+
## Documentation for Models
-- [Model.AuthToken](docs/AuthToken.md)
-- [Model.Document](docs/Document.md)
-- [Model.DocumentAttachment](docs/DocumentAttachment.md)
-- [Model.DocumentSearch](docs/DocumentSearch.md)
-- [Model.DocumentSignerTemplateConf](docs/DocumentSignerTemplateConf.md)
-- [Model.DocumentSigningLog](docs/DocumentSigningLog.md)
-- [Model.DocumentSignrequest](docs/DocumentSignrequest.md)
-- [Model.DocumentTeam](docs/DocumentTeam.md)
-- [Model.Event](docs/Event.md)
-- [Model.FileFromSf](docs/FileFromSf.md)
-- [Model.InlineDocumentSignerIntegrationData](docs/InlineDocumentSignerIntegrationData.md)
-- [Model.InlineIntegrationData](docs/InlineIntegrationData.md)
-- [Model.InlinePrefillTags](docs/InlinePrefillTags.md)
-- [Model.InlineResponse200](docs/InlineResponse200.md)
-- [Model.InlineResponse2001](docs/InlineResponse2001.md)
-- [Model.InlineResponse2002](docs/InlineResponse2002.md)
-- [Model.InlineResponse2003](docs/InlineResponse2003.md)
-- [Model.InlineResponse2004](docs/InlineResponse2004.md)
-- [Model.InlineResponse2005](docs/InlineResponse2005.md)
-- [Model.InlineResponse2006](docs/InlineResponse2006.md)
-- [Model.InlineResponse2007](docs/InlineResponse2007.md)
-- [Model.InlineResponse2008](docs/InlineResponse2008.md)
-- [Model.InlineResponse2009](docs/InlineResponse2009.md)
-- [Model.InlineResponse201](docs/InlineResponse201.md)
-- [Model.InlineResponse2011](docs/InlineResponse2011.md)
-- [Model.InlineSignRequest](docs/InlineSignRequest.md)
-- [Model.InlineTeam](docs/InlineTeam.md)
-- [Model.InlineTeamMember](docs/InlineTeamMember.md)
-- [Model.InviteMember](docs/InviteMember.md)
-- [Model.Placeholder](docs/Placeholder.md)
-- [Model.RequiredAttachment](docs/RequiredAttachment.md)
-- [Model.SignRequest](docs/SignRequest.md)
-- [Model.SignRequestQuickCreate](docs/SignRequestQuickCreate.md)
-- [Model.Signer](docs/Signer.md)
-- [Model.SignerAttachment](docs/SignerAttachment.md)
-- [Model.SignerInputs](docs/SignerInputs.md)
-- [Model.SigningLog](docs/SigningLog.md)
-- [Model.Team](docs/Team.md)
-- [Model.TeamMember](docs/TeamMember.md)
-- [Model.Template](docs/Template.md)
-- [Model.User](docs/User.md)
-- [Model.WebhookSubscription](docs/WebhookSubscription.md)
+ - [Model.AuthToken](docs/AuthToken.md)
+ - [Model.Document](docs/Document.md)
+ - [Model.DocumentAttachment](docs/DocumentAttachment.md)
+ - [Model.DocumentSearch](docs/DocumentSearch.md)
+ - [Model.DocumentSignerTemplateConf](docs/DocumentSignerTemplateConf.md)
+ - [Model.DocumentSigningLog](docs/DocumentSigningLog.md)
+ - [Model.DocumentSignrequest](docs/DocumentSignrequest.md)
+ - [Model.DocumentTeam](docs/DocumentTeam.md)
+ - [Model.Event](docs/Event.md)
+ - [Model.FileFromSf](docs/FileFromSf.md)
+ - [Model.InlineDocumentSignerIntegrationData](docs/InlineDocumentSignerIntegrationData.md)
+ - [Model.InlineIntegrationData](docs/InlineIntegrationData.md)
+ - [Model.InlinePrefillTags](docs/InlinePrefillTags.md)
+ - [Model.InlineResponse200](docs/InlineResponse200.md)
+ - [Model.InlineResponse2001](docs/InlineResponse2001.md)
+ - [Model.InlineResponse2002](docs/InlineResponse2002.md)
+ - [Model.InlineResponse2003](docs/InlineResponse2003.md)
+ - [Model.InlineResponse2004](docs/InlineResponse2004.md)
+ - [Model.InlineResponse2005](docs/InlineResponse2005.md)
+ - [Model.InlineResponse2006](docs/InlineResponse2006.md)
+ - [Model.InlineResponse2007](docs/InlineResponse2007.md)
+ - [Model.InlineResponse2008](docs/InlineResponse2008.md)
+ - [Model.InlineResponse2009](docs/InlineResponse2009.md)
+ - [Model.InlineResponse201](docs/InlineResponse201.md)
+ - [Model.InlineResponse2011](docs/InlineResponse2011.md)
+ - [Model.InlineSignRequest](docs/InlineSignRequest.md)
+ - [Model.InlineTeam](docs/InlineTeam.md)
+ - [Model.InlineTeamMember](docs/InlineTeamMember.md)
+ - [Model.InviteMember](docs/InviteMember.md)
+ - [Model.Placeholder](docs/Placeholder.md)
+ - [Model.RequiredAttachment](docs/RequiredAttachment.md)
+ - [Model.SignRequest](docs/SignRequest.md)
+ - [Model.SignRequestQuickCreate](docs/SignRequestQuickCreate.md)
+ - [Model.Signer](docs/Signer.md)
+ - [Model.SignerAttachment](docs/SignerAttachment.md)
+ - [Model.SignerInputs](docs/SignerInputs.md)
+ - [Model.SigningLog](docs/SigningLog.md)
+ - [Model.Team](docs/Team.md)
+ - [Model.TeamMember](docs/TeamMember.md)
+ - [Model.Template](docs/Template.md)
+ - [Model.User](docs/User.md)
+ - [Model.WebhookSubscription](docs/WebhookSubscription.md)
-
+
## Documentation for Authorization
-
### Token
- **Type**: API key
- **API key parameter name**: Authorization
- **Location**: HTTP header
+
diff --git a/SignRequest.sln b/SignRequest.sln
index eaff106..0327621 100644
--- a/SignRequest.sln
+++ b/SignRequest.sln
@@ -1,10 +1,8 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
-VisualStudioVersion = 12.0.0.0
-MinimumVisualStudioVersion = 10.0.0.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignRequest", "src\SignRequest\SignRequest.csproj", "{7C55D80D-01C1-41D9-A66D-B6921DC0997F}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignRequest.Test", "src\SignRequest.Test\SignRequest.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
+# Visual Studio 14
+VisualStudioVersion = 14.0.25420.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignRequest", "src\SignRequest\SignRequest.csproj", "{38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -12,10 +10,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7C55D80D-01C1-41D9-A66D-B6921DC0997F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7C55D80D-01C1-41D9-A66D-B6921DC0997F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7C55D80D-01C1-41D9-A66D-B6921DC0997F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7C55D80D-01C1-41D9-A66D-B6921DC0997F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/docs/ApiTokensApi.md b/docs/ApiTokensApi.md
index 255b493..c46b00f 100644
--- a/docs/ApiTokensApi.md
+++ b/docs/ApiTokensApi.md
@@ -4,139 +4,9 @@ All URIs are relative to *https://signrequest.com/api/v1*
Method | HTTP request | Description
------------- | ------------- | -------------
-[**ApiTokensCreate**](ApiTokensApi.md#apitokenscreate) | **POST** /api-tokens/ | Create an API token
-[**ApiTokensDelete**](ApiTokensApi.md#apitokensdelete) | **DELETE** /api-tokens/{key}/ | Delete an API token
[**ApiTokensList**](ApiTokensApi.md#apitokenslist) | **GET** /api-tokens/ | Retrieve a list of API tokens
-[**ApiTokensRead**](ApiTokensApi.md#apitokensread) | **GET** /api-tokens/{key}/ | Retrieve an API token
-
-# **ApiTokensCreate**
-> AuthToken ApiTokensCreate (AuthToken data)
-
-Create an API token
-
-You can create an API token in the [team api settings page](/#/teams). It is also possible to get or create a token using the REST api with your login credentials.
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using SignRequest.Api;
-using SignRequest.Client;
-using SignRequest.Model;
-
-namespace Example
-{
- public class ApiTokensCreateExample
- {
- public void main()
- {
- // Configure API key authorization: Token
- Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
- Configuration.Default.AddApiKeyPrefix("Authorization", "Token");
-
- var apiInstance = new ApiTokensApi();
- var data = new AuthToken(); // AuthToken |
-
- try
- {
- // Create an API token
- AuthToken result = apiInstance.ApiTokensCreate(data);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling ApiTokensApi.ApiTokensCreate: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **data** | [**AuthToken**](AuthToken.md)| |
-
-### Return type
-
-[**AuthToken**](AuthToken.md)
-
-### Authorization
-
-[Token](../README.md#Token)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-
-# **ApiTokensDelete**
-> void ApiTokensDelete (string key)
-
-Delete an API token
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using SignRequest.Api;
-using SignRequest.Client;
-using SignRequest.Model;
-
-namespace Example
-{
- public class ApiTokensDeleteExample
- {
- public void main()
- {
- // Configure API key authorization: Token
- Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
- Configuration.Default.AddApiKeyPrefix("Authorization", "Token");
-
- var apiInstance = new ApiTokensApi();
- var key = key_example; // string | A unique value identifying this api token.
-
- try
- {
- // Delete an API token
- apiInstance.ApiTokensDelete(key);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling ApiTokensApi.ApiTokensDelete: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **key** | **string**| A unique value identifying this api token. |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[Token](../README.md#Token)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
# **ApiTokensList**
> InlineResponse200 ApiTokensList (int? page = null, int? limit = null)
@@ -202,66 +72,3 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiTokensRead**
-> AuthToken ApiTokensRead (string key)
-
-Retrieve an API token
-
-### Example
-```csharp
-using System;
-using System.Diagnostics;
-using SignRequest.Api;
-using SignRequest.Client;
-using SignRequest.Model;
-
-namespace Example
-{
- public class ApiTokensReadExample
- {
- public void main()
- {
- // Configure API key authorization: Token
- Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
- Configuration.Default.AddApiKeyPrefix("Authorization", "Token");
-
- var apiInstance = new ApiTokensApi();
- var key = key_example; // string | A unique value identifying this api token.
-
- try
- {
- // Retrieve an API token
- AuthToken result = apiInstance.ApiTokensRead(key);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling ApiTokensApi.ApiTokensRead: " + e.Message );
- }
- }
- }
-}
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **key** | **string**| A unique value identifying this api token. |
-
-### Return type
-
-[**AuthToken**](AuthToken.md)
-
-### Authorization
-
-[Token](../README.md#Token)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/docs/Document.md b/docs/Document.md
index 31cb9e8..962a179 100644
--- a/docs/Document.md
+++ b/docs/Document.md
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
**Integrations** | [**List<InlineIntegrationData>**](InlineIntegrationData.md) | | [optional]
**FileFromSf** | [**FileFromSf**](FileFromSf.md) | | [optional]
**AutoDeleteDays** | **int?** | Number of days after which a finished document (signed/cancelled/declined) will be automatically deleted | [optional]
+**AutoExpireDays** | **int?** | Number of days after which a non finished document will be automatically expired | [optional]
**Pdf** | **string** | Temporary URL to signed document as PDF, expires in five minutes | [optional]
**Status** | **string** | `co`: converting, `ne`: new, `se`: sent, `vi`: viewed, `si`: signed, `do`: downloaded, `sd`: signed and downloaded, `ca`: cancelled, `de`: declined, `ec`: error converting, `es`: error sending, `xp`: expired | [optional]
**Signrequest** | [**DocumentSignrequest**](DocumentSignrequest.md) | | [optional]
@@ -30,6 +31,7 @@ Name | Type | Description | Notes
**Attachments** | [**List<DocumentAttachment>**](DocumentAttachment.md) | | [optional]
**AutoDeleteAfter** | **DateTime?** | Date and time calculated using `auto_delete_days` after which a finished document (signed/cancelled/declined) will be automatically deleted | [optional]
**Sandbox** | **bool?** | Indicates whether document was created as part of a sandbox team | [optional]
+**AutoExpireAfter** | **DateTime?** | Date and time calculated using `auto_expire_days` after which a non finished document will be automatically expired | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/DocumentAttachment.md b/docs/DocumentAttachment.md
index 0ad8562..0411206 100644
--- a/docs/DocumentAttachment.md
+++ b/docs/DocumentAttachment.md
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Url** | **string** | | [optional]
**Uuid** | **string** | | [optional]
-**Name** | **string** | Defaults to filename | [optional]
+**Name** | **string** | Defaults to filename, including extension | [optional]
**File** | **string** | Temporary URL to document attachment, expires in five minutes | [optional]
**FileFromContent** | **string** | Base64 encoded document content | [optional]
**FileFromContentName** | **string** | Filename, including extension. Required when using `file_from_content`. | [optional]
diff --git a/docs/DocumentSearch.md b/docs/DocumentSearch.md
index c1dfa3b..c22469b 100644
--- a/docs/DocumentSearch.md
+++ b/docs/DocumentSearch.md
@@ -3,14 +3,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Status** | **string** | `co`: converting, `ne`: new, `se`: sent, `vi`: viewed, `si`: signed, `do`: downloaded, `sd`: signed and downloaded, `ca`: cancelled, `de`: declined, `ec`: error converting, `es`: error sending, `xp`: expired | [optional]
-**Name** | **string** | Defaults to filename | [optional]
-**Who** | **string** | |
-**NrExtraDocs** | **int?** | |
-**FromEmail** | **string** | |
**Uuid** | **string** | | [optional]
**Created** | **DateTime?** | | [optional]
+**Status** | **string** | `co`: converting, `ne`: new, `se`: sent, `vi`: viewed, `si`: signed, `do`: downloaded, `sd`: signed and downloaded, `ca`: cancelled, `de`: declined, `ec`: error converting, `es`: error sending, `xp`: expired | [optional]
+**Who** | **string** | |
+**Name** | **string** | Defaults to filename | [optional]
**Autocomplete** | **string** | |
+**FromEmail** | **string** | |
+**NrExtraDocs** | **int?** | |
**SignerEmails** | **List<string>** | | [optional]
**StatusDisplay** | **string** | | [optional]
**CreatedTimestamp** | **int?** | | [optional]
diff --git a/docs/DocumentSignrequest.md b/docs/DocumentSignrequest.md
index 74af68d..87e1d00 100644
--- a/docs/DocumentSignrequest.md
+++ b/docs/DocumentSignrequest.md
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
**DisableDate** | **bool?** | Disable adding of dates | [optional]
**DisableEmails** | **bool?** | Disable all SignRequest status emails as well as the email that contains the signed documents | [optional]
**DisableUploadSignatures** | **bool?** | Disable usage of uploaded signatures (images) | [optional]
+**DisableBlockchainProof** | **bool?** | Disables storing timestamp proof hashes in blockchain integrations. | [optional]
**TextMessageVerificationLocked** | **bool?** | When true a text message verification is needed before the signer can see the document | [optional]
**Subject** | **string** | Subject of SignRequest email | [optional]
**Message** | **string** | Message to include in SignRequest email, may contain the following html tags: `a`, `abbr`, `acronym`, `b`, `blockquote`, `code`, `em`, `i`, `ul`, `li`, `ol`, and `strong` | [optional]
diff --git a/docs/InlineResponse201.md b/docs/InlineResponse201.md
index 5cd324b..aa18262 100644
--- a/docs/InlineResponse201.md
+++ b/docs/InlineResponse201.md
@@ -3,8 +3,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Cancelled** | **bool?** | |
**Detail** | **string** | |
+**Cancelled** | **bool?** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/InlineSignRequest.md b/docs/InlineSignRequest.md
index 9e1ef72..919774e 100644
--- a/docs/InlineSignRequest.md
+++ b/docs/InlineSignRequest.md
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
**DisableDate** | **bool?** | Disable adding of dates | [optional]
**DisableEmails** | **bool?** | Disable all SignRequest status emails as well as the email that contains the signed documents | [optional]
**DisableUploadSignatures** | **bool?** | Disable usage of uploaded signatures (images) | [optional]
+**DisableBlockchainProof** | **bool?** | Disables storing timestamp proof hashes in blockchain integrations. | [optional]
**TextMessageVerificationLocked** | **bool?** | When true a text message verification is needed before the signer can see the document | [optional]
**Subject** | **string** | Subject of SignRequest email | [optional]
**Message** | **string** | Message to include in SignRequest email, may contain the following html tags: `a`, `abbr`, `acronym`, `b`, `blockquote`, `code`, `em`, `i`, `ul`, `li`, `ol`, and `strong` | [optional]
diff --git a/docs/SignRequest.md b/docs/SignRequest.md
index 557baa5..abc092a 100644
--- a/docs/SignRequest.md
+++ b/docs/SignRequest.md
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
**DisableDate** | **bool?** | Disable adding of dates | [optional]
**DisableEmails** | **bool?** | Disable all SignRequest status emails as well as the email that contains the signed documents | [optional]
**DisableUploadSignatures** | **bool?** | Disable usage of uploaded signatures (images) | [optional]
+**DisableBlockchainProof** | **bool?** | Disables storing timestamp proof hashes in blockchain integrations. | [optional]
**TextMessageVerificationLocked** | **bool?** | When true a text message verification is needed before the signer can see the document | [optional]
**Subject** | **string** | Subject of SignRequest email | [optional]
**Message** | **string** | Message to include in SignRequest email, may contain the following html tags: `a`, `abbr`, `acronym`, `b`, `blockquote`, `code`, `em`, `i`, `ul`, `li`, `ol`, and `strong` | [optional]
diff --git a/docs/SignRequestQuickCreate.md b/docs/SignRequestQuickCreate.md
index 6867afb..f4bc422 100644
--- a/docs/SignRequestQuickCreate.md
+++ b/docs/SignRequestQuickCreate.md
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
**DisableDate** | **bool?** | Disable adding of dates | [optional]
**DisableEmails** | **bool?** | Disable all SignRequest status emails as well as the email that contains the signed documents | [optional]
**DisableUploadSignatures** | **bool?** | Disable usage of uploaded signatures (images) | [optional]
+**DisableBlockchainProof** | **bool?** | Disables storing timestamp proof hashes in blockchain integrations. | [optional]
**TextMessageVerificationLocked** | **bool?** | When true a text message verification is needed before the signer can see the document | [optional]
**Subject** | **string** | Subject of SignRequest email | [optional]
**Message** | **string** | Message to include in SignRequest email, may contain the following html tags: `a`, `abbr`, `acronym`, `b`, `blockquote`, `code`, `em`, `i`, `ul`, `li`, `ol`, and `strong` | [optional]
@@ -39,6 +40,7 @@ Name | Type | Description | Notes
**Integrations** | [**List<InlineIntegrationData>**](InlineIntegrationData.md) | | [optional]
**FileFromSf** | [**FileFromSf**](FileFromSf.md) | | [optional]
**AutoDeleteDays** | **int?** | Number of days after which a finished document (signed/cancelled/declined) will be automatically deleted | [optional]
+**AutoExpireDays** | **int?** | Number of days after which a non finished document will be automatically expired | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/Signer.md b/docs/Signer.md
index 796bd3f..75d8d08 100644
--- a/docs/Signer.md
+++ b/docs/Signer.md
@@ -37,6 +37,7 @@ Name | Type | Description | Notes
**RedirectUrl** | **string** | | [optional]
**AfterDocument** | **string** | | [optional]
**Integrations** | [**List<InlineDocumentSignerIntegrationData>**](InlineDocumentSignerIntegrationData.md) | | [optional]
+**Password** | **string** | Require the signer to enter this password before signing a document. This field is write only. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/src/SignRequest/Api/ApiTokensApi.cs b/src/SignRequest/Api/ApiTokensApi.cs
index 1ad1520..9953696 100644
--- a/src/SignRequest/Api/ApiTokensApi.cs
+++ b/src/SignRequest/Api/ApiTokensApi.cs
@@ -12,7 +12,7 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
-using RestSharp;
+using RestSharp.Portable;
using SignRequest.Client;
using SignRequest.Model;
@@ -25,48 +25,6 @@ public interface IApiTokensApi : IApiAccessor
{
#region Synchronous Operations
///
- /// Create an API token
- ///
- ///
- /// You can create an API token in the [team api settings page](/#/teams). It is also possible to get or create a token using the REST api with your login credentials.
- ///
- /// Thrown when fails to make API call
- ///
- /// AuthToken
- AuthToken ApiTokensCreate (AuthToken data);
-
- ///
- /// Create an API token
- ///
- ///
- /// You can create an API token in the [team api settings page](/#/teams). It is also possible to get or create a token using the REST api with your login credentials.
- ///
- /// Thrown when fails to make API call
- ///
- /// ApiResponse of AuthToken
- ApiResponse ApiTokensCreateWithHttpInfo (AuthToken data);
- ///
- /// Delete an API token
- ///
- ///
- ///
- ///
- /// Thrown when fails to make API call
- /// A unique value identifying this api token.
- ///
- void ApiTokensDelete (string key);
-
- ///
- /// Delete an API token
- ///
- ///
- ///
- ///
- /// Thrown when fails to make API call
- /// A unique value identifying this api token.
- /// ApiResponse of Object(void)
- ApiResponse