cloudmersive-convert-api-client 2.1.4 → 2.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -4
  3. data/docs/EditDocumentApi.md +165 -0
  4. data/docs/EditHtmlApi.md +478 -0
  5. data/docs/EditPdfApi.md +6 -2
  6. data/docs/GetMacrosResponse.md +9 -0
  7. data/docs/HtmlGetLanguageResult.md +9 -0
  8. data/docs/HtmlGetLinksResponse.md +9 -0
  9. data/docs/HtmlGetRelCanonicalUrlResult.md +9 -0
  10. data/docs/HtmlGetSitemapUrlResult.md +9 -0
  11. data/docs/HtmlHyperlink.md +9 -0
  12. data/docs/HtmlSsrfThreatCheckResult.md +10 -0
  13. data/docs/HtmlThreatLink.md +9 -0
  14. data/docs/MergeDocumentApi.md +134 -0
  15. data/docs/ValidateDocumentApi.md +110 -0
  16. data/docs/XxeThreatDetectionResult.md +9 -0
  17. data/docs/ZipArchiveApi.md +62 -0
  18. data/lib/cloudmersive-convert-api-client.rb +9 -0
  19. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +165 -0
  20. data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +447 -0
  21. data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +3 -0
  22. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +148 -0
  23. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +110 -0
  24. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +63 -0
  25. data/lib/cloudmersive-convert-api-client/models/get_macros_response.rb +196 -0
  26. data/lib/cloudmersive-convert-api-client/models/html_get_language_result.rb +196 -0
  27. data/lib/cloudmersive-convert-api-client/models/html_get_links_response.rb +198 -0
  28. data/lib/cloudmersive-convert-api-client/models/html_get_rel_canonical_url_result.rb +196 -0
  29. data/lib/cloudmersive-convert-api-client/models/html_get_sitemap_url_result.rb +196 -0
  30. data/lib/cloudmersive-convert-api-client/models/html_hyperlink.rb +196 -0
  31. data/lib/cloudmersive-convert-api-client/models/html_ssrf_threat_check_result.rb +208 -0
  32. data/lib/cloudmersive-convert-api-client/models/html_threat_link.rb +196 -0
  33. data/lib/cloudmersive-convert-api-client/models/xxe_threat_detection_result.rb +196 -0
  34. data/lib/cloudmersive-convert-api-client/version.rb +1 -1
  35. data/spec/api/edit_document_api_spec.rb +36 -0
  36. data/spec/api/edit_html_api_spec.rb +109 -0
  37. data/spec/api/edit_pdf_api_spec.rb +1 -0
  38. data/spec/api/merge_document_api_spec.rb +34 -0
  39. data/spec/api/validate_document_api_spec.rb +24 -0
  40. data/spec/api/zip_archive_api_spec.rb +14 -0
  41. data/spec/models/get_macros_response_spec.rb +47 -0
  42. data/spec/models/html_get_language_result_spec.rb +47 -0
  43. data/spec/models/html_get_links_response_spec.rb +47 -0
  44. data/spec/models/html_get_rel_canonical_url_result_spec.rb +47 -0
  45. data/spec/models/html_get_sitemap_url_result_spec.rb +47 -0
  46. data/spec/models/html_hyperlink_spec.rb +47 -0
  47. data/spec/models/html_ssrf_threat_check_result_spec.rb +53 -0
  48. data/spec/models/html_threat_link_spec.rb +47 -0
  49. data/spec/models/xxe_threat_detection_result_spec.rb +47 -0
  50. metadata +29 -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::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
4
+ version: 2.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-06-20 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,17 @@ files:
342
343
  - "./docs/GetXlsxStylesResponse.md"
343
344
  - "./docs/GetXlsxWorksheetsRequest.md"
344
345
  - "./docs/GetXlsxWorksheetsResponse.md"
346
+ - "./docs/HtmlGetLanguageResult.md"
347
+ - "./docs/HtmlGetLinksResponse.md"
348
+ - "./docs/HtmlGetRelCanonicalUrlResult.md"
349
+ - "./docs/HtmlGetSitemapUrlResult.md"
350
+ - "./docs/HtmlHyperlink.md"
345
351
  - "./docs/HtmlMdResult.md"
352
+ - "./docs/HtmlSsrfThreatCheckResult.md"
346
353
  - "./docs/HtmlTemplateApplicationRequest.md"
347
354
  - "./docs/HtmlTemplateApplicationResponse.md"
348
355
  - "./docs/HtmlTemplateOperation.md"
356
+ - "./docs/HtmlThreatLink.md"
349
357
  - "./docs/HtmlToOfficeRequest.md"
350
358
  - "./docs/HtmlToPdfRequest.md"
351
359
  - "./docs/HtmlToPngRequest.md"
@@ -456,6 +464,7 @@ files:
456
464
  - "./docs/XmlRemoveWithXPathResult.md"
457
465
  - "./docs/XmlReplaceWithXPathResult.md"
458
466
  - "./docs/XmlSetValueWithXPathResult.md"
467
+ - "./docs/XxeThreatDetectionResult.md"
459
468
  - "./docs/ZipArchiveApi.md"
460
469
  - "./docs/ZipDirectory.md"
461
470
  - "./docs/ZipEncryptionAdvancedRequest.md"
@@ -595,6 +604,7 @@ files:
595
604
  - "./lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb"
596
605
  - "./lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb"
597
606
  - "./lib/cloudmersive-convert-api-client/models/get_image_info_result.rb"
607
+ - "./lib/cloudmersive-convert-api-client/models/get_macros_response.rb"
598
608
  - "./lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb"
599
609
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb"
600
610
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb"
@@ -612,10 +622,17 @@ files:
612
622
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb"
613
623
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb"
614
624
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb"
625
+ - "./lib/cloudmersive-convert-api-client/models/html_get_language_result.rb"
626
+ - "./lib/cloudmersive-convert-api-client/models/html_get_links_response.rb"
627
+ - "./lib/cloudmersive-convert-api-client/models/html_get_rel_canonical_url_result.rb"
628
+ - "./lib/cloudmersive-convert-api-client/models/html_get_sitemap_url_result.rb"
629
+ - "./lib/cloudmersive-convert-api-client/models/html_hyperlink.rb"
615
630
  - "./lib/cloudmersive-convert-api-client/models/html_md_result.rb"
631
+ - "./lib/cloudmersive-convert-api-client/models/html_ssrf_threat_check_result.rb"
616
632
  - "./lib/cloudmersive-convert-api-client/models/html_template_application_request.rb"
617
633
  - "./lib/cloudmersive-convert-api-client/models/html_template_application_response.rb"
618
634
  - "./lib/cloudmersive-convert-api-client/models/html_template_operation.rb"
635
+ - "./lib/cloudmersive-convert-api-client/models/html_threat_link.rb"
619
636
  - "./lib/cloudmersive-convert-api-client/models/html_to_office_request.rb"
620
637
  - "./lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb"
621
638
  - "./lib/cloudmersive-convert-api-client/models/html_to_png_request.rb"
@@ -721,6 +738,7 @@ files:
721
738
  - "./lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb"
722
739
  - "./lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb"
723
740
  - "./lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb"
741
+ - "./lib/cloudmersive-convert-api-client/models/xxe_threat_detection_result.rb"
724
742
  - "./lib/cloudmersive-convert-api-client/models/zip_directory.rb"
725
743
  - "./lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb"
726
744
  - "./lib/cloudmersive-convert-api-client/models/zip_extract_response.rb"
@@ -857,6 +875,7 @@ files:
857
875
  - "./spec/models/get_docx_tables_response_spec.rb"
858
876
  - "./spec/models/get_file_type_icon_result_spec.rb"
859
877
  - "./spec/models/get_image_info_result_spec.rb"
878
+ - "./spec/models/get_macros_response_spec.rb"
860
879
  - "./spec/models/get_pdf_annotations_result_spec.rb"
861
880
  - "./spec/models/get_xlsx_cell_by_identifier_request_spec.rb"
862
881
  - "./spec/models/get_xlsx_cell_by_identifier_response_spec.rb"
@@ -874,10 +893,17 @@ files:
874
893
  - "./spec/models/get_xlsx_styles_response_spec.rb"
875
894
  - "./spec/models/get_xlsx_worksheets_request_spec.rb"
876
895
  - "./spec/models/get_xlsx_worksheets_response_spec.rb"
896
+ - "./spec/models/html_get_language_result_spec.rb"
897
+ - "./spec/models/html_get_links_response_spec.rb"
898
+ - "./spec/models/html_get_rel_canonical_url_result_spec.rb"
899
+ - "./spec/models/html_get_sitemap_url_result_spec.rb"
900
+ - "./spec/models/html_hyperlink_spec.rb"
877
901
  - "./spec/models/html_md_result_spec.rb"
902
+ - "./spec/models/html_ssrf_threat_check_result_spec.rb"
878
903
  - "./spec/models/html_template_application_request_spec.rb"
879
904
  - "./spec/models/html_template_application_response_spec.rb"
880
905
  - "./spec/models/html_template_operation_spec.rb"
906
+ - "./spec/models/html_threat_link_spec.rb"
881
907
  - "./spec/models/html_to_office_request_spec.rb"
882
908
  - "./spec/models/html_to_pdf_request_spec.rb"
883
909
  - "./spec/models/html_to_png_request_spec.rb"
@@ -983,6 +1009,7 @@ files:
983
1009
  - "./spec/models/xml_remove_with_x_path_result_spec.rb"
984
1010
  - "./spec/models/xml_replace_with_x_path_result_spec.rb"
985
1011
  - "./spec/models/xml_set_value_with_x_path_result_spec.rb"
1012
+ - "./spec/models/xxe_threat_detection_result_spec.rb"
986
1013
  - "./spec/models/zip_directory_spec.rb"
987
1014
  - "./spec/models/zip_encryption_advanced_request_spec.rb"
988
1015
  - "./spec/models/zip_extract_response_spec.rb"