docspring 1.0.0 → 1.3.1
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 +14 -37
- data/Gemfile +2 -1
- data/Gemfile.lock +37 -32
- data/LICENSE +1 -1
- data/README.md +26 -15
- data/docs/AddFieldsData.md +8 -0
- data/docs/AddFieldsTemplateResponse.md +10 -0
- data/docs/CombinePdfsData.md +4 -4
- data/docs/CombinedSubmission.md +1 -0
- data/docs/CombinedSubmissionData.md +3 -3
- data/docs/{CreateTemplateData.md → CreateHtmlTemplateData.md} +2 -2
- data/docs/CreateSubmissionDataRequestData.md +2 -2
- data/docs/CreateTemplateFromUploadData.md +8 -0
- data/docs/HtmlTemplateData.md +24 -0
- data/docs/PDFApi.md +169 -15
- data/docs/PendingTemplate.md +2 -0
- data/docs/Submission.md +5 -0
- data/docs/SubmissionBatchData.md +2 -2
- data/docs/SubmissionData.md +4 -3
- data/docs/SubmissionDataBatchRequest.md +2 -2
- data/docs/SubmissionDataRequest.md +2 -0
- data/docs/Template.md +2 -0
- data/docs/{Templatesv2Template.md → TemplateData.md} +11 -7
- data/docs/TemplatestemplateIdaddFieldsFields.md +92 -0
- data/docs/UpdateSubmissionDataRequestData.md +9 -9
- data/docs/UpdateTemplateData.md +8 -0
- data/docs/UpdateTemplateResponse.md +9 -0
- data/docs/UploadTemplateData.md +25 -0
- data/docs/{Templatesv2TemplateDocument.md → UploadTemplateDataDocument.md} +2 -2
- data/docs/{Templatesv2TemplateDocumentMetadata.md → UploadTemplateDataDocumentMetadata.md} +1 -1
- data/docspring.gemspec +3 -3
- data/lib/docspring.rb +13 -5
- data/lib/docspring/api/pdf_api.rb +193 -22
- data/lib/docspring/api_client.rb +1 -1
- data/lib/docspring/api_error.rb +1 -1
- data/lib/docspring/configuration.rb +1 -1
- 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/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 +11 -2
- data/lib/docspring/models/combined_submission_action.rb +1 -6
- data/lib/docspring/models/combined_submission_data.rb +23 -23
- 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_template_data.rb → create_html_template_data.rb} +3 -3
- 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 +188 -0
- 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 +373 -0
- 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 +1 -1
- data/lib/docspring/models/pending_template.rb +20 -2
- data/lib/docspring/models/rename_folder_data.rb +1 -1
- data/lib/docspring/models/submission.rb +52 -7
- 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 -25
- data/lib/docspring/models/submission_data_batch_request.rb +20 -20
- data/lib/docspring/models/submission_data_request.rb +23 -20
- data/lib/docspring/models/template.rb +20 -2
- data/lib/docspring/models/{templatesv2_template.rb → template_data.rb} +81 -45
- data/lib/docspring/models/templatestemplate_idadd_fields_fields.rb +1306 -0
- 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 +188 -0
- data/lib/docspring/models/update_template_response.rb +228 -0
- data/lib/docspring/models/upload_template_data.rb +382 -0
- data/lib/docspring/models/{templatesv2_template_document.rb → upload_template_data_document.rb} +3 -3
- data/lib/docspring/models/{templatesv2_template_document_metadata.rb → upload_template_data_document_metadata.rb} +2 -2
- data/lib/docspring/version.rb +2 -2
- data/spec/api/client_integration_spec.rb +14 -2
- data/spec/api/pdf_api_integration_spec.rb +49 -18
- data/spec/api/pdf_api_spec_original.skipped.rb +51 -11
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/add_fields_data_spec.rb +41 -0
- data/spec/models/add_fields_template_response_spec.rb +57 -0
- 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 +7 -1
- 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 +41 -0
- 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_data_spec.rb → create_template_from_upload_data_spec.rb} +7 -7
- 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 +145 -0
- 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 +13 -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 +13 -1
- data/spec/models/submission_data_spec.rb +11 -5
- data/spec/models/submission_spec.rb +32 -2
- data/spec/models/{templatesv2_template_spec.rb → template_data_spec.rb} +40 -16
- data/spec/models/template_spec.rb +13 -1
- data/spec/models/templatestemplate_idadd_fields_fields_spec.rb +589 -0
- 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 +41 -0
- data/spec/models/update_template_response_spec.rb +51 -0
- data/spec/models/{templatesv2_template_document_metadata_spec.rb → upload_template_data_document_metadata_spec.rb} +7 -7
- data/spec/models/{templatesv2_template_document_spec.rb → upload_template_data_document_spec.rb} +7 -7
- data/spec/models/upload_template_data_spec.rb +151 -0
- data/spec/spec_helper.rb +1 -1
- metadata +60 -32
- data/.swagger-codegen-ignore +0 -31
- data/.swagger-codegen/VERSION +0 -1
- data/.swagger-revision +0 -1
- data/.travis.yml +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1be91b76c31c9162e4c340d87023d7db134d30348d791ff72ee62b2d594898f1
|
4
|
+
data.tar.gz: 36899cc962a45a4b600aee02a939d5785c7d4119170265ebffb5ddad27338f2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa5cf74b0d0d6c4725f3f8cbddf5035db11de42c721bc9e63d9346ad88fdc0721ff57907ca808d12018bd1997aed5865dc4e2618a9fb858c0ebb64c712eca5c0
|
7
|
+
data.tar.gz: 458febae51a15f31ea6ad97e41958c3a3f9d3647c17b64a49cb686066da9f485a22a1a90d224f16a5ea11a64c793c7f6fbcba99e310acf82e20bc400023354af
|
data/.openapi-generator/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.0
|
1
|
+
3.3.0
|
data/CHANGELOG.md
CHANGED
@@ -1,48 +1,25 @@
|
|
1
|
-
### 1.
|
1
|
+
### 1.3.1 [September 27, 2020]
|
2
2
|
|
3
|
-
-
|
3
|
+
- Changed gem author to DocSpring
|
4
4
|
|
5
|
-
### 1.
|
5
|
+
### 1.3.0 [September 26, 2020]
|
6
6
|
|
7
|
-
-
|
8
|
-
- Add parent folder ID param when creating a new template, so you can upload a template into a folder
|
7
|
+
- Updated OpenAPI Generator to v3.3.0
|
9
8
|
|
10
|
-
### 1.
|
11
|
-
* Added Create Folder, List Folder, Move to Folder endpoints
|
9
|
+
### 1.2.1 [September 24, 2020]
|
12
10
|
|
13
|
-
|
11
|
+
- Fixed the "include_data=true" option for the "Get Submission" API endpoint. Added the "data" property to the Submission model so that this is parsed and returned correctly when requested
|
14
12
|
|
15
|
-
|
13
|
+
### 1.2.0 [September 21, 2020]
|
16
14
|
|
17
|
-
|
15
|
+
- Renamed some internal models for template creation API endpoints. (CreateTemplateData / CreateTemplateData1 renamed to CreateHtmlTemplateData and CreateTemplateFromUploadData)
|
18
16
|
|
19
|
-
|
17
|
+
### 1.1.0 [September 12, 2020]
|
20
18
|
|
21
|
-
|
19
|
+
- **BREAKING CHANGE**: Renamed createTemplate operation to createPDFTemplate
|
20
|
+
- Added createHTMLTemplate operation. (This uses the same API endpoint as createPDFTemplate, but the example shows how to set html, scss, etc. fields)
|
21
|
+
- Added updateTemplate operation, to update a PDF or HTML template
|
22
22
|
|
23
|
-
|
23
|
+
### 1.0.0 [May 20, 2019]
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
- Added CustomFiles, and combinePdf call to support many different types of source PDFs. Renamed a few models
|
28
|
-
|
29
|
-
### 1.6.0 [December 18, 2018]
|
30
|
-
|
31
|
-
- Updated API host to api.formapi.io
|
32
|
-
|
33
|
-
### 1.5.0 [December 13, 2018]
|
34
|
-
|
35
|
-
- Fix model name for newly created Templates (PendingTemplate)
|
36
|
-
- Added "actions" to submission and combined_submission responses. Includes information about custom S3 uploads
|
37
|
-
|
38
|
-
### 1.4.1 [December 2, 2018]
|
39
|
-
|
40
|
-
- Fixed crash in 1.4.0, did not include all of the necessary files
|
41
|
-
|
42
|
-
### 1.4.0 [December 1, 2018]
|
43
|
-
|
44
|
-
- Added Create Template, Get Template, and Get Template Schema endpoints
|
45
|
-
|
46
|
-
### 1.3.0 [November 4, 2018]
|
47
|
-
|
48
|
-
- Initial changelog
|
25
|
+
- Renamed FormAPI to DocSpring. (View the CHANGELOG in the original FormAPI API client for prior releases.)
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
docspring (1.
|
4
|
+
docspring (1.3.1)
|
5
5
|
ffi (~> 1.0, >= 1.9.24)
|
6
6
|
json (>= 1.8)
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -10,50 +10,54 @@ GEM
|
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
12
|
ZenTest (4.12.0)
|
13
|
-
addressable (2.
|
14
|
-
public_suffix (>= 2.0.2, <
|
13
|
+
addressable (2.7.0)
|
14
|
+
public_suffix (>= 2.0.2, < 5.0)
|
15
15
|
autotest (4.4.6)
|
16
16
|
ZenTest (>= 4.4.1)
|
17
|
-
autotest-fsevent (0.2.
|
17
|
+
autotest-fsevent (0.2.15)
|
18
18
|
sys-uname
|
19
19
|
autotest-growl (0.2.16)
|
20
20
|
autotest-rails-pure (4.1.2)
|
21
|
-
|
21
|
+
bundler-audit (0.6.1)
|
22
|
+
bundler (>= 1.2.0, < 3)
|
23
|
+
thor (~> 0.18)
|
24
|
+
byebug (11.1.1)
|
22
25
|
coderay (1.1.2)
|
23
26
|
crack (0.4.3)
|
24
27
|
safe_yaml (~> 1.0.0)
|
25
28
|
diff-lcs (1.3)
|
26
|
-
ethon (0.
|
29
|
+
ethon (0.12.0)
|
27
30
|
ffi (>= 1.3.0)
|
28
|
-
ffi (1.
|
29
|
-
hashdiff (0.
|
30
|
-
json (2.
|
31
|
-
method_source (0.9.
|
32
|
-
pry (0.
|
31
|
+
ffi (1.12.2)
|
32
|
+
hashdiff (1.0.1)
|
33
|
+
json (2.3.0)
|
34
|
+
method_source (0.9.2)
|
35
|
+
pry (0.12.2)
|
33
36
|
coderay (~> 1.1.0)
|
34
37
|
method_source (~> 0.9.0)
|
35
|
-
pry-byebug (3.
|
36
|
-
byebug (~>
|
38
|
+
pry-byebug (3.8.0)
|
39
|
+
byebug (~> 11.0)
|
37
40
|
pry (~> 0.10)
|
38
|
-
public_suffix (
|
39
|
-
rake (
|
40
|
-
rspec (3.
|
41
|
-
rspec-core (~> 3.
|
42
|
-
rspec-expectations (~> 3.
|
43
|
-
rspec-mocks (~> 3.
|
44
|
-
rspec-core (3.
|
45
|
-
rspec-support (~> 3.
|
46
|
-
rspec-expectations (3.
|
41
|
+
public_suffix (4.0.3)
|
42
|
+
rake (13.0.1)
|
43
|
+
rspec (3.9.0)
|
44
|
+
rspec-core (~> 3.9.0)
|
45
|
+
rspec-expectations (~> 3.9.0)
|
46
|
+
rspec-mocks (~> 3.9.0)
|
47
|
+
rspec-core (3.9.1)
|
48
|
+
rspec-support (~> 3.9.1)
|
49
|
+
rspec-expectations (3.9.0)
|
47
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.
|
49
|
-
rspec-mocks (3.
|
51
|
+
rspec-support (~> 3.9.0)
|
52
|
+
rspec-mocks (3.9.1)
|
50
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
51
|
-
rspec-support (~> 3.
|
52
|
-
rspec-support (3.
|
53
|
-
safe_yaml (1.0.
|
54
|
-
sys-uname (1.0
|
54
|
+
rspec-support (~> 3.9.0)
|
55
|
+
rspec-support (3.9.2)
|
56
|
+
safe_yaml (1.0.5)
|
57
|
+
sys-uname (1.2.0)
|
55
58
|
ffi (>= 1.0.0)
|
56
|
-
|
59
|
+
thor (0.20.3)
|
60
|
+
typhoeus (1.3.1)
|
57
61
|
ethon (>= 0.9.0)
|
58
62
|
vcr (3.0.3)
|
59
63
|
webmock (1.24.6)
|
@@ -66,15 +70,16 @@ PLATFORMS
|
|
66
70
|
|
67
71
|
DEPENDENCIES
|
68
72
|
autotest (~> 4.4, >= 4.4.6)
|
69
|
-
autotest-fsevent (~> 0.2, >= 0.2.
|
73
|
+
autotest-fsevent (~> 0.2, >= 0.2.15)
|
70
74
|
autotest-growl (~> 0.2, >= 0.2.16)
|
71
75
|
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
76
|
+
bundler-audit
|
72
77
|
docspring!
|
73
78
|
pry-byebug
|
74
|
-
rake (
|
79
|
+
rake (>= 12.3.3)
|
75
80
|
rspec (~> 3.6, >= 3.6.0)
|
76
81
|
vcr (~> 3.0, >= 3.0.1)
|
77
82
|
webmock (~> 1.24, >= 1.24.3)
|
78
83
|
|
79
84
|
BUNDLED WITH
|
80
|
-
2.
|
85
|
+
2.1.4
|
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright © 2018
|
1
|
+
Copyright © 2018-2020 DocSpring, Inc.
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
4
|
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ DocSpring is a service that helps you fill out and sign PDF templates.
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.
|
10
|
+
- Package version: 1.3.1
|
11
11
|
- Build package: com.docspring.codegen.DocSpringRubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build docspring.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./docspring-1.
|
26
|
+
gem install ./docspring-1.3.1.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./docspring-1.
|
28
|
+
(for development, run `gem install --dev ./docspring-1.3.1.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'docspring', '~> 1.
|
34
|
+
gem 'docspring', '~> 1.3.1'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -62,15 +62,15 @@ DocSpring.configure do |config|
|
|
62
62
|
end
|
63
63
|
|
64
64
|
api_instance = DocSpring::PDFApi.new
|
65
|
-
template_id = '
|
66
|
-
|
65
|
+
template_id = 'tpl_000000000000000002' # String |
|
66
|
+
add_fields_data = DocSpring::AddFieldsData.new # AddFieldsData |
|
67
67
|
|
68
68
|
begin
|
69
|
-
#
|
70
|
-
result = api_instance.
|
69
|
+
#Add new fields to a Template
|
70
|
+
result = api_instance.add_fields_to_template(template_id, add_fields_data)
|
71
71
|
p result
|
72
72
|
rescue DocSpring::ApiError => e
|
73
|
-
puts "Exception when calling PDFApi->
|
73
|
+
puts "Exception when calling PDFApi->add_fields_to_template: #{e}"
|
74
74
|
end
|
75
75
|
|
76
76
|
```
|
@@ -81,6 +81,7 @@ All URIs are relative to *https://api.docspring.com/api/v1*
|
|
81
81
|
|
82
82
|
Class | Method | HTTP request | Description
|
83
83
|
------------ | ------------- | ------------- | -------------
|
84
|
+
*DocSpring::PDFApi* | [**add_fields_to_template**](docs/PDFApi.md#add_fields_to_template) | **PUT** /templates/{template_id}/add_fields | Add new fields to a Template
|
84
85
|
*DocSpring::PDFApi* | [**batch_generate_pdf_v1**](docs/PDFApi.md#batch_generate_pdf_v1) | **POST** /templates/{template_id}/submissions/batch | Generates multiple PDFs
|
85
86
|
*DocSpring::PDFApi* | [**batch_generate_pdfs**](docs/PDFApi.md#batch_generate_pdfs) | **POST** /submissions/batches | Generates multiple PDFs
|
86
87
|
*DocSpring::PDFApi* | [**combine_pdfs**](docs/PDFApi.md#combine_pdfs) | **POST** /combined_submissions?v=2 | Merge submission PDFs, template PDFs, or custom files
|
@@ -88,8 +89,9 @@ Class | Method | HTTP request | Description
|
|
88
89
|
*DocSpring::PDFApi* | [**create_custom_file_from_upload**](docs/PDFApi.md#create_custom_file_from_upload) | **POST** /custom_files | Create a new custom file from a cached presign upload
|
89
90
|
*DocSpring::PDFApi* | [**create_data_request_token**](docs/PDFApi.md#create_data_request_token) | **POST** /data_requests/{data_request_id}/tokens | Creates a new data request token for form authentication
|
90
91
|
*DocSpring::PDFApi* | [**create_folder**](docs/PDFApi.md#create_folder) | **POST** /folders/ | Create a folder
|
91
|
-
*DocSpring::PDFApi* | [**
|
92
|
-
*DocSpring::PDFApi* | [**
|
92
|
+
*DocSpring::PDFApi* | [**create_html_template**](docs/PDFApi.md#create_html_template) | **POST** /templates?desc=html | Create a new HTML template
|
93
|
+
*DocSpring::PDFApi* | [**create_pdf_template**](docs/PDFApi.md#create_pdf_template) | **POST** /templates | Create a new PDF template with a form POST file upload
|
94
|
+
*DocSpring::PDFApi* | [**create_pdf_template_from_upload**](docs/PDFApi.md#create_pdf_template_from_upload) | **POST** /templates?desc=cached_upload | Create a new PDF template from a cached presign upload
|
93
95
|
*DocSpring::PDFApi* | [**delete_folder**](docs/PDFApi.md#delete_folder) | **DELETE** /folders/{folder_id} | Delete a folder
|
94
96
|
*DocSpring::PDFApi* | [**expire_combined_submission**](docs/PDFApi.md#expire_combined_submission) | **DELETE** /combined_submissions/{combined_submission_id} | Expire a combined submission
|
95
97
|
*DocSpring::PDFApi* | [**expire_submission**](docs/PDFApi.md#expire_submission) | **DELETE** /submissions/{submission_id} | Expire a PDF submission
|
@@ -108,10 +110,13 @@ Class | Method | HTTP request | Description
|
|
108
110
|
*DocSpring::PDFApi* | [**rename_folder**](docs/PDFApi.md#rename_folder) | **POST** /folders/{folder_id}/rename | Rename a folder
|
109
111
|
*DocSpring::PDFApi* | [**test_authentication**](docs/PDFApi.md#test_authentication) | **GET** /authentication | Test Authentication
|
110
112
|
*DocSpring::PDFApi* | [**update_data_request**](docs/PDFApi.md#update_data_request) | **PUT** /data_requests/{data_request_id} | Update a submission data request
|
113
|
+
*DocSpring::PDFApi* | [**update_template**](docs/PDFApi.md#update_template) | **PUT** /templates/{template_id} | Update a Template
|
111
114
|
|
112
115
|
|
113
116
|
## Documentation for Models
|
114
117
|
|
118
|
+
- [DocSpring::AddFieldsData](docs/AddFieldsData.md)
|
119
|
+
- [DocSpring::AddFieldsTemplateResponse](docs/AddFieldsTemplateResponse.md)
|
115
120
|
- [DocSpring::AuthenticationError](docs/AuthenticationError.md)
|
116
121
|
- [DocSpring::AuthenticationSuccessResponse](docs/AuthenticationSuccessResponse.md)
|
117
122
|
- [DocSpring::CombinePdfsData](docs/CombinePdfsData.md)
|
@@ -122,17 +127,19 @@ Class | Method | HTTP request | Description
|
|
122
127
|
- [DocSpring::CreateCustomFileData](docs/CreateCustomFileData.md)
|
123
128
|
- [DocSpring::CreateCustomFileResponse](docs/CreateCustomFileResponse.md)
|
124
129
|
- [DocSpring::CreateFolderData](docs/CreateFolderData.md)
|
130
|
+
- [DocSpring::CreateHtmlTemplateData](docs/CreateHtmlTemplateData.md)
|
125
131
|
- [DocSpring::CreateSubmissionBatchResponse](docs/CreateSubmissionBatchResponse.md)
|
126
132
|
- [DocSpring::CreateSubmissionBatchSubmissionsResponse](docs/CreateSubmissionBatchSubmissionsResponse.md)
|
127
133
|
- [DocSpring::CreateSubmissionDataRequestData](docs/CreateSubmissionDataRequestData.md)
|
128
134
|
- [DocSpring::CreateSubmissionDataRequestTokenResponse](docs/CreateSubmissionDataRequestTokenResponse.md)
|
129
135
|
- [DocSpring::CreateSubmissionDataRequestTokenResponseToken](docs/CreateSubmissionDataRequestTokenResponseToken.md)
|
130
136
|
- [DocSpring::CreateSubmissionResponse](docs/CreateSubmissionResponse.md)
|
131
|
-
- [DocSpring::
|
137
|
+
- [DocSpring::CreateTemplateFromUploadData](docs/CreateTemplateFromUploadData.md)
|
132
138
|
- [DocSpring::CustomFile](docs/CustomFile.md)
|
133
139
|
- [DocSpring::Error](docs/Error.md)
|
134
140
|
- [DocSpring::Folder](docs/Folder.md)
|
135
141
|
- [DocSpring::FoldersFolder](docs/FoldersFolder.md)
|
142
|
+
- [DocSpring::HtmlTemplateData](docs/HtmlTemplateData.md)
|
136
143
|
- [DocSpring::InvalidRequest](docs/InvalidRequest.md)
|
137
144
|
- [DocSpring::MoveFolderData](docs/MoveFolderData.md)
|
138
145
|
- [DocSpring::MoveTemplateData](docs/MoveTemplateData.md)
|
@@ -146,11 +153,15 @@ Class | Method | HTTP request | Description
|
|
146
153
|
- [DocSpring::SubmissionDataBatchRequest](docs/SubmissionDataBatchRequest.md)
|
147
154
|
- [DocSpring::SubmissionDataRequest](docs/SubmissionDataRequest.md)
|
148
155
|
- [DocSpring::Template](docs/Template.md)
|
149
|
-
- [DocSpring::
|
150
|
-
- [DocSpring::
|
151
|
-
- [DocSpring::Templatesv2TemplateDocumentMetadata](docs/Templatesv2TemplateDocumentMetadata.md)
|
156
|
+
- [DocSpring::TemplateData](docs/TemplateData.md)
|
157
|
+
- [DocSpring::TemplatestemplateIdaddFieldsFields](docs/TemplatestemplateIdaddFieldsFields.md)
|
152
158
|
- [DocSpring::UpdateDataRequestResponse](docs/UpdateDataRequestResponse.md)
|
153
159
|
- [DocSpring::UpdateSubmissionDataRequestData](docs/UpdateSubmissionDataRequestData.md)
|
160
|
+
- [DocSpring::UpdateTemplateData](docs/UpdateTemplateData.md)
|
161
|
+
- [DocSpring::UpdateTemplateResponse](docs/UpdateTemplateResponse.md)
|
162
|
+
- [DocSpring::UploadTemplateData](docs/UploadTemplateData.md)
|
163
|
+
- [DocSpring::UploadTemplateDataDocument](docs/UploadTemplateDataDocument.md)
|
164
|
+
- [DocSpring::UploadTemplateDataDocumentMetadata](docs/UploadTemplateDataDocumentMetadata.md)
|
154
165
|
|
155
166
|
|
156
167
|
## Documentation for Authorization
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# DocSpring::AddFieldsTemplateResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**new_field_ids** | **Array<Integer>** | | [optional]
|
7
|
+
**errors** | **Array<String>** | | [optional]
|
8
|
+
**status** | **String** | | [optional]
|
9
|
+
|
10
|
+
|
data/docs/CombinePdfsData.md
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**test** | **BOOLEAN** | | [optional]
|
7
|
-
**source_pdfs** | **Array<Object>** | |
|
8
|
-
**metadata** | **Object** | | [optional]
|
9
|
-
**expires_in** | **Integer** | | [optional]
|
10
6
|
**delete_custom_files** | **BOOLEAN** | | [optional]
|
7
|
+
**expires_in** | **Integer** | | [optional]
|
8
|
+
**metadata** | **Object** | | [optional]
|
9
|
+
**source_pdfs** | **Array<Object>** | |
|
10
|
+
**test** | **BOOLEAN** | | [optional]
|
11
11
|
|
12
12
|
|
data/docs/CombinedSubmission.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**expired** | **BOOLEAN** | | [optional]
|
8
8
|
**expires_at** | **String** | | [optional]
|
9
9
|
**source_pdfs** | **Array<Object>** | | [optional]
|
10
|
+
**pdf_hash** | **String** | | [optional]
|
10
11
|
**download_url** | **String** | | [optional]
|
11
12
|
**submission_ids** | **Array<String>** | | [optional]
|
12
13
|
**id** | **String** | | [optional]
|
@@ -3,9 +3,9 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**test** | **BOOLEAN** | | [optional]
|
7
|
-
**submission_ids** | **Array<String>** | |
|
8
|
-
**metadata** | **Object** | | [optional]
|
9
6
|
**expires_in** | **Integer** | | [optional]
|
7
|
+
**metadata** | **Object** | | [optional]
|
8
|
+
**submission_ids** | **Array<String>** | |
|
9
|
+
**test** | **BOOLEAN** | | [optional]
|
10
10
|
|
11
11
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# DocSpring::
|
1
|
+
# DocSpring::CreateHtmlTemplateData
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**template** | [**
|
6
|
+
**template** | [**HtmlTemplateData**](HtmlTemplateData.md) | |
|
7
7
|
|
8
8
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**metadata** | **Object** | | [optional]
|
7
6
|
**auth_type** | **String** | | [optional]
|
7
|
+
**metadata** | **Object** | | [optional]
|
8
8
|
**auth_second_factor_type** | **String** | | [optional]
|
9
9
|
**auth_phone_number_hash** | **String** | | [optional]
|
10
10
|
**auth_session_started_at** | **String** | | [optional]
|
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
|
|
13
13
|
**auth_username_hash** | **String** | | [optional]
|
14
14
|
**name** | **String** | | [optional]
|
15
15
|
**fields** | **Array<String>** | | [optional]
|
16
|
-
**email** | **String** | | [optional]
|
17
16
|
**auth_provider** | **String** | | [optional]
|
17
|
+
**email** | **String** | | [optional]
|
18
18
|
**order** | **Integer** | | [optional]
|
19
19
|
|
20
20
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# DocSpring::HtmlTemplateData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**expiration_interval** | **String** | | [optional]
|
7
|
+
**webhook_url** | **String** | | [optional]
|
8
|
+
**scss** | **String** | | [optional]
|
9
|
+
**allow_additional_properties** | **BOOLEAN** | | [optional]
|
10
|
+
**expire_after** | **Float** | | [optional]
|
11
|
+
**description** | **String** | | [optional]
|
12
|
+
**public_submissions** | **BOOLEAN** | | [optional]
|
13
|
+
**slack_webhook_url** | **String** | | [optional]
|
14
|
+
**header_html** | **String** | | [optional]
|
15
|
+
**public_web_form** | **BOOLEAN** | | [optional]
|
16
|
+
**editable_submissions** | **BOOLEAN** | | [optional]
|
17
|
+
**expire_submissions** | **BOOLEAN** | | [optional]
|
18
|
+
**name** | **String** | | [optional]
|
19
|
+
**footer_html** | **String** | | [optional]
|
20
|
+
**html** | **String** | | [optional]
|
21
|
+
**template_type** | **String** | | [optional]
|
22
|
+
**redirect_url** | **String** | | [optional]
|
23
|
+
|
24
|
+
|