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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5dcdc4a15cf4315e7948d50bd6c5000579a43ea43a8192fdf56d835d486877d
|
4
|
+
data.tar.gz: ad497500fb8b69b49c62097727cf1bb24d7119deb4fa53660693184883a92115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 847f09feed503bec49f36de06eb23dce71bd842b8947de8bbaf6c9456c80db55230a5aaa3f5bbc292fc142d8351d501abb8efa3d641fca5c6528d38c932d1323
|
7
|
+
data.tar.gz: f9331fdfae0801c28f3b88b4d6c4947c8443b00da71ee0ec04c75ffaf8a1a26df03982a00521bd4559e1bab160d4369cbe79b118a1f53941f96eaa8be923ef64
|
data/.openapi-generator/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.0
|
1
|
+
3.3.0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
### 1.4.0 [May 21, 2021]
|
2
|
+
|
3
|
+
- Fix URI.escape deprecation warning for Ruby 2.7.0
|
4
|
+
|
5
|
+
### 1.3.2 [November 19, 2020]
|
6
|
+
|
7
|
+
- Added "sort_order" property for Submission Data Requests
|
8
|
+
|
9
|
+
### 1.3.1 [September 27, 2020]
|
10
|
+
|
11
|
+
- Changed gem author to DocSpring
|
12
|
+
|
13
|
+
### 1.3.0 [September 26, 2020]
|
14
|
+
|
15
|
+
- Updated OpenAPI Generator to v3.3.0
|
16
|
+
|
17
|
+
### 1.2.1 [September 24, 2020]
|
18
|
+
|
19
|
+
- 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
|
20
|
+
|
1
21
|
### 1.2.0 [September 21, 2020]
|
2
22
|
|
3
23
|
- Renamed some internal models for template creation API endpoints. (CreateTemplateData / CreateTemplateData1 renamed to CreateHtmlTemplateData and CreateTemplateFromUploadData)
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
docspring (1.
|
4
|
+
docspring (1.4.0)
|
5
5
|
ffi (~> 1.0, >= 1.9.24)
|
6
6
|
json (>= 1.8)
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -14,8 +14,6 @@ GEM
|
|
14
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.15)
|
18
|
-
sys-uname
|
19
17
|
autotest-growl (0.2.16)
|
20
18
|
autotest-rails-pure (4.1.2)
|
21
19
|
bundler-audit (0.6.1)
|
@@ -54,8 +52,6 @@ GEM
|
|
54
52
|
rspec-support (~> 3.9.0)
|
55
53
|
rspec-support (3.9.2)
|
56
54
|
safe_yaml (1.0.5)
|
57
|
-
sys-uname (1.2.0)
|
58
|
-
ffi (>= 1.0.0)
|
59
55
|
thor (0.20.3)
|
60
56
|
typhoeus (1.3.1)
|
61
57
|
ethon (>= 0.9.0)
|
@@ -70,7 +66,6 @@ PLATFORMS
|
|
70
66
|
|
71
67
|
DEPENDENCIES
|
72
68
|
autotest (~> 4.4, >= 4.4.6)
|
73
|
-
autotest-fsevent (~> 0.2, >= 0.2.15)
|
74
69
|
autotest-growl (~> 0.2, >= 0.2.16)
|
75
70
|
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
76
71
|
bundler-audit
|
@@ -82,4 +77,4 @@ DEPENDENCIES
|
|
82
77
|
webmock (~> 1.24, >= 1.24.3)
|
83
78
|
|
84
79
|
BUNDLED WITH
|
85
|
-
2.
|
80
|
+
2.2.11
|
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.4.0
|
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.4.0.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./docspring-1.
|
28
|
+
(for development, run `gem install --dev ./docspring-1.4.0.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.4.0'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -86,6 +86,7 @@ Class | Method | HTTP request | Description
|
|
86
86
|
*DocSpring::PDFApi* | [**batch_generate_pdfs**](docs/PDFApi.md#batch_generate_pdfs) | **POST** /submissions/batches | Generates multiple PDFs
|
87
87
|
*DocSpring::PDFApi* | [**combine_pdfs**](docs/PDFApi.md#combine_pdfs) | **POST** /combined_submissions?v=2 | Merge submission PDFs, template PDFs, or custom files
|
88
88
|
*DocSpring::PDFApi* | [**combine_submissions**](docs/PDFApi.md#combine_submissions) | **POST** /combined_submissions | Merge generated PDFs together
|
89
|
+
*DocSpring::PDFApi* | [**copy_template**](docs/PDFApi.md#copy_template) | **POST** /templates/{template_id}/copy | Copy a Template
|
89
90
|
*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
|
90
91
|
*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
|
91
92
|
*DocSpring::PDFApi* | [**create_folder**](docs/PDFApi.md#create_folder) | **POST** /folders/ | Create a folder
|
@@ -123,6 +124,7 @@ Class | Method | HTTP request | Description
|
|
123
124
|
- [DocSpring::CombinedSubmission](docs/CombinedSubmission.md)
|
124
125
|
- [DocSpring::CombinedSubmissionAction](docs/CombinedSubmissionAction.md)
|
125
126
|
- [DocSpring::CombinedSubmissionData](docs/CombinedSubmissionData.md)
|
127
|
+
- [DocSpring::CopyTemplateData](docs/CopyTemplateData.md)
|
126
128
|
- [DocSpring::CreateCombinedSubmissionResponse](docs/CreateCombinedSubmissionResponse.md)
|
127
129
|
- [DocSpring::CreateCustomFileData](docs/CreateCustomFileData.md)
|
128
130
|
- [DocSpring::CreateCustomFileResponse](docs/CreateCustomFileResponse.md)
|
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
|
|
@@ -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
|
|
@@ -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
|
|
data/docs/HtmlTemplateData.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
**expiration_interval** | **String** | | [optional]
|
7
7
|
**webhook_url** | **String** | | [optional]
|
8
8
|
**scss** | **String** | | [optional]
|
9
|
-
**expire_after** | **Float** | | [optional]
|
10
9
|
**allow_additional_properties** | **BOOLEAN** | | [optional]
|
10
|
+
**expire_after** | **Float** | | [optional]
|
11
11
|
**description** | **String** | | [optional]
|
12
12
|
**public_submissions** | **BOOLEAN** | | [optional]
|
13
13
|
**slack_webhook_url** | **String** | | [optional]
|
@@ -16,8 +16,8 @@ Name | Type | Description | Notes
|
|
16
16
|
**editable_submissions** | **BOOLEAN** | | [optional]
|
17
17
|
**expire_submissions** | **BOOLEAN** | | [optional]
|
18
18
|
**name** | **String** | | [optional]
|
19
|
-
**html** | **String** | | [optional]
|
20
19
|
**footer_html** | **String** | | [optional]
|
20
|
+
**html** | **String** | | [optional]
|
21
21
|
**template_type** | **String** | | [optional]
|
22
22
|
**redirect_url** | **String** | | [optional]
|
23
23
|
|
data/docs/MoveTemplateData.md
CHANGED
data/docs/PDFApi.md
CHANGED
@@ -9,6 +9,7 @@ Method | HTTP request | Description
|
|
9
9
|
[**batch_generate_pdfs**](PDFApi.md#batch_generate_pdfs) | **POST** /submissions/batches | Generates multiple PDFs
|
10
10
|
[**combine_pdfs**](PDFApi.md#combine_pdfs) | **POST** /combined_submissions?v=2 | Merge submission PDFs, template PDFs, or custom files
|
11
11
|
[**combine_submissions**](PDFApi.md#combine_submissions) | **POST** /combined_submissions | Merge generated PDFs together
|
12
|
+
[**copy_template**](PDFApi.md#copy_template) | **POST** /templates/{template_id}/copy | Copy a Template
|
12
13
|
[**create_custom_file_from_upload**](PDFApi.md#create_custom_file_from_upload) | **POST** /custom_files | Create a new custom file from a cached presign upload
|
13
14
|
[**create_data_request_token**](PDFApi.md#create_data_request_token) | **POST** /data_requests/{data_request_id}/tokens | Creates a new data request token for form authentication
|
14
15
|
[**create_folder**](PDFApi.md#create_folder) | **POST** /folders/ | Create a folder
|
@@ -285,6 +286,57 @@ Name | Type | Description | Notes
|
|
285
286
|
|
286
287
|
|
287
288
|
|
289
|
+
# **copy_template**
|
290
|
+
> Template copy_template(template_id, copy_template_data)
|
291
|
+
|
292
|
+
Copy a Template
|
293
|
+
|
294
|
+
### Example
|
295
|
+
```ruby
|
296
|
+
# load the gem
|
297
|
+
require 'docspring'
|
298
|
+
# setup authorization
|
299
|
+
DocSpring.configure do |config|
|
300
|
+
# Configure HTTP basic authorization: api_token_basic
|
301
|
+
config.username = 'YOUR USERNAME'
|
302
|
+
config.password = 'YOUR PASSWORD'
|
303
|
+
end
|
304
|
+
|
305
|
+
api_instance = DocSpring::PDFApi.new
|
306
|
+
template_id = 'tpl_000000000000000001' # String |
|
307
|
+
copy_template_data = DocSpring::CopyTemplateData.new # CopyTemplateData |
|
308
|
+
|
309
|
+
begin
|
310
|
+
#Copy a Template
|
311
|
+
result = api_instance.copy_template(template_id, copy_template_data)
|
312
|
+
p result
|
313
|
+
rescue DocSpring::ApiError => e
|
314
|
+
puts "Exception when calling PDFApi->copy_template: #{e}"
|
315
|
+
end
|
316
|
+
```
|
317
|
+
|
318
|
+
### Parameters
|
319
|
+
|
320
|
+
Name | Type | Description | Notes
|
321
|
+
------------- | ------------- | ------------- | -------------
|
322
|
+
**template_id** | **String**| |
|
323
|
+
**copy_template_data** | [**CopyTemplateData**](CopyTemplateData.md)| |
|
324
|
+
|
325
|
+
### Return type
|
326
|
+
|
327
|
+
[**Template**](Template.md)
|
328
|
+
|
329
|
+
### Authorization
|
330
|
+
|
331
|
+
[api_token_basic](../README.md#api_token_basic)
|
332
|
+
|
333
|
+
### HTTP request headers
|
334
|
+
|
335
|
+
- **Content-Type**: application/json
|
336
|
+
- **Accept**: application/json
|
337
|
+
|
338
|
+
|
339
|
+
|
288
340
|
# **create_custom_file_from_upload**
|
289
341
|
> CreateCustomFileResponse create_custom_file_from_upload(create_custom_file_data)
|
290
342
|
|
@@ -945,7 +997,7 @@ end
|
|
945
997
|
api_instance = DocSpring::PDFApi.new
|
946
998
|
submission_id = 'sub_000000000000000001' # String |
|
947
999
|
opts = {
|
948
|
-
include_data:
|
1000
|
+
include_data: true # BOOLEAN |
|
949
1001
|
}
|
950
1002
|
|
951
1003
|
begin
|
data/docs/Submission.md
CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**expires_at** | **String** | | [optional]
|
12
12
|
**processed_at** | **String** | | [optional]
|
13
13
|
**state** | **String** | |
|
14
|
+
**data** | **Object** | | [optional]
|
14
15
|
**metadata** | **Object** | | [optional]
|
15
16
|
**truncated_text** | **Object** | | [optional]
|
16
17
|
**pdf_hash** | **String** | | [optional]
|
@@ -19,5 +20,7 @@ Name | Type | Description | Notes
|
|
19
20
|
**batch_id** | **String** | | [optional]
|
20
21
|
**data_requests** | [**Array<SubmissionDataRequest>**](SubmissionDataRequest.md) | | [optional]
|
21
22
|
**actions** | [**Array<SubmissionAction>**](SubmissionAction.md) | | [optional]
|
23
|
+
**source** | **String** | | [optional]
|
24
|
+
**referrer** | **String** | | [optional]
|
22
25
|
|
23
26
|
|
data/docs/SubmissionBatchData.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**metadata** | **Object** | | [optional]
|
7
|
-
**test** | **BOOLEAN** | | [optional]
|
8
|
-
**template_id** | **String** | | [optional]
|
9
7
|
**submissions** | [**Array<SubmissionDataBatchRequest>**](SubmissionDataBatchRequest.md) | |
|
8
|
+
**template_id** | **String** | | [optional]
|
9
|
+
**test** | **BOOLEAN** | | [optional]
|
10
10
|
|
11
11
|
|
data/docs/SubmissionData.md
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**
|
6
|
+
**css** | **String** | | [optional]
|
7
7
|
**data** | **Object** | |
|
8
|
+
**data_requests** | [**Array<CreateSubmissionDataRequestData>**](CreateSubmissionDataRequestData.md) | | [optional]
|
9
|
+
**field_overrides** | **Object** | | [optional]
|
8
10
|
**html** | **String** | | [optional]
|
9
|
-
**css** | **String** | | [optional]
|
10
11
|
**metadata** | **Object** | | [optional]
|
11
|
-
**
|
12
|
-
**data_requests** | [**Array<CreateSubmissionDataRequestData>**](CreateSubmissionDataRequestData.md) | | [optional]
|
12
|
+
**test** | **BOOLEAN** | | [optional]
|
13
13
|
|
14
14
|
|
@@ -5,9 +5,9 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**css** | **String** | | [optional]
|
7
7
|
**metadata** | **Object** | | [optional]
|
8
|
-
**test** | **BOOLEAN** | | [optional]
|
9
8
|
**data** | **Object** | | [optional]
|
10
|
-
**
|
9
|
+
**test** | **BOOLEAN** | | [optional]
|
11
10
|
**html** | **String** | | [optional]
|
11
|
+
**template_id** | **String** | | [optional]
|
12
12
|
|
13
13
|
|
data/docs/TemplateData.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
**expiration_interval** | **String** | | [optional]
|
7
7
|
**webhook_url** | **String** | | [optional]
|
8
8
|
**scss** | **String** | | [optional]
|
9
|
-
**expire_after** | **Float** | | [optional]
|
10
9
|
**allow_additional_properties** | **BOOLEAN** | | [optional]
|
10
|
+
**expire_after** | **Float** | | [optional]
|
11
11
|
**description** | **String** | | [optional]
|
12
12
|
**public_submissions** | **BOOLEAN** | | [optional]
|
13
13
|
**slack_webhook_url** | **String** | | [optional]
|
@@ -16,8 +16,8 @@ Name | Type | Description | Notes
|
|
16
16
|
**editable_submissions** | **BOOLEAN** | | [optional]
|
17
17
|
**expire_submissions** | **BOOLEAN** | | [optional]
|
18
18
|
**name** | **String** | | [optional]
|
19
|
-
**html** | **String** | | [optional]
|
20
19
|
**footer_html** | **String** | | [optional]
|
20
|
+
**html** | **String** | | [optional]
|
21
21
|
**redirect_url** | **String** | | [optional]
|
22
22
|
|
23
23
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**uppercase** | **BOOLEAN** | | [optional]
|
7
6
|
**background_color_field_name** | **String** | | [optional]
|
7
|
+
**uppercase** | **BOOLEAN** | | [optional]
|
8
8
|
**metadata** | **String** | | [optional]
|
9
9
|
**barcode_symbology** | **String** | | [optional]
|
10
10
|
**min_length** | **Float** | | [optional]
|
@@ -23,19 +23,19 @@ Name | Type | Description | Notes
|
|
23
23
|
**height** | **Float** | | [optional]
|
24
24
|
**number_condition_range_exclusive_max** | **BOOLEAN** | | [optional]
|
25
25
|
**invert_boolean_condition** | **BOOLEAN** | | [optional]
|
26
|
-
**static** | **BOOLEAN** | | [optional]
|
27
26
|
**shape_fill_color_field_name** | **String** | | [optional]
|
27
|
+
**static** | **BOOLEAN** | | [optional]
|
28
28
|
**shape_border_color_field_name** | **String** | | [optional]
|
29
29
|
**v_alignment** | **String** | | [optional]
|
30
30
|
**bold** | **BOOLEAN** | | [optional]
|
31
31
|
**shape_border_width** | **Float** | | [optional]
|
32
32
|
**comb_number_of_cells** | **Float** | | [optional]
|
33
33
|
**shape_border_color** | **String** | | [optional]
|
34
|
-
**typeface** | **String** | | [optional]
|
35
34
|
**comb** | **BOOLEAN** | | [optional]
|
35
|
+
**typeface** | **String** | | [optional]
|
36
36
|
**shape_type** | **String** | | [optional]
|
37
|
-
**display_type** | **String** | | [optional]
|
38
37
|
**condition** | **String** | | [optional]
|
38
|
+
**display_type** | **String** | | [optional]
|
39
39
|
**check_color** | **String** | | [optional]
|
40
40
|
**multiline_lines** | **Float** | | [optional]
|
41
41
|
**multiline** | **BOOLEAN** | | [optional]
|
@@ -49,8 +49,8 @@ Name | Type | Description | Notes
|
|
49
49
|
**color_field_name** | **String** | | [optional]
|
50
50
|
**qrcode_color_field_name** | **String** | | [optional]
|
51
51
|
**number_condition_range_min** | **Float** | | [optional]
|
52
|
-
**hidden** | **BOOLEAN** | | [optional]
|
53
52
|
**color** | **String** | | [optional]
|
53
|
+
**hidden** | **BOOLEAN** | | [optional]
|
54
54
|
**check_color_field_required** | **BOOLEAN** | | [optional]
|
55
55
|
**combined_field_format** | **String** | | [optional]
|
56
56
|
**description** | **String** | | [optional]
|
@@ -65,8 +65,8 @@ Name | Type | Description | Notes
|
|
65
65
|
**date_time_format** | **String** | | [optional]
|
66
66
|
**qrcode_color_field_required** | **BOOLEAN** | | [optional]
|
67
67
|
**currency** | **BOOLEAN** | | [optional]
|
68
|
-
**strikethrough** | **BOOLEAN** | | [optional]
|
69
68
|
**false_text** | **String** | | [optional]
|
69
|
+
**strikethrough** | **BOOLEAN** | | [optional]
|
70
70
|
**character_spacing** | **Float** | | [optional]
|
71
71
|
**number_condition_range_max** | **Float** | | [optional]
|
72
72
|
**background_color** | **String** | | [optional]
|
@@ -77,15 +77,15 @@ Name | Type | Description | Notes
|
|
77
77
|
**shape_fill_color** | **String** | | [optional]
|
78
78
|
**string_condition_type** | **String** | | [optional]
|
79
79
|
**shape_fill_color_field_required** | **BOOLEAN** | | [optional]
|
80
|
-
**include_time** | **BOOLEAN** | | [optional]
|
81
80
|
**decimal_places** | **Float** | | [optional]
|
82
|
-
**
|
81
|
+
**include_time** | **BOOLEAN** | | [optional]
|
83
82
|
**width** | **Float** | | [optional]
|
83
|
+
**x** | **Float** | | [optional]
|
84
84
|
**maximum** | **Float** | | [optional]
|
85
85
|
**y** | **Float** | | [optional]
|
86
86
|
**signature_allow_draw** | **BOOLEAN** | | [optional]
|
87
|
-
**opacity** | **Float** | | [optional]
|
88
87
|
**number_condition_type** | **String** | | [optional]
|
88
|
+
**opacity** | **Float** | | [optional]
|
89
89
|
**minimum** | **Float** | | [optional]
|
90
90
|
**signature_allow_type** | **BOOLEAN** | | [optional]
|
91
91
|
|