cloudmersive-convert-api-client 1.3.3 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -4
  3. data/cloudmersive-convert-api-client.gemspec +1 -1
  4. data/docs/ConvertDocumentApi.md +112 -2
  5. data/docs/ConvertImageApi.md +63 -2
  6. data/docs/ConvertWebApi.md +2 -2
  7. data/docs/MergeDocumentApi.md +58 -0
  8. data/docs/MultipageImageFormatConversionResult.md +10 -0
  9. data/docs/PageConversionResult.md +9 -0
  10. data/lib/cloudmersive-convert-api-client.rb +3 -1
  11. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +1 -1
  12. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +1 -1
  13. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +116 -4
  14. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +71 -3
  15. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +1 -1
  16. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +4 -4
  17. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +1 -1
  18. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +64 -1
  19. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +1 -1
  20. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +1 -1
  21. data/lib/cloudmersive-convert-api-client/api_client.rb +1 -1
  22. data/lib/cloudmersive-convert-api-client/api_error.rb +1 -1
  23. data/lib/cloudmersive-convert-api-client/configuration.rb +1 -1
  24. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +1 -1
  25. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +1 -1
  26. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +1 -1
  27. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +1 -1
  28. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +1 -1
  29. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +1 -1
  30. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +1 -1
  31. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +1 -1
  32. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +1 -1
  33. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +1 -1
  34. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +1 -1
  35. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +1 -1
  36. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +1 -1
  37. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +1 -1
  38. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +1 -1
  39. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +1 -1
  40. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +1 -1
  41. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +1 -1
  42. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +1 -1
  43. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +1 -1
  44. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +1 -1
  45. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +1 -1
  46. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +1 -1
  47. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +1 -1
  48. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +1 -1
  49. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +1 -1
  50. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +1 -1
  51. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +1 -1
  52. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +1 -1
  53. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +1 -1
  54. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +1 -1
  55. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +1 -1
  56. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +1 -1
  57. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +1 -1
  58. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +1 -1
  59. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +1 -1
  60. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +1 -1
  61. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +1 -1
  62. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +1 -1
  63. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +1 -1
  64. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +1 -1
  65. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +1 -1
  66. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +1 -1
  67. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +1 -1
  68. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +1 -1
  69. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +1 -1
  70. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +1 -1
  71. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +1 -1
  72. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +1 -1
  73. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +1 -1
  74. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +1 -1
  75. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +1 -1
  76. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +1 -1
  77. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +1 -1
  78. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +1 -1
  79. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +1 -1
  80. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +1 -1
  81. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +1 -1
  82. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +1 -1
  83. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +1 -1
  84. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +1 -1
  85. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +1 -1
  86. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +1 -1
  87. data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +208 -0
  88. data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +213 -0
  89. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +1 -1
  90. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +1 -1
  91. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +1 -1
  92. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +1 -1
  93. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +1 -1
  94. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +1 -1
  95. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +1 -1
  96. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +1 -1
  97. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +1 -1
  98. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +1 -1
  99. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +1 -1
  100. data/lib/cloudmersive-convert-api-client/version.rb +2 -2
  101. data/spec/api/compare_document_api_spec.rb +48 -48
  102. data/spec/api/convert_data_api_spec.rb +83 -59
  103. data/spec/api/convert_document_api_spec.rb +227 -203
  104. data/spec/api/convert_image_api_spec.rb +88 -74
  105. data/spec/api/convert_template_api_spec.rb +47 -47
  106. data/spec/api/convert_web_api_spec.rb +95 -95
  107. data/spec/api/edit_document_api_spec.rb +311 -311
  108. data/spec/api/merge_document_api_spec.rb +87 -74
  109. data/spec/api/validate_document_api_spec.rb +71 -71
  110. data/spec/api/viewer_tools_api_spec.rb +47 -47
  111. data/spec/api_client_spec.rb +226 -226
  112. data/spec/configuration_spec.rb +42 -42
  113. data/spec/models/alternate_file_format_candidate_spec.rb +54 -54
  114. data/spec/models/autodetect_get_info_result_spec.rb +60 -60
  115. data/spec/models/converted_png_page_spec.rb +48 -48
  116. data/spec/models/document_validation_error_spec.rb +60 -60
  117. data/spec/models/document_validation_result_spec.rb +60 -60
  118. data/spec/models/docx_body_spec.rb +54 -54
  119. data/spec/models/docx_cell_style_spec.rb +60 -60
  120. data/spec/models/docx_footer_spec.rb +54 -54
  121. data/spec/models/docx_header_spec.rb +54 -54
  122. data/spec/models/docx_image_spec.rb +114 -114
  123. data/spec/models/docx_insert_image_request_spec.rb +78 -78
  124. data/spec/models/docx_insert_image_response_spec.rb +48 -48
  125. data/spec/models/docx_paragraph_spec.rb +60 -60
  126. data/spec/models/docx_remove_object_request_spec.rb +54 -54
  127. data/spec/models/docx_remove_object_response_spec.rb +48 -48
  128. data/spec/models/docx_run_spec.rb +84 -84
  129. data/spec/models/docx_section_spec.rb +48 -48
  130. data/spec/models/docx_set_footer_request_spec.rb +54 -54
  131. data/spec/models/docx_set_footer_response_spec.rb +48 -48
  132. data/spec/models/docx_set_header_request_spec.rb +54 -54
  133. data/spec/models/docx_set_header_response_spec.rb +48 -48
  134. data/spec/models/docx_style_spec.rb +78 -78
  135. data/spec/models/docx_table_cell_spec.rb +84 -84
  136. data/spec/models/docx_table_row_spec.rb +54 -54
  137. data/spec/models/docx_table_spec.rb +270 -270
  138. data/spec/models/docx_text_spec.rb +54 -54
  139. data/spec/models/exif_value_spec.rb +54 -54
  140. data/spec/models/finish_editing_request_spec.rb +42 -42
  141. data/spec/models/get_docx_body_request_spec.rb +48 -48
  142. data/spec/models/get_docx_body_response_spec.rb +48 -48
  143. data/spec/models/get_docx_headers_and_footers_request_spec.rb +48 -48
  144. data/spec/models/get_docx_headers_and_footers_response_spec.rb +54 -54
  145. data/spec/models/get_docx_images_request_spec.rb +48 -48
  146. data/spec/models/get_docx_images_response_spec.rb +48 -48
  147. data/spec/models/get_docx_sections_request_spec.rb +48 -48
  148. data/spec/models/get_docx_sections_response_spec.rb +48 -48
  149. data/spec/models/get_docx_styles_request_spec.rb +48 -48
  150. data/spec/models/get_docx_styles_response_spec.rb +48 -48
  151. data/spec/models/get_docx_tables_request_spec.rb +48 -48
  152. data/spec/models/get_docx_tables_response_spec.rb +48 -48
  153. data/spec/models/get_image_info_result_spec.rb +138 -138
  154. data/spec/models/get_xlsx_columns_request_spec.rb +54 -54
  155. data/spec/models/get_xlsx_columns_response_spec.rb +48 -48
  156. data/spec/models/get_xlsx_images_request_spec.rb +54 -54
  157. data/spec/models/get_xlsx_images_response_spec.rb +48 -48
  158. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +54 -54
  159. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +48 -48
  160. data/spec/models/get_xlsx_styles_request_spec.rb +48 -48
  161. data/spec/models/get_xlsx_styles_response_spec.rb +48 -48
  162. data/spec/models/get_xlsx_worksheets_request_spec.rb +48 -48
  163. data/spec/models/get_xlsx_worksheets_response_spec.rb +48 -48
  164. data/spec/models/html_md_result_spec.rb +48 -48
  165. data/spec/models/html_template_application_request_spec.rb +54 -54
  166. data/spec/models/html_template_application_response_spec.rb +48 -48
  167. data/spec/models/html_template_operation_spec.rb +58 -58
  168. data/spec/models/html_to_office_request_spec.rb +42 -42
  169. data/spec/models/html_to_pdf_request_spec.rb +48 -48
  170. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +66 -66
  171. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +48 -48
  172. data/spec/models/insert_docx_tables_request_spec.rb +66 -66
  173. data/spec/models/insert_docx_tables_response_spec.rb +48 -48
  174. data/spec/models/insert_xlsx_worksheet_request_spec.rb +54 -54
  175. data/spec/models/insert_xlsx_worksheet_response_spec.rb +48 -48
  176. data/spec/models/multipage_image_format_conversion_result_spec.rb +54 -0
  177. data/spec/models/page_conversion_result_spec.rb +48 -0
  178. data/spec/models/pdf_to_png_result_spec.rb +48 -48
  179. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +60 -60
  180. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +48 -48
  181. data/spec/models/replace_string_request_spec.rb +66 -66
  182. data/spec/models/screenshot_request_spec.rb +60 -60
  183. data/spec/models/viewer_response_spec.rb +48 -48
  184. data/spec/models/xlsx_image_spec.rb +66 -66
  185. data/spec/models/xlsx_spreadsheet_cell_spec.rb +66 -66
  186. data/spec/models/xlsx_spreadsheet_column_spec.rb +48 -48
  187. data/spec/models/xlsx_spreadsheet_row_spec.rb +48 -48
  188. data/spec/models/xlsx_worksheet_spec.rb +48 -48
  189. data/spec/spec_helper.rb +111 -111
  190. metadata +22 -15
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: unset
10
10
 
11
11
  =end
12
12
 
13
13
  module CloudmersiveConvertApiClient
14
- VERSION = "1.3.3"
14
+ VERSION = "1.3.5"
15
15
  end
@@ -1,48 +1,48 @@
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: unset
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for CloudmersiveConvertApiClient::CompareDocumentApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'CompareDocumentApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveConvertApiClient::CompareDocumentApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of CompareDocumentApi' do
30
- it 'should create an instance of CompareDocumentApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::CompareDocumentApi)
32
- end
33
- end
34
-
35
- # unit tests for compare_document_docx
36
- # Compare Two Word DOCX
37
- # Compare two Office Word Documents (docx) files and highlight the differences
38
- # @param input_file1 First input file to perform the operation on.
39
- # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
40
- # @param [Hash] opts the optional parameters
41
- # @return [String]
42
- describe 'compare_document_docx test' do
43
- it "should work" do
44
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
- end
46
- end
47
-
48
- end
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: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveConvertApiClient::CompareDocumentApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CompareDocumentApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveConvertApiClient::CompareDocumentApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CompareDocumentApi' do
30
+ it 'should create an instance of CompareDocumentApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::CompareDocumentApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for compare_document_docx
36
+ # Compare Two Word DOCX
37
+ # Compare two Office Word Documents (docx) files and highlight the differences
38
+ # @param input_file1 First input file to perform the operation on.
39
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [String]
42
+ describe 'compare_document_docx test' do
43
+ it "should work" do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ end
@@ -1,59 +1,83 @@
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: unset
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for CloudmersiveConvertApiClient::ConvertDataApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'ConvertDataApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveConvertApiClient::ConvertDataApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ConvertDataApi' do
30
- it 'should create an instance of ConvertDataApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertDataApi)
32
- end
33
- end
34
-
35
- # unit tests for convert_data_csv_to_json
36
- # CSV to JSON conversion
37
- # Convert a CSV file to a JSON object array
38
- # @param input_file Input file to perform the operation on.
39
- # @param [Hash] opts the optional parameters
40
- # @return [Object]
41
- describe 'convert_data_csv_to_json test' 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
- # unit tests for convert_data_xml_to_json
48
- # XML to JSON conversion
49
- # Convert an XML string or file into JSON
50
- # @param input_file Input file to perform the operation on.
51
- # @param [Hash] opts the optional parameters
52
- # @return [Object]
53
- describe 'convert_data_xml_to_json test' do
54
- it "should work" do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- end
57
- end
58
-
59
- end
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: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveConvertApiClient::ConvertDataApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'ConvertDataApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveConvertApiClient::ConvertDataApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ConvertDataApi' do
30
+ it 'should create an instance of ConvertDataApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertDataApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for convert_data_csv_to_json
36
+ # CSV to JSON conversion
37
+ # Convert a CSV file to a JSON object array
38
+ # @param input_file Input file to perform the operation on.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Object]
41
+ describe 'convert_data_csv_to_json test' 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
+ # unit tests for convert_data_xls_to_json
48
+ # Excel (97-2003) XLS to JSON conversion
49
+ # Convert an Excel (97-2003) XLS file to a JSON object array
50
+ # @param input_file Input file to perform the operation on.
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [Object]
53
+ describe 'convert_data_xls_to_json test' do
54
+ it "should work" do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for convert_data_xlsx_to_json
60
+ # Excel XLSX to JSON conversion
61
+ # Convert an Excel XLSX file to a JSON object array
62
+ # @param input_file Input file to perform the operation on.
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [Object]
65
+ describe 'convert_data_xlsx_to_json test' do
66
+ it "should work" do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for convert_data_xml_to_json
72
+ # XML to JSON conversion
73
+ # Convert an XML string or file into JSON
74
+ # @param input_file Input file to perform the operation on.
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [Object]
77
+ describe 'convert_data_xml_to_json test' do
78
+ it "should work" do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ end
@@ -1,203 +1,227 @@
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: unset
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for CloudmersiveConvertApiClient::ConvertDocumentApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'ConvertDocumentApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ConvertDocumentApi' do
30
- it 'should create an instance of ConvertDocumentApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertDocumentApi)
32
- end
33
- end
34
-
35
- # unit tests for convert_document_autodetect_get_info
36
- # Get document type information
37
- # Auto-detects a document's type information; does not require file extension. Analyzes file contents to confirm file type.
38
- # @param input_file Input file to perform the operation on.
39
- # @param [Hash] opts the optional parameters
40
- # @return [AutodetectGetInfoResult]
41
- describe 'convert_document_autodetect_get_info test' 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
- # unit tests for convert_document_autodetect_to_pdf
48
- # Convert Document to PDF
49
- # Automatically detect file type and convert it to PDF.
50
- # @param input_file Input file to perform the operation on.
51
- # @param [Hash] opts the optional parameters
52
- # @return [String]
53
- describe 'convert_document_autodetect_to_pdf test' do
54
- it "should work" do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- end
57
- end
58
-
59
- # unit tests for convert_document_csv_to_xlsx
60
- # CSV to Excel XLSX
61
- # Convert CSV file to Office Excel XLSX Workbooks file format.
62
- # @param input_file Input file to perform the operation on.
63
- # @param [Hash] opts the optional parameters
64
- # @return [String]
65
- describe 'convert_document_csv_to_xlsx test' do
66
- it "should work" do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- end
69
- end
70
-
71
- # unit tests for convert_document_doc_to_docx
72
- # Word DOC (97-03) to DOCX
73
- # Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format
74
- # @param input_file Input file to perform the operation on.
75
- # @param [Hash] opts the optional parameters
76
- # @return [String]
77
- describe 'convert_document_doc_to_docx test' do
78
- it "should work" do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
- end
81
- end
82
-
83
- # unit tests for convert_document_doc_to_pdf
84
- # Word DOC (97-03) to PDF
85
- # Convert Office Word (97-2003 Format) Documents (doc) to standard PDF
86
- # @param input_file Input file to perform the operation on.
87
- # @param [Hash] opts the optional parameters
88
- # @return [String]
89
- describe 'convert_document_doc_to_pdf test' do
90
- it "should work" do
91
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
- end
93
- end
94
-
95
- # unit tests for convert_document_docx_to_pdf
96
- # Word DOCX to PDF
97
- # Convert Office Word Documents (docx) to standard PDF
98
- # @param input_file Input file to perform the operation on.
99
- # @param [Hash] opts the optional parameters
100
- # @return [String]
101
- describe 'convert_document_docx_to_pdf test' do
102
- it "should work" do
103
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
- end
105
- end
106
-
107
- # unit tests for convert_document_pdf_to_png_array
108
- # PDF to PNG Array
109
- # Convert PDF document to PNG array, one image per page.
110
- # @param input_file Input file to perform the operation on.
111
- # @param [Hash] opts the optional parameters
112
- # @return [PdfToPngResult]
113
- describe 'convert_document_pdf_to_png_array test' do
114
- it "should work" do
115
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
- end
117
- end
118
-
119
- # unit tests for convert_document_ppt_to_pdf
120
- # PowerPoint PPT (97-03) to PDF
121
- # Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
122
- # @param input_file Input file to perform the operation on.
123
- # @param [Hash] opts the optional parameters
124
- # @return [String]
125
- describe 'convert_document_ppt_to_pdf test' do
126
- it "should work" do
127
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
- end
129
- end
130
-
131
- # unit tests for convert_document_ppt_to_pptx
132
- # PowerPoint PPT (97-03) to PPTX
133
- # Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX
134
- # @param input_file Input file to perform the operation on.
135
- # @param [Hash] opts the optional parameters
136
- # @return [String]
137
- describe 'convert_document_ppt_to_pptx test' do
138
- it "should work" do
139
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
- end
141
- end
142
-
143
- # unit tests for convert_document_pptx_to_pdf
144
- # PowerPoint PPTX to PDF
145
- # Convert Office PowerPoint Documents (pptx) to standard PDF
146
- # @param input_file Input file to perform the operation on.
147
- # @param [Hash] opts the optional parameters
148
- # @return [String]
149
- describe 'convert_document_pptx_to_pdf test' do
150
- it "should work" do
151
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
- end
153
- end
154
-
155
- # unit tests for convert_document_xls_to_pdf
156
- # Excel XLS (97-03) to PDF
157
- # Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.
158
- # @param input_file Input file to perform the operation on.
159
- # @param [Hash] opts the optional parameters
160
- # @return [Object]
161
- describe 'convert_document_xls_to_pdf test' do
162
- it "should work" do
163
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
- end
165
- end
166
-
167
- # unit tests for convert_document_xls_to_xlsx
168
- # Excel XLS (97-03) to XLSX
169
- # Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.
170
- # @param input_file Input file to perform the operation on.
171
- # @param [Hash] opts the optional parameters
172
- # @return [String]
173
- describe 'convert_document_xls_to_xlsx test' do
174
- it "should work" do
175
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
- end
177
- end
178
-
179
- # unit tests for convert_document_xlsx_to_csv
180
- # Excel XLSX to CSV
181
- # Convert Office Excel Workbooks (xlsx) to standard Comma-Separated Values (CSV) format.
182
- # @param input_file Input file to perform the operation on.
183
- # @param [Hash] opts the optional parameters
184
- # @return [String]
185
- describe 'convert_document_xlsx_to_csv test' do
186
- it "should work" do
187
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
- end
189
- end
190
-
191
- # unit tests for convert_document_xlsx_to_pdf
192
- # Excel XLSX to PDF
193
- # Convert Office Excel Workbooks (xlsx) to standard PDF. Converts all worksheets in the workbook to PDF.
194
- # @param input_file Input file to perform the operation on.
195
- # @param [Hash] opts the optional parameters
196
- # @return [String]
197
- describe 'convert_document_xlsx_to_pdf test' do
198
- it "should work" do
199
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
- end
201
- end
202
-
203
- end
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: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveConvertApiClient::ConvertDocumentApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'ConvertDocumentApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ConvertDocumentApi' do
30
+ it 'should create an instance of ConvertDocumentApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertDocumentApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for convert_document_autodetect_get_info
36
+ # Get document type information
37
+ # Auto-detects a document's type information; does not require file extension. Analyzes file contents to confirm file type.
38
+ # @param input_file Input file to perform the operation on.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AutodetectGetInfoResult]
41
+ describe 'convert_document_autodetect_get_info test' 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
+ # unit tests for convert_document_autodetect_to_pdf
48
+ # Convert Document to PDF
49
+ # Automatically detect file type and convert it to PDF.
50
+ # @param input_file Input file to perform the operation on.
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [String]
53
+ describe 'convert_document_autodetect_to_pdf test' do
54
+ it "should work" do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for convert_document_csv_to_xlsx
60
+ # CSV to Excel XLSX
61
+ # Convert CSV file to Office Excel XLSX Workbooks file format.
62
+ # @param input_file Input file to perform the operation on.
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [String]
65
+ describe 'convert_document_csv_to_xlsx test' do
66
+ it "should work" do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for convert_document_doc_to_docx
72
+ # Word DOC (97-03) to DOCX
73
+ # Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format
74
+ # @param input_file Input file to perform the operation on.
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [String]
77
+ describe 'convert_document_doc_to_docx test' do
78
+ it "should work" do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for convert_document_doc_to_pdf
84
+ # Word DOC (97-03) to PDF
85
+ # Convert Office Word (97-2003 Format) Documents (doc) to standard PDF
86
+ # @param input_file Input file to perform the operation on.
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [String]
89
+ describe 'convert_document_doc_to_pdf test' do
90
+ it "should work" do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for convert_document_docx_to_pdf
96
+ # Word DOCX to PDF
97
+ # Convert Office Word Documents (docx) to standard PDF
98
+ # @param input_file Input file to perform the operation on.
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [String]
101
+ describe 'convert_document_docx_to_pdf test' do
102
+ it "should work" do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for convert_document_pdf_to_docx
108
+ # PDF to Word DOCX
109
+ # Convert standard PDF to Office Word Documents (docx). Converts a PDF at high fidelity into Word format, where it can be easily edited and processed.
110
+ # @param input_file Input file to perform the operation on.
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [String]
113
+ describe 'convert_document_pdf_to_docx test' do
114
+ it "should work" do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ # unit tests for convert_document_pdf_to_png_array
120
+ # PDF to PNG Array
121
+ # Convert PDF document to PNG array, one image per page.
122
+ # @param input_file Input file to perform the operation on.
123
+ # @param [Hash] opts the optional parameters
124
+ # @return [PdfToPngResult]
125
+ describe 'convert_document_pdf_to_png_array test' do
126
+ it "should work" do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ # unit tests for convert_document_pdf_to_pptx
132
+ # PDF to PowerPoint PPTX
133
+ # Convert standard PDF to Office PowerPoint Presentation (pptx). Converts a PDF file at high fidelity into PowerPoint format, where it can be easily edited and processed.
134
+ # @param input_file Input file to perform the operation on.
135
+ # @param [Hash] opts the optional parameters
136
+ # @return [String]
137
+ describe 'convert_document_pdf_to_pptx test' do
138
+ it "should work" do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ # unit tests for convert_document_ppt_to_pdf
144
+ # PowerPoint PPT (97-03) to PDF
145
+ # Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
146
+ # @param input_file Input file to perform the operation on.
147
+ # @param [Hash] opts the optional parameters
148
+ # @return [String]
149
+ describe 'convert_document_ppt_to_pdf test' do
150
+ it "should work" do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ # unit tests for convert_document_ppt_to_pptx
156
+ # PowerPoint PPT (97-03) to PPTX
157
+ # Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX
158
+ # @param input_file Input file to perform the operation on.
159
+ # @param [Hash] opts the optional parameters
160
+ # @return [String]
161
+ describe 'convert_document_ppt_to_pptx test' do
162
+ it "should work" do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ # unit tests for convert_document_pptx_to_pdf
168
+ # PowerPoint PPTX to PDF
169
+ # Convert Office PowerPoint Documents (pptx) to standard PDF
170
+ # @param input_file Input file to perform the operation on.
171
+ # @param [Hash] opts the optional parameters
172
+ # @return [String]
173
+ describe 'convert_document_pptx_to_pdf test' do
174
+ it "should work" do
175
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
+ end
177
+ end
178
+
179
+ # unit tests for convert_document_xls_to_pdf
180
+ # Excel XLS (97-03) to PDF
181
+ # Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.
182
+ # @param input_file Input file to perform the operation on.
183
+ # @param [Hash] opts the optional parameters
184
+ # @return [String]
185
+ describe 'convert_document_xls_to_pdf test' do
186
+ it "should work" do
187
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
+ end
189
+ end
190
+
191
+ # unit tests for convert_document_xls_to_xlsx
192
+ # Excel XLS (97-03) to XLSX
193
+ # Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.
194
+ # @param input_file Input file to perform the operation on.
195
+ # @param [Hash] opts the optional parameters
196
+ # @return [String]
197
+ describe 'convert_document_xls_to_xlsx test' do
198
+ it "should work" do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ # unit tests for convert_document_xlsx_to_csv
204
+ # Excel XLSX to CSV
205
+ # Convert Office Excel Workbooks (xlsx) to standard Comma-Separated Values (CSV) format.
206
+ # @param input_file Input file to perform the operation on.
207
+ # @param [Hash] opts the optional parameters
208
+ # @return [String]
209
+ describe 'convert_document_xlsx_to_csv test' do
210
+ it "should work" do
211
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ end
213
+ end
214
+
215
+ # unit tests for convert_document_xlsx_to_pdf
216
+ # Excel XLSX to PDF
217
+ # Convert Office Excel Workbooks (xlsx) to standard PDF. Converts all worksheets in the workbook to PDF.
218
+ # @param input_file Input file to perform the operation on.
219
+ # @param [Hash] opts the optional parameters
220
+ # @return [String]
221
+ describe 'convert_document_xlsx_to_pdf test' do
222
+ it "should work" do
223
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
224
+ end
225
+ end
226
+
227
+ end