docspring 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.openapi-generator/VERSION +1 -1
- data/CHANGELOG.md +20 -0
- data/Gemfile.lock +2 -7
- data/LICENSE +1 -1
- data/README.md +6 -4
- data/docs/CombinePdfsData.md +4 -4
- data/docs/CombinedSubmissionData.md +3 -3
- data/docs/CopyTemplateData.md +9 -0
- data/docs/CreateSubmissionDataRequestData.md +2 -2
- data/docs/HtmlTemplateData.md +2 -2
- data/docs/MoveTemplateData.md +1 -1
- data/docs/PDFApi.md +53 -1
- data/docs/Submission.md +3 -0
- data/docs/SubmissionBatchData.md +2 -2
- data/docs/SubmissionData.md +4 -4
- data/docs/SubmissionDataBatchRequest.md +2 -2
- data/docs/SubmissionDataRequest.md +1 -0
- data/docs/TemplateData.md +2 -2
- data/docs/TemplatestemplateIdaddFieldsFields.md +9 -9
- data/docs/UpdateSubmissionDataRequestData.md +9 -9
- data/docs/UploadTemplateData.md +2 -2
- data/docspring.gemspec +2 -3
- data/lib/docspring.rb +2 -1
- data/lib/docspring/api/pdf_api.rb +60 -1
- data/lib/docspring/api_client.rb +2 -2
- data/lib/docspring/api_error.rb +1 -1
- data/lib/docspring/configuration.rb +2 -3
- data/lib/docspring/models/add_fields_data.rb +1 -1
- data/lib/docspring/models/add_fields_template_response.rb +1 -1
- data/lib/docspring/models/authentication_error.rb +1 -1
- data/lib/docspring/models/authentication_success_response.rb +1 -1
- data/lib/docspring/models/combine_pdfs_data.rb +28 -28
- data/lib/docspring/models/combined_submission.rb +1 -1
- data/lib/docspring/models/combined_submission_action.rb +1 -6
- data/lib/docspring/models/combined_submission_data.rb +23 -23
- data/lib/docspring/models/copy_template_data.rb +197 -0
- data/lib/docspring/models/create_combined_submission_response.rb +1 -1
- data/lib/docspring/models/create_custom_file_data.rb +1 -1
- data/lib/docspring/models/create_custom_file_response.rb +1 -1
- data/lib/docspring/models/create_folder_data.rb +1 -1
- data/lib/docspring/models/create_html_template_data.rb +1 -1
- data/lib/docspring/models/create_submission_batch_response.rb +1 -1
- data/lib/docspring/models/create_submission_batch_submissions_response.rb +1 -1
- data/lib/docspring/models/create_submission_data_request_data.rb +20 -20
- data/lib/docspring/models/create_submission_data_request_token_response.rb +1 -1
- data/lib/docspring/models/create_submission_data_request_token_response_token.rb +1 -1
- data/lib/docspring/models/create_submission_response.rb +1 -1
- data/lib/docspring/models/create_template_from_upload_data.rb +1 -1
- data/lib/docspring/models/custom_file.rb +1 -1
- data/lib/docspring/models/error.rb +1 -1
- data/lib/docspring/models/folder.rb +1 -1
- data/lib/docspring/models/folders_folder.rb +1 -1
- data/lib/docspring/models/html_template_data.rb +20 -20
- data/lib/docspring/models/invalid_request.rb +1 -1
- data/lib/docspring/models/move_folder_data.rb +1 -1
- data/lib/docspring/models/move_template_data.rb +6 -1
- data/lib/docspring/models/pending_template.rb +1 -1
- data/lib/docspring/models/rename_folder_data.rb +1 -1
- data/lib/docspring/models/submission.rb +32 -5
- data/lib/docspring/models/submission_action.rb +1 -6
- data/lib/docspring/models/submission_batch.rb +1 -1
- data/lib/docspring/models/submission_batch_data.rb +16 -16
- data/lib/docspring/models/submission_data.rb +34 -34
- data/lib/docspring/models/submission_data_batch_request.rb +20 -20
- data/lib/docspring/models/submission_data_request.rb +14 -15
- data/lib/docspring/models/template.rb +1 -1
- data/lib/docspring/models/template_data.rb +20 -20
- data/lib/docspring/models/templatestemplate_idadd_fields_fields.rb +107 -107
- data/lib/docspring/models/update_data_request_response.rb +1 -1
- data/lib/docspring/models/update_submission_data_request_data.rb +79 -79
- data/lib/docspring/models/update_template_data.rb +1 -1
- data/lib/docspring/models/update_template_response.rb +1 -1
- data/lib/docspring/models/upload_template_data.rb +20 -20
- data/lib/docspring/models/upload_template_data_document.rb +1 -1
- data/lib/docspring/models/upload_template_data_document_metadata.rb +1 -1
- data/lib/docspring/version.rb +2 -2
- data/spec/api/pdf_api_spec_original.skipped.rb +16 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/add_fields_data_spec.rb +1 -1
- data/spec/models/add_fields_template_response_spec.rb +1 -1
- data/spec/models/authentication_error_spec.rb +1 -1
- data/spec/models/authentication_success_response_spec.rb +1 -1
- data/spec/models/combine_pdfs_data_spec.rb +5 -5
- data/spec/models/combined_submission_action_spec.rb +1 -1
- data/spec/models/combined_submission_data_spec.rb +5 -5
- data/spec/models/combined_submission_spec.rb +1 -1
- data/spec/models/copy_template_data_spec.rb +47 -0
- data/spec/models/create_combined_submission_response_spec.rb +1 -1
- data/spec/models/create_custom_file_data_spec.rb +1 -1
- data/spec/models/create_custom_file_response_spec.rb +1 -1
- data/spec/models/create_folder_data_spec.rb +1 -1
- data/spec/models/create_html_template_data_spec.rb +1 -1
- data/spec/models/create_submission_batch_response_spec.rb +1 -1
- data/spec/models/create_submission_batch_submissions_response_spec.rb +1 -1
- data/spec/models/create_submission_data_request_data_spec.rb +9 -9
- data/spec/models/create_submission_data_request_token_response_spec.rb +1 -1
- data/spec/models/create_submission_data_request_token_response_token_spec.rb +1 -1
- data/spec/models/create_submission_response_spec.rb +1 -1
- data/spec/models/create_template_from_upload_data_spec.rb +1 -1
- data/spec/models/custom_file_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/folder_spec.rb +1 -1
- data/spec/models/folders_folder_spec.rb +1 -1
- data/spec/models/html_template_data_spec.rb +5 -5
- data/spec/models/invalid_request_spec.rb +1 -1
- data/spec/models/move_folder_data_spec.rb +1 -1
- data/spec/models/move_template_data_spec.rb +1 -1
- data/spec/models/pending_template_spec.rb +1 -1
- data/spec/models/rename_folder_data_spec.rb +1 -1
- data/spec/models/submission_action_spec.rb +1 -1
- data/spec/models/submission_batch_data_spec.rb +3 -3
- data/spec/models/submission_batch_spec.rb +1 -1
- data/spec/models/submission_data_batch_request_spec.rb +5 -5
- data/spec/models/submission_data_request_spec.rb +7 -1
- data/spec/models/submission_data_spec.rb +7 -7
- data/spec/models/submission_spec.rb +19 -1
- data/spec/models/template_data_spec.rb +5 -5
- data/spec/models/template_spec.rb +1 -1
- data/spec/models/templatestemplate_idadd_fields_fields_spec.rb +27 -27
- data/spec/models/update_data_request_response_spec.rb +1 -1
- data/spec/models/update_submission_data_request_data_spec.rb +17 -17
- data/spec/models/update_template_data_spec.rb +1 -1
- data/spec/models/update_template_response_spec.rb +1 -1
- data/spec/models/upload_template_data_document_metadata_spec.rb +1 -1
- data/spec/models/upload_template_data_document_spec.rb +1 -1
- data/spec/models/upload_template_data_spec.rb +6 -6
- data/spec/spec_helper.rb +1 -1
- metadata +11 -27
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 3.3.0
|
9
|
+
OpenAPI Generator version: 3.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,31 +32,35 @@ describe 'UpdateSubmissionDataRequestData' do
|
|
32
32
|
expect(@instance).to be_instance_of(DocSpring::UpdateSubmissionDataRequestData)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "auth_phone_number_hash"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "auth_provider"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "auth_second_factor_type"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["none", "phone_number", "totp", "mobile_push", "security_key", "fingerprint"])
|
51
|
+
# validator.allowable_values.each do |value|
|
52
|
+
# expect { @instance.auth_second_factor_type = value }.not_to raise_error
|
53
|
+
# end
|
50
54
|
end
|
51
55
|
end
|
52
56
|
|
53
|
-
describe 'test attribute "
|
57
|
+
describe 'test attribute "auth_session_id_hash"' do
|
54
58
|
it 'should work' do
|
55
59
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
60
|
end
|
57
61
|
end
|
58
62
|
|
59
|
-
describe 'test attribute "
|
63
|
+
describe 'test attribute "auth_session_started_at"' do
|
60
64
|
it 'should work' do
|
61
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
66
|
end
|
@@ -72,47 +76,43 @@ describe 'UpdateSubmissionDataRequestData' do
|
|
72
76
|
end
|
73
77
|
end
|
74
78
|
|
75
|
-
describe 'test attribute "
|
79
|
+
describe 'test attribute "auth_user_id_hash"' do
|
76
80
|
it 'should work' do
|
77
81
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["none", "phone_number", "totp", "mobile_push", "security_key", "fingerprint"])
|
79
|
-
# validator.allowable_values.each do |value|
|
80
|
-
# expect { @instance.auth_second_factor_type = value }.not_to raise_error
|
81
|
-
# end
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
describe 'test attribute "
|
85
|
+
describe 'test attribute "auth_username_hash"' do
|
86
86
|
it 'should work' do
|
87
87
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
-
describe 'test attribute "
|
91
|
+
describe 'test attribute "email"' do
|
92
92
|
it 'should work' do
|
93
93
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
94
94
|
end
|
95
95
|
end
|
96
96
|
|
97
|
-
describe 'test attribute "
|
97
|
+
describe 'test attribute "fields"' do
|
98
98
|
it 'should work' do
|
99
99
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
103
|
-
describe 'test attribute "
|
103
|
+
describe 'test attribute "metadata"' do
|
104
104
|
it 'should work' do
|
105
105
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
109
|
-
describe 'test attribute "
|
109
|
+
describe 'test attribute "name"' do
|
110
110
|
it 'should work' do
|
111
111
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
115
|
-
describe 'test attribute "
|
115
|
+
describe 'test attribute "order"' do
|
116
116
|
it 'should work' do
|
117
117
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
118
118
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 3.3.0
|
9
|
+
OpenAPI Generator version: 3.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -54,19 +54,19 @@ describe 'UploadTemplateData' do
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
-
describe 'test attribute "
|
57
|
+
describe 'test attribute "allow_additional_properties"' do
|
58
58
|
it 'should work' do
|
59
59
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
-
describe 'test attribute "
|
63
|
+
describe 'test attribute "document"' do
|
64
64
|
it 'should work' do
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
describe 'test attribute "
|
69
|
+
describe 'test attribute "expire_after"' do
|
70
70
|
it 'should work' do
|
71
71
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
72
|
end
|
@@ -120,13 +120,13 @@ describe 'UploadTemplateData' do
|
|
120
120
|
end
|
121
121
|
end
|
122
122
|
|
123
|
-
describe 'test attribute "
|
123
|
+
describe 'test attribute "footer_html"' do
|
124
124
|
it 'should work' do
|
125
125
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
126
126
|
end
|
127
127
|
end
|
128
128
|
|
129
|
-
describe 'test attribute "
|
129
|
+
describe 'test attribute "html"' do
|
130
130
|
it 'should work' do
|
131
131
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
132
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docspring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- DocSpring
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -184,26 +184,6 @@ dependencies:
|
|
184
184
|
- - ">="
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: 0.2.16
|
187
|
-
- !ruby/object:Gem::Dependency
|
188
|
-
name: autotest-fsevent
|
189
|
-
requirement: !ruby/object:Gem::Requirement
|
190
|
-
requirements:
|
191
|
-
- - "~>"
|
192
|
-
- !ruby/object:Gem::Version
|
193
|
-
version: '0.2'
|
194
|
-
- - ">="
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
version: 0.2.15
|
197
|
-
type: :development
|
198
|
-
prerelease: false
|
199
|
-
version_requirements: !ruby/object:Gem::Requirement
|
200
|
-
requirements:
|
201
|
-
- - "~>"
|
202
|
-
- !ruby/object:Gem::Version
|
203
|
-
version: '0.2'
|
204
|
-
- - ">="
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: 0.2.15
|
207
187
|
description: Client library for the DocSpring PDF generation and e-signature service
|
208
188
|
email:
|
209
189
|
- support@docspring.com
|
@@ -230,6 +210,7 @@ files:
|
|
230
210
|
- docs/CombinedSubmission.md
|
231
211
|
- docs/CombinedSubmissionAction.md
|
232
212
|
- docs/CombinedSubmissionData.md
|
213
|
+
- docs/CopyTemplateData.md
|
233
214
|
- docs/CreateCombinedSubmissionResponse.md
|
234
215
|
- docs/CreateCustomFileData.md
|
235
216
|
- docs/CreateCustomFileResponse.md
|
@@ -286,6 +267,7 @@ files:
|
|
286
267
|
- lib/docspring/models/combined_submission.rb
|
287
268
|
- lib/docspring/models/combined_submission_action.rb
|
288
269
|
- lib/docspring/models/combined_submission_data.rb
|
270
|
+
- lib/docspring/models/copy_template_data.rb
|
289
271
|
- lib/docspring/models/create_combined_submission_response.rb
|
290
272
|
- lib/docspring/models/create_custom_file_data.rb
|
291
273
|
- lib/docspring/models/create_custom_file_response.rb
|
@@ -339,6 +321,7 @@ files:
|
|
339
321
|
- spec/models/combined_submission_action_spec.rb
|
340
322
|
- spec/models/combined_submission_data_spec.rb
|
341
323
|
- spec/models/combined_submission_spec.rb
|
324
|
+
- spec/models/copy_template_data_spec.rb
|
342
325
|
- spec/models/create_combined_submission_response_spec.rb
|
343
326
|
- spec/models/create_custom_file_data_spec.rb
|
344
327
|
- spec/models/create_custom_file_response_spec.rb
|
@@ -383,7 +366,7 @@ homepage: https://github.com/DocSpring/docspring-ruby
|
|
383
366
|
licenses:
|
384
367
|
- MIT
|
385
368
|
metadata: {}
|
386
|
-
post_install_message:
|
369
|
+
post_install_message:
|
387
370
|
rdoc_options: []
|
388
371
|
require_paths:
|
389
372
|
- lib
|
@@ -398,8 +381,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
398
381
|
- !ruby/object:Gem::Version
|
399
382
|
version: '0'
|
400
383
|
requirements: []
|
401
|
-
rubygems_version: 3.
|
402
|
-
signing_key:
|
384
|
+
rubygems_version: 3.2.11
|
385
|
+
signing_key:
|
403
386
|
specification_version: 4
|
404
387
|
summary: DocSpring API Client
|
405
388
|
test_files:
|
@@ -416,6 +399,7 @@ test_files:
|
|
416
399
|
- spec/models/combined_submission_action_spec.rb
|
417
400
|
- spec/models/combined_submission_data_spec.rb
|
418
401
|
- spec/models/combined_submission_spec.rb
|
402
|
+
- spec/models/copy_template_data_spec.rb
|
419
403
|
- spec/models/create_combined_submission_response_spec.rb
|
420
404
|
- spec/models/create_custom_file_data_spec.rb
|
421
405
|
- spec/models/create_custom_file_response_spec.rb
|