Skip to content

Commit

Permalink
Merge pull request #2 from SignRequest/2.0.0
Browse files Browse the repository at this point in the history
2.0.0
  • Loading branch information
cjackson authored Dec 5, 2018
2 parents 42161ac + c8ec9cc commit cbbd0b9
Show file tree
Hide file tree
Showing 72 changed files with 1,811 additions and 1,428 deletions.
2 changes: 1 addition & 1 deletion .swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.1
2.4.0
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ All URIs are relative to _https://signrequest.com/api/v1_
| _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 |
Expand All @@ -149,6 +150,7 @@ All URIs are relative to _https://signrequest.com/api/v1_
- [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)
Expand All @@ -169,7 +171,6 @@ All URIs are relative to _https://signrequest.com/api/v1_
- [Model.InlineTeam](docs/InlineTeam.md)
- [Model.InlineTeamMember](docs/InlineTeamMember.md)
- [Model.InviteMember](docs/InviteMember.md)
- [Model.ModelEvent](docs/ModelEvent.md)
- [Model.Placeholder](docs/Placeholder.md)
- [Model.RequiredAttachment](docs/RequiredAttachment.md)
- [Model.SignRequest](docs/SignRequest.md)
Expand Down
10 changes: 5 additions & 5 deletions SignRequest.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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", "{8C6F5E9C-ED26-437A-87ED-4A6F2E35A098}"
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}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8C6F5E9C-ED26-437A-87ED-4A6F2E35A098}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C6F5E9C-ED26-437A-87ED-4A6F2E35A098}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C6F5E9C-ED26-437A-87ED-4A6F2E35A098}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8C6F5E9C-ED26-437A-87ED-4A6F2E35A098}.Release|Any CPU.Build.0 = Release|Any CPU
{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
{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
Expand Down
1 change: 1 addition & 0 deletions docs/Document.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Name | Type | Description | Notes
**SecurityHash** | **string** | SHA256 hash of PDF contents | [optional]
**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]

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

1 change: 1 addition & 0 deletions docs/DocumentSignrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
**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]
**Who** | **string** | `m`: only me, `mo`: me and others, `o`: only others | [optional]
Expand Down
18 changes: 18 additions & 0 deletions docs/Event.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SignRequest.Model.Event
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Uuid** | **string** | | [optional]
**Status** | **string** | | [optional]
**EventType** | **string** | | [optional]
**Delivered** | **bool?** | | [optional]
**DeliveredOn** | **DateTime?** | | [optional]
**CallbackStatusCode** | **int?** | | [optional]
**Timestamp** | **DateTime?** | | [optional]
**Team** | [**DocumentTeam**](DocumentTeam.md) | | [optional]
**Document** | [**Document**](Document.md) | | [optional]
**Signer** | [**Signer**](Signer.md) | | [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)

6 changes: 3 additions & 3 deletions docs/EventsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Name | Type | Description | Notes

<a name="eventsread"></a>
# **EventsRead**
> ModelEvent EventsRead (int? id)
> Event EventsRead (int? id)
Retrieve an Event

Expand Down Expand Up @@ -129,7 +129,7 @@ namespace Example
try
{
// Retrieve an Event
ModelEvent result = apiInstance.EventsRead(id);
Event result = apiInstance.EventsRead(id);
Debug.WriteLine(result);
}
catch (Exception e)
Expand All @@ -149,7 +149,7 @@ Name | Type | Description | Notes

### Return type

[**ModelEvent**](ModelEvent.md)
[**Event**](Event.md)

### Authorization

Expand Down
2 changes: 1 addition & 1 deletion docs/InlineResponse2004.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
**Count** | **int?** | |
**Next** | **string** | | [optional]
**Previous** | **string** | | [optional]
**Results** | [**List&lt;ModelEvent&gt;**](ModelEvent.md) | |
**Results** | [**List&lt;Event&gt;**](Event.md) | |

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

1 change: 1 addition & 0 deletions docs/InlineSignRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
**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: &#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]
**Who** | **string** | &#x60;m&#x60;: only me, &#x60;mo&#x60;: me and others, &#x60;o&#x60;: only others | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/SignRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
**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: &#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]
**Who** | **string** | &#x60;m&#x60;: only me, &#x60;mo&#x60;: me and others, &#x60;o&#x60;: only others | [optional] [default to WhoEnum.O]
Expand Down
1 change: 1 addition & 0 deletions docs/SignRequestQuickCreate.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
**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: &#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]
**Who** | **string** | &#x60;m&#x60;: only me, &#x60;mo&#x60;: me and others, &#x60;o&#x60;: only others | [optional] [default to WhoEnum.O]
Expand Down
1 change: 1 addition & 0 deletions docs/Signer.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Name | Type | Description | Notes
**Message** | **string** | | [optional]
**EmbedUrlUserId** | **string** | | [optional]
**Inputs** | [**List&lt;SignerInputs&gt;**](SignerInputs.md) | | [optional]
**UseStampForApproveOnly** | **bool?** | Place an approval stamp on a document when a signer approves a document | [optional]
**EmbedUrl** | **string** | | [optional]
**Attachments** | [**List&lt;SignerAttachment&gt;**](SignerAttachment.md) | | [optional]
**RedirectUrl** | **string** | | [optional]
Expand Down
2 changes: 2 additions & 0 deletions docs/Team.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Name | Type | Description | Notes
**PrimaryColor** | **string** | | [optional]
**EventsCallbackUrl** | **string** | | [optional]
**Members** | [**List&lt;InlineTeamMember&gt;**](InlineTeamMember.md) | | [optional]
**DeleteAfter** | **DateTime?** | When filled this team will be deleted after this date | [optional]
**Sandbox** | **bool?** | Indicates whether team is in Sandbox mode | [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)

65 changes: 65 additions & 0 deletions docs/TeamsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All URIs are relative to *https://signrequest.com/api/v1*
Method | HTTP request | Description
------------- | ------------- | -------------
[**TeamsCreate**](TeamsApi.md#teamscreate) | **POST** /teams/ | Create a Team
[**TeamsDelete**](TeamsApi.md#teamsdelete) | **DELETE** /teams/{subdomain}/ | Delete a Team
[**TeamsInviteMember**](TeamsApi.md#teamsinvitemember) | **POST** /teams/{subdomain}/invite_member/ | Invite a Team Member
[**TeamsList**](TeamsApi.md#teamslist) | **GET** /teams/ | Retrieve a list of Teams
[**TeamsPartialUpdate**](TeamsApi.md#teamspartialupdate) | **PATCH** /teams/{subdomain}/ | Update a Team
Expand Down Expand Up @@ -76,6 +77,70 @@ 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)

<a name="teamsdelete"></a>
# **TeamsDelete**
> void TeamsDelete (string subdomain)
Delete a Team

Required fields are **name** and **subdomain** where the subdomain is globally unique. Use **POST** to create a Team. To update a field on a Team use **PATCH**. To use the API on behalf of a particular team change the endpoint to: *https://_**{{ subdomain }}**.signrequest.com/api/v1/...* To invite new team members you can use **POST** {\"email\":\"**[email protected]**\",\"is_admin\":false,\"is_owner\":false} to: *https://signrequest.com/api/v1/teams/_**{{ subdomain }}**_/invite_member/_*

### Example
```csharp
using System;
using System.Diagnostics;
using SignRequest.Api;
using SignRequest.Client;
using SignRequest.Model;

namespace Example
{
public class TeamsDeleteExample
{
public void main()
{
// Configure API key authorization: Token
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
Configuration.Default.AddApiKeyPrefix("Authorization", "Token");

var apiInstance = new TeamsApi();
var subdomain = subdomain_example; // string |
try
{
// Delete a Team
apiInstance.TeamsDelete(subdomain);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.TeamsDelete: " + e.Message );
}
}
}
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**subdomain** | **string**| |

### 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)

<a name="teamsinvitemember"></a>
# **TeamsInviteMember**
> InviteMember TeamsInviteMember (string subdomain, InviteMember data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@
namespace SignRequest.Test
{
/// <summary>
/// Class for testing ModelEvent
/// Class for testing Event
/// </summary>
/// <remarks>
/// This file is automatically generated by Swagger Codegen.
/// Please update the test case below to test the model.
/// </remarks>
[TestFixture]
public class ModelEventTests
public class EventTests
{
// TODO uncomment below to declare an instance variable for ModelEvent
//private ModelEvent instance;
// TODO uncomment below to declare an instance variable for Event
//private Event instance;

/// <summary>
/// Setup before each test
/// </summary>
[SetUp]
public void Init()
{
// TODO uncomment below to create an instance of ModelEvent
//instance = new ModelEvent();
// TODO uncomment below to create an instance of Event
//instance = new Event();
}

/// <summary>
Expand All @@ -56,13 +56,13 @@ public void Cleanup()
}

/// <summary>
/// Test an instance of ModelEvent
/// Test an instance of Event
/// </summary>
[Test]
public void ModelEventInstanceTest()
public void EventInstanceTest()
{
// TODO uncomment below to test "IsInstanceOfType" ModelEvent
//Assert.IsInstanceOfType<ModelEvent> (instance, "variable 'instance' is a ModelEvent");
// TODO uncomment below to test "IsInstanceOfType" Event
//Assert.IsInstanceOfType<Event> (instance, "variable 'instance' is a Event");
}


Expand Down
2 changes: 1 addition & 1 deletion src/SignRequest.Test/SignRequest.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Contact: [email protected]
<Import Project="$(MsBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<ProjectReference Include="..\SignRequest\SignRequest.csproj">
<Project>{8C6F5E9C-ED26-437A-87ED-4A6F2E35A098}</Project>
<Project>{7C55D80D-01C1-41D9-A66D-B6921DC0997F}</Project>
<Name>SignRequest</Name>
</ProjectReference>
</ItemGroup>
Expand Down
Loading

0 comments on commit cbbd0b9

Please sign in to comment.