docspring 1.2.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-generator/VERSION +1 -1
  3. data/CHANGELOG.md +20 -0
  4. data/Gemfile.lock +2 -7
  5. data/LICENSE +1 -1
  6. data/README.md +6 -4
  7. data/docs/CombinePdfsData.md +4 -4
  8. data/docs/CombinedSubmissionData.md +3 -3
  9. data/docs/CopyTemplateData.md +9 -0
  10. data/docs/CreateSubmissionDataRequestData.md +2 -2
  11. data/docs/HtmlTemplateData.md +2 -2
  12. data/docs/MoveTemplateData.md +1 -1
  13. data/docs/PDFApi.md +53 -1
  14. data/docs/Submission.md +3 -0
  15. data/docs/SubmissionBatchData.md +2 -2
  16. data/docs/SubmissionData.md +4 -4
  17. data/docs/SubmissionDataBatchRequest.md +2 -2
  18. data/docs/SubmissionDataRequest.md +1 -0
  19. data/docs/TemplateData.md +2 -2
  20. data/docs/TemplatestemplateIdaddFieldsFields.md +9 -9
  21. data/docs/UpdateSubmissionDataRequestData.md +9 -9
  22. data/docs/UploadTemplateData.md +2 -2
  23. data/docspring.gemspec +2 -3
  24. data/lib/docspring.rb +2 -1
  25. data/lib/docspring/api/pdf_api.rb +60 -1
  26. data/lib/docspring/api_client.rb +2 -2
  27. data/lib/docspring/api_error.rb +1 -1
  28. data/lib/docspring/configuration.rb +2 -3
  29. data/lib/docspring/models/add_fields_data.rb +1 -1
  30. data/lib/docspring/models/add_fields_template_response.rb +1 -1
  31. data/lib/docspring/models/authentication_error.rb +1 -1
  32. data/lib/docspring/models/authentication_success_response.rb +1 -1
  33. data/lib/docspring/models/combine_pdfs_data.rb +28 -28
  34. data/lib/docspring/models/combined_submission.rb +1 -1
  35. data/lib/docspring/models/combined_submission_action.rb +1 -6
  36. data/lib/docspring/models/combined_submission_data.rb +23 -23
  37. data/lib/docspring/models/copy_template_data.rb +197 -0
  38. data/lib/docspring/models/create_combined_submission_response.rb +1 -1
  39. data/lib/docspring/models/create_custom_file_data.rb +1 -1
  40. data/lib/docspring/models/create_custom_file_response.rb +1 -1
  41. data/lib/docspring/models/create_folder_data.rb +1 -1
  42. data/lib/docspring/models/create_html_template_data.rb +1 -1
  43. data/lib/docspring/models/create_submission_batch_response.rb +1 -1
  44. data/lib/docspring/models/create_submission_batch_submissions_response.rb +1 -1
  45. data/lib/docspring/models/create_submission_data_request_data.rb +20 -20
  46. data/lib/docspring/models/create_submission_data_request_token_response.rb +1 -1
  47. data/lib/docspring/models/create_submission_data_request_token_response_token.rb +1 -1
  48. data/lib/docspring/models/create_submission_response.rb +1 -1
  49. data/lib/docspring/models/create_template_from_upload_data.rb +1 -1
  50. data/lib/docspring/models/custom_file.rb +1 -1
  51. data/lib/docspring/models/error.rb +1 -1
  52. data/lib/docspring/models/folder.rb +1 -1
  53. data/lib/docspring/models/folders_folder.rb +1 -1
  54. data/lib/docspring/models/html_template_data.rb +20 -20
  55. data/lib/docspring/models/invalid_request.rb +1 -1
  56. data/lib/docspring/models/move_folder_data.rb +1 -1
  57. data/lib/docspring/models/move_template_data.rb +6 -1
  58. data/lib/docspring/models/pending_template.rb +1 -1
  59. data/lib/docspring/models/rename_folder_data.rb +1 -1
  60. data/lib/docspring/models/submission.rb +32 -5
  61. data/lib/docspring/models/submission_action.rb +1 -6
  62. data/lib/docspring/models/submission_batch.rb +1 -1
  63. data/lib/docspring/models/submission_batch_data.rb +16 -16
  64. data/lib/docspring/models/submission_data.rb +34 -34
  65. data/lib/docspring/models/submission_data_batch_request.rb +20 -20
  66. data/lib/docspring/models/submission_data_request.rb +14 -15
  67. data/lib/docspring/models/template.rb +1 -1
  68. data/lib/docspring/models/template_data.rb +20 -20
  69. data/lib/docspring/models/templatestemplate_idadd_fields_fields.rb +107 -107
  70. data/lib/docspring/models/update_data_request_response.rb +1 -1
  71. data/lib/docspring/models/update_submission_data_request_data.rb +79 -79
  72. data/lib/docspring/models/update_template_data.rb +1 -1
  73. data/lib/docspring/models/update_template_response.rb +1 -1
  74. data/lib/docspring/models/upload_template_data.rb +20 -20
  75. data/lib/docspring/models/upload_template_data_document.rb +1 -1
  76. data/lib/docspring/models/upload_template_data_document_metadata.rb +1 -1
  77. data/lib/docspring/version.rb +2 -2
  78. data/spec/api/pdf_api_spec_original.skipped.rb +16 -2
  79. data/spec/api_client_spec.rb +1 -1
  80. data/spec/configuration_spec.rb +1 -1
  81. data/spec/models/add_fields_data_spec.rb +1 -1
  82. data/spec/models/add_fields_template_response_spec.rb +1 -1
  83. data/spec/models/authentication_error_spec.rb +1 -1
  84. data/spec/models/authentication_success_response_spec.rb +1 -1
  85. data/spec/models/combine_pdfs_data_spec.rb +5 -5
  86. data/spec/models/combined_submission_action_spec.rb +1 -1
  87. data/spec/models/combined_submission_data_spec.rb +5 -5
  88. data/spec/models/combined_submission_spec.rb +1 -1
  89. data/spec/models/copy_template_data_spec.rb +47 -0
  90. data/spec/models/create_combined_submission_response_spec.rb +1 -1
  91. data/spec/models/create_custom_file_data_spec.rb +1 -1
  92. data/spec/models/create_custom_file_response_spec.rb +1 -1
  93. data/spec/models/create_folder_data_spec.rb +1 -1
  94. data/spec/models/create_html_template_data_spec.rb +1 -1
  95. data/spec/models/create_submission_batch_response_spec.rb +1 -1
  96. data/spec/models/create_submission_batch_submissions_response_spec.rb +1 -1
  97. data/spec/models/create_submission_data_request_data_spec.rb +9 -9
  98. data/spec/models/create_submission_data_request_token_response_spec.rb +1 -1
  99. data/spec/models/create_submission_data_request_token_response_token_spec.rb +1 -1
  100. data/spec/models/create_submission_response_spec.rb +1 -1
  101. data/spec/models/create_template_from_upload_data_spec.rb +1 -1
  102. data/spec/models/custom_file_spec.rb +1 -1
  103. data/spec/models/error_spec.rb +1 -1
  104. data/spec/models/folder_spec.rb +1 -1
  105. data/spec/models/folders_folder_spec.rb +1 -1
  106. data/spec/models/html_template_data_spec.rb +5 -5
  107. data/spec/models/invalid_request_spec.rb +1 -1
  108. data/spec/models/move_folder_data_spec.rb +1 -1
  109. data/spec/models/move_template_data_spec.rb +1 -1
  110. data/spec/models/pending_template_spec.rb +1 -1
  111. data/spec/models/rename_folder_data_spec.rb +1 -1
  112. data/spec/models/submission_action_spec.rb +1 -1
  113. data/spec/models/submission_batch_data_spec.rb +3 -3
  114. data/spec/models/submission_batch_spec.rb +1 -1
  115. data/spec/models/submission_data_batch_request_spec.rb +5 -5
  116. data/spec/models/submission_data_request_spec.rb +7 -1
  117. data/spec/models/submission_data_spec.rb +7 -7
  118. data/spec/models/submission_spec.rb +19 -1
  119. data/spec/models/template_data_spec.rb +5 -5
  120. data/spec/models/template_spec.rb +1 -1
  121. data/spec/models/templatestemplate_idadd_fields_fields_spec.rb +27 -27
  122. data/spec/models/update_data_request_response_spec.rb +1 -1
  123. data/spec/models/update_submission_data_request_data_spec.rb +17 -17
  124. data/spec/models/update_template_data_spec.rb +1 -1
  125. data/spec/models/update_template_response_spec.rb +1 -1
  126. data/spec/models/upload_template_data_document_metadata_spec.rb +1 -1
  127. data/spec/models/upload_template_data_document_spec.rb +1 -1
  128. data/spec/models/upload_template_data_spec.rb +6 -6
  129. data/spec/spec_helper.rb +1 -1
  130. 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-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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-SNAPSHOT
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 "name"' do
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 "email"' do
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 "order"' do
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 "fields"' do
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 "metadata"' do
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 "auth_second_factor_type"' do
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 "auth_provider"' do
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 "auth_session_started_at"' do
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 "auth_session_id_hash"' do
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 "auth_user_id_hash"' do
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 "auth_username_hash"' do
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 "auth_phone_number_hash"' do
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-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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-SNAPSHOT
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 "expire_after"' do
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 "allow_additional_properties"' do
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 "document"' do
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 "html"' do
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 "footer_html"' do
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
@@ -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-SNAPSHOT
9
+ OpenAPI Generator version: 3.3.0
10
10
 
11
11
  =end
12
12
 
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.2.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
- - Form Applications, Inc.
8
- autorequire:
7
+ - DocSpring
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-21 00:00:00.000000000 Z
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.1.2
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