signrequest_client 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -7
- data/Rakefile +0 -1
- data/docs/ApiTokensApi.md +0 -164
- data/docs/Document.md +6 -0
- data/docs/DocumentAttachment.md +1 -1
- data/docs/DocumentAttachmentsApi.md +4 -4
- data/docs/DocumentSearch.md +5 -5
- data/docs/DocumentSigningLog.md +9 -0
- data/docs/DocumentSignrequest.md +28 -0
- data/docs/DocumentTeam.md +10 -0
- data/docs/DocumentsApi.md +11 -11
- data/docs/DocumentsSearchApi.md +8 -8
- data/docs/Event.md +1 -0
- data/docs/EventsApi.md +13 -13
- data/docs/FileFromSf.md +1 -0
- data/docs/InlineResponse201.md +1 -1
- data/docs/InlineSignRequest.md +3 -0
- data/docs/SignRequest.md +4 -1
- data/docs/SignRequestQuickCreate.md +5 -1
- data/docs/Signer.md +3 -0
- data/docs/SignrequestsApi.md +5 -5
- data/docs/Team.md +2 -0
- data/docs/TeamMember.md +1 -0
- data/docs/TeamMembersApi.md +7 -7
- data/docs/TeamsApi.md +57 -3
- data/docs/Template.md +1 -0
- data/docs/TemplatesApi.md +1 -1
- data/docs/WebhookSubscription.md +1 -0
- data/docs/WebhooksApi.md +4 -4
- data/lib/signrequest_client.rb +4 -1
- data/lib/signrequest_client/api/api_tokens_api.rb +5 -170
- data/lib/signrequest_client/api/document_attachments_api.rb +11 -14
- data/lib/signrequest_client/api/documents_api.rb +14 -18
- data/lib/signrequest_client/api/documents_search_api.rb +5 -6
- data/lib/signrequest_client/api/events_api.rb +8 -10
- data/lib/signrequest_client/api/signrequest_quick_create_api.rb +5 -6
- data/lib/signrequest_client/api/signrequests_api.rb +17 -22
- data/lib/signrequest_client/api/team_members_api.rb +8 -10
- data/lib/signrequest_client/api/teams_api.rb +69 -21
- data/lib/signrequest_client/api/templates_api.rb +8 -10
- data/lib/signrequest_client/api/webhooks_api.rb +20 -26
- data/lib/signrequest_client/api_client.rb +9 -9
- data/lib/signrequest_client/api_error.rb +1 -1
- data/lib/signrequest_client/configuration.rb +2 -2
- data/lib/signrequest_client/models/auth_token.rb +16 -23
- data/lib/signrequest_client/models/document.rb +113 -45
- data/lib/signrequest_client/models/document_attachment.rb +17 -25
- data/lib/signrequest_client/models/document_search.rb +111 -122
- data/lib/signrequest_client/models/document_signer_template_conf.rb +14 -21
- data/lib/signrequest_client/models/document_signing_log.rb +209 -0
- data/lib/signrequest_client/models/document_signrequest.rb +538 -0
- data/lib/signrequest_client/models/document_team.rb +240 -0
- data/lib/signrequest_client/models/event.rb +24 -20
- data/lib/signrequest_client/models/file_from_sf.rb +40 -21
- data/lib/signrequest_client/models/inline_document_signer_integration_data.rb +9 -13
- data/lib/signrequest_client/models/inline_integration_data.rb +9 -13
- data/lib/signrequest_client/models/inline_prefill_tags.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200_1.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200_2.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200_3.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200_4.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200_5.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200_6.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200_7.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200_8.rb +8 -13
- data/lib/signrequest_client/models/inline_response_200_9.rb +8 -13
- data/lib/signrequest_client/models/inline_response_201.rb +27 -31
- data/lib/signrequest_client/models/inline_response_201_1.rb +11 -15
- data/lib/signrequest_client/models/inline_sign_request.rb +69 -35
- data/lib/signrequest_client/models/inline_team.rb +12 -19
- data/lib/signrequest_client/models/inline_team_member.rb +8 -14
- data/lib/signrequest_client/models/invite_member.rb +10 -15
- data/lib/signrequest_client/models/placeholder.rb +15 -21
- data/lib/signrequest_client/models/required_attachment.rb +14 -20
- data/lib/signrequest_client/models/sign_request.rb +75 -40
- data/lib/signrequest_client/models/sign_request_quick_create.rb +124 -61
- data/lib/signrequest_client/models/signer.rb +103 -60
- data/lib/signrequest_client/models/signer_attachment.rb +10 -17
- data/lib/signrequest_client/models/signer_inputs.rb +14 -20
- data/lib/signrequest_client/models/signing_log.rb +8 -14
- data/lib/signrequest_client/models/team.rb +55 -34
- data/lib/signrequest_client/models/team_member.rb +18 -15
- data/lib/signrequest_client/models/template.rb +23 -20
- data/lib/signrequest_client/models/user.rb +18 -26
- data/lib/signrequest_client/models/webhook_subscription.rb +33 -30
- data/lib/signrequest_client/version.rb +2 -2
- data/signrequest_client-1.0.0.gem +0 -0
- data/signrequest_client.gemspec +4 -4
- data/spec/models/document_signing_log_spec.rb +47 -0
- data/spec/models/document_signrequest_spec.rb +165 -0
- data/spec/models/document_team_spec.rb +53 -0
- metadata +28 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba5a2bf2d5e9448a5dbdcc0598056afd9ac6d21acdb424a2281797b064f31077
|
4
|
+
data.tar.gz: 19ae33b219d95ee0b2379f05a8ff4736e935712711e7a9dbdf59cfa5a94ea2c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0cb1a8ffebed00918c654e3ba2f2b9ffd2166159c4dd342a2b81c44345f9e485f771ec783b00694a86958be82ec675a059349c1f3fa16959d87518fd5c36c5b
|
7
|
+
data.tar.gz: 94f28073c1cb0a6b44cf0354650a9abcd1dde579de28259655d7e35106e69e3877f5b8d40e6b5787d17653755ebca986e5cbda26b3dd9ea7547781d1bb9f76ca
|
data/README.md
CHANGED
@@ -1,17 +1,24 @@
|
|
1
|
-
# SignRequest
|
1
|
+
# SignRequest Ruby Client
|
2
2
|
|
3
|
-
SignRequestClient - the Ruby
|
3
|
+
SignRequestClient - the offical Ruby client for [SignRequest.com](https://signrequest.com/)
|
4
|
+
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/signrequest_client.svg)](https://badge.fury.io/rb/signrequest_client)
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Add this to the Gemfile:
|
8
10
|
|
9
|
-
gem 'signrequest_client', '~> 1.
|
11
|
+
gem 'signrequest_client', '~> 1.1.0'
|
10
12
|
|
11
13
|
And then run:
|
12
14
|
|
13
15
|
bundle install
|
14
16
|
|
17
|
+
## API Documentation
|
18
|
+
|
19
|
+
Full API documentation, including code samples, can be found here:
|
20
|
+
https://signrequest.com/api/v1/docs/
|
21
|
+
|
15
22
|
## Getting Started
|
16
23
|
|
17
24
|
The client needs to be configured with an API token from your [team api settings page](https://signrequest.com/#/teams).
|
@@ -25,6 +32,7 @@ end
|
|
25
32
|
|
26
33
|
documents_api = SignRequestClient::DocumentsApi.new
|
27
34
|
document = SignRequestClient::Document.new
|
35
|
+
document.file_from_url = 'https://docs.google.com/document/d/1oI2R1SxfMNZXiz3jCQvorpoklF9xq_dCJnOpkI-zo80/edit?usp=sharing'
|
28
36
|
|
29
37
|
begin
|
30
38
|
result = documents_api.documents_create(document)
|
@@ -36,14 +44,11 @@ end
|
|
36
44
|
|
37
45
|
## Documentation for API Endpoints
|
38
46
|
|
39
|
-
All URIs are relative to
|
47
|
+
All URIs are relative to *https://signrequest.com/api/v1*
|
40
48
|
|
41
49
|
Class | Method | HTTP request | Description
|
42
50
|
------------ | ------------- | ------------- | -------------
|
43
|
-
*SignRequestClient::ApiTokensApi* | [**api_tokens_create**](docs/ApiTokensApi.md#api_tokens_create) | **POST** /api-tokens/ | Create an API token
|
44
|
-
*SignRequestClient::ApiTokensApi* | [**api_tokens_delete**](docs/ApiTokensApi.md#api_tokens_delete) | **DELETE** /api-tokens/{key}/ | Delete an API token
|
45
51
|
*SignRequestClient::ApiTokensApi* | [**api_tokens_list**](docs/ApiTokensApi.md#api_tokens_list) | **GET** /api-tokens/ | Retrieve a list of API tokens
|
46
|
-
*SignRequestClient::ApiTokensApi* | [**api_tokens_read**](docs/ApiTokensApi.md#api_tokens_read) | **GET** /api-tokens/{key}/ | Retrieve an API token
|
47
52
|
*SignRequestClient::DocumentAttachmentsApi* | [**document_attachments_create**](docs/DocumentAttachmentsApi.md#document_attachments_create) | **POST** /document-attachments/ | Create a Document Attachment
|
48
53
|
*SignRequestClient::DocumentAttachmentsApi* | [**document_attachments_list**](docs/DocumentAttachmentsApi.md#document_attachments_list) | **GET** /document-attachments/ | Retrieve a list of Document Attachments
|
49
54
|
*SignRequestClient::DocumentAttachmentsApi* | [**document_attachments_read**](docs/DocumentAttachmentsApi.md#document_attachments_read) | **GET** /document-attachments/{uuid}/ | Retrieve a Document Attachment
|
@@ -63,6 +68,7 @@ Class | Method | HTTP request | Description
|
|
63
68
|
*SignRequestClient::TeamMembersApi* | [**team_members_list**](docs/TeamMembersApi.md#team_members_list) | **GET** /team-members/ | Retrieve a list of Team Members
|
64
69
|
*SignRequestClient::TeamMembersApi* | [**team_members_read**](docs/TeamMembersApi.md#team_members_read) | **GET** /team-members/{uuid}/ | Retrieve a Team Member
|
65
70
|
*SignRequestClient::TeamsApi* | [**teams_create**](docs/TeamsApi.md#teams_create) | **POST** /teams/ | Create a Team
|
71
|
+
*SignRequestClient::TeamsApi* | [**teams_delete**](docs/TeamsApi.md#teams_delete) | **DELETE** /teams/{subdomain}/ | Delete a Team
|
66
72
|
*SignRequestClient::TeamsApi* | [**teams_invite_member**](docs/TeamsApi.md#teams_invite_member) | **POST** /teams/{subdomain}/invite_member/ | Invite a Team Member
|
67
73
|
*SignRequestClient::TeamsApi* | [**teams_list**](docs/TeamsApi.md#teams_list) | **GET** /teams/ | Retrieve a list of Teams
|
68
74
|
*SignRequestClient::TeamsApi* | [**teams_partial_update**](docs/TeamsApi.md#teams_partial_update) | **PATCH** /teams/{subdomain}/ | Update a Team
|
@@ -84,6 +90,9 @@ Class | Method | HTTP request | Description
|
|
84
90
|
- [SignRequestClient::DocumentAttachment](docs/DocumentAttachment.md)
|
85
91
|
- [SignRequestClient::DocumentSearch](docs/DocumentSearch.md)
|
86
92
|
- [SignRequestClient::DocumentSignerTemplateConf](docs/DocumentSignerTemplateConf.md)
|
93
|
+
- [SignRequestClient::DocumentSigningLog](docs/DocumentSigningLog.md)
|
94
|
+
- [SignRequestClient::DocumentSignrequest](docs/DocumentSignrequest.md)
|
95
|
+
- [SignRequestClient::DocumentTeam](docs/DocumentTeam.md)
|
87
96
|
- [SignRequestClient::Event](docs/Event.md)
|
88
97
|
- [SignRequestClient::FileFromSf](docs/FileFromSf.md)
|
89
98
|
- [SignRequestClient::InlineDocumentSignerIntegrationData](docs/InlineDocumentSignerIntegrationData.md)
|
@@ -119,3 +128,13 @@ Class | Method | HTTP request | Description
|
|
119
128
|
- [SignRequestClient::User](docs/User.md)
|
120
129
|
- [SignRequestClient::WebhookSubscription](docs/WebhookSubscription.md)
|
121
130
|
|
131
|
+
|
132
|
+
## Documentation for Authorization
|
133
|
+
|
134
|
+
|
135
|
+
### Token
|
136
|
+
|
137
|
+
- **Type**: API key
|
138
|
+
- **API key parameter name**: Authorization
|
139
|
+
- **Location**: HTTP header
|
140
|
+
|
data/Rakefile
CHANGED
data/docs/ApiTokensApi.md
CHANGED
@@ -4,117 +4,7 @@ All URIs are relative to *https://signrequest.com/api/v1*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**api_tokens_create**](ApiTokensApi.md#api_tokens_create) | **POST** /api-tokens/ | Create an API token
|
8
|
-
[**api_tokens_delete**](ApiTokensApi.md#api_tokens_delete) | **DELETE** /api-tokens/{key}/ | Delete an API token
|
9
7
|
[**api_tokens_list**](ApiTokensApi.md#api_tokens_list) | **GET** /api-tokens/ | Retrieve a list of API tokens
|
10
|
-
[**api_tokens_read**](ApiTokensApi.md#api_tokens_read) | **GET** /api-tokens/{key}/ | Retrieve an API token
|
11
|
-
|
12
|
-
|
13
|
-
# **api_tokens_create**
|
14
|
-
> AuthToken api_tokens_create(data)
|
15
|
-
|
16
|
-
Create an API token
|
17
|
-
|
18
|
-
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.
|
19
|
-
|
20
|
-
### Example
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'signrequest_client'
|
24
|
-
# setup authorization
|
25
|
-
SignRequestClient.configure do |config|
|
26
|
-
# Configure API key authorization: Token
|
27
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
28
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
-
#config.api_key_prefix['Authorization'] = 'Bearer'
|
30
|
-
end
|
31
|
-
|
32
|
-
api_instance = SignRequestClient::ApiTokensApi.new
|
33
|
-
|
34
|
-
data = SignRequestClient::AuthToken.new # AuthToken |
|
35
|
-
|
36
|
-
|
37
|
-
begin
|
38
|
-
#Create an API token
|
39
|
-
result = api_instance.api_tokens_create(data)
|
40
|
-
p result
|
41
|
-
rescue SignRequestClient::ApiError => e
|
42
|
-
puts "Exception when calling ApiTokensApi->api_tokens_create: #{e}"
|
43
|
-
end
|
44
|
-
```
|
45
|
-
|
46
|
-
### Parameters
|
47
|
-
|
48
|
-
Name | Type | Description | Notes
|
49
|
-
------------- | ------------- | ------------- | -------------
|
50
|
-
**data** | [**AuthToken**](AuthToken.md)| |
|
51
|
-
|
52
|
-
### Return type
|
53
|
-
|
54
|
-
[**AuthToken**](AuthToken.md)
|
55
|
-
|
56
|
-
### Authorization
|
57
|
-
|
58
|
-
[Token](../README.md#Token)
|
59
|
-
|
60
|
-
### HTTP request headers
|
61
|
-
|
62
|
-
- **Content-Type**: application/json
|
63
|
-
- **Accept**: application/json
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
# **api_tokens_delete**
|
68
|
-
> api_tokens_delete(key)
|
69
|
-
|
70
|
-
Delete an API token
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
### Example
|
75
|
-
```ruby
|
76
|
-
# load the gem
|
77
|
-
require 'signrequest_client'
|
78
|
-
# setup authorization
|
79
|
-
SignRequestClient.configure do |config|
|
80
|
-
# Configure API key authorization: Token
|
81
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
82
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
83
|
-
#config.api_key_prefix['Authorization'] = 'Bearer'
|
84
|
-
end
|
85
|
-
|
86
|
-
api_instance = SignRequestClient::ApiTokensApi.new
|
87
|
-
|
88
|
-
key = "key_example" # String | A unique value identifying this api token.
|
89
|
-
|
90
|
-
|
91
|
-
begin
|
92
|
-
#Delete an API token
|
93
|
-
api_instance.api_tokens_delete(key)
|
94
|
-
rescue SignRequestClient::ApiError => e
|
95
|
-
puts "Exception when calling ApiTokensApi->api_tokens_delete: #{e}"
|
96
|
-
end
|
97
|
-
```
|
98
|
-
|
99
|
-
### Parameters
|
100
|
-
|
101
|
-
Name | Type | Description | Notes
|
102
|
-
------------- | ------------- | ------------- | -------------
|
103
|
-
**key** | **String**| A unique value identifying this api token. |
|
104
|
-
|
105
|
-
### Return type
|
106
|
-
|
107
|
-
nil (empty response body)
|
108
|
-
|
109
|
-
### Authorization
|
110
|
-
|
111
|
-
[Token](../README.md#Token)
|
112
|
-
|
113
|
-
### HTTP request headers
|
114
|
-
|
115
|
-
- **Content-Type**: application/json
|
116
|
-
- **Accept**: application/json
|
117
|
-
|
118
8
|
|
119
9
|
|
120
10
|
# **api_tokens_list**
|
@@ -174,57 +64,3 @@ Name | Type | Description | Notes
|
|
174
64
|
|
175
65
|
|
176
66
|
|
177
|
-
# **api_tokens_read**
|
178
|
-
> AuthToken api_tokens_read(key)
|
179
|
-
|
180
|
-
Retrieve an API token
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
### Example
|
185
|
-
```ruby
|
186
|
-
# load the gem
|
187
|
-
require 'signrequest_client'
|
188
|
-
# setup authorization
|
189
|
-
SignRequestClient.configure do |config|
|
190
|
-
# Configure API key authorization: Token
|
191
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
192
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
193
|
-
#config.api_key_prefix['Authorization'] = 'Bearer'
|
194
|
-
end
|
195
|
-
|
196
|
-
api_instance = SignRequestClient::ApiTokensApi.new
|
197
|
-
|
198
|
-
key = "key_example" # String | A unique value identifying this api token.
|
199
|
-
|
200
|
-
|
201
|
-
begin
|
202
|
-
#Retrieve an API token
|
203
|
-
result = api_instance.api_tokens_read(key)
|
204
|
-
p result
|
205
|
-
rescue SignRequestClient::ApiError => e
|
206
|
-
puts "Exception when calling ApiTokensApi->api_tokens_read: #{e}"
|
207
|
-
end
|
208
|
-
```
|
209
|
-
|
210
|
-
### Parameters
|
211
|
-
|
212
|
-
Name | Type | Description | Notes
|
213
|
-
------------- | ------------- | ------------- | -------------
|
214
|
-
**key** | **String**| A unique value identifying this api token. |
|
215
|
-
|
216
|
-
### Return type
|
217
|
-
|
218
|
-
[**AuthToken**](AuthToken.md)
|
219
|
-
|
220
|
-
### Authorization
|
221
|
-
|
222
|
-
[Token](../README.md#Token)
|
223
|
-
|
224
|
-
### HTTP request headers
|
225
|
-
|
226
|
-
- **Content-Type**: application/json
|
227
|
-
- **Accept**: application/json
|
228
|
-
|
229
|
-
|
230
|
-
|
data/docs/Document.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**url** | **String** | | [optional]
|
7
|
+
**team** | [**DocumentTeam**](DocumentTeam.md) | | [optional]
|
7
8
|
**uuid** | **String** | | [optional]
|
8
9
|
**user** | [**User**](User.md) | | [optional]
|
9
10
|
**file_as_pdf** | **String** | Temporary URL to original file as PDF, expires in five minutes | [optional]
|
@@ -20,11 +21,16 @@ Name | Type | Description | Notes
|
|
20
21
|
**integrations** | [**Array<InlineIntegrationData>**](InlineIntegrationData.md) | | [optional]
|
21
22
|
**file_from_sf** | [**FileFromSf**](FileFromSf.md) | | [optional]
|
22
23
|
**auto_delete_days** | **Integer** | Number of days after which a finished document (signed/cancelled/declined) will be automatically deleted | [optional]
|
24
|
+
**auto_expire_days** | **Integer** | Number of days after which a non finished document will be automatically expired | [optional]
|
23
25
|
**pdf** | **String** | Temporary URL to signed document as PDF, expires in five minutes | [optional]
|
24
26
|
**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]
|
27
|
+
**signrequest** | [**DocumentSignrequest**](DocumentSignrequest.md) | | [optional]
|
25
28
|
**api_used** | **BOOLEAN** | Indicates whether document was created using the API | [optional]
|
29
|
+
**signing_log** | [**DocumentSigningLog**](DocumentSigningLog.md) | | [optional]
|
26
30
|
**security_hash** | **String** | SHA256 hash of PDF contents | [optional]
|
27
31
|
**attachments** | [**Array<DocumentAttachment>**](DocumentAttachment.md) | | [optional]
|
28
32
|
**auto_delete_after** | **DateTime** | Date and time calculated using `auto_delete_days` after which a finished document (signed/cancelled/declined) will be automatically deleted | [optional]
|
33
|
+
**sandbox** | **BOOLEAN** | Indicates whether document was created as part of a sandbox team | [optional]
|
34
|
+
**auto_expire_after** | **DateTime** | Date and time calculated using `auto_expire_days` after which a non finished document will be automatically expired | [optional]
|
29
35
|
|
30
36
|
|
data/docs/DocumentAttachment.md
CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**url** | **String** | | [optional]
|
7
7
|
**uuid** | **String** | | [optional]
|
8
|
-
**name** | **String** | Defaults to filename | [optional]
|
8
|
+
**name** | **String** | Defaults to filename, including extension | [optional]
|
9
9
|
**file** | **String** | Temporary URL to document attachment, expires in five minutes | [optional]
|
10
10
|
**file_from_content** | **String** | Base64 encoded document content | [optional]
|
11
11
|
**file_from_content_name** | **String** | Filename, including extension. Required when using `file_from_content`. | [optional]
|
@@ -85,9 +85,9 @@ end
|
|
85
85
|
api_instance = SignRequestClient::DocumentAttachmentsApi.new
|
86
86
|
|
87
87
|
opts = {
|
88
|
-
document__uuid:
|
89
|
-
document__external_id:
|
90
|
-
created:
|
88
|
+
document__uuid: 'document__uuid_example', # String |
|
89
|
+
document__external_id: 'document__external_id_example', # String |
|
90
|
+
created: 'created_example', # String |
|
91
91
|
page: 56, # Integer | A page number within the paginated result set.
|
92
92
|
limit: 56 # Integer | Number of results to return per page.
|
93
93
|
}
|
@@ -147,7 +147,7 @@ end
|
|
147
147
|
|
148
148
|
api_instance = SignRequestClient::DocumentAttachmentsApi.new
|
149
149
|
|
150
|
-
uuid =
|
150
|
+
uuid = 'uuid_example' # String |
|
151
151
|
|
152
152
|
|
153
153
|
begin
|
data/docs/DocumentSearch.md
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**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]
|
7
|
-
**name** | **String** | Defaults to filename | [optional]
|
8
|
-
**who** | **String** | |
|
9
|
-
**nr_extra_docs** | **Integer** | |
|
10
|
-
**from_email** | **String** | |
|
11
6
|
**uuid** | **String** | | [optional]
|
12
7
|
**created** | **DateTime** | | [optional]
|
8
|
+
**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]
|
9
|
+
**who** | **String** | |
|
10
|
+
**name** | **String** | Defaults to filename | [optional]
|
13
11
|
**autocomplete** | **String** | |
|
12
|
+
**from_email** | **String** | |
|
13
|
+
**nr_extra_docs** | **Integer** | |
|
14
14
|
**signer_emails** | **Array<String>** | | [optional]
|
15
15
|
**status_display** | **String** | | [optional]
|
16
16
|
**created_timestamp** | **Integer** | | [optional]
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# SignRequestClient::DocumentSigningLog
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**pdf** | **String** | Temporary URL to signing log, expires in five minutes | [optional]
|
7
|
+
**security_hash** | **String** | SHA256 hash of PDF contents | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# SignRequestClient::DocumentSignrequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**from_email** | **String** | Email of user sending the SignRequest (must be a validated email) | [optional]
|
7
|
+
**from_email_name** | **String** | Name to be used in the `From` email header, e.g. `{from_email_name} <no-reply@signrequest.com>` | [optional]
|
8
|
+
**is_being_prepared** | **BOOLEAN** | Have the sender of a SignRequest prepare the document before sending the request out, see: [prepare using the web interface](#section/Preparing-a-document/Prepare-using-the-web-interface) | [optional]
|
9
|
+
**prepare_url** | **String** | | [optional]
|
10
|
+
**redirect_url** | **String** | URL at which SignRequest will redirect to when a document is signed | [optional]
|
11
|
+
**redirect_url_declined** | **String** | URL at which SignRequest will redirect to when a document is declined | [optional]
|
12
|
+
**required_attachments** | [**Array<RequiredAttachment>**](RequiredAttachment.md) | | [optional]
|
13
|
+
**disable_attachments** | **BOOLEAN** | Disable uploading/adding of attachments | [optional]
|
14
|
+
**disable_text_signatures** | **BOOLEAN** | Disable usage of signatures generated by typing (text) | [optional]
|
15
|
+
**disable_text** | **BOOLEAN** | Disable adding of text | [optional]
|
16
|
+
**disable_date** | **BOOLEAN** | Disable adding of dates | [optional]
|
17
|
+
**disable_emails** | **BOOLEAN** | Disable all SignRequest status emails as well as the email that contains the signed documents | [optional]
|
18
|
+
**disable_upload_signatures** | **BOOLEAN** | Disable usage of uploaded signatures (images) | [optional]
|
19
|
+
**disable_blockchain_proof** | **BOOLEAN** | Disables storing timestamp proof hashes in blockchain integrations. | [optional]
|
20
|
+
**text_message_verification_locked** | **BOOLEAN** | When true a text message verification is needed before the signer can see the document | [optional]
|
21
|
+
**subject** | **String** | Subject of SignRequest email | [optional]
|
22
|
+
**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]
|
23
|
+
**who** | **String** | `m`: only me, `mo`: me and others, `o`: only others | [optional]
|
24
|
+
**send_reminders** | **BOOLEAN** | Automatically remind signers to sign a document | [optional]
|
25
|
+
**signers** | [**Array<Signer>**](Signer.md) | | [optional]
|
26
|
+
**uuid** | **String** | | [optional]
|
27
|
+
|
28
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# SignRequestClient::DocumentTeam
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | | [optional]
|
7
|
+
**subdomain** | **String** | | [optional]
|
8
|
+
**url** | **String** | | [optional]
|
9
|
+
|
10
|
+
|
data/docs/DocumentsApi.md
CHANGED
@@ -85,7 +85,7 @@ end
|
|
85
85
|
|
86
86
|
api_instance = SignRequestClient::DocumentsApi.new
|
87
87
|
|
88
|
-
uuid =
|
88
|
+
uuid = 'uuid_example' # String |
|
89
89
|
|
90
90
|
|
91
91
|
begin
|
@@ -139,15 +139,15 @@ end
|
|
139
139
|
api_instance = SignRequestClient::DocumentsApi.new
|
140
140
|
|
141
141
|
opts = {
|
142
|
-
external_id:
|
143
|
-
signrequest__who:
|
144
|
-
signrequest__from_email:
|
145
|
-
status:
|
146
|
-
user__email:
|
147
|
-
user__first_name:
|
148
|
-
user__last_name:
|
149
|
-
created:
|
150
|
-
modified:
|
142
|
+
external_id: 'external_id_example', # String |
|
143
|
+
signrequest__who: 'signrequest__who_example', # String |
|
144
|
+
signrequest__from_email: 'signrequest__from_email_example', # String |
|
145
|
+
status: 'status_example', # String |
|
146
|
+
user__email: 'user__email_example', # String |
|
147
|
+
user__first_name: 'user__first_name_example', # String |
|
148
|
+
user__last_name: 'user__last_name_example', # String |
|
149
|
+
created: 'created_example', # String |
|
150
|
+
modified: 'modified_example', # String |
|
151
151
|
page: 56, # Integer | A page number within the paginated result set.
|
152
152
|
limit: 56 # Integer | Number of results to return per page.
|
153
153
|
}
|
@@ -213,7 +213,7 @@ end
|
|
213
213
|
|
214
214
|
api_instance = SignRequestClient::DocumentsApi.new
|
215
215
|
|
216
|
-
uuid =
|
216
|
+
uuid = 'uuid_example' # String |
|
217
217
|
|
218
218
|
|
219
219
|
begin
|