Skip to content

Commit d4227c6

Browse files
author
Chris Jackson
authored
v3.0.0 (#4)
Update to target .NET Standard 1.3 instead of .NET Framework 4.5+, include latest updates to SignRequest API, and use a portable port of RestSharp
1 parent cbbd0b9 commit d4227c6

74 files changed

Lines changed: 5816 additions & 2503 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.swagger-codegen/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.0
1+
2.4.5

README.md

Lines changed: 89 additions & 121 deletions
Large diffs are not rendered by default.

SignRequest.sln

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
2-
# Visual Studio 2012
3-
VisualStudioVersion = 12.0.0.0
4-
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignRequest", "src\SignRequest\SignRequest.csproj", "{7C55D80D-01C1-41D9-A66D-B6921DC0997F}"
6-
EndProject
7-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignRequest.Test", "src\SignRequest.Test\SignRequest.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
2+
# Visual Studio 14
3+
VisualStudioVersion = 14.0.25420.1
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignRequest", "src\SignRequest\SignRequest.csproj", "{38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}"
86
EndProject
97
Global
108
GlobalSection(SolutionConfigurationPlatforms) = preSolution
119
Debug|Any CPU = Debug|Any CPU
1210
Release|Any CPU = Release|Any CPU
1311
EndGlobalSection
1412
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{7C55D80D-01C1-41D9-A66D-B6921DC0997F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{7C55D80D-01C1-41D9-A66D-B6921DC0997F}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{7C55D80D-01C1-41D9-A66D-B6921DC0997F}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{7C55D80D-01C1-41D9-A66D-B6921DC0997F}.Release|Any CPU.Build.0 = Release|Any CPU
13+
{38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{38E2E284-7F96-463C-AD94-EDDBAB7AC2FA}.Release|Any CPU.Build.0 = Release|Any CPU
1917
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2018
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2119
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

docs/ApiTokensApi.md

Lines changed: 0 additions & 193 deletions
Original file line numberDiff line numberDiff line change
@@ -4,139 +4,9 @@ All URIs are relative to *https://signrequest.com/api/v1*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**ApiTokensCreate**](ApiTokensApi.md#apitokenscreate) | **POST** /api-tokens/ | Create an API token
8-
[**ApiTokensDelete**](ApiTokensApi.md#apitokensdelete) | **DELETE** /api-tokens/{key}/ | Delete an API token
97
[**ApiTokensList**](ApiTokensApi.md#apitokenslist) | **GET** /api-tokens/ | Retrieve a list of API tokens
10-
[**ApiTokensRead**](ApiTokensApi.md#apitokensread) | **GET** /api-tokens/{key}/ | Retrieve an API token
118

129

13-
<a name="apitokenscreate"></a>
14-
# **ApiTokensCreate**
15-
> AuthToken ApiTokensCreate (AuthToken data)
16-
17-
Create an API token
18-
19-
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.
20-
21-
### Example
22-
```csharp
23-
using System;
24-
using System.Diagnostics;
25-
using SignRequest.Api;
26-
using SignRequest.Client;
27-
using SignRequest.Model;
28-
29-
namespace Example
30-
{
31-
public class ApiTokensCreateExample
32-
{
33-
public void main()
34-
{
35-
// Configure API key authorization: Token
36-
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
37-
Configuration.Default.AddApiKeyPrefix("Authorization", "Token");
38-
39-
var apiInstance = new ApiTokensApi();
40-
var data = new AuthToken(); // AuthToken |
41-
42-
try
43-
{
44-
// Create an API token
45-
AuthToken result = apiInstance.ApiTokensCreate(data);
46-
Debug.WriteLine(result);
47-
}
48-
catch (Exception e)
49-
{
50-
Debug.Print("Exception when calling ApiTokensApi.ApiTokensCreate: " + e.Message );
51-
}
52-
}
53-
}
54-
}
55-
```
56-
57-
### Parameters
58-
59-
Name | Type | Description | Notes
60-
------------- | ------------- | ------------- | -------------
61-
**data** | [**AuthToken**](AuthToken.md)| |
62-
63-
### Return type
64-
65-
[**AuthToken**](AuthToken.md)
66-
67-
### Authorization
68-
69-
[Token](../README.md#Token)
70-
71-
### HTTP request headers
72-
73-
- **Content-Type**: application/json
74-
- **Accept**: application/json
75-
76-
[[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)
77-
78-
<a name="apitokensdelete"></a>
79-
# **ApiTokensDelete**
80-
> void ApiTokensDelete (string key)
81-
82-
Delete an API token
83-
84-
### Example
85-
```csharp
86-
using System;
87-
using System.Diagnostics;
88-
using SignRequest.Api;
89-
using SignRequest.Client;
90-
using SignRequest.Model;
91-
92-
namespace Example
93-
{
94-
public class ApiTokensDeleteExample
95-
{
96-
public void main()
97-
{
98-
// Configure API key authorization: Token
99-
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
100-
Configuration.Default.AddApiKeyPrefix("Authorization", "Token");
101-
102-
var apiInstance = new ApiTokensApi();
103-
var key = key_example; // string | A unique value identifying this api token.
104-
105-
try
106-
{
107-
// Delete an API token
108-
apiInstance.ApiTokensDelete(key);
109-
}
110-
catch (Exception e)
111-
{
112-
Debug.Print("Exception when calling ApiTokensApi.ApiTokensDelete: " + e.Message );
113-
}
114-
}
115-
}
116-
}
117-
```
118-
119-
### Parameters
120-
121-
Name | Type | Description | Notes
122-
------------- | ------------- | ------------- | -------------
123-
**key** | **string**| A unique value identifying this api token. |
124-
125-
### Return type
126-
127-
void (empty response body)
128-
129-
### Authorization
130-
131-
[Token](../README.md#Token)
132-
133-
### HTTP request headers
134-
135-
- **Content-Type**: application/json
136-
- **Accept**: application/json
137-
138-
[[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)
139-
14010
<a name="apitokenslist"></a>
14111
# **ApiTokensList**
14212
> InlineResponse200 ApiTokensList (int? page = null, int? limit = null)
@@ -202,66 +72,3 @@ Name | Type | Description | Notes
20272

20373
[[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)
20474

205-
<a name="apitokensread"></a>
206-
# **ApiTokensRead**
207-
> AuthToken ApiTokensRead (string key)
208-
209-
Retrieve an API token
210-
211-
### Example
212-
```csharp
213-
using System;
214-
using System.Diagnostics;
215-
using SignRequest.Api;
216-
using SignRequest.Client;
217-
using SignRequest.Model;
218-
219-
namespace Example
220-
{
221-
public class ApiTokensReadExample
222-
{
223-
public void main()
224-
{
225-
// Configure API key authorization: Token
226-
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
227-
Configuration.Default.AddApiKeyPrefix("Authorization", "Token");
228-
229-
var apiInstance = new ApiTokensApi();
230-
var key = key_example; // string | A unique value identifying this api token.
231-
232-
try
233-
{
234-
// Retrieve an API token
235-
AuthToken result = apiInstance.ApiTokensRead(key);
236-
Debug.WriteLine(result);
237-
}
238-
catch (Exception e)
239-
{
240-
Debug.Print("Exception when calling ApiTokensApi.ApiTokensRead: " + e.Message );
241-
}
242-
}
243-
}
244-
}
245-
```
246-
247-
### Parameters
248-
249-
Name | Type | Description | Notes
250-
------------- | ------------- | ------------- | -------------
251-
**key** | **string**| A unique value identifying this api token. |
252-
253-
### Return type
254-
255-
[**AuthToken**](AuthToken.md)
256-
257-
### Authorization
258-
259-
[Token](../README.md#Token)
260-
261-
### HTTP request headers
262-
263-
- **Content-Type**: application/json
264-
- **Accept**: application/json
265-
266-
[[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)
267-

docs/Document.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
2121
**Integrations** | [**List&lt;InlineIntegrationData&gt;**](InlineIntegrationData.md) | | [optional]
2222
**FileFromSf** | [**FileFromSf**](FileFromSf.md) | | [optional]
2323
**AutoDeleteDays** | **int?** | Number of days after which a finished document (signed/cancelled/declined) will be automatically deleted | [optional]
24+
**AutoExpireDays** | **int?** | Number of days after which a non finished document will be automatically expired | [optional]
2425
**Pdf** | **string** | Temporary URL to signed document as PDF, expires in five minutes | [optional]
2526
**Status** | **string** | &#x60;co&#x60;: converting, &#x60;ne&#x60;: new, &#x60;se&#x60;: sent, &#x60;vi&#x60;: viewed, &#x60;si&#x60;: signed, &#x60;do&#x60;: downloaded, &#x60;sd&#x60;: signed and downloaded, &#x60;ca&#x60;: cancelled, &#x60;de&#x60;: declined, &#x60;ec&#x60;: error converting, &#x60;es&#x60;: error sending, &#x60;xp&#x60;: expired | [optional]
2627
**Signrequest** | [**DocumentSignrequest**](DocumentSignrequest.md) | | [optional]
@@ -30,6 +31,7 @@ Name | Type | Description | Notes
3031
**Attachments** | [**List&lt;DocumentAttachment&gt;**](DocumentAttachment.md) | | [optional]
3132
**AutoDeleteAfter** | **DateTime?** | Date and time calculated using &#x60;auto_delete_days&#x60; after which a finished document (signed/cancelled/declined) will be automatically deleted | [optional]
3233
**Sandbox** | **bool?** | Indicates whether document was created as part of a sandbox team | [optional]
34+
**AutoExpireAfter** | **DateTime?** | Date and time calculated using &#x60;auto_expire_days&#x60; after which a non finished document will be automatically expired | [optional]
3335

3436
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3537

docs/DocumentAttachment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**Url** | **string** | | [optional]
77
**Uuid** | **string** | | [optional]
8-
**Name** | **string** | Defaults to filename | [optional]
8+
**Name** | **string** | Defaults to filename, including extension | [optional]
99
**File** | **string** | Temporary URL to document attachment, expires in five minutes | [optional]
1010
**FileFromContent** | **string** | Base64 encoded document content | [optional]
1111
**FileFromContentName** | **string** | Filename, including extension. Required when using &#x60;file_from_content&#x60;. | [optional]

docs/DocumentSearch.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**Status** | **string** | &#x60;co&#x60;: converting, &#x60;ne&#x60;: new, &#x60;se&#x60;: sent, &#x60;vi&#x60;: viewed, &#x60;si&#x60;: signed, &#x60;do&#x60;: downloaded, &#x60;sd&#x60;: signed and downloaded, &#x60;ca&#x60;: cancelled, &#x60;de&#x60;: declined, &#x60;ec&#x60;: error converting, &#x60;es&#x60;: error sending, &#x60;xp&#x60;: expired | [optional]
7-
**Name** | **string** | Defaults to filename | [optional]
8-
**Who** | **string** | |
9-
**NrExtraDocs** | **int?** | |
10-
**FromEmail** | **string** | |
116
**Uuid** | **string** | | [optional]
127
**Created** | **DateTime?** | | [optional]
8+
**Status** | **string** | &#x60;co&#x60;: converting, &#x60;ne&#x60;: new, &#x60;se&#x60;: sent, &#x60;vi&#x60;: viewed, &#x60;si&#x60;: signed, &#x60;do&#x60;: downloaded, &#x60;sd&#x60;: signed and downloaded, &#x60;ca&#x60;: cancelled, &#x60;de&#x60;: declined, &#x60;ec&#x60;: error converting, &#x60;es&#x60;: error sending, &#x60;xp&#x60;: expired | [optional]
9+
**Who** | **string** | |
10+
**Name** | **string** | Defaults to filename | [optional]
1311
**Autocomplete** | **string** | |
12+
**FromEmail** | **string** | |
13+
**NrExtraDocs** | **int?** | |
1414
**SignerEmails** | **List&lt;string&gt;** | | [optional]
1515
**StatusDisplay** | **string** | | [optional]
1616
**CreatedTimestamp** | **int?** | | [optional]

docs/DocumentSignrequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
1515
**DisableDate** | **bool?** | Disable adding of dates | [optional]
1616
**DisableEmails** | **bool?** | Disable all SignRequest status emails as well as the email that contains the signed documents | [optional]
1717
**DisableUploadSignatures** | **bool?** | Disable usage of uploaded signatures (images) | [optional]
18+
**DisableBlockchainProof** | **bool?** | Disables storing timestamp proof hashes in blockchain integrations. | [optional]
1819
**TextMessageVerificationLocked** | **bool?** | When true a text message verification is needed before the signer can see the document | [optional]
1920
**Subject** | **string** | Subject of SignRequest email | [optional]
2021
**Message** | **string** | Message to include in SignRequest email, may contain the following html tags: &#x60;a&#x60;, &#x60;abbr&#x60;, &#x60;acronym&#x60;, &#x60;b&#x60;, &#x60;blockquote&#x60;, &#x60;code&#x60;, &#x60;em&#x60;, &#x60;i&#x60;, &#x60;ul&#x60;, &#x60;li&#x60;, &#x60;ol&#x60;, and &#x60;strong&#x60; | [optional]

docs/InlineResponse201.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**Cancelled** | **bool?** | |
76
**Detail** | **string** | |
7+
**Cancelled** | **bool?** | |
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

docs/InlineSignRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
1515
**DisableDate** | **bool?** | Disable adding of dates | [optional]
1616
**DisableEmails** | **bool?** | Disable all SignRequest status emails as well as the email that contains the signed documents | [optional]
1717
**DisableUploadSignatures** | **bool?** | Disable usage of uploaded signatures (images) | [optional]
18+
**DisableBlockchainProof** | **bool?** | Disables storing timestamp proof hashes in blockchain integrations. | [optional]
1819
**TextMessageVerificationLocked** | **bool?** | When true a text message verification is needed before the signer can see the document | [optional]
1920
**Subject** | **string** | Subject of SignRequest email | [optional]
2021
**Message** | **string** | Message to include in SignRequest email, may contain the following html tags: &#x60;a&#x60;, &#x60;abbr&#x60;, &#x60;acronym&#x60;, &#x60;b&#x60;, &#x60;blockquote&#x60;, &#x60;code&#x60;, &#x60;em&#x60;, &#x60;i&#x60;, &#x60;ul&#x60;, &#x60;li&#x60;, &#x60;ol&#x60;, and &#x60;strong&#x60; | [optional]

0 commit comments

Comments
 (0)