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
@@ -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
|
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 "
|
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 "
|
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 "
|
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 "
|
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 "
|
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 "
|
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 "
|
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 "
|
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 "
|
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 "
|
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 "
|
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 "
|
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
|
@@ -0,0 +1,41 @@
|
|
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::UpdateTemplateData
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UpdateTemplateData' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = DocSpring::UpdateTemplateData.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UpdateTemplateData' do
|
31
|
+
it 'should create an instance of UpdateTemplateData' do
|
32
|
+
expect(@instance).to be_instance_of(DocSpring::UpdateTemplateData)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "template"' 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
|
+
end
|
@@ -0,0 +1,51 @@
|
|
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::UpdateTemplateResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UpdateTemplateResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = DocSpring::UpdateTemplateResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UpdateTemplateResponse' do
|
31
|
+
it 'should create an instance of UpdateTemplateResponse' do
|
32
|
+
expect(@instance).to be_instance_of(DocSpring::UpdateTemplateResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "errors"' 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 "status"' 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', ["success", "error"])
|
45
|
+
# validator.allowable_values.each do |value|
|
46
|
+
# expect { @instance.status = value }.not_to raise_error
|
47
|
+
# end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
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
|
9
|
+
OpenAPI Generator version: 3.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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
|
data/spec/models/{templatesv2_template_document_spec.rb → upload_template_data_document_spec.rb}
RENAMED
@@ -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
|
9
|
+
OpenAPI Generator version: 3.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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
|
@@ -0,0 +1,151 @@
|
|
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::UploadTemplateData
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UploadTemplateData' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = DocSpring::UploadTemplateData.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
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
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "expiration_interval"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["minutes", "hours", "days"])
|
39
|
+
# validator.allowable_values.each do |value|
|
40
|
+
# expect { @instance.expiration_interval = value }.not_to raise_error
|
41
|
+
# end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "webhook_url"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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 "allow_additional_properties"' 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 "document"' 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 "expire_after"' 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 "description"' 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 "public_submissions"' 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 "slack_webhook_url"' 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 "editable_submissions"' 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 "expire_submissions"' 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 "name"' 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 "footer_html"' 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 "html"' 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 "template_type"' do
|
136
|
+
it 'should work' do
|
137
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
138
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pdf", "html"])
|
139
|
+
# validator.allowable_values.each do |value|
|
140
|
+
# expect { @instance.template_type = value }.not_to raise_error
|
141
|
+
# end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
describe 'test attribute "redirect_url"' do
|
146
|
+
it 'should work' do
|
147
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
end
|
data/spec/spec_helper.rb
CHANGED
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.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- DocSpring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -68,22 +68,22 @@ dependencies:
|
|
68
68
|
name: rspec
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - ">="
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: 3.6.0
|
74
71
|
- - "~>"
|
75
72
|
- !ruby/object:Gem::Version
|
76
73
|
version: '3.6'
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 3.6.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 3.6.0
|
84
81
|
- - "~>"
|
85
82
|
- !ruby/object:Gem::Version
|
86
83
|
version: '3.6'
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 3.6.0
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: vcr
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -193,7 +193,7 @@ dependencies:
|
|
193
193
|
version: '0.2'
|
194
194
|
- - ">="
|
195
195
|
- !ruby/object:Gem::Version
|
196
|
-
version: 0.2.
|
196
|
+
version: 0.2.15
|
197
197
|
type: :development
|
198
198
|
prerelease: false
|
199
199
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -203,7 +203,7 @@ dependencies:
|
|
203
203
|
version: '0.2'
|
204
204
|
- - ">="
|
205
205
|
- !ruby/object:Gem::Version
|
206
|
-
version: 0.2.
|
206
|
+
version: 0.2.15
|
207
207
|
description: Client library for the DocSpring PDF generation and e-signature service
|
208
208
|
email:
|
209
209
|
- support@docspring.com
|
@@ -216,16 +216,14 @@ files:
|
|
216
216
|
- ".openapi-generator/VERSION"
|
217
217
|
- ".rspec"
|
218
218
|
- ".rubocop.yml"
|
219
|
-
- ".swagger-codegen-ignore"
|
220
|
-
- ".swagger-codegen/VERSION"
|
221
|
-
- ".swagger-revision"
|
222
|
-
- ".travis.yml"
|
223
219
|
- CHANGELOG.md
|
224
220
|
- Gemfile
|
225
221
|
- Gemfile.lock
|
226
222
|
- LICENSE
|
227
223
|
- README.md
|
228
224
|
- Rakefile
|
225
|
+
- docs/AddFieldsData.md
|
226
|
+
- docs/AddFieldsTemplateResponse.md
|
229
227
|
- docs/AuthenticationError.md
|
230
228
|
- docs/AuthenticationSuccessResponse.md
|
231
229
|
- docs/CombinePdfsData.md
|
@@ -236,17 +234,19 @@ files:
|
|
236
234
|
- docs/CreateCustomFileData.md
|
237
235
|
- docs/CreateCustomFileResponse.md
|
238
236
|
- docs/CreateFolderData.md
|
237
|
+
- docs/CreateHtmlTemplateData.md
|
239
238
|
- docs/CreateSubmissionBatchResponse.md
|
240
239
|
- docs/CreateSubmissionBatchSubmissionsResponse.md
|
241
240
|
- docs/CreateSubmissionDataRequestData.md
|
242
241
|
- docs/CreateSubmissionDataRequestTokenResponse.md
|
243
242
|
- docs/CreateSubmissionDataRequestTokenResponseToken.md
|
244
243
|
- docs/CreateSubmissionResponse.md
|
245
|
-
- docs/
|
244
|
+
- docs/CreateTemplateFromUploadData.md
|
246
245
|
- docs/CustomFile.md
|
247
246
|
- docs/Error.md
|
248
247
|
- docs/Folder.md
|
249
248
|
- docs/FoldersFolder.md
|
249
|
+
- docs/HtmlTemplateData.md
|
250
250
|
- docs/InvalidRequest.md
|
251
251
|
- docs/MoveFolderData.md
|
252
252
|
- docs/MoveTemplateData.md
|
@@ -261,11 +261,15 @@ files:
|
|
261
261
|
- docs/SubmissionDataBatchRequest.md
|
262
262
|
- docs/SubmissionDataRequest.md
|
263
263
|
- docs/Template.md
|
264
|
-
- docs/
|
265
|
-
- docs/
|
266
|
-
- docs/Templatesv2TemplateDocumentMetadata.md
|
264
|
+
- docs/TemplateData.md
|
265
|
+
- docs/TemplatestemplateIdaddFieldsFields.md
|
267
266
|
- docs/UpdateDataRequestResponse.md
|
268
267
|
- docs/UpdateSubmissionDataRequestData.md
|
268
|
+
- docs/UpdateTemplateData.md
|
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,17 +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/
|
300
|
+
- lib/docspring/models/create_template_from_upload_data.rb
|
294
301
|
- lib/docspring/models/custom_file.rb
|
295
302
|
- lib/docspring/models/error.rb
|
296
303
|
- lib/docspring/models/folder.rb
|
297
304
|
- lib/docspring/models/folders_folder.rb
|
305
|
+
- lib/docspring/models/html_template_data.rb
|
298
306
|
- lib/docspring/models/invalid_request.rb
|
299
307
|
- lib/docspring/models/move_folder_data.rb
|
300
308
|
- lib/docspring/models/move_template_data.rb
|
@@ -308,17 +316,23 @@ files:
|
|
308
316
|
- lib/docspring/models/submission_data_batch_request.rb
|
309
317
|
- lib/docspring/models/submission_data_request.rb
|
310
318
|
- lib/docspring/models/template.rb
|
311
|
-
- lib/docspring/models/
|
312
|
-
- lib/docspring/models/
|
313
|
-
- lib/docspring/models/templatesv2_template_document_metadata.rb
|
319
|
+
- lib/docspring/models/template_data.rb
|
320
|
+
- lib/docspring/models/templatestemplate_idadd_fields_fields.rb
|
314
321
|
- lib/docspring/models/update_data_request_response.rb
|
315
322
|
- lib/docspring/models/update_submission_data_request_data.rb
|
323
|
+
- lib/docspring/models/update_template_data.rb
|
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
|
316
328
|
- lib/docspring/version.rb
|
317
329
|
- spec/api/client_integration_spec.rb
|
318
330
|
- spec/api/pdf_api_integration_spec.rb
|
319
331
|
- spec/api/pdf_api_spec_original.skipped.rb
|
320
332
|
- spec/api_client_spec.rb
|
321
333
|
- spec/configuration_spec.rb
|
334
|
+
- spec/models/add_fields_data_spec.rb
|
335
|
+
- spec/models/add_fields_template_response_spec.rb
|
322
336
|
- spec/models/authentication_error_spec.rb
|
323
337
|
- spec/models/authentication_success_response_spec.rb
|
324
338
|
- spec/models/combine_pdfs_data_spec.rb
|
@@ -329,17 +343,19 @@ files:
|
|
329
343
|
- spec/models/create_custom_file_data_spec.rb
|
330
344
|
- spec/models/create_custom_file_response_spec.rb
|
331
345
|
- spec/models/create_folder_data_spec.rb
|
346
|
+
- spec/models/create_html_template_data_spec.rb
|
332
347
|
- spec/models/create_submission_batch_response_spec.rb
|
333
348
|
- spec/models/create_submission_batch_submissions_response_spec.rb
|
334
349
|
- spec/models/create_submission_data_request_data_spec.rb
|
335
350
|
- spec/models/create_submission_data_request_token_response_spec.rb
|
336
351
|
- spec/models/create_submission_data_request_token_response_token_spec.rb
|
337
352
|
- spec/models/create_submission_response_spec.rb
|
338
|
-
- spec/models/
|
353
|
+
- spec/models/create_template_from_upload_data_spec.rb
|
339
354
|
- spec/models/custom_file_spec.rb
|
340
355
|
- spec/models/error_spec.rb
|
341
356
|
- spec/models/folder_spec.rb
|
342
357
|
- spec/models/folders_folder_spec.rb
|
358
|
+
- spec/models/html_template_data_spec.rb
|
343
359
|
- spec/models/invalid_request_spec.rb
|
344
360
|
- spec/models/move_folder_data_spec.rb
|
345
361
|
- spec/models/move_template_data_spec.rb
|
@@ -352,12 +368,16 @@ files:
|
|
352
368
|
- spec/models/submission_data_request_spec.rb
|
353
369
|
- spec/models/submission_data_spec.rb
|
354
370
|
- spec/models/submission_spec.rb
|
371
|
+
- spec/models/template_data_spec.rb
|
355
372
|
- spec/models/template_spec.rb
|
356
|
-
- spec/models/
|
357
|
-
- spec/models/templatesv2_template_document_spec.rb
|
358
|
-
- spec/models/templatesv2_template_spec.rb
|
373
|
+
- spec/models/templatestemplate_idadd_fields_fields_spec.rb
|
359
374
|
- spec/models/update_data_request_response_spec.rb
|
360
375
|
- spec/models/update_submission_data_request_data_spec.rb
|
376
|
+
- spec/models/update_template_data_spec.rb
|
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
|
361
381
|
- spec/spec_helper.rb
|
362
382
|
homepage: https://github.com/DocSpring/docspring-ruby
|
363
383
|
licenses:
|
@@ -378,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
378
398
|
- !ruby/object:Gem::Version
|
379
399
|
version: '0'
|
380
400
|
requirements: []
|
381
|
-
rubygems_version: 3.
|
401
|
+
rubygems_version: 3.1.2
|
382
402
|
signing_key:
|
383
403
|
specification_version: 4
|
384
404
|
summary: DocSpring API Client
|
@@ -388,6 +408,8 @@ test_files:
|
|
388
408
|
- spec/api/pdf_api_spec_original.skipped.rb
|
389
409
|
- spec/api_client_spec.rb
|
390
410
|
- spec/configuration_spec.rb
|
411
|
+
- spec/models/add_fields_data_spec.rb
|
412
|
+
- spec/models/add_fields_template_response_spec.rb
|
391
413
|
- spec/models/authentication_error_spec.rb
|
392
414
|
- spec/models/authentication_success_response_spec.rb
|
393
415
|
- spec/models/combine_pdfs_data_spec.rb
|
@@ -398,17 +420,19 @@ test_files:
|
|
398
420
|
- spec/models/create_custom_file_data_spec.rb
|
399
421
|
- spec/models/create_custom_file_response_spec.rb
|
400
422
|
- spec/models/create_folder_data_spec.rb
|
423
|
+
- spec/models/create_html_template_data_spec.rb
|
401
424
|
- spec/models/create_submission_batch_response_spec.rb
|
402
425
|
- spec/models/create_submission_batch_submissions_response_spec.rb
|
403
426
|
- spec/models/create_submission_data_request_data_spec.rb
|
404
427
|
- spec/models/create_submission_data_request_token_response_spec.rb
|
405
428
|
- spec/models/create_submission_data_request_token_response_token_spec.rb
|
406
429
|
- spec/models/create_submission_response_spec.rb
|
407
|
-
- spec/models/
|
430
|
+
- spec/models/create_template_from_upload_data_spec.rb
|
408
431
|
- spec/models/custom_file_spec.rb
|
409
432
|
- spec/models/error_spec.rb
|
410
433
|
- spec/models/folder_spec.rb
|
411
434
|
- spec/models/folders_folder_spec.rb
|
435
|
+
- spec/models/html_template_data_spec.rb
|
412
436
|
- spec/models/invalid_request_spec.rb
|
413
437
|
- spec/models/move_folder_data_spec.rb
|
414
438
|
- spec/models/move_template_data_spec.rb
|
@@ -421,10 +445,14 @@ test_files:
|
|
421
445
|
- spec/models/submission_data_request_spec.rb
|
422
446
|
- spec/models/submission_data_spec.rb
|
423
447
|
- spec/models/submission_spec.rb
|
448
|
+
- spec/models/template_data_spec.rb
|
424
449
|
- spec/models/template_spec.rb
|
425
|
-
- spec/models/
|
426
|
-
- spec/models/templatesv2_template_document_spec.rb
|
427
|
-
- spec/models/templatesv2_template_spec.rb
|
450
|
+
- spec/models/templatestemplate_idadd_fields_fields_spec.rb
|
428
451
|
- spec/models/update_data_request_response_spec.rb
|
429
452
|
- spec/models/update_submission_data_request_data_spec.rb
|
453
|
+
- spec/models/update_template_data_spec.rb
|
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
|
430
458
|
- spec/spec_helper.rb
|