signrequest_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/LICENSE +21 -0
- data/README.md +122 -0
- data/Rakefile +9 -0
- data/docs/ApiTokensApi.md +226 -0
- data/docs/AuthToken.md +13 -0
- data/docs/Document.md +33 -0
- data/docs/DocumentAttachment.md +15 -0
- data/docs/DocumentAttachmentsApi.md +179 -0
- data/docs/DocumentSearch.md +22 -0
- data/docs/DocumentSignerTemplateConf.md +14 -0
- data/docs/DocumentsApi.md +301 -0
- data/docs/DocumentsSearchApi.md +119 -0
- data/docs/Event.md +17 -0
- data/docs/EventsApi.md +145 -0
- data/docs/FileFromSf.md +9 -0
- data/docs/InlineDocumentSignerIntegrationData.md +9 -0
- data/docs/InlineIntegrationData.md +9 -0
- data/docs/InlinePrefillTags.md +11 -0
- data/docs/InlineResponse200.md +11 -0
- data/docs/InlineResponse2001.md +11 -0
- data/docs/InlineResponse2002.md +11 -0
- data/docs/InlineResponse2003.md +11 -0
- data/docs/InlineResponse2004.md +11 -0
- data/docs/InlineResponse2005.md +11 -0
- data/docs/InlineResponse2006.md +11 -0
- data/docs/InlineResponse2007.md +11 -0
- data/docs/InlineResponse2008.md +11 -0
- data/docs/InlineResponse2009.md +11 -0
- data/docs/InlineSignRequest.md +25 -0
- data/docs/InlineTeam.md +10 -0
- data/docs/InlineTeamMember.md +13 -0
- data/docs/InviteMember.md +10 -0
- data/docs/Placeholder.md +15 -0
- data/docs/RequiredAttachment.md +9 -0
- data/docs/SignRequest.md +29 -0
- data/docs/SignRequestQuickCreate.md +42 -0
- data/docs/Signer.md +40 -0
- data/docs/SignerAttachment.md +11 -0
- data/docs/SignerInputs.md +14 -0
- data/docs/SigningLog.md +9 -0
- data/docs/SignrequestQuickCreateApi.md +62 -0
- data/docs/SignrequestsApi.md +291 -0
- data/docs/Team.md +15 -0
- data/docs/TeamMember.md +14 -0
- data/docs/TeamMembersApi.md +131 -0
- data/docs/TeamsApi.md +344 -0
- data/docs/Template.md +14 -0
- data/docs/TemplatesApi.md +119 -0
- data/docs/User.md +11 -0
- data/docs/WebhookSubscription.md +15 -0
- data/docs/WebhooksApi.md +340 -0
- data/git_push.sh +55 -0
- data/lib/signrequest_client/api/api_tokens_api.rb +242 -0
- data/lib/signrequest_client/api/document_attachments_api.rb +197 -0
- data/lib/signrequest_client/api/documents_api.rb +330 -0
- data/lib/signrequest_client/api/documents_search_api.rb +133 -0
- data/lib/signrequest_client/api/events_api.rb +172 -0
- data/lib/signrequest_client/api/signrequest_quick_create_api.rb +78 -0
- data/lib/signrequest_client/api/signrequests_api.rb +316 -0
- data/lib/signrequest_client/api/team_members_api.rb +151 -0
- data/lib/signrequest_client/api/teams_api.rb +371 -0
- data/lib/signrequest_client/api/templates_api.rb +133 -0
- data/lib/signrequest_client/api/webhooks_api.rb +364 -0
- data/lib/signrequest_client/api_client.rb +389 -0
- data/lib/signrequest_client/api_error.rb +38 -0
- data/lib/signrequest_client/configuration.rb +209 -0
- data/lib/signrequest_client/models/auth_token.rb +298 -0
- data/lib/signrequest_client/models/document.rb +605 -0
- data/lib/signrequest_client/models/document_attachment.rb +304 -0
- data/lib/signrequest_client/models/document_search.rb +519 -0
- data/lib/signrequest_client/models/document_signer_template_conf.rb +294 -0
- data/lib/signrequest_client/models/event.rb +330 -0
- data/lib/signrequest_client/models/file_from_sf.rb +245 -0
- data/lib/signrequest_client/models/inline_document_signer_integration_data.rb +230 -0
- data/lib/signrequest_client/models/inline_integration_data.rb +230 -0
- data/lib/signrequest_client/models/inline_prefill_tags.rb +231 -0
- data/lib/signrequest_client/models/inline_response_200.rb +227 -0
- data/lib/signrequest_client/models/inline_response_200_1.rb +227 -0
- data/lib/signrequest_client/models/inline_response_200_2.rb +227 -0
- data/lib/signrequest_client/models/inline_response_200_3.rb +227 -0
- data/lib/signrequest_client/models/inline_response_200_4.rb +227 -0
- data/lib/signrequest_client/models/inline_response_200_5.rb +227 -0
- data/lib/signrequest_client/models/inline_response_200_6.rb +227 -0
- data/lib/signrequest_client/models/inline_response_200_7.rb +227 -0
- data/lib/signrequest_client/models/inline_response_200_8.rb +227 -0
- data/lib/signrequest_client/models/inline_response_200_9.rb +227 -0
- data/lib/signrequest_client/models/inline_sign_request.rb +496 -0
- data/lib/signrequest_client/models/inline_team.rb +247 -0
- data/lib/signrequest_client/models/inline_team_member.rb +249 -0
- data/lib/signrequest_client/models/invite_member.rb +234 -0
- data/lib/signrequest_client/models/placeholder.rb +326 -0
- data/lib/signrequest_client/models/required_attachment.rb +246 -0
- data/lib/signrequest_client/models/sign_request.rb +543 -0
- data/lib/signrequest_client/models/sign_request_quick_create.rb +764 -0
- data/lib/signrequest_client/models/signer.rb +751 -0
- data/lib/signrequest_client/models/signer_attachment.rb +247 -0
- data/lib/signrequest_client/models/signer_inputs.rb +312 -0
- data/lib/signrequest_client/models/signing_log.rb +213 -0
- data/lib/signrequest_client/models/team.rb +367 -0
- data/lib/signrequest_client/models/team_member.rb +258 -0
- data/lib/signrequest_client/models/template.rb +309 -0
- data/lib/signrequest_client/models/user.rb +296 -0
- data/lib/signrequest_client/models/webhook_subscription.rb +366 -0
- data/lib/signrequest_client/version.rb +15 -0
- data/lib/signrequest_client.rb +87 -0
- data/pkg/signrequest_client-0.1.0.gem +0 -0
- data/signrequest_client.gemspec +45 -0
- data/signrequst_client/.git/HEAD +1 -0
- data/signrequst_client/.git/config +7 -0
- data/signrequst_client/.git/description +1 -0
- data/signrequst_client/.git/hooks/applypatch-msg.sample +15 -0
- data/signrequst_client/.git/hooks/commit-msg.sample +24 -0
- data/signrequst_client/.git/hooks/fsmonitor-watchman.sample +114 -0
- data/signrequst_client/.git/hooks/post-update.sample +8 -0
- data/signrequst_client/.git/hooks/pre-applypatch.sample +14 -0
- data/signrequst_client/.git/hooks/pre-commit.sample +49 -0
- data/signrequst_client/.git/hooks/pre-push.sample +53 -0
- data/signrequst_client/.git/hooks/pre-rebase.sample +169 -0
- data/signrequst_client/.git/hooks/pre-receive.sample +24 -0
- data/signrequst_client/.git/hooks/prepare-commit-msg.sample +42 -0
- data/signrequst_client/.git/hooks/update.sample +128 -0
- data/signrequst_client/.git/index +0 -0
- data/signrequst_client/.git/info/exclude +6 -0
- data/signrequst_client/.git/objects/30/68cc8a074ffc0c7b8891cb21d68b5d367cb8c4 +0 -0
- data/signrequst_client/.git/objects/32/c4b7e9f988621ed2ce28954f1aaf088f340848 +2 -0
- data/signrequst_client/.git/objects/3e/8c4c2f8d1d5334612f3072160124e985f27e8c +0 -0
- data/signrequst_client/.git/objects/43/022f711e20ed55baf2470278eb8e428a04856f +0 -0
- data/signrequst_client/.git/objects/6f/8caa83dfb6dc8a987a2829cbfefae18c8870c3 +0 -0
- data/signrequst_client/.git/objects/91/06b2a345b019a799c02e5069affa88370b35dd +0 -0
- data/signrequst_client/.git/objects/aa/58e53f733551ac2bde6f7a50b5a9f16ddbf110 +0 -0
- data/signrequst_client/.git/objects/dc/e67d860af47a4eb630117ce03624bae45dcf26 +3 -0
- data/signrequst_client/.git/objects/f1/c9171bed4c19fd22429ffd68d4cbb2c3ce2fce +0 -0
- data/signrequst_client/.git/objects/f8/e4c2573ebc57d5a365ebe14d5c18cc8d0716c4 +0 -0
- data/spec/api/api_tokens_api_spec.rb +84 -0
- data/spec/api/document_attachments_api_spec.rb +75 -0
- data/spec/api/documents_api_spec.rb +106 -0
- data/spec/api/documents_search_api_spec.rb +60 -0
- data/spec/api/events_api_spec.rb +73 -0
- data/spec/api/signrequest_quick_create_api_spec.rb +47 -0
- data/spec/api/signrequests_api_spec.rb +100 -0
- data/spec/api/team_members_api_spec.rb +66 -0
- data/spec/api/teams_api_spec.rb +111 -0
- data/spec/api/templates_api_spec.rb +60 -0
- data/spec/api/webhooks_api_spec.rb +110 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/auth_token_spec.rb +72 -0
- data/spec/models/document_attachment_spec.rb +84 -0
- data/spec/models/document_search_spec.rb +126 -0
- data/spec/models/document_signer_template_conf_spec.rb +78 -0
- data/spec/models/document_spec.rb +196 -0
- data/spec/models/event_spec.rb +104 -0
- data/spec/models/file_from_sf_spec.rb +48 -0
- data/spec/models/inline_document_signer_integration_data_spec.rb +52 -0
- data/spec/models/inline_integration_data_spec.rb +52 -0
- data/spec/models/inline_prefill_tags_spec.rb +60 -0
- data/spec/models/inline_response_200_1_spec.rb +60 -0
- data/spec/models/inline_response_200_2_spec.rb +60 -0
- data/spec/models/inline_response_200_3_spec.rb +60 -0
- data/spec/models/inline_response_200_4_spec.rb +60 -0
- data/spec/models/inline_response_200_5_spec.rb +60 -0
- data/spec/models/inline_response_200_6_spec.rb +60 -0
- data/spec/models/inline_response_200_7_spec.rb +60 -0
- data/spec/models/inline_response_200_8_spec.rb +60 -0
- data/spec/models/inline_response_200_9_spec.rb +60 -0
- data/spec/models/inline_response_200_spec.rb +60 -0
- data/spec/models/inline_sign_request_spec.rb +148 -0
- data/spec/models/inline_team_member_spec.rb +72 -0
- data/spec/models/inline_team_spec.rb +54 -0
- data/spec/models/invite_member_spec.rb +54 -0
- data/spec/models/placeholder_spec.rb +88 -0
- data/spec/models/required_attachment_spec.rb +48 -0
- data/spec/models/sign_request_quick_create_spec.rb +254 -0
- data/spec/models/sign_request_spec.rb +176 -0
- data/spec/models/signer_attachment_spec.rb +60 -0
- data/spec/models/signer_inputs_spec.rb +82 -0
- data/spec/models/signer_spec.rb +238 -0
- data/spec/models/signing_log_spec.rb +48 -0
- data/spec/models/team_member_spec.rb +78 -0
- data/spec/models/team_spec.rb +84 -0
- data/spec/models/template_spec.rb +82 -0
- data/spec/models/user_spec.rb +60 -0
- data/spec/models/webhook_subscription_spec.rb +92 -0
- data/spec/spec_helper.rb +111 -0
- metadata +461 -0
@@ -0,0 +1,179 @@
|
|
1
|
+
# SignRequestClient::DocumentAttachmentsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://signrequest.com/api/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**document_attachments_create**](DocumentAttachmentsApi.md#document_attachments_create) | **POST** /document-attachments/ |
|
8
|
+
[**document_attachments_list**](DocumentAttachmentsApi.md#document_attachments_list) | **GET** /document-attachments/ |
|
9
|
+
[**document_attachments_read**](DocumentAttachmentsApi.md#document_attachments_read) | **GET** /document-attachments/{uuid}/ |
|
10
|
+
|
11
|
+
|
12
|
+
# **document_attachments_create**
|
13
|
+
> DocumentAttachment document_attachments_create(data)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
### Example
|
20
|
+
```ruby
|
21
|
+
# load the gem
|
22
|
+
require 'signrequest_client'
|
23
|
+
# setup authorization
|
24
|
+
SignRequestClient.configure do |config|
|
25
|
+
# Configure API key authorization: Token
|
26
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
27
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
28
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = SignRequestClient::DocumentAttachmentsApi.new
|
32
|
+
|
33
|
+
data = SignRequestClient::DocumentAttachment.new # DocumentAttachment |
|
34
|
+
|
35
|
+
|
36
|
+
begin
|
37
|
+
result = api_instance.document_attachments_create(data)
|
38
|
+
p result
|
39
|
+
rescue SignRequestClient::ApiError => e
|
40
|
+
puts "Exception when calling DocumentAttachmentsApi->document_attachments_create: #{e}"
|
41
|
+
end
|
42
|
+
```
|
43
|
+
|
44
|
+
### Parameters
|
45
|
+
|
46
|
+
Name | Type | Description | Notes
|
47
|
+
------------- | ------------- | ------------- | -------------
|
48
|
+
**data** | [**DocumentAttachment**](DocumentAttachment.md)| |
|
49
|
+
|
50
|
+
### Return type
|
51
|
+
|
52
|
+
[**DocumentAttachment**](DocumentAttachment.md)
|
53
|
+
|
54
|
+
### Authorization
|
55
|
+
|
56
|
+
[Token](../README.md#Token)
|
57
|
+
|
58
|
+
### HTTP request headers
|
59
|
+
|
60
|
+
- **Content-Type**: application/json
|
61
|
+
- **Accept**: application/json
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
# **document_attachments_list**
|
66
|
+
> InlineResponse2001 document_attachments_list(opts)
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
### Example
|
73
|
+
```ruby
|
74
|
+
# load the gem
|
75
|
+
require 'signrequest_client'
|
76
|
+
# setup authorization
|
77
|
+
SignRequestClient.configure do |config|
|
78
|
+
# Configure API key authorization: Token
|
79
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
80
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
81
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
82
|
+
end
|
83
|
+
|
84
|
+
api_instance = SignRequestClient::DocumentAttachmentsApi.new
|
85
|
+
|
86
|
+
opts = {
|
87
|
+
document__uuid: "document__uuid_example", # String |
|
88
|
+
document__external_id: "document__external_id_example", # String |
|
89
|
+
created: "created_example", # String |
|
90
|
+
page: 56, # Integer | A page number within the paginated result set.
|
91
|
+
limit: 56 # Integer | Number of results to return per page.
|
92
|
+
}
|
93
|
+
|
94
|
+
begin
|
95
|
+
result = api_instance.document_attachments_list(opts)
|
96
|
+
p result
|
97
|
+
rescue SignRequestClient::ApiError => e
|
98
|
+
puts "Exception when calling DocumentAttachmentsApi->document_attachments_list: #{e}"
|
99
|
+
end
|
100
|
+
```
|
101
|
+
|
102
|
+
### Parameters
|
103
|
+
|
104
|
+
Name | Type | Description | Notes
|
105
|
+
------------- | ------------- | ------------- | -------------
|
106
|
+
**document__uuid** | **String**| | [optional]
|
107
|
+
**document__external_id** | **String**| | [optional]
|
108
|
+
**created** | **String**| | [optional]
|
109
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
110
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
111
|
+
|
112
|
+
### Return type
|
113
|
+
|
114
|
+
[**InlineResponse2001**](InlineResponse2001.md)
|
115
|
+
|
116
|
+
### Authorization
|
117
|
+
|
118
|
+
[Token](../README.md#Token)
|
119
|
+
|
120
|
+
### HTTP request headers
|
121
|
+
|
122
|
+
- **Content-Type**: application/json
|
123
|
+
- **Accept**: application/json
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
# **document_attachments_read**
|
128
|
+
> DocumentAttachment document_attachments_read(uuid)
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
### Example
|
135
|
+
```ruby
|
136
|
+
# load the gem
|
137
|
+
require 'signrequest_client'
|
138
|
+
# setup authorization
|
139
|
+
SignRequestClient.configure do |config|
|
140
|
+
# Configure API key authorization: Token
|
141
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
142
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
143
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
144
|
+
end
|
145
|
+
|
146
|
+
api_instance = SignRequestClient::DocumentAttachmentsApi.new
|
147
|
+
|
148
|
+
uuid = "uuid_example" # String |
|
149
|
+
|
150
|
+
|
151
|
+
begin
|
152
|
+
result = api_instance.document_attachments_read(uuid)
|
153
|
+
p result
|
154
|
+
rescue SignRequestClient::ApiError => e
|
155
|
+
puts "Exception when calling DocumentAttachmentsApi->document_attachments_read: #{e}"
|
156
|
+
end
|
157
|
+
```
|
158
|
+
|
159
|
+
### Parameters
|
160
|
+
|
161
|
+
Name | Type | Description | Notes
|
162
|
+
------------- | ------------- | ------------- | -------------
|
163
|
+
**uuid** | **String**| |
|
164
|
+
|
165
|
+
### Return type
|
166
|
+
|
167
|
+
[**DocumentAttachment**](DocumentAttachment.md)
|
168
|
+
|
169
|
+
### Authorization
|
170
|
+
|
171
|
+
[Token](../README.md#Token)
|
172
|
+
|
173
|
+
### HTTP request headers
|
174
|
+
|
175
|
+
- **Content-Type**: application/json
|
176
|
+
- **Accept**: application/json
|
177
|
+
|
178
|
+
|
179
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# SignRequestClient::DocumentSearch
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**status** | **String** | | [optional]
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
**who** | **String** | |
|
9
|
+
**nr_extra_docs** | **Integer** | |
|
10
|
+
**from_email** | **String** | |
|
11
|
+
**parent_doc** | **String** | |
|
12
|
+
**uuid** | **String** | | [optional]
|
13
|
+
**created** | **DateTime** | | [optional]
|
14
|
+
**autocomplete** | **String** | |
|
15
|
+
**finished_on** | **DateTime** | |
|
16
|
+
**subdomain** | **String** | |
|
17
|
+
**signer_emails** | **Array<String>** | | [optional]
|
18
|
+
**status_display** | **String** | | [optional]
|
19
|
+
**created_timestamp** | **Integer** | | [optional]
|
20
|
+
**finished_on_timestamp** | **Integer** | | [optional]
|
21
|
+
|
22
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# SignRequestClient::DocumentSignerTemplateConf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**signer_index** | **Integer** | | [optional]
|
7
|
+
**needs_to_sign** | **BOOLEAN** | | [optional]
|
8
|
+
**approve_only** | **BOOLEAN** | | [optional]
|
9
|
+
**notify_only** | **BOOLEAN** | | [optional]
|
10
|
+
**in_person** | **BOOLEAN** | | [optional]
|
11
|
+
**order** | **Integer** | | [optional]
|
12
|
+
**placeholders** | [**Array<Placeholder>**](Placeholder.md) | | [optional]
|
13
|
+
|
14
|
+
|
@@ -0,0 +1,301 @@
|
|
1
|
+
# SignRequestClient::DocumentsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://signrequest.com/api/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**documents_create**](DocumentsApi.md#documents_create) | **POST** /documents/ |
|
8
|
+
[**documents_delete**](DocumentsApi.md#documents_delete) | **DELETE** /documents/{uuid}/ |
|
9
|
+
[**documents_delete_files**](DocumentsApi.md#documents_delete_files) | **POST** /documents/{uuid}/delete_files/ |
|
10
|
+
[**documents_list**](DocumentsApi.md#documents_list) | **GET** /documents/ |
|
11
|
+
[**documents_read**](DocumentsApi.md#documents_read) | **GET** /documents/{uuid}/ |
|
12
|
+
|
13
|
+
|
14
|
+
# **documents_create**
|
15
|
+
> Document documents_create(data)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
### Example
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'signrequest_client'
|
25
|
+
# setup authorization
|
26
|
+
SignRequestClient.configure do |config|
|
27
|
+
# Configure API key authorization: Token
|
28
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
29
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
30
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = SignRequestClient::DocumentsApi.new
|
34
|
+
|
35
|
+
data = SignRequestClient::Document.new # Document |
|
36
|
+
|
37
|
+
|
38
|
+
begin
|
39
|
+
result = api_instance.documents_create(data)
|
40
|
+
p result
|
41
|
+
rescue SignRequestClient::ApiError => e
|
42
|
+
puts "Exception when calling DocumentsApi->documents_create: #{e}"
|
43
|
+
end
|
44
|
+
```
|
45
|
+
|
46
|
+
### Parameters
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**data** | [**Document**](Document.md)| |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**Document**](Document.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
|
+
# **documents_delete**
|
68
|
+
> documents_delete(uuid)
|
69
|
+
|
70
|
+
|
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::DocumentsApi.new
|
87
|
+
|
88
|
+
uuid = "uuid_example" # String |
|
89
|
+
|
90
|
+
|
91
|
+
begin
|
92
|
+
api_instance.documents_delete(uuid)
|
93
|
+
rescue SignRequestClient::ApiError => e
|
94
|
+
puts "Exception when calling DocumentsApi->documents_delete: #{e}"
|
95
|
+
end
|
96
|
+
```
|
97
|
+
|
98
|
+
### Parameters
|
99
|
+
|
100
|
+
Name | Type | Description | Notes
|
101
|
+
------------- | ------------- | ------------- | -------------
|
102
|
+
**uuid** | **String**| |
|
103
|
+
|
104
|
+
### Return type
|
105
|
+
|
106
|
+
nil (empty response body)
|
107
|
+
|
108
|
+
### Authorization
|
109
|
+
|
110
|
+
[Token](../README.md#Token)
|
111
|
+
|
112
|
+
### HTTP request headers
|
113
|
+
|
114
|
+
- **Content-Type**: application/json
|
115
|
+
- **Accept**: application/json
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
# **documents_delete_files**
|
120
|
+
> Document documents_delete_files(uuid, data)
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
This is only for integration partners
|
125
|
+
|
126
|
+
### Example
|
127
|
+
```ruby
|
128
|
+
# load the gem
|
129
|
+
require 'signrequest_client'
|
130
|
+
# setup authorization
|
131
|
+
SignRequestClient.configure do |config|
|
132
|
+
# Configure API key authorization: Token
|
133
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
134
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
135
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
136
|
+
end
|
137
|
+
|
138
|
+
api_instance = SignRequestClient::DocumentsApi.new
|
139
|
+
|
140
|
+
uuid = "uuid_example" # String |
|
141
|
+
|
142
|
+
data = SignRequestClient::Document.new # Document |
|
143
|
+
|
144
|
+
|
145
|
+
begin
|
146
|
+
result = api_instance.documents_delete_files(uuid, data)
|
147
|
+
p result
|
148
|
+
rescue SignRequestClient::ApiError => e
|
149
|
+
puts "Exception when calling DocumentsApi->documents_delete_files: #{e}"
|
150
|
+
end
|
151
|
+
```
|
152
|
+
|
153
|
+
### Parameters
|
154
|
+
|
155
|
+
Name | Type | Description | Notes
|
156
|
+
------------- | ------------- | ------------- | -------------
|
157
|
+
**uuid** | **String**| |
|
158
|
+
**data** | [**Document**](Document.md)| |
|
159
|
+
|
160
|
+
### Return type
|
161
|
+
|
162
|
+
[**Document**](Document.md)
|
163
|
+
|
164
|
+
### Authorization
|
165
|
+
|
166
|
+
[Token](../README.md#Token)
|
167
|
+
|
168
|
+
### HTTP request headers
|
169
|
+
|
170
|
+
- **Content-Type**: application/json
|
171
|
+
- **Accept**: application/json
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
# **documents_list**
|
176
|
+
> InlineResponse2003 documents_list(opts)
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
### Example
|
183
|
+
```ruby
|
184
|
+
# load the gem
|
185
|
+
require 'signrequest_client'
|
186
|
+
# setup authorization
|
187
|
+
SignRequestClient.configure do |config|
|
188
|
+
# Configure API key authorization: Token
|
189
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
190
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
191
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
192
|
+
end
|
193
|
+
|
194
|
+
api_instance = SignRequestClient::DocumentsApi.new
|
195
|
+
|
196
|
+
opts = {
|
197
|
+
external_id: "external_id_example", # String |
|
198
|
+
signrequest__who: "signrequest__who_example", # String |
|
199
|
+
signrequest__from_email: "signrequest__from_email_example", # String |
|
200
|
+
status: "status_example", # String |
|
201
|
+
user__email: "user__email_example", # String |
|
202
|
+
user__first_name: "user__first_name_example", # String |
|
203
|
+
user__last_name: "user__last_name_example", # String |
|
204
|
+
created: "created_example", # String |
|
205
|
+
modified: "modified_example", # String |
|
206
|
+
page: 56, # Integer | A page number within the paginated result set.
|
207
|
+
limit: 56 # Integer | Number of results to return per page.
|
208
|
+
}
|
209
|
+
|
210
|
+
begin
|
211
|
+
result = api_instance.documents_list(opts)
|
212
|
+
p result
|
213
|
+
rescue SignRequestClient::ApiError => e
|
214
|
+
puts "Exception when calling DocumentsApi->documents_list: #{e}"
|
215
|
+
end
|
216
|
+
```
|
217
|
+
|
218
|
+
### Parameters
|
219
|
+
|
220
|
+
Name | Type | Description | Notes
|
221
|
+
------------- | ------------- | ------------- | -------------
|
222
|
+
**external_id** | **String**| | [optional]
|
223
|
+
**signrequest__who** | **String**| | [optional]
|
224
|
+
**signrequest__from_email** | **String**| | [optional]
|
225
|
+
**status** | **String**| | [optional]
|
226
|
+
**user__email** | **String**| | [optional]
|
227
|
+
**user__first_name** | **String**| | [optional]
|
228
|
+
**user__last_name** | **String**| | [optional]
|
229
|
+
**created** | **String**| | [optional]
|
230
|
+
**modified** | **String**| | [optional]
|
231
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
232
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
233
|
+
|
234
|
+
### Return type
|
235
|
+
|
236
|
+
[**InlineResponse2003**](InlineResponse2003.md)
|
237
|
+
|
238
|
+
### Authorization
|
239
|
+
|
240
|
+
[Token](../README.md#Token)
|
241
|
+
|
242
|
+
### HTTP request headers
|
243
|
+
|
244
|
+
- **Content-Type**: application/json
|
245
|
+
- **Accept**: application/json
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
# **documents_read**
|
250
|
+
> Document documents_read(uuid)
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
### Example
|
257
|
+
```ruby
|
258
|
+
# load the gem
|
259
|
+
require 'signrequest_client'
|
260
|
+
# setup authorization
|
261
|
+
SignRequestClient.configure do |config|
|
262
|
+
# Configure API key authorization: Token
|
263
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
264
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
265
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
266
|
+
end
|
267
|
+
|
268
|
+
api_instance = SignRequestClient::DocumentsApi.new
|
269
|
+
|
270
|
+
uuid = "uuid_example" # String |
|
271
|
+
|
272
|
+
|
273
|
+
begin
|
274
|
+
result = api_instance.documents_read(uuid)
|
275
|
+
p result
|
276
|
+
rescue SignRequestClient::ApiError => e
|
277
|
+
puts "Exception when calling DocumentsApi->documents_read: #{e}"
|
278
|
+
end
|
279
|
+
```
|
280
|
+
|
281
|
+
### Parameters
|
282
|
+
|
283
|
+
Name | Type | Description | Notes
|
284
|
+
------------- | ------------- | ------------- | -------------
|
285
|
+
**uuid** | **String**| |
|
286
|
+
|
287
|
+
### Return type
|
288
|
+
|
289
|
+
[**Document**](Document.md)
|
290
|
+
|
291
|
+
### Authorization
|
292
|
+
|
293
|
+
[Token](../README.md#Token)
|
294
|
+
|
295
|
+
### HTTP request headers
|
296
|
+
|
297
|
+
- **Content-Type**: application/json
|
298
|
+
- **Accept**: application/json
|
299
|
+
|
300
|
+
|
301
|
+
|
@@ -0,0 +1,119 @@
|
|
1
|
+
# SignRequestClient::DocumentsSearchApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://signrequest.com/api/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**documents_search_list**](DocumentsSearchApi.md#documents_search_list) | **GET** /documents-search/ |
|
8
|
+
[**documents_search_read**](DocumentsSearchApi.md#documents_search_read) | **GET** /documents-search/{id}/ |
|
9
|
+
|
10
|
+
|
11
|
+
# **documents_search_list**
|
12
|
+
> InlineResponse2002 documents_search_list(opts)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
## Search interface for fast (autocomplete) searching of documents. This can be useful to have your users search for a document in your interface. Document names are tokenized on whitespace, hyphens and underscores to also match partial document names. *Normal search:* - ?**q**={{query}} *Autocomplete search:* - ?**autocomplete**={{partial query}} *Search in document name:* - ?**name**={{query}} *Available (extra) filters:* - ?**subdomain**={{ team_subdomain }} or use this endpoint with team_subdomain.signrequest.com (when not provided only personal documents are shown) - ?**signer_emails**={{ signer@email.com }} (will filter documents that an email needed to sign/approve) - ?**status**={{ si }} - ?**who**={{ mo }} To include multiple values for a filter field separate the values with a pipe (|). For example to only search for completed documents use **status=se|vi** (sent and viewed). *Pagination:* - ?**page**={{ page_number: default 1 }} - ?**limit**={{ limit results: default 10, max 100 }} *Format:* By default json is returned, to export data as csv or xls use the format parameter. - ?**format**=csv - ?**format**=xls For csv and xls the data can also be exported with each signer on a separate row. In this mode also the signer inputs that have an *external_id* specified on a tag will be exported. All external_id's found will be exported as columns. To use this mode add the **signer_data** parameter. - ?**format**=csv&**signer_data**=1 - ?**format**=xls&**signer_data**=1 Note that all documents are only ordered by **created** (newest first) when **q**, **autocomplete** or **name** are not used, else they are ordered by the strenght of the match.
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'signrequest_client'
|
22
|
+
# setup authorization
|
23
|
+
SignRequestClient.configure do |config|
|
24
|
+
# Configure API key authorization: Token
|
25
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
26
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
28
|
+
end
|
29
|
+
|
30
|
+
api_instance = SignRequestClient::DocumentsSearchApi.new
|
31
|
+
|
32
|
+
opts = {
|
33
|
+
page: 56, # Integer | A page number within the paginated result set.
|
34
|
+
limit: 56 # Integer | Number of results to return per page.
|
35
|
+
}
|
36
|
+
|
37
|
+
begin
|
38
|
+
result = api_instance.documents_search_list(opts)
|
39
|
+
p result
|
40
|
+
rescue SignRequestClient::ApiError => e
|
41
|
+
puts "Exception when calling DocumentsSearchApi->documents_search_list: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
Name | Type | Description | Notes
|
48
|
+
------------- | ------------- | ------------- | -------------
|
49
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
50
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**InlineResponse2002**](InlineResponse2002.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, text/csv, application/vnd.ms-excel
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
# **documents_search_read**
|
68
|
+
> DocumentSearch documents_search_read(id)
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
## Search interface for fast (autocomplete) searching of documents. This can be useful to have your users search for a document in your interface. Document names are tokenized on whitespace, hyphens and underscores to also match partial document names. *Normal search:* - ?**q**={{query}} *Autocomplete search:* - ?**autocomplete**={{partial query}} *Search in document name:* - ?**name**={{query}} *Available (extra) filters:* - ?**subdomain**={{ team_subdomain }} or use this endpoint with team_subdomain.signrequest.com (when not provided only personal documents are shown) - ?**signer_emails**={{ signer@email.com }} (will filter documents that an email needed to sign/approve) - ?**status**={{ si }} - ?**who**={{ mo }} To include multiple values for a filter field separate the values with a pipe (|). For example to only search for completed documents use **status=se|vi** (sent and viewed). *Pagination:* - ?**page**={{ page_number: default 1 }} - ?**limit**={{ limit results: default 10, max 100 }} *Format:* By default json is returned, to export data as csv or xls use the format parameter. - ?**format**=csv - ?**format**=xls For csv and xls the data can also be exported with each signer on a separate row. In this mode also the signer inputs that have an *external_id* specified on a tag will be exported. All external_id's found will be exported as columns. To use this mode add the **signer_data** parameter. - ?**format**=csv&**signer_data**=1 - ?**format**=xls&**signer_data**=1 Note that all documents are only ordered by **created** (newest first) when **q**, **autocomplete** or **name** are not used, else they are ordered by the strenght of the match.
|
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::DocumentsSearchApi.new
|
87
|
+
|
88
|
+
id = "id_example" # String |
|
89
|
+
|
90
|
+
|
91
|
+
begin
|
92
|
+
result = api_instance.documents_search_read(id)
|
93
|
+
p result
|
94
|
+
rescue SignRequestClient::ApiError => e
|
95
|
+
puts "Exception when calling DocumentsSearchApi->documents_search_read: #{e}"
|
96
|
+
end
|
97
|
+
```
|
98
|
+
|
99
|
+
### Parameters
|
100
|
+
|
101
|
+
Name | Type | Description | Notes
|
102
|
+
------------- | ------------- | ------------- | -------------
|
103
|
+
**id** | **String**| |
|
104
|
+
|
105
|
+
### Return type
|
106
|
+
|
107
|
+
[**DocumentSearch**](DocumentSearch.md)
|
108
|
+
|
109
|
+
### Authorization
|
110
|
+
|
111
|
+
[Token](../README.md#Token)
|
112
|
+
|
113
|
+
### HTTP request headers
|
114
|
+
|
115
|
+
- **Content-Type**: application/json
|
116
|
+
- **Accept**: application/json, text/csv, application/vnd.ms-excel
|
117
|
+
|
118
|
+
|
119
|
+
|
data/docs/Event.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# SignRequestClient::Event
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**uuid** | **String** | | [optional]
|
7
|
+
**status** | **String** | | [optional]
|
8
|
+
**event_type** | **String** | | [optional]
|
9
|
+
**delivered** | **BOOLEAN** | | [optional]
|
10
|
+
**delivered_on** | **DateTime** | | [optional]
|
11
|
+
**callback_status_code** | **Integer** | | [optional]
|
12
|
+
**timestamp** | **DateTime** | | [optional]
|
13
|
+
**team** | [**InlineTeam**](InlineTeam.md) | | [optional]
|
14
|
+
**document** | [**Document**](Document.md) | | [optional]
|
15
|
+
**signer** | [**Signer**](Signer.md) | | [optional]
|
16
|
+
|
17
|
+
|