docspring 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -3
- data/README.md +11 -5
- data/docs/CombinePdfsData.md +1 -0
- data/docs/CombinedSubmission.md +1 -0
- data/docs/CombinedSubmissionData.md +1 -0
- data/docs/ListSubmissionsResponse.md +10 -0
- data/docs/PDFApi.md +180 -4
- data/docs/SubmissionData.md +1 -0
- data/docs/Template1.md +46 -0
- data/docs/Template1Defaults.md +10 -0
- data/lib/docspring/api/pdf_api.rb +185 -2
- data/lib/docspring/models/combine_pdfs_data.rb +10 -1
- data/lib/docspring/models/combined_submission.rb +10 -1
- data/lib/docspring/models/combined_submission_data.rb +10 -1
- data/lib/docspring/models/list_submissions_response.rb +203 -0
- data/lib/docspring/models/submission_data.rb +10 -1
- data/lib/docspring/models/template1.rb +565 -0
- data/lib/docspring/models/template1_defaults.rb +201 -0
- data/lib/docspring/version.rb +1 -1
- data/lib/docspring.rb +3 -0
- data/spec/api/client_integration_spec.rb +1 -1
- data/spec/api/pdf_api_spec_original.skipped.rb +64 -2
- data/spec/models/combine_pdfs_data_spec.rb +6 -0
- data/spec/models/combined_submission_data_spec.rb +6 -0
- data/spec/models/combined_submission_spec.rb +6 -0
- data/spec/models/list_submissions_response_spec.rb +53 -0
- data/spec/models/submission_data_spec.rb +6 -0
- data/spec/models/template1_defaults_spec.rb +53 -0
- data/spec/models/template1_spec.rb +273 -0
- metadata +14 -2
@@ -0,0 +1,273 @@
|
|
1
|
+
=begin
|
2
|
+
#API v1
|
3
|
+
|
4
|
+
#DocSpring is a service that helps you fill out and sign PDF templates.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for DocSpring::Template1
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Template1' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = DocSpring::Template1.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Template1' do
|
31
|
+
it 'should create an instance of Template1' do
|
32
|
+
expect(@instance).to be_instance_of(DocSpring::Template1)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "document_processed"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "expiration_interval"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["minutes", "hours", "days"])
|
45
|
+
# validator.allowable_values.each do |value|
|
46
|
+
# expect { @instance.expiration_interval = value }.not_to raise_error
|
47
|
+
# end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "scss"' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe 'test attribute "document_state"' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'test attribute "expire_after"' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe 'test attribute "description"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'test attribute "slack_webhook_url"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe 'test attribute "demo"' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
describe 'test attribute "path"' do
|
88
|
+
it 'should work' do
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
describe 'test attribute "header_html"' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
describe 'test attribute "public_web_form"' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
describe 'test attribute "field_order"' do
|
106
|
+
it 'should work' do
|
107
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
describe 'test attribute "permanent_document_url"' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
describe 'test attribute "html"' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
describe 'test attribute "template_type"' do
|
124
|
+
it 'should work' do
|
125
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
describe 'test attribute "id"' do
|
130
|
+
it 'should work' do
|
131
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
describe 'test attribute "page_dimensions"' do
|
136
|
+
it 'should work' do
|
137
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
describe 'test attribute "locked"' do
|
142
|
+
it 'should work' do
|
143
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
describe 'test attribute "page_count"' do
|
148
|
+
it 'should work' do
|
149
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
describe 'test attribute "encrypt_pdfs"' do
|
154
|
+
it 'should work' do
|
155
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
describe 'test attribute "webhook_url"' do
|
160
|
+
it 'should work' do
|
161
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
describe 'test attribute "embed_domains"' do
|
166
|
+
it 'should work' do
|
167
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
describe 'test attribute "parent_folder_id"' do
|
172
|
+
it 'should work' do
|
173
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
describe 'test attribute "allow_additional_properties"' do
|
178
|
+
it 'should work' do
|
179
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
describe 'test attribute "encrypt_pdfs_password"' do
|
184
|
+
it 'should work' do
|
185
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
describe 'test attribute "public_submissions"' do
|
190
|
+
it 'should work' do
|
191
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
describe 'test attribute "shared_field_data"' do
|
196
|
+
it 'should work' do
|
197
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
describe 'test attribute "document_md5"' do
|
202
|
+
it 'should work' do
|
203
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
describe 'test attribute "first_template"' do
|
208
|
+
it 'should work' do
|
209
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
describe 'test attribute "defaults"' do
|
214
|
+
it 'should work' do
|
215
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
describe 'test attribute "editable_submissions"' do
|
220
|
+
it 'should work' do
|
221
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
describe 'test attribute "expire_submissions"' do
|
226
|
+
it 'should work' do
|
227
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
describe 'test attribute "name"' do
|
232
|
+
it 'should work' do
|
233
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
describe 'test attribute "footer_html"' do
|
238
|
+
it 'should work' do
|
239
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
describe 'test attribute "document_parse_error"' do
|
244
|
+
it 'should work' do
|
245
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
describe 'test attribute "fields"' do
|
250
|
+
it 'should work' do
|
251
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
describe 'test attribute "document_filename"' do
|
256
|
+
it 'should work' do
|
257
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
describe 'test attribute "redirect_url"' do
|
262
|
+
it 'should work' do
|
263
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
describe 'test attribute "document_url"' do
|
268
|
+
it 'should work' do
|
269
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
end
|
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.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DocSpring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -229,6 +229,7 @@ files:
|
|
229
229
|
- docs/FoldersFolder.md
|
230
230
|
- docs/HtmlTemplateData.md
|
231
231
|
- docs/InvalidRequest.md
|
232
|
+
- docs/ListSubmissionsResponse.md
|
232
233
|
- docs/MoveFolderData.md
|
233
234
|
- docs/MoveTemplateData.md
|
234
235
|
- docs/PDFApi.md
|
@@ -242,6 +243,8 @@ files:
|
|
242
243
|
- docs/SubmissionDataBatchRequest.md
|
243
244
|
- docs/SubmissionDataRequest.md
|
244
245
|
- docs/Template.md
|
246
|
+
- docs/Template1.md
|
247
|
+
- docs/Template1Defaults.md
|
245
248
|
- docs/TemplateData.md
|
246
249
|
- docs/TemplatestemplateIdaddFieldsFields.md
|
247
250
|
- docs/UpdateDataRequestResponse.md
|
@@ -286,6 +289,7 @@ files:
|
|
286
289
|
- lib/docspring/models/folders_folder.rb
|
287
290
|
- lib/docspring/models/html_template_data.rb
|
288
291
|
- lib/docspring/models/invalid_request.rb
|
292
|
+
- lib/docspring/models/list_submissions_response.rb
|
289
293
|
- lib/docspring/models/move_folder_data.rb
|
290
294
|
- lib/docspring/models/move_template_data.rb
|
291
295
|
- lib/docspring/models/pending_template.rb
|
@@ -298,6 +302,8 @@ files:
|
|
298
302
|
- lib/docspring/models/submission_data_batch_request.rb
|
299
303
|
- lib/docspring/models/submission_data_request.rb
|
300
304
|
- lib/docspring/models/template.rb
|
305
|
+
- lib/docspring/models/template1.rb
|
306
|
+
- lib/docspring/models/template1_defaults.rb
|
301
307
|
- lib/docspring/models/template_data.rb
|
302
308
|
- lib/docspring/models/templatestemplate_idadd_fields_fields.rb
|
303
309
|
- lib/docspring/models/update_data_request_response.rb
|
@@ -340,6 +346,7 @@ files:
|
|
340
346
|
- spec/models/folders_folder_spec.rb
|
341
347
|
- spec/models/html_template_data_spec.rb
|
342
348
|
- spec/models/invalid_request_spec.rb
|
349
|
+
- spec/models/list_submissions_response_spec.rb
|
343
350
|
- spec/models/move_folder_data_spec.rb
|
344
351
|
- spec/models/move_template_data_spec.rb
|
345
352
|
- spec/models/pending_template_spec.rb
|
@@ -351,6 +358,8 @@ files:
|
|
351
358
|
- spec/models/submission_data_request_spec.rb
|
352
359
|
- spec/models/submission_data_spec.rb
|
353
360
|
- spec/models/submission_spec.rb
|
361
|
+
- spec/models/template1_defaults_spec.rb
|
362
|
+
- spec/models/template1_spec.rb
|
354
363
|
- spec/models/template_data_spec.rb
|
355
364
|
- spec/models/template_spec.rb
|
356
365
|
- spec/models/templatestemplate_idadd_fields_fields_spec.rb
|
@@ -418,6 +427,7 @@ test_files:
|
|
418
427
|
- spec/models/folders_folder_spec.rb
|
419
428
|
- spec/models/html_template_data_spec.rb
|
420
429
|
- spec/models/invalid_request_spec.rb
|
430
|
+
- spec/models/list_submissions_response_spec.rb
|
421
431
|
- spec/models/move_folder_data_spec.rb
|
422
432
|
- spec/models/move_template_data_spec.rb
|
423
433
|
- spec/models/pending_template_spec.rb
|
@@ -429,6 +439,8 @@ test_files:
|
|
429
439
|
- spec/models/submission_data_request_spec.rb
|
430
440
|
- spec/models/submission_data_spec.rb
|
431
441
|
- spec/models/submission_spec.rb
|
442
|
+
- spec/models/template1_defaults_spec.rb
|
443
|
+
- spec/models/template1_spec.rb
|
432
444
|
- spec/models/template_data_spec.rb
|
433
445
|
- spec/models/template_spec.rb
|
434
446
|
- spec/models/templatestemplate_idadd_fields_fields_spec.rb
|