docspring 1.1.0 → 1.2.0
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 +1 -1
- data/README.md +20 -15
- data/docs/AddFieldsData.md +8 -0
- data/docs/AddFieldsTemplateResponse.md +10 -0
- data/docs/CreateHtmlTemplateData.md +8 -0
- data/docs/CreateTemplateFromUploadData.md +8 -0
- data/docs/{TemplatesdesccachedUploadTemplate.md → HtmlTemplateData.md} +1 -2
- data/docs/PDFApi.md +60 -8
- data/docs/PendingTemplate.md +1 -0
- data/docs/Submission.md +1 -0
- data/docs/Template.md +1 -0
- data/docs/{TemplatestemplateIdTemplate.md → TemplateData.md} +1 -1
- data/docs/TemplatestemplateIdaddFieldsFields.md +92 -0
- data/docs/UpdateTemplateData.md +1 -1
- data/docs/UploadTemplateData.md +25 -0
- data/docs/UploadTemplateDataDocument.md +10 -0
- data/docs/{TemplatesdesccachedUploadTemplateDocumentMetadata.md → UploadTemplateDataDocumentMetadata.md} +1 -1
- data/lib/docspring.rb +10 -6
- data/lib/docspring/api/pdf_api.rb +77 -18
- data/lib/docspring/models/add_fields_data.rb +190 -0
- data/lib/docspring/models/add_fields_template_response.rb +239 -0
- data/lib/docspring/models/{create_template_data.rb → create_html_template_data.rb} +2 -2
- data/lib/docspring/models/{create_template_data1.rb → create_template_from_upload_data.rb} +2 -2
- data/lib/docspring/models/html_template_data.rb +373 -0
- data/lib/docspring/models/pending_template.rb +10 -1
- data/lib/docspring/models/submission.rb +10 -1
- data/lib/docspring/models/template.rb +10 -1
- data/lib/docspring/models/{templatestemplate_id_template.rb → template_data.rb} +1 -1
- data/lib/docspring/models/templatestemplate_idadd_fields_fields.rb +1306 -0
- data/lib/docspring/models/update_template_data.rb +1 -1
- data/lib/docspring/models/{templatesdesccached_upload_template.rb → upload_template_data.rb} +2 -2
- data/lib/docspring/models/{templatesdesccached_upload_template_document.rb → upload_template_data_document.rb} +2 -2
- data/lib/docspring/models/{templatesdesccached_upload_template_document_metadata.rb → upload_template_data_document_metadata.rb} +1 -1
- data/lib/docspring/version.rb +1 -1
- data/spec/api/pdf_api_integration_spec.rb +49 -18
- data/spec/api/pdf_api_spec_original.skipped.rb +20 -6
- data/spec/models/add_fields_data_spec.rb +41 -0
- data/spec/models/add_fields_template_response_spec.rb +57 -0
- data/spec/models/{create_template_data_spec.rb → create_html_template_data_spec.rb} +6 -6
- data/spec/models/{create_template_data1_spec.rb → create_template_from_upload_data_spec.rb} +6 -6
- data/spec/models/html_template_data_spec.rb +145 -0
- data/spec/models/pending_template_spec.rb +6 -0
- data/spec/models/submission_spec.rb +6 -0
- data/spec/models/{templatestemplate_id_template_spec.rb → template_data_spec.rb} +6 -6
- data/spec/models/template_spec.rb +6 -0
- data/spec/models/templatestemplate_idadd_fields_fields_spec.rb +589 -0
- data/spec/models/{templatesdesccached_upload_template_document_metadata_spec.rb → upload_template_data_document_metadata_spec.rb} +6 -6
- data/spec/models/{templatesdesccached_upload_template_document_spec.rb → upload_template_data_document_spec.rb} +6 -6
- data/spec/models/{templatesdesccached_upload_template_spec.rb → upload_template_data_spec.rb} +6 -6
- metadata +42 -26
- data/docs/CreateTemplateData.md +0 -8
- data/docs/CreateTemplateData1.md +0 -8
- data/docs/TemplatesdesccachedUploadTemplateDocument.md +0 -10
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for DocSpring::
|
17
|
+
# Unit tests for DocSpring::UploadTemplateDataDocumentMetadata
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'UploadTemplateDataDocumentMetadata' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = DocSpring::
|
23
|
+
@instance = DocSpring::UploadTemplateDataDocumentMetadata.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(DocSpring::
|
30
|
+
describe 'test an instance of UploadTemplateDataDocumentMetadata' do
|
31
|
+
it 'should create an instance of UploadTemplateDataDocumentMetadata' do
|
32
|
+
expect(@instance).to be_instance_of(DocSpring::UploadTemplateDataDocumentMetadata)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "filename"' do
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for DocSpring::
|
17
|
+
# Unit tests for DocSpring::UploadTemplateDataDocument
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'UploadTemplateDataDocument' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = DocSpring::
|
23
|
+
@instance = DocSpring::UploadTemplateDataDocument.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(DocSpring::
|
30
|
+
describe 'test an instance of UploadTemplateDataDocument' do
|
31
|
+
it 'should create an instance of UploadTemplateDataDocument' do
|
32
|
+
expect(@instance).to be_instance_of(DocSpring::UploadTemplateDataDocument)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "metadata"' do
|
data/spec/models/{templatesdesccached_upload_template_spec.rb → upload_template_data_spec.rb}
RENAMED
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for DocSpring::
|
17
|
+
# Unit tests for DocSpring::UploadTemplateData
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'UploadTemplateData' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = DocSpring::
|
23
|
+
@instance = DocSpring::UploadTemplateData.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(DocSpring::
|
30
|
+
describe 'test an instance of UploadTemplateData' do
|
31
|
+
it 'should create an instance of UploadTemplateData' do
|
32
|
+
expect(@instance).to be_instance_of(DocSpring::UploadTemplateData)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "expiration_interval"' do
|
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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Form Applications, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -222,6 +222,8 @@ files:
|
|
222
222
|
- LICENSE
|
223
223
|
- README.md
|
224
224
|
- Rakefile
|
225
|
+
- docs/AddFieldsData.md
|
226
|
+
- docs/AddFieldsTemplateResponse.md
|
225
227
|
- docs/AuthenticationError.md
|
226
228
|
- docs/AuthenticationSuccessResponse.md
|
227
229
|
- docs/CombinePdfsData.md
|
@@ -232,18 +234,19 @@ files:
|
|
232
234
|
- docs/CreateCustomFileData.md
|
233
235
|
- docs/CreateCustomFileResponse.md
|
234
236
|
- docs/CreateFolderData.md
|
237
|
+
- docs/CreateHtmlTemplateData.md
|
235
238
|
- docs/CreateSubmissionBatchResponse.md
|
236
239
|
- docs/CreateSubmissionBatchSubmissionsResponse.md
|
237
240
|
- docs/CreateSubmissionDataRequestData.md
|
238
241
|
- docs/CreateSubmissionDataRequestTokenResponse.md
|
239
242
|
- docs/CreateSubmissionDataRequestTokenResponseToken.md
|
240
243
|
- docs/CreateSubmissionResponse.md
|
241
|
-
- docs/
|
242
|
-
- docs/CreateTemplateData1.md
|
244
|
+
- docs/CreateTemplateFromUploadData.md
|
243
245
|
- docs/CustomFile.md
|
244
246
|
- docs/Error.md
|
245
247
|
- docs/Folder.md
|
246
248
|
- docs/FoldersFolder.md
|
249
|
+
- docs/HtmlTemplateData.md
|
247
250
|
- docs/InvalidRequest.md
|
248
251
|
- docs/MoveFolderData.md
|
249
252
|
- docs/MoveTemplateData.md
|
@@ -258,14 +261,15 @@ files:
|
|
258
261
|
- docs/SubmissionDataBatchRequest.md
|
259
262
|
- docs/SubmissionDataRequest.md
|
260
263
|
- docs/Template.md
|
261
|
-
- docs/
|
262
|
-
- docs/
|
263
|
-
- docs/TemplatesdesccachedUploadTemplateDocumentMetadata.md
|
264
|
-
- docs/TemplatestemplateIdTemplate.md
|
264
|
+
- docs/TemplateData.md
|
265
|
+
- docs/TemplatestemplateIdaddFieldsFields.md
|
265
266
|
- docs/UpdateDataRequestResponse.md
|
266
267
|
- docs/UpdateSubmissionDataRequestData.md
|
267
268
|
- docs/UpdateTemplateData.md
|
268
269
|
- docs/UpdateTemplateResponse.md
|
270
|
+
- docs/UploadTemplateData.md
|
271
|
+
- docs/UploadTemplateDataDocument.md
|
272
|
+
- docs/UploadTemplateDataDocumentMetadata.md
|
269
273
|
- docspring.gemspec
|
270
274
|
- git_push.sh
|
271
275
|
- lib/docspring.rb
|
@@ -274,6 +278,8 @@ files:
|
|
274
278
|
- lib/docspring/api_client.rb
|
275
279
|
- lib/docspring/api_error.rb
|
276
280
|
- lib/docspring/configuration.rb
|
281
|
+
- lib/docspring/models/add_fields_data.rb
|
282
|
+
- lib/docspring/models/add_fields_template_response.rb
|
277
283
|
- lib/docspring/models/authentication_error.rb
|
278
284
|
- lib/docspring/models/authentication_success_response.rb
|
279
285
|
- lib/docspring/models/combine_pdfs_data.rb
|
@@ -284,18 +290,19 @@ files:
|
|
284
290
|
- lib/docspring/models/create_custom_file_data.rb
|
285
291
|
- lib/docspring/models/create_custom_file_response.rb
|
286
292
|
- lib/docspring/models/create_folder_data.rb
|
293
|
+
- lib/docspring/models/create_html_template_data.rb
|
287
294
|
- lib/docspring/models/create_submission_batch_response.rb
|
288
295
|
- lib/docspring/models/create_submission_batch_submissions_response.rb
|
289
296
|
- lib/docspring/models/create_submission_data_request_data.rb
|
290
297
|
- lib/docspring/models/create_submission_data_request_token_response.rb
|
291
298
|
- lib/docspring/models/create_submission_data_request_token_response_token.rb
|
292
299
|
- lib/docspring/models/create_submission_response.rb
|
293
|
-
- lib/docspring/models/
|
294
|
-
- lib/docspring/models/create_template_data1.rb
|
300
|
+
- lib/docspring/models/create_template_from_upload_data.rb
|
295
301
|
- lib/docspring/models/custom_file.rb
|
296
302
|
- lib/docspring/models/error.rb
|
297
303
|
- lib/docspring/models/folder.rb
|
298
304
|
- lib/docspring/models/folders_folder.rb
|
305
|
+
- lib/docspring/models/html_template_data.rb
|
299
306
|
- lib/docspring/models/invalid_request.rb
|
300
307
|
- lib/docspring/models/move_folder_data.rb
|
301
308
|
- lib/docspring/models/move_template_data.rb
|
@@ -309,20 +316,23 @@ files:
|
|
309
316
|
- lib/docspring/models/submission_data_batch_request.rb
|
310
317
|
- lib/docspring/models/submission_data_request.rb
|
311
318
|
- lib/docspring/models/template.rb
|
312
|
-
- lib/docspring/models/
|
313
|
-
- lib/docspring/models/
|
314
|
-
- lib/docspring/models/templatesdesccached_upload_template_document_metadata.rb
|
315
|
-
- lib/docspring/models/templatestemplate_id_template.rb
|
319
|
+
- lib/docspring/models/template_data.rb
|
320
|
+
- lib/docspring/models/templatestemplate_idadd_fields_fields.rb
|
316
321
|
- lib/docspring/models/update_data_request_response.rb
|
317
322
|
- lib/docspring/models/update_submission_data_request_data.rb
|
318
323
|
- lib/docspring/models/update_template_data.rb
|
319
324
|
- lib/docspring/models/update_template_response.rb
|
325
|
+
- lib/docspring/models/upload_template_data.rb
|
326
|
+
- lib/docspring/models/upload_template_data_document.rb
|
327
|
+
- lib/docspring/models/upload_template_data_document_metadata.rb
|
320
328
|
- lib/docspring/version.rb
|
321
329
|
- spec/api/client_integration_spec.rb
|
322
330
|
- spec/api/pdf_api_integration_spec.rb
|
323
331
|
- spec/api/pdf_api_spec_original.skipped.rb
|
324
332
|
- spec/api_client_spec.rb
|
325
333
|
- spec/configuration_spec.rb
|
334
|
+
- spec/models/add_fields_data_spec.rb
|
335
|
+
- spec/models/add_fields_template_response_spec.rb
|
326
336
|
- spec/models/authentication_error_spec.rb
|
327
337
|
- spec/models/authentication_success_response_spec.rb
|
328
338
|
- spec/models/combine_pdfs_data_spec.rb
|
@@ -333,18 +343,19 @@ files:
|
|
333
343
|
- spec/models/create_custom_file_data_spec.rb
|
334
344
|
- spec/models/create_custom_file_response_spec.rb
|
335
345
|
- spec/models/create_folder_data_spec.rb
|
346
|
+
- spec/models/create_html_template_data_spec.rb
|
336
347
|
- spec/models/create_submission_batch_response_spec.rb
|
337
348
|
- spec/models/create_submission_batch_submissions_response_spec.rb
|
338
349
|
- spec/models/create_submission_data_request_data_spec.rb
|
339
350
|
- spec/models/create_submission_data_request_token_response_spec.rb
|
340
351
|
- spec/models/create_submission_data_request_token_response_token_spec.rb
|
341
352
|
- spec/models/create_submission_response_spec.rb
|
342
|
-
- spec/models/
|
343
|
-
- spec/models/create_template_data_spec.rb
|
353
|
+
- spec/models/create_template_from_upload_data_spec.rb
|
344
354
|
- spec/models/custom_file_spec.rb
|
345
355
|
- spec/models/error_spec.rb
|
346
356
|
- spec/models/folder_spec.rb
|
347
357
|
- spec/models/folders_folder_spec.rb
|
358
|
+
- spec/models/html_template_data_spec.rb
|
348
359
|
- spec/models/invalid_request_spec.rb
|
349
360
|
- spec/models/move_folder_data_spec.rb
|
350
361
|
- spec/models/move_template_data_spec.rb
|
@@ -357,15 +368,16 @@ files:
|
|
357
368
|
- spec/models/submission_data_request_spec.rb
|
358
369
|
- spec/models/submission_data_spec.rb
|
359
370
|
- spec/models/submission_spec.rb
|
371
|
+
- spec/models/template_data_spec.rb
|
360
372
|
- spec/models/template_spec.rb
|
361
|
-
- spec/models/
|
362
|
-
- spec/models/templatesdesccached_upload_template_document_spec.rb
|
363
|
-
- spec/models/templatesdesccached_upload_template_spec.rb
|
364
|
-
- spec/models/templatestemplate_id_template_spec.rb
|
373
|
+
- spec/models/templatestemplate_idadd_fields_fields_spec.rb
|
365
374
|
- spec/models/update_data_request_response_spec.rb
|
366
375
|
- spec/models/update_submission_data_request_data_spec.rb
|
367
376
|
- spec/models/update_template_data_spec.rb
|
368
377
|
- spec/models/update_template_response_spec.rb
|
378
|
+
- spec/models/upload_template_data_document_metadata_spec.rb
|
379
|
+
- spec/models/upload_template_data_document_spec.rb
|
380
|
+
- spec/models/upload_template_data_spec.rb
|
369
381
|
- spec/spec_helper.rb
|
370
382
|
homepage: https://github.com/DocSpring/docspring-ruby
|
371
383
|
licenses:
|
@@ -396,6 +408,8 @@ test_files:
|
|
396
408
|
- spec/api/pdf_api_spec_original.skipped.rb
|
397
409
|
- spec/api_client_spec.rb
|
398
410
|
- spec/configuration_spec.rb
|
411
|
+
- spec/models/add_fields_data_spec.rb
|
412
|
+
- spec/models/add_fields_template_response_spec.rb
|
399
413
|
- spec/models/authentication_error_spec.rb
|
400
414
|
- spec/models/authentication_success_response_spec.rb
|
401
415
|
- spec/models/combine_pdfs_data_spec.rb
|
@@ -406,18 +420,19 @@ test_files:
|
|
406
420
|
- spec/models/create_custom_file_data_spec.rb
|
407
421
|
- spec/models/create_custom_file_response_spec.rb
|
408
422
|
- spec/models/create_folder_data_spec.rb
|
423
|
+
- spec/models/create_html_template_data_spec.rb
|
409
424
|
- spec/models/create_submission_batch_response_spec.rb
|
410
425
|
- spec/models/create_submission_batch_submissions_response_spec.rb
|
411
426
|
- spec/models/create_submission_data_request_data_spec.rb
|
412
427
|
- spec/models/create_submission_data_request_token_response_spec.rb
|
413
428
|
- spec/models/create_submission_data_request_token_response_token_spec.rb
|
414
429
|
- spec/models/create_submission_response_spec.rb
|
415
|
-
- spec/models/
|
416
|
-
- spec/models/create_template_data_spec.rb
|
430
|
+
- spec/models/create_template_from_upload_data_spec.rb
|
417
431
|
- spec/models/custom_file_spec.rb
|
418
432
|
- spec/models/error_spec.rb
|
419
433
|
- spec/models/folder_spec.rb
|
420
434
|
- spec/models/folders_folder_spec.rb
|
435
|
+
- spec/models/html_template_data_spec.rb
|
421
436
|
- spec/models/invalid_request_spec.rb
|
422
437
|
- spec/models/move_folder_data_spec.rb
|
423
438
|
- spec/models/move_template_data_spec.rb
|
@@ -430,13 +445,14 @@ test_files:
|
|
430
445
|
- spec/models/submission_data_request_spec.rb
|
431
446
|
- spec/models/submission_data_spec.rb
|
432
447
|
- spec/models/submission_spec.rb
|
448
|
+
- spec/models/template_data_spec.rb
|
433
449
|
- spec/models/template_spec.rb
|
434
|
-
- spec/models/
|
435
|
-
- spec/models/templatesdesccached_upload_template_document_spec.rb
|
436
|
-
- spec/models/templatesdesccached_upload_template_spec.rb
|
437
|
-
- spec/models/templatestemplate_id_template_spec.rb
|
450
|
+
- spec/models/templatestemplate_idadd_fields_fields_spec.rb
|
438
451
|
- spec/models/update_data_request_response_spec.rb
|
439
452
|
- spec/models/update_submission_data_request_data_spec.rb
|
440
453
|
- spec/models/update_template_data_spec.rb
|
441
454
|
- spec/models/update_template_response_spec.rb
|
455
|
+
- spec/models/upload_template_data_document_metadata_spec.rb
|
456
|
+
- spec/models/upload_template_data_document_spec.rb
|
457
|
+
- spec/models/upload_template_data_spec.rb
|
442
458
|
- spec/spec_helper.rb
|
data/docs/CreateTemplateData.md
DELETED
data/docs/CreateTemplateData1.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# DocSpring::TemplatesdesccachedUploadTemplateDocument
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**metadata** | [**TemplatesdesccachedUploadTemplateDocumentMetadata**](TemplatesdesccachedUploadTemplateDocumentMetadata.md) | | [optional]
|
7
|
-
**id** | **String** | | [optional]
|
8
|
-
**storage** | **String** | | [optional]
|
9
|
-
|
10
|
-
|