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
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.8
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module SignRequestClient
|
16
16
|
class DocumentAttachmentsApi
|
@@ -19,7 +19,6 @@ module SignRequestClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
22
|
# Create a Document Attachment
|
24
23
|
#
|
25
24
|
# @param data
|
@@ -27,7 +26,7 @@ module SignRequestClient
|
|
27
26
|
# @return [DocumentAttachment]
|
28
27
|
def document_attachments_create(data, opts = {})
|
29
28
|
data, _status_code, _headers = document_attachments_create_with_http_info(data, opts)
|
30
|
-
|
29
|
+
data
|
31
30
|
end
|
32
31
|
|
33
32
|
# Create a Document Attachment
|
@@ -37,14 +36,14 @@ module SignRequestClient
|
|
37
36
|
# @return [Array<(DocumentAttachment, Fixnum, Hash)>] DocumentAttachment data, response status code and response headers
|
38
37
|
def document_attachments_create_with_http_info(data, opts = {})
|
39
38
|
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug
|
39
|
+
@api_client.config.logger.debug 'Calling API: DocumentAttachmentsApi.document_attachments_create ...'
|
41
40
|
end
|
42
41
|
# verify the required parameter 'data' is set
|
43
42
|
if @api_client.config.client_side_validation && data.nil?
|
44
43
|
fail ArgumentError, "Missing the required parameter 'data' when calling DocumentAttachmentsApi.document_attachments_create"
|
45
44
|
end
|
46
45
|
# resource path
|
47
|
-
local_var_path =
|
46
|
+
local_var_path = '/document-attachments/'
|
48
47
|
|
49
48
|
# query parameters
|
50
49
|
query_params = {}
|
@@ -74,7 +73,6 @@ module SignRequestClient
|
|
74
73
|
end
|
75
74
|
return data, status_code, headers
|
76
75
|
end
|
77
|
-
|
78
76
|
# Retrieve a list of Document Attachments
|
79
77
|
#
|
80
78
|
# @param [Hash] opts the optional parameters
|
@@ -86,7 +84,7 @@ module SignRequestClient
|
|
86
84
|
# @return [InlineResponse2001]
|
87
85
|
def document_attachments_list(opts = {})
|
88
86
|
data, _status_code, _headers = document_attachments_list_with_http_info(opts)
|
89
|
-
|
87
|
+
data
|
90
88
|
end
|
91
89
|
|
92
90
|
# Retrieve a list of Document Attachments
|
@@ -100,10 +98,10 @@ module SignRequestClient
|
|
100
98
|
# @return [Array<(InlineResponse2001, Fixnum, Hash)>] InlineResponse2001 data, response status code and response headers
|
101
99
|
def document_attachments_list_with_http_info(opts = {})
|
102
100
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug
|
101
|
+
@api_client.config.logger.debug 'Calling API: DocumentAttachmentsApi.document_attachments_list ...'
|
104
102
|
end
|
105
103
|
# resource path
|
106
|
-
local_var_path =
|
104
|
+
local_var_path = '/document-attachments/'
|
107
105
|
|
108
106
|
# query parameters
|
109
107
|
query_params = {}
|
@@ -138,7 +136,6 @@ module SignRequestClient
|
|
138
136
|
end
|
139
137
|
return data, status_code, headers
|
140
138
|
end
|
141
|
-
|
142
139
|
# Retrieve a Document Attachment
|
143
140
|
#
|
144
141
|
# @param uuid
|
@@ -146,7 +143,7 @@ module SignRequestClient
|
|
146
143
|
# @return [DocumentAttachment]
|
147
144
|
def document_attachments_read(uuid, opts = {})
|
148
145
|
data, _status_code, _headers = document_attachments_read_with_http_info(uuid, opts)
|
149
|
-
|
146
|
+
data
|
150
147
|
end
|
151
148
|
|
152
149
|
# Retrieve a Document Attachment
|
@@ -156,14 +153,14 @@ module SignRequestClient
|
|
156
153
|
# @return [Array<(DocumentAttachment, Fixnum, Hash)>] DocumentAttachment data, response status code and response headers
|
157
154
|
def document_attachments_read_with_http_info(uuid, opts = {})
|
158
155
|
if @api_client.config.debugging
|
159
|
-
@api_client.config.logger.debug
|
156
|
+
@api_client.config.logger.debug 'Calling API: DocumentAttachmentsApi.document_attachments_read ...'
|
160
157
|
end
|
161
158
|
# verify the required parameter 'uuid' is set
|
162
159
|
if @api_client.config.client_side_validation && uuid.nil?
|
163
160
|
fail ArgumentError, "Missing the required parameter 'uuid' when calling DocumentAttachmentsApi.document_attachments_read"
|
164
161
|
end
|
165
162
|
# resource path
|
166
|
-
local_var_path =
|
163
|
+
local_var_path = '/document-attachments/{uuid}/'.sub('{' + 'uuid' + '}', uuid.to_s)
|
167
164
|
|
168
165
|
# query parameters
|
169
166
|
query_params = {}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.8
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module SignRequestClient
|
16
16
|
class DocumentsApi
|
@@ -19,7 +19,6 @@ module SignRequestClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
22
|
# Create a Document
|
24
23
|
#
|
25
24
|
# @param data
|
@@ -27,7 +26,7 @@ module SignRequestClient
|
|
27
26
|
# @return [Document]
|
28
27
|
def documents_create(data, opts = {})
|
29
28
|
data, _status_code, _headers = documents_create_with_http_info(data, opts)
|
30
|
-
|
29
|
+
data
|
31
30
|
end
|
32
31
|
|
33
32
|
# Create a Document
|
@@ -37,14 +36,14 @@ module SignRequestClient
|
|
37
36
|
# @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
|
38
37
|
def documents_create_with_http_info(data, opts = {})
|
39
38
|
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug
|
39
|
+
@api_client.config.logger.debug 'Calling API: DocumentsApi.documents_create ...'
|
41
40
|
end
|
42
41
|
# verify the required parameter 'data' is set
|
43
42
|
if @api_client.config.client_side_validation && data.nil?
|
44
43
|
fail ArgumentError, "Missing the required parameter 'data' when calling DocumentsApi.documents_create"
|
45
44
|
end
|
46
45
|
# resource path
|
47
|
-
local_var_path =
|
46
|
+
local_var_path = '/documents/'
|
48
47
|
|
49
48
|
# query parameters
|
50
49
|
query_params = {}
|
@@ -74,7 +73,6 @@ module SignRequestClient
|
|
74
73
|
end
|
75
74
|
return data, status_code, headers
|
76
75
|
end
|
77
|
-
|
78
76
|
# Delete a Document
|
79
77
|
#
|
80
78
|
# @param uuid
|
@@ -82,7 +80,7 @@ module SignRequestClient
|
|
82
80
|
# @return [nil]
|
83
81
|
def documents_delete(uuid, opts = {})
|
84
82
|
documents_delete_with_http_info(uuid, opts)
|
85
|
-
|
83
|
+
nil
|
86
84
|
end
|
87
85
|
|
88
86
|
# Delete a Document
|
@@ -92,14 +90,14 @@ module SignRequestClient
|
|
92
90
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
93
91
|
def documents_delete_with_http_info(uuid, opts = {})
|
94
92
|
if @api_client.config.debugging
|
95
|
-
@api_client.config.logger.debug
|
93
|
+
@api_client.config.logger.debug 'Calling API: DocumentsApi.documents_delete ...'
|
96
94
|
end
|
97
95
|
# verify the required parameter 'uuid' is set
|
98
96
|
if @api_client.config.client_side_validation && uuid.nil?
|
99
97
|
fail ArgumentError, "Missing the required parameter 'uuid' when calling DocumentsApi.documents_delete"
|
100
98
|
end
|
101
99
|
# resource path
|
102
|
-
local_var_path =
|
100
|
+
local_var_path = '/documents/{uuid}/'.sub('{' + 'uuid' + '}', uuid.to_s)
|
103
101
|
|
104
102
|
# query parameters
|
105
103
|
query_params = {}
|
@@ -128,7 +126,6 @@ module SignRequestClient
|
|
128
126
|
end
|
129
127
|
return data, status_code, headers
|
130
128
|
end
|
131
|
-
|
132
129
|
# Retrieve a list of Documents
|
133
130
|
#
|
134
131
|
# @param [Hash] opts the optional parameters
|
@@ -146,7 +143,7 @@ module SignRequestClient
|
|
146
143
|
# @return [InlineResponse2003]
|
147
144
|
def documents_list(opts = {})
|
148
145
|
data, _status_code, _headers = documents_list_with_http_info(opts)
|
149
|
-
|
146
|
+
data
|
150
147
|
end
|
151
148
|
|
152
149
|
# Retrieve a list of Documents
|
@@ -166,10 +163,10 @@ module SignRequestClient
|
|
166
163
|
# @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
|
167
164
|
def documents_list_with_http_info(opts = {})
|
168
165
|
if @api_client.config.debugging
|
169
|
-
@api_client.config.logger.debug
|
166
|
+
@api_client.config.logger.debug 'Calling API: DocumentsApi.documents_list ...'
|
170
167
|
end
|
171
168
|
# resource path
|
172
|
-
local_var_path =
|
169
|
+
local_var_path = '/documents/'
|
173
170
|
|
174
171
|
# query parameters
|
175
172
|
query_params = {}
|
@@ -210,7 +207,6 @@ module SignRequestClient
|
|
210
207
|
end
|
211
208
|
return data, status_code, headers
|
212
209
|
end
|
213
|
-
|
214
210
|
# Retrieve a Document
|
215
211
|
#
|
216
212
|
# @param uuid
|
@@ -218,7 +214,7 @@ module SignRequestClient
|
|
218
214
|
# @return [Document]
|
219
215
|
def documents_read(uuid, opts = {})
|
220
216
|
data, _status_code, _headers = documents_read_with_http_info(uuid, opts)
|
221
|
-
|
217
|
+
data
|
222
218
|
end
|
223
219
|
|
224
220
|
# Retrieve a Document
|
@@ -228,14 +224,14 @@ module SignRequestClient
|
|
228
224
|
# @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
|
229
225
|
def documents_read_with_http_info(uuid, opts = {})
|
230
226
|
if @api_client.config.debugging
|
231
|
-
@api_client.config.logger.debug
|
227
|
+
@api_client.config.logger.debug 'Calling API: DocumentsApi.documents_read ...'
|
232
228
|
end
|
233
229
|
# verify the required parameter 'uuid' is set
|
234
230
|
if @api_client.config.client_side_validation && uuid.nil?
|
235
231
|
fail ArgumentError, "Missing the required parameter 'uuid' when calling DocumentsApi.documents_read"
|
236
232
|
end
|
237
233
|
# resource path
|
238
|
-
local_var_path =
|
234
|
+
local_var_path = '/documents/{uuid}/'.sub('{' + 'uuid' + '}', uuid.to_s)
|
239
235
|
|
240
236
|
# query parameters
|
241
237
|
query_params = {}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.8
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module SignRequestClient
|
16
16
|
class DocumentsSearchApi
|
@@ -19,7 +19,6 @@ module SignRequestClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
22
|
# Search documents
|
24
23
|
# 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.
|
25
24
|
# @param [Hash] opts the optional parameters
|
@@ -37,7 +36,7 @@ module SignRequestClient
|
|
37
36
|
# @return [InlineResponse2002]
|
38
37
|
def documents_search_list(opts = {})
|
39
38
|
data, _status_code, _headers = documents_search_list_with_http_info(opts)
|
40
|
-
|
39
|
+
data
|
41
40
|
end
|
42
41
|
|
43
42
|
# Search documents
|
@@ -57,10 +56,10 @@ module SignRequestClient
|
|
57
56
|
# @return [Array<(InlineResponse2002, Fixnum, Hash)>] InlineResponse2002 data, response status code and response headers
|
58
57
|
def documents_search_list_with_http_info(opts = {})
|
59
58
|
if @api_client.config.debugging
|
60
|
-
@api_client.config.logger.debug
|
59
|
+
@api_client.config.logger.debug 'Calling API: DocumentsSearchApi.documents_search_list ...'
|
61
60
|
end
|
62
61
|
# resource path
|
63
|
-
local_var_path =
|
62
|
+
local_var_path = '/documents-search/'
|
64
63
|
|
65
64
|
# query parameters
|
66
65
|
query_params = {}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.8
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module SignRequestClient
|
16
16
|
class EventsApi
|
@@ -19,7 +19,6 @@ module SignRequestClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
22
|
# Retrieve a list of Events
|
24
23
|
#
|
25
24
|
# @param [Hash] opts the optional parameters
|
@@ -41,7 +40,7 @@ module SignRequestClient
|
|
41
40
|
# @return [InlineResponse2004]
|
42
41
|
def events_list(opts = {})
|
43
42
|
data, _status_code, _headers = events_list_with_http_info(opts)
|
44
|
-
|
43
|
+
data
|
45
44
|
end
|
46
45
|
|
47
46
|
# Retrieve a list of Events
|
@@ -65,10 +64,10 @@ module SignRequestClient
|
|
65
64
|
# @return [Array<(InlineResponse2004, Fixnum, Hash)>] InlineResponse2004 data, response status code and response headers
|
66
65
|
def events_list_with_http_info(opts = {})
|
67
66
|
if @api_client.config.debugging
|
68
|
-
@api_client.config.logger.debug
|
67
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_list ...'
|
69
68
|
end
|
70
69
|
# resource path
|
71
|
-
local_var_path =
|
70
|
+
local_var_path = '/events/'
|
72
71
|
|
73
72
|
# query parameters
|
74
73
|
query_params = {}
|
@@ -113,7 +112,6 @@ module SignRequestClient
|
|
113
112
|
end
|
114
113
|
return data, status_code, headers
|
115
114
|
end
|
116
|
-
|
117
115
|
# Retrieve an Event
|
118
116
|
#
|
119
117
|
# @param id A unique integer value identifying this event.
|
@@ -121,7 +119,7 @@ module SignRequestClient
|
|
121
119
|
# @return [Event]
|
122
120
|
def events_read(id, opts = {})
|
123
121
|
data, _status_code, _headers = events_read_with_http_info(id, opts)
|
124
|
-
|
122
|
+
data
|
125
123
|
end
|
126
124
|
|
127
125
|
# Retrieve an Event
|
@@ -131,14 +129,14 @@ module SignRequestClient
|
|
131
129
|
# @return [Array<(Event, Fixnum, Hash)>] Event data, response status code and response headers
|
132
130
|
def events_read_with_http_info(id, opts = {})
|
133
131
|
if @api_client.config.debugging
|
134
|
-
@api_client.config.logger.debug
|
132
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_read ...'
|
135
133
|
end
|
136
134
|
# verify the required parameter 'id' is set
|
137
135
|
if @api_client.config.client_side_validation && id.nil?
|
138
136
|
fail ArgumentError, "Missing the required parameter 'id' when calling EventsApi.events_read"
|
139
137
|
end
|
140
138
|
# resource path
|
141
|
-
local_var_path =
|
139
|
+
local_var_path = '/events/{id}/'.sub('{' + 'id' + '}', id.to_s)
|
142
140
|
|
143
141
|
# query parameters
|
144
142
|
query_params = {}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.8
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module SignRequestClient
|
16
16
|
class SignrequestQuickCreateApi
|
@@ -19,7 +19,6 @@ module SignRequestClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
22
|
# Quick create a SignRequest
|
24
23
|
#
|
25
24
|
# @param data
|
@@ -27,7 +26,7 @@ module SignRequestClient
|
|
27
26
|
# @return [SignRequestQuickCreate]
|
28
27
|
def signrequest_quick_create_create(data, opts = {})
|
29
28
|
data, _status_code, _headers = signrequest_quick_create_create_with_http_info(data, opts)
|
30
|
-
|
29
|
+
data
|
31
30
|
end
|
32
31
|
|
33
32
|
# Quick create a SignRequest
|
@@ -37,14 +36,14 @@ module SignRequestClient
|
|
37
36
|
# @return [Array<(SignRequestQuickCreate, Fixnum, Hash)>] SignRequestQuickCreate data, response status code and response headers
|
38
37
|
def signrequest_quick_create_create_with_http_info(data, opts = {})
|
39
38
|
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug
|
39
|
+
@api_client.config.logger.debug 'Calling API: SignrequestQuickCreateApi.signrequest_quick_create_create ...'
|
41
40
|
end
|
42
41
|
# verify the required parameter 'data' is set
|
43
42
|
if @api_client.config.client_side_validation && data.nil?
|
44
43
|
fail ArgumentError, "Missing the required parameter 'data' when calling SignrequestQuickCreateApi.signrequest_quick_create_create"
|
45
44
|
end
|
46
45
|
# resource path
|
47
|
-
local_var_path =
|
46
|
+
local_var_path = '/signrequest-quick-create/'
|
48
47
|
|
49
48
|
# query parameters
|
50
49
|
query_params = {}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.8
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module SignRequestClient
|
16
16
|
class SignrequestsApi
|
@@ -19,7 +19,6 @@ module SignRequestClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
22
|
# Cancel a SignRequest
|
24
23
|
#
|
25
24
|
# @param uuid
|
@@ -27,7 +26,7 @@ module SignRequestClient
|
|
27
26
|
# @return [InlineResponse201]
|
28
27
|
def signrequests_cancel_signrequest(uuid, opts = {})
|
29
28
|
data, _status_code, _headers = signrequests_cancel_signrequest_with_http_info(uuid, opts)
|
30
|
-
|
29
|
+
data
|
31
30
|
end
|
32
31
|
|
33
32
|
# Cancel a SignRequest
|
@@ -37,14 +36,14 @@ module SignRequestClient
|
|
37
36
|
# @return [Array<(InlineResponse201, Fixnum, Hash)>] InlineResponse201 data, response status code and response headers
|
38
37
|
def signrequests_cancel_signrequest_with_http_info(uuid, opts = {})
|
39
38
|
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug
|
39
|
+
@api_client.config.logger.debug 'Calling API: SignrequestsApi.signrequests_cancel_signrequest ...'
|
41
40
|
end
|
42
41
|
# verify the required parameter 'uuid' is set
|
43
42
|
if @api_client.config.client_side_validation && uuid.nil?
|
44
43
|
fail ArgumentError, "Missing the required parameter 'uuid' when calling SignrequestsApi.signrequests_cancel_signrequest"
|
45
44
|
end
|
46
45
|
# resource path
|
47
|
-
local_var_path =
|
46
|
+
local_var_path = '/signrequests/{uuid}/cancel_signrequest/'.sub('{' + 'uuid' + '}', uuid.to_s)
|
48
47
|
|
49
48
|
# query parameters
|
50
49
|
query_params = {}
|
@@ -74,7 +73,6 @@ module SignRequestClient
|
|
74
73
|
end
|
75
74
|
return data, status_code, headers
|
76
75
|
end
|
77
|
-
|
78
76
|
# Create a SignRequest
|
79
77
|
#
|
80
78
|
# @param data
|
@@ -82,7 +80,7 @@ module SignRequestClient
|
|
82
80
|
# @return [SignRequest]
|
83
81
|
def signrequests_create(data, opts = {})
|
84
82
|
data, _status_code, _headers = signrequests_create_with_http_info(data, opts)
|
85
|
-
|
83
|
+
data
|
86
84
|
end
|
87
85
|
|
88
86
|
# Create a SignRequest
|
@@ -92,14 +90,14 @@ module SignRequestClient
|
|
92
90
|
# @return [Array<(SignRequest, Fixnum, Hash)>] SignRequest data, response status code and response headers
|
93
91
|
def signrequests_create_with_http_info(data, opts = {})
|
94
92
|
if @api_client.config.debugging
|
95
|
-
@api_client.config.logger.debug
|
93
|
+
@api_client.config.logger.debug 'Calling API: SignrequestsApi.signrequests_create ...'
|
96
94
|
end
|
97
95
|
# verify the required parameter 'data' is set
|
98
96
|
if @api_client.config.client_side_validation && data.nil?
|
99
97
|
fail ArgumentError, "Missing the required parameter 'data' when calling SignrequestsApi.signrequests_create"
|
100
98
|
end
|
101
99
|
# resource path
|
102
|
-
local_var_path =
|
100
|
+
local_var_path = '/signrequests/'
|
103
101
|
|
104
102
|
# query parameters
|
105
103
|
query_params = {}
|
@@ -129,7 +127,6 @@ module SignRequestClient
|
|
129
127
|
end
|
130
128
|
return data, status_code, headers
|
131
129
|
end
|
132
|
-
|
133
130
|
# Retrieve a list of SignRequests
|
134
131
|
#
|
135
132
|
# @param [Hash] opts the optional parameters
|
@@ -140,7 +137,7 @@ module SignRequestClient
|
|
140
137
|
# @return [InlineResponse2005]
|
141
138
|
def signrequests_list(opts = {})
|
142
139
|
data, _status_code, _headers = signrequests_list_with_http_info(opts)
|
143
|
-
|
140
|
+
data
|
144
141
|
end
|
145
142
|
|
146
143
|
# Retrieve a list of SignRequests
|
@@ -153,10 +150,10 @@ module SignRequestClient
|
|
153
150
|
# @return [Array<(InlineResponse2005, Fixnum, Hash)>] InlineResponse2005 data, response status code and response headers
|
154
151
|
def signrequests_list_with_http_info(opts = {})
|
155
152
|
if @api_client.config.debugging
|
156
|
-
@api_client.config.logger.debug
|
153
|
+
@api_client.config.logger.debug 'Calling API: SignrequestsApi.signrequests_list ...'
|
157
154
|
end
|
158
155
|
# resource path
|
159
|
-
local_var_path =
|
156
|
+
local_var_path = '/signrequests/'
|
160
157
|
|
161
158
|
# query parameters
|
162
159
|
query_params = {}
|
@@ -190,7 +187,6 @@ module SignRequestClient
|
|
190
187
|
end
|
191
188
|
return data, status_code, headers
|
192
189
|
end
|
193
|
-
|
194
190
|
# Retrieve a SignRequest
|
195
191
|
#
|
196
192
|
# @param uuid
|
@@ -198,7 +194,7 @@ module SignRequestClient
|
|
198
194
|
# @return [SignRequest]
|
199
195
|
def signrequests_read(uuid, opts = {})
|
200
196
|
data, _status_code, _headers = signrequests_read_with_http_info(uuid, opts)
|
201
|
-
|
197
|
+
data
|
202
198
|
end
|
203
199
|
|
204
200
|
# Retrieve a SignRequest
|
@@ -208,14 +204,14 @@ module SignRequestClient
|
|
208
204
|
# @return [Array<(SignRequest, Fixnum, Hash)>] SignRequest data, response status code and response headers
|
209
205
|
def signrequests_read_with_http_info(uuid, opts = {})
|
210
206
|
if @api_client.config.debugging
|
211
|
-
@api_client.config.logger.debug
|
207
|
+
@api_client.config.logger.debug 'Calling API: SignrequestsApi.signrequests_read ...'
|
212
208
|
end
|
213
209
|
# verify the required parameter 'uuid' is set
|
214
210
|
if @api_client.config.client_side_validation && uuid.nil?
|
215
211
|
fail ArgumentError, "Missing the required parameter 'uuid' when calling SignrequestsApi.signrequests_read"
|
216
212
|
end
|
217
213
|
# resource path
|
218
|
-
local_var_path =
|
214
|
+
local_var_path = '/signrequests/{uuid}/'.sub('{' + 'uuid' + '}', uuid.to_s)
|
219
215
|
|
220
216
|
# query parameters
|
221
217
|
query_params = {}
|
@@ -245,7 +241,6 @@ module SignRequestClient
|
|
245
241
|
end
|
246
242
|
return data, status_code, headers
|
247
243
|
end
|
248
|
-
|
249
244
|
# Resend a SignRequest
|
250
245
|
#
|
251
246
|
# @param uuid
|
@@ -253,7 +248,7 @@ module SignRequestClient
|
|
253
248
|
# @return [InlineResponse2011]
|
254
249
|
def signrequests_resend_signrequest_email(uuid, opts = {})
|
255
250
|
data, _status_code, _headers = signrequests_resend_signrequest_email_with_http_info(uuid, opts)
|
256
|
-
|
251
|
+
data
|
257
252
|
end
|
258
253
|
|
259
254
|
# Resend a SignRequest
|
@@ -263,14 +258,14 @@ module SignRequestClient
|
|
263
258
|
# @return [Array<(InlineResponse2011, Fixnum, Hash)>] InlineResponse2011 data, response status code and response headers
|
264
259
|
def signrequests_resend_signrequest_email_with_http_info(uuid, opts = {})
|
265
260
|
if @api_client.config.debugging
|
266
|
-
@api_client.config.logger.debug
|
261
|
+
@api_client.config.logger.debug 'Calling API: SignrequestsApi.signrequests_resend_signrequest_email ...'
|
267
262
|
end
|
268
263
|
# verify the required parameter 'uuid' is set
|
269
264
|
if @api_client.config.client_side_validation && uuid.nil?
|
270
265
|
fail ArgumentError, "Missing the required parameter 'uuid' when calling SignrequestsApi.signrequests_resend_signrequest_email"
|
271
266
|
end
|
272
267
|
# resource path
|
273
|
-
local_var_path =
|
268
|
+
local_var_path = '/signrequests/{uuid}/resend_signrequest_email/'.sub('{' + 'uuid' + '}', uuid.to_s)
|
274
269
|
|
275
270
|
# query parameters
|
276
271
|
query_params = {}
|