cloudmersive-convert-api-client 2.1.1 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -4
  3. data/docs/DocxMetadataCustomProperty.md +13 -0
  4. data/docs/DocxSetCustomMetadataPropertiesRequest.md +10 -0
  5. data/docs/EditDocumentApi.md +275 -0
  6. data/docs/EditHtmlApi.md +60 -0
  7. data/docs/GetDocxMetadataPropertiesResponse.md +16 -0
  8. data/docs/GetMacrosResponse.md +9 -0
  9. data/docs/HtmlGetLinksResponse.md +9 -0
  10. data/docs/HtmlHyperlink.md +9 -0
  11. data/docs/HtmlSsrfThreatCheckResult.md +10 -0
  12. data/docs/HtmlThreatLink.md +9 -0
  13. data/docs/MergeDocumentApi.md +134 -0
  14. data/docs/ValidateDocumentApi.md +220 -0
  15. data/docs/ViewerToolsApi.md +8 -2
  16. data/lib/cloudmersive-convert-api-client.rb +8 -0
  17. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +274 -0
  18. data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +55 -0
  19. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +148 -0
  20. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +220 -0
  21. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +6 -0
  22. data/lib/cloudmersive-convert-api-client/models/docx_metadata_custom_property.rb +236 -0
  23. data/lib/cloudmersive-convert-api-client/models/docx_set_custom_metadata_properties_request.rb +223 -0
  24. data/lib/cloudmersive-convert-api-client/models/get_docx_metadata_properties_response.rb +268 -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_links_response.rb +198 -0
  27. data/lib/cloudmersive-convert-api-client/models/html_hyperlink.rb +196 -0
  28. data/lib/cloudmersive-convert-api-client/models/html_ssrf_threat_check_result.rb +208 -0
  29. data/lib/cloudmersive-convert-api-client/models/html_threat_link.rb +196 -0
  30. data/lib/cloudmersive-convert-api-client/version.rb +1 -1
  31. data/spec/api/edit_document_api_spec.rb +60 -0
  32. data/spec/api/edit_html_api_spec.rb +14 -0
  33. data/spec/api/merge_document_api_spec.rb +34 -0
  34. data/spec/api/validate_document_api_spec.rb +48 -0
  35. data/spec/api/viewer_tools_api_spec.rb +2 -0
  36. data/spec/models/docx_metadata_custom_property_spec.rb +71 -0
  37. data/spec/models/docx_set_custom_metadata_properties_request_spec.rb +53 -0
  38. data/spec/models/get_docx_metadata_properties_response_spec.rb +89 -0
  39. data/spec/models/get_macros_response_spec.rb +47 -0
  40. data/spec/models/html_get_links_response_spec.rb +47 -0
  41. data/spec/models/html_hyperlink_spec.rb +47 -0
  42. data/spec/models/html_ssrf_threat_check_result_spec.rb +53 -0
  43. data/spec/models/html_threat_link_spec.rb +47 -0
  44. metadata +26 -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
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.1
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-25 00:00:00.000000000 Z
11
+ date: 2021-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -257,12 +257,14 @@ files:
257
257
  - "./docs/DocxInsertCommentOnParagraphRequest.md"
258
258
  - "./docs/DocxInsertImageRequest.md"
259
259
  - "./docs/DocxInsertImageResponse.md"
260
+ - "./docs/DocxMetadataCustomProperty.md"
260
261
  - "./docs/DocxPage.md"
261
262
  - "./docs/DocxParagraph.md"
262
263
  - "./docs/DocxRemoveObjectRequest.md"
263
264
  - "./docs/DocxRemoveObjectResponse.md"
264
265
  - "./docs/DocxRun.md"
265
266
  - "./docs/DocxSection.md"
267
+ - "./docs/DocxSetCustomMetadataPropertiesRequest.md"
266
268
  - "./docs/DocxSetFooterAddPageNumberRequest.md"
267
269
  - "./docs/DocxSetFooterRequest.md"
268
270
  - "./docs/DocxSetFooterResponse.md"
@@ -308,6 +310,7 @@ files:
308
310
  - "./docs/GetDocxHeadersAndFootersResponse.md"
309
311
  - "./docs/GetDocxImagesRequest.md"
310
312
  - "./docs/GetDocxImagesResponse.md"
313
+ - "./docs/GetDocxMetadataPropertiesResponse.md"
311
314
  - "./docs/GetDocxPagesRequest.md"
312
315
  - "./docs/GetDocxPagesResponse.md"
313
316
  - "./docs/GetDocxSectionsRequest.md"
@@ -322,6 +325,7 @@ files:
322
325
  - "./docs/GetDocxTablesResponse.md"
323
326
  - "./docs/GetFileTypeIconResult.md"
324
327
  - "./docs/GetImageInfoResult.md"
328
+ - "./docs/GetMacrosResponse.md"
325
329
  - "./docs/GetPdfAnnotationsResult.md"
326
330
  - "./docs/GetXlsxCellByIdentifierRequest.md"
327
331
  - "./docs/GetXlsxCellByIdentifierResponse.md"
@@ -339,10 +343,14 @@ files:
339
343
  - "./docs/GetXlsxStylesResponse.md"
340
344
  - "./docs/GetXlsxWorksheetsRequest.md"
341
345
  - "./docs/GetXlsxWorksheetsResponse.md"
346
+ - "./docs/HtmlGetLinksResponse.md"
347
+ - "./docs/HtmlHyperlink.md"
342
348
  - "./docs/HtmlMdResult.md"
349
+ - "./docs/HtmlSsrfThreatCheckResult.md"
343
350
  - "./docs/HtmlTemplateApplicationRequest.md"
344
351
  - "./docs/HtmlTemplateApplicationResponse.md"
345
352
  - "./docs/HtmlTemplateOperation.md"
353
+ - "./docs/HtmlThreatLink.md"
346
354
  - "./docs/HtmlToOfficeRequest.md"
347
355
  - "./docs/HtmlToPdfRequest.md"
348
356
  - "./docs/HtmlToPngRequest.md"
@@ -528,12 +536,14 @@ files:
528
536
  - "./lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb"
529
537
  - "./lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb"
530
538
  - "./lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb"
539
+ - "./lib/cloudmersive-convert-api-client/models/docx_metadata_custom_property.rb"
531
540
  - "./lib/cloudmersive-convert-api-client/models/docx_page.rb"
532
541
  - "./lib/cloudmersive-convert-api-client/models/docx_paragraph.rb"
533
542
  - "./lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb"
534
543
  - "./lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb"
535
544
  - "./lib/cloudmersive-convert-api-client/models/docx_run.rb"
536
545
  - "./lib/cloudmersive-convert-api-client/models/docx_section.rb"
546
+ - "./lib/cloudmersive-convert-api-client/models/docx_set_custom_metadata_properties_request.rb"
537
547
  - "./lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb"
538
548
  - "./lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb"
539
549
  - "./lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb"
@@ -575,6 +585,7 @@ files:
575
585
  - "./lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb"
576
586
  - "./lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb"
577
587
  - "./lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb"
588
+ - "./lib/cloudmersive-convert-api-client/models/get_docx_metadata_properties_response.rb"
578
589
  - "./lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb"
579
590
  - "./lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb"
580
591
  - "./lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb"
@@ -589,6 +600,7 @@ files:
589
600
  - "./lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb"
590
601
  - "./lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb"
591
602
  - "./lib/cloudmersive-convert-api-client/models/get_image_info_result.rb"
603
+ - "./lib/cloudmersive-convert-api-client/models/get_macros_response.rb"
592
604
  - "./lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb"
593
605
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb"
594
606
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb"
@@ -606,10 +618,14 @@ files:
606
618
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb"
607
619
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb"
608
620
  - "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb"
621
+ - "./lib/cloudmersive-convert-api-client/models/html_get_links_response.rb"
622
+ - "./lib/cloudmersive-convert-api-client/models/html_hyperlink.rb"
609
623
  - "./lib/cloudmersive-convert-api-client/models/html_md_result.rb"
624
+ - "./lib/cloudmersive-convert-api-client/models/html_ssrf_threat_check_result.rb"
610
625
  - "./lib/cloudmersive-convert-api-client/models/html_template_application_request.rb"
611
626
  - "./lib/cloudmersive-convert-api-client/models/html_template_application_response.rb"
612
627
  - "./lib/cloudmersive-convert-api-client/models/html_template_operation.rb"
628
+ - "./lib/cloudmersive-convert-api-client/models/html_threat_link.rb"
613
629
  - "./lib/cloudmersive-convert-api-client/models/html_to_office_request.rb"
614
630
  - "./lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb"
615
631
  - "./lib/cloudmersive-convert-api-client/models/html_to_png_request.rb"
@@ -787,12 +803,14 @@ files:
787
803
  - "./spec/models/docx_insert_comment_on_paragraph_request_spec.rb"
788
804
  - "./spec/models/docx_insert_image_request_spec.rb"
789
805
  - "./spec/models/docx_insert_image_response_spec.rb"
806
+ - "./spec/models/docx_metadata_custom_property_spec.rb"
790
807
  - "./spec/models/docx_page_spec.rb"
791
808
  - "./spec/models/docx_paragraph_spec.rb"
792
809
  - "./spec/models/docx_remove_object_request_spec.rb"
793
810
  - "./spec/models/docx_remove_object_response_spec.rb"
794
811
  - "./spec/models/docx_run_spec.rb"
795
812
  - "./spec/models/docx_section_spec.rb"
813
+ - "./spec/models/docx_set_custom_metadata_properties_request_spec.rb"
796
814
  - "./spec/models/docx_set_footer_add_page_number_request_spec.rb"
797
815
  - "./spec/models/docx_set_footer_request_spec.rb"
798
816
  - "./spec/models/docx_set_footer_response_spec.rb"
@@ -834,6 +852,7 @@ files:
834
852
  - "./spec/models/get_docx_headers_and_footers_response_spec.rb"
835
853
  - "./spec/models/get_docx_images_request_spec.rb"
836
854
  - "./spec/models/get_docx_images_response_spec.rb"
855
+ - "./spec/models/get_docx_metadata_properties_response_spec.rb"
837
856
  - "./spec/models/get_docx_pages_request_spec.rb"
838
857
  - "./spec/models/get_docx_pages_response_spec.rb"
839
858
  - "./spec/models/get_docx_sections_request_spec.rb"
@@ -848,6 +867,7 @@ files:
848
867
  - "./spec/models/get_docx_tables_response_spec.rb"
849
868
  - "./spec/models/get_file_type_icon_result_spec.rb"
850
869
  - "./spec/models/get_image_info_result_spec.rb"
870
+ - "./spec/models/get_macros_response_spec.rb"
851
871
  - "./spec/models/get_pdf_annotations_result_spec.rb"
852
872
  - "./spec/models/get_xlsx_cell_by_identifier_request_spec.rb"
853
873
  - "./spec/models/get_xlsx_cell_by_identifier_response_spec.rb"
@@ -865,10 +885,14 @@ files:
865
885
  - "./spec/models/get_xlsx_styles_response_spec.rb"
866
886
  - "./spec/models/get_xlsx_worksheets_request_spec.rb"
867
887
  - "./spec/models/get_xlsx_worksheets_response_spec.rb"
888
+ - "./spec/models/html_get_links_response_spec.rb"
889
+ - "./spec/models/html_hyperlink_spec.rb"
868
890
  - "./spec/models/html_md_result_spec.rb"
891
+ - "./spec/models/html_ssrf_threat_check_result_spec.rb"
869
892
  - "./spec/models/html_template_application_request_spec.rb"
870
893
  - "./spec/models/html_template_application_response_spec.rb"
871
894
  - "./spec/models/html_template_operation_spec.rb"
895
+ - "./spec/models/html_threat_link_spec.rb"
872
896
  - "./spec/models/html_to_office_request_spec.rb"
873
897
  - "./spec/models/html_to_pdf_request_spec.rb"
874
898
  - "./spec/models/html_to_png_request_spec.rb"