cloudmersive-convert-api-client 2.1.3 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -4
- data/docs/EditDocumentApi.md +165 -0
- data/docs/EditHtmlApi.md +60 -0
- data/docs/GetMacrosResponse.md +9 -0
- data/docs/HtmlGetLinksResponse.md +9 -0
- data/docs/HtmlHyperlink.md +9 -0
- data/docs/HtmlSsrfThreatCheckResult.md +10 -0
- data/docs/HtmlThreatLink.md +9 -0
- data/docs/MergeDocumentApi.md +134 -0
- data/docs/ValidateDocumentApi.md +220 -0
- data/docs/XxeThreatDetectionResult.md +9 -0
- data/docs/ZipArchiveApi.md +62 -0
- data/lib/cloudmersive-convert-api-client.rb +6 -0
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +165 -0
- data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +55 -0
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +148 -0
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +220 -0
- data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +63 -0
- data/lib/cloudmersive-convert-api-client/models/get_macros_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/html_get_links_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/html_hyperlink.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/html_ssrf_threat_check_result.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/html_threat_link.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/xxe_threat_detection_result.rb +196 -0
- data/lib/cloudmersive-convert-api-client/version.rb +1 -1
- data/spec/api/edit_document_api_spec.rb +36 -0
- data/spec/api/edit_html_api_spec.rb +14 -0
- data/spec/api/merge_document_api_spec.rb +34 -0
- data/spec/api/validate_document_api_spec.rb +48 -0
- data/spec/api/zip_archive_api_spec.rb +14 -0
- data/spec/models/get_macros_response_spec.rb +47 -0
- data/spec/models/html_get_links_response_spec.rb +47 -0
- data/spec/models/html_hyperlink_spec.rb +47 -0
- data/spec/models/html_ssrf_threat_check_result_spec.rb +53 -0
- data/spec/models/html_threat_link_spec.rb +47 -0
- data/spec/models/xxe_threat_detection_result_spec.rb +47 -0
- metadata +20 -2
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::HtmlGetLinksResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'HtmlGetLinksResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::HtmlGetLinksResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of HtmlGetLinksResponse' do
|
31
|
+
it 'should create an instance of HtmlGetLinksResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HtmlGetLinksResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' 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 "links"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::HtmlHyperlink
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'HtmlHyperlink' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::HtmlHyperlink.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of HtmlHyperlink' do
|
31
|
+
it 'should create an instance of HtmlHyperlink' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HtmlHyperlink)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "anchortext"' 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 "url"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::HtmlSsrfThreatCheckResult
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'HtmlSsrfThreatCheckResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::HtmlSsrfThreatCheckResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of HtmlSsrfThreatCheckResult' do
|
31
|
+
it 'should create an instance of HtmlSsrfThreatCheckResult' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HtmlSsrfThreatCheckResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "is_valid"' 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 "is_threat"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "threat_links"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::HtmlThreatLink
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'HtmlThreatLink' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::HtmlThreatLink.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of HtmlThreatLink' do
|
31
|
+
it 'should create an instance of HtmlThreatLink' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HtmlThreatLink)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "link_url"' 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 "threat_level"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::XxeThreatDetectionResult
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'XxeThreatDetectionResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::XxeThreatDetectionResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of XxeThreatDetectionResult' do
|
31
|
+
it 'should create an instance of XxeThreatDetectionResult' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::XxeThreatDetectionResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' 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 "contains_xxe_threat"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-convert-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -325,6 +325,7 @@ files:
|
|
325
325
|
- "./docs/GetDocxTablesResponse.md"
|
326
326
|
- "./docs/GetFileTypeIconResult.md"
|
327
327
|
- "./docs/GetImageInfoResult.md"
|
328
|
+
- "./docs/GetMacrosResponse.md"
|
328
329
|
- "./docs/GetPdfAnnotationsResult.md"
|
329
330
|
- "./docs/GetXlsxCellByIdentifierRequest.md"
|
330
331
|
- "./docs/GetXlsxCellByIdentifierResponse.md"
|
@@ -342,10 +343,14 @@ files:
|
|
342
343
|
- "./docs/GetXlsxStylesResponse.md"
|
343
344
|
- "./docs/GetXlsxWorksheetsRequest.md"
|
344
345
|
- "./docs/GetXlsxWorksheetsResponse.md"
|
346
|
+
- "./docs/HtmlGetLinksResponse.md"
|
347
|
+
- "./docs/HtmlHyperlink.md"
|
345
348
|
- "./docs/HtmlMdResult.md"
|
349
|
+
- "./docs/HtmlSsrfThreatCheckResult.md"
|
346
350
|
- "./docs/HtmlTemplateApplicationRequest.md"
|
347
351
|
- "./docs/HtmlTemplateApplicationResponse.md"
|
348
352
|
- "./docs/HtmlTemplateOperation.md"
|
353
|
+
- "./docs/HtmlThreatLink.md"
|
349
354
|
- "./docs/HtmlToOfficeRequest.md"
|
350
355
|
- "./docs/HtmlToPdfRequest.md"
|
351
356
|
- "./docs/HtmlToPngRequest.md"
|
@@ -456,6 +461,7 @@ files:
|
|
456
461
|
- "./docs/XmlRemoveWithXPathResult.md"
|
457
462
|
- "./docs/XmlReplaceWithXPathResult.md"
|
458
463
|
- "./docs/XmlSetValueWithXPathResult.md"
|
464
|
+
- "./docs/XxeThreatDetectionResult.md"
|
459
465
|
- "./docs/ZipArchiveApi.md"
|
460
466
|
- "./docs/ZipDirectory.md"
|
461
467
|
- "./docs/ZipEncryptionAdvancedRequest.md"
|
@@ -595,6 +601,7 @@ files:
|
|
595
601
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb"
|
596
602
|
- "./lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb"
|
597
603
|
- "./lib/cloudmersive-convert-api-client/models/get_image_info_result.rb"
|
604
|
+
- "./lib/cloudmersive-convert-api-client/models/get_macros_response.rb"
|
598
605
|
- "./lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb"
|
599
606
|
- "./lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb"
|
600
607
|
- "./lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb"
|
@@ -612,10 +619,14 @@ files:
|
|
612
619
|
- "./lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb"
|
613
620
|
- "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb"
|
614
621
|
- "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb"
|
622
|
+
- "./lib/cloudmersive-convert-api-client/models/html_get_links_response.rb"
|
623
|
+
- "./lib/cloudmersive-convert-api-client/models/html_hyperlink.rb"
|
615
624
|
- "./lib/cloudmersive-convert-api-client/models/html_md_result.rb"
|
625
|
+
- "./lib/cloudmersive-convert-api-client/models/html_ssrf_threat_check_result.rb"
|
616
626
|
- "./lib/cloudmersive-convert-api-client/models/html_template_application_request.rb"
|
617
627
|
- "./lib/cloudmersive-convert-api-client/models/html_template_application_response.rb"
|
618
628
|
- "./lib/cloudmersive-convert-api-client/models/html_template_operation.rb"
|
629
|
+
- "./lib/cloudmersive-convert-api-client/models/html_threat_link.rb"
|
619
630
|
- "./lib/cloudmersive-convert-api-client/models/html_to_office_request.rb"
|
620
631
|
- "./lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb"
|
621
632
|
- "./lib/cloudmersive-convert-api-client/models/html_to_png_request.rb"
|
@@ -721,6 +732,7 @@ files:
|
|
721
732
|
- "./lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb"
|
722
733
|
- "./lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb"
|
723
734
|
- "./lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb"
|
735
|
+
- "./lib/cloudmersive-convert-api-client/models/xxe_threat_detection_result.rb"
|
724
736
|
- "./lib/cloudmersive-convert-api-client/models/zip_directory.rb"
|
725
737
|
- "./lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb"
|
726
738
|
- "./lib/cloudmersive-convert-api-client/models/zip_extract_response.rb"
|
@@ -857,6 +869,7 @@ files:
|
|
857
869
|
- "./spec/models/get_docx_tables_response_spec.rb"
|
858
870
|
- "./spec/models/get_file_type_icon_result_spec.rb"
|
859
871
|
- "./spec/models/get_image_info_result_spec.rb"
|
872
|
+
- "./spec/models/get_macros_response_spec.rb"
|
860
873
|
- "./spec/models/get_pdf_annotations_result_spec.rb"
|
861
874
|
- "./spec/models/get_xlsx_cell_by_identifier_request_spec.rb"
|
862
875
|
- "./spec/models/get_xlsx_cell_by_identifier_response_spec.rb"
|
@@ -874,10 +887,14 @@ files:
|
|
874
887
|
- "./spec/models/get_xlsx_styles_response_spec.rb"
|
875
888
|
- "./spec/models/get_xlsx_worksheets_request_spec.rb"
|
876
889
|
- "./spec/models/get_xlsx_worksheets_response_spec.rb"
|
890
|
+
- "./spec/models/html_get_links_response_spec.rb"
|
891
|
+
- "./spec/models/html_hyperlink_spec.rb"
|
877
892
|
- "./spec/models/html_md_result_spec.rb"
|
893
|
+
- "./spec/models/html_ssrf_threat_check_result_spec.rb"
|
878
894
|
- "./spec/models/html_template_application_request_spec.rb"
|
879
895
|
- "./spec/models/html_template_application_response_spec.rb"
|
880
896
|
- "./spec/models/html_template_operation_spec.rb"
|
897
|
+
- "./spec/models/html_threat_link_spec.rb"
|
881
898
|
- "./spec/models/html_to_office_request_spec.rb"
|
882
899
|
- "./spec/models/html_to_pdf_request_spec.rb"
|
883
900
|
- "./spec/models/html_to_png_request_spec.rb"
|
@@ -983,6 +1000,7 @@ files:
|
|
983
1000
|
- "./spec/models/xml_remove_with_x_path_result_spec.rb"
|
984
1001
|
- "./spec/models/xml_replace_with_x_path_result_spec.rb"
|
985
1002
|
- "./spec/models/xml_set_value_with_x_path_result_spec.rb"
|
1003
|
+
- "./spec/models/xxe_threat_detection_result_spec.rb"
|
986
1004
|
- "./spec/models/zip_directory_spec.rb"
|
987
1005
|
- "./spec/models/zip_encryption_advanced_request_spec.rb"
|
988
1006
|
- "./spec/models/zip_extract_response_spec.rb"
|