cloudmersive-convert-api-client 1.7.8 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (693) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -694
  3. data/Gemfile +0 -7
  4. data/README.md +0 -506
  5. data/Rakefile +0 -8
  6. data/cloudmersive-convert-api-client.gemspec +0 -45
  7. data/docs/AddPdfAnnotationRequest.md +0 -9
  8. data/docs/AlternateFileFormatCandidate.md +0 -10
  9. data/docs/AutodetectDocumentValidationResult.md +0 -12
  10. data/docs/AutodetectGetInfoResult.md +0 -14
  11. data/docs/AutodetectToPngResult.md +0 -9
  12. data/docs/AutodetectToThumbnailsResult.md +0 -9
  13. data/docs/Base64DecodeRequest.md +0 -8
  14. data/docs/Base64DecodeResponse.md +0 -9
  15. data/docs/Base64DetectRequest.md +0 -8
  16. data/docs/Base64DetectResponse.md +0 -9
  17. data/docs/Base64EncodeRequest.md +0 -8
  18. data/docs/Base64EncodeResponse.md +0 -9
  19. data/docs/ChangeLineEndingResponse.md +0 -9
  20. data/docs/ClearXlsxCellRequest.md +0 -12
  21. data/docs/ClearXlsxCellResponse.md +0 -9
  22. data/docs/CompareDocumentApi.md +0 -66
  23. data/docs/ConvertDataApi.md +0 -902
  24. data/docs/ConvertDocumentApi.md +0 -2405
  25. data/docs/ConvertImageApi.md +0 -243
  26. data/docs/ConvertTemplateApi.md +0 -122
  27. data/docs/ConvertWebApi.md +0 -448
  28. data/docs/ConvertedPngPage.md +0 -9
  29. data/docs/CreateBlankDocxRequest.md +0 -8
  30. data/docs/CreateBlankDocxResponse.md +0 -9
  31. data/docs/CreateBlankSpreadsheetRequest.md +0 -8
  32. data/docs/CreateBlankSpreadsheetResponse.md +0 -9
  33. data/docs/CreateSpreadsheetFromDataRequest.md +0 -9
  34. data/docs/CreateSpreadsheetFromDataResponse.md +0 -9
  35. data/docs/CreateZipArchiveRequest.md +0 -9
  36. data/docs/CsvCollection.md +0 -10
  37. data/docs/CsvFileResult.md +0 -9
  38. data/docs/DeleteDocxTableRowRangeRequest.md +0 -12
  39. data/docs/DeleteDocxTableRowRangeResponse.md +0 -9
  40. data/docs/DeleteDocxTableRowRequest.md +0 -11
  41. data/docs/DeleteDocxTableRowResponse.md +0 -9
  42. data/docs/DetectLineEndingsResponse.md +0 -11
  43. data/docs/DisableSharedWorkbookRequest.md +0 -9
  44. data/docs/DisableSharedWorkbookResponse.md +0 -9
  45. data/docs/DocumentValidationError.md +0 -11
  46. data/docs/DocumentValidationResult.md +0 -12
  47. data/docs/DocxBody.md +0 -10
  48. data/docs/DocxCellStyle.md +0 -11
  49. data/docs/DocxComment.md +0 -16
  50. data/docs/DocxFooter.md +0 -10
  51. data/docs/DocxHeader.md +0 -10
  52. data/docs/DocxImage.md +0 -20
  53. data/docs/DocxInsertCommentOnParagraphRequest.md +0 -11
  54. data/docs/DocxInsertImageRequest.md +0 -16
  55. data/docs/DocxInsertImageResponse.md +0 -9
  56. data/docs/DocxPage.md +0 -9
  57. data/docs/DocxParagraph.md +0 -11
  58. data/docs/DocxRemoveObjectRequest.md +0 -10
  59. data/docs/DocxRemoveObjectResponse.md +0 -9
  60. data/docs/DocxRun.md +0 -15
  61. data/docs/DocxSection.md +0 -9
  62. data/docs/DocxSetFooterAddPageNumberRequest.md +0 -10
  63. data/docs/DocxSetFooterRequest.md +0 -10
  64. data/docs/DocxSetFooterResponse.md +0 -9
  65. data/docs/DocxSetHeaderRequest.md +0 -10
  66. data/docs/DocxSetHeaderResponse.md +0 -9
  67. data/docs/DocxStyle.md +0 -14
  68. data/docs/DocxTable.md +0 -46
  69. data/docs/DocxTableCell.md +0 -15
  70. data/docs/DocxTableRow.md +0 -10
  71. data/docs/DocxTemplateApplicationRequest.md +0 -8
  72. data/docs/DocxTemplateOperation.md +0 -10
  73. data/docs/DocxText.md +0 -10
  74. data/docs/DocxToPngResult.md +0 -9
  75. data/docs/DocxTopLevelComment.md +0 -14
  76. data/docs/EditDocumentApi.md +0 -2758
  77. data/docs/EditPdfApi.md +0 -1083
  78. data/docs/EditTextApi.md +0 -726
  79. data/docs/EmlAttachment.md +0 -9
  80. data/docs/EmlToHtmlResult.md +0 -16
  81. data/docs/EnableSharedWorkbookRequest.md +0 -9
  82. data/docs/EnableSharedWorkbookResponse.md +0 -9
  83. data/docs/ExifValue.md +0 -10
  84. data/docs/FindDocxParagraphRequest.md +0 -11
  85. data/docs/FindDocxParagraphResponse.md +0 -10
  86. data/docs/FindRegexMatch.md +0 -12
  87. data/docs/FindStringMatch.md +0 -10
  88. data/docs/FindStringRegexRequest.md +0 -10
  89. data/docs/FindStringRegexResponse.md +0 -10
  90. data/docs/FindStringSimpleRequest.md +0 -9
  91. data/docs/FindStringSimpleResponse.md +0 -10
  92. data/docs/FinishEditingRequest.md +0 -8
  93. data/docs/GetDocxBodyRequest.md +0 -9
  94. data/docs/GetDocxBodyResponse.md +0 -9
  95. data/docs/GetDocxCommentsHierarchicalResponse.md +0 -10
  96. data/docs/GetDocxCommentsResponse.md +0 -10
  97. data/docs/GetDocxGetCommentsHierarchicalRequest.md +0 -9
  98. data/docs/GetDocxGetCommentsRequest.md +0 -9
  99. data/docs/GetDocxHeadersAndFootersRequest.md +0 -9
  100. data/docs/GetDocxHeadersAndFootersResponse.md +0 -10
  101. data/docs/GetDocxImagesRequest.md +0 -9
  102. data/docs/GetDocxImagesResponse.md +0 -9
  103. data/docs/GetDocxPagesRequest.md +0 -10
  104. data/docs/GetDocxPagesResponse.md +0 -10
  105. data/docs/GetDocxSectionsRequest.md +0 -9
  106. data/docs/GetDocxSectionsResponse.md +0 -9
  107. data/docs/GetDocxStylesRequest.md +0 -9
  108. data/docs/GetDocxStylesResponse.md +0 -9
  109. data/docs/GetDocxTableByIndexRequest.md +0 -10
  110. data/docs/GetDocxTableByIndexResponse.md +0 -9
  111. data/docs/GetDocxTableRowRequest.md +0 -11
  112. data/docs/GetDocxTableRowResponse.md +0 -9
  113. data/docs/GetDocxTablesRequest.md +0 -9
  114. data/docs/GetDocxTablesResponse.md +0 -9
  115. data/docs/GetFileTypeIconResult.md +0 -10
  116. data/docs/GetImageInfoResult.md +0 -24
  117. data/docs/GetPdfAnnotationsResult.md +0 -9
  118. data/docs/GetXlsxCellByIdentifierRequest.md +0 -11
  119. data/docs/GetXlsxCellByIdentifierResponse.md +0 -9
  120. data/docs/GetXlsxCellRequest.md +0 -12
  121. data/docs/GetXlsxCellResponse.md +0 -9
  122. data/docs/GetXlsxColumnsRequest.md +0 -10
  123. data/docs/GetXlsxColumnsResponse.md +0 -9
  124. data/docs/GetXlsxImagesRequest.md +0 -10
  125. data/docs/GetXlsxImagesResponse.md +0 -9
  126. data/docs/GetXlsxRowsAndCellsRequest.md +0 -10
  127. data/docs/GetXlsxRowsAndCellsResponse.md +0 -9
  128. data/docs/GetXlsxStylesRequest.md +0 -9
  129. data/docs/GetXlsxStylesResponse.md +0 -9
  130. data/docs/GetXlsxWorksheetsRequest.md +0 -9
  131. data/docs/GetXlsxWorksheetsResponse.md +0 -9
  132. data/docs/HtmlMdResult.md +0 -9
  133. data/docs/HtmlTemplateApplicationRequest.md +0 -10
  134. data/docs/HtmlTemplateApplicationResponse.md +0 -9
  135. data/docs/HtmlTemplateOperation.md +0 -10
  136. data/docs/HtmlToOfficeRequest.md +0 -8
  137. data/docs/HtmlToPdfRequest.md +0 -9
  138. data/docs/HtmlToPngRequest.md +0 -11
  139. data/docs/HtmlToTextRequest.md +0 -8
  140. data/docs/HtmlToTextResponse.md +0 -9
  141. data/docs/InsertDocxCommentOnParagraphResponse.md +0 -9
  142. data/docs/InsertDocxInsertParagraphRequest.md +0 -12
  143. data/docs/InsertDocxInsertParagraphResponse.md +0 -9
  144. data/docs/InsertDocxTableRowRequest.md +0 -12
  145. data/docs/InsertDocxTableRowResponse.md +0 -9
  146. data/docs/InsertDocxTablesRequest.md +0 -12
  147. data/docs/InsertDocxTablesResponse.md +0 -9
  148. data/docs/InsertXlsxWorksheetRequest.md +0 -10
  149. data/docs/InsertXlsxWorksheetResponse.md +0 -9
  150. data/docs/MergeDocumentApi.md +0 -812
  151. data/docs/MsgAttachment.md +0 -9
  152. data/docs/MsgToHtmlResult.md +0 -16
  153. data/docs/MultipageImageFormatConversionResult.md +0 -10
  154. data/docs/PageConversionResult.md +0 -9
  155. data/docs/PdfAnnotation.md +0 -19
  156. data/docs/PdfDocument.md +0 -10
  157. data/docs/PdfFormField.md +0 -11
  158. data/docs/PdfFormFields.md +0 -9
  159. data/docs/PdfMetadata.md +0 -16
  160. data/docs/PdfPageText.md +0 -9
  161. data/docs/PdfTextByPageResult.md +0 -9
  162. data/docs/PdfToPngResult.md +0 -9
  163. data/docs/PptxToPngResult.md +0 -9
  164. data/docs/PresentationResult.md +0 -10
  165. data/docs/RemoveDocxHeadersAndFootersRequest.md +0 -11
  166. data/docs/RemoveDocxHeadersAndFootersResponse.md +0 -9
  167. data/docs/RemoveDocxPagesRequest.md +0 -11
  168. data/docs/RemoveHtmlFromTextRequest.md +0 -8
  169. data/docs/RemoveHtmlFromTextResponse.md +0 -9
  170. data/docs/RemovePptxSlidesRequest.md +0 -11
  171. data/docs/RemoveWhitespaceFromTextRequest.md +0 -8
  172. data/docs/RemoveWhitespaceFromTextResponse.md +0 -9
  173. data/docs/RemoveXlsxWorksheetRequest.md +0 -10
  174. data/docs/ReplaceDocxParagraphRequest.md +0 -12
  175. data/docs/ReplaceDocxParagraphResponse.md +0 -9
  176. data/docs/ReplaceStringRegexRequest.md +0 -10
  177. data/docs/ReplaceStringRegexResponse.md +0 -9
  178. data/docs/ReplaceStringRequest.md +0 -12
  179. data/docs/ReplaceStringSimpleRequest.md +0 -10
  180. data/docs/ReplaceStringSimpleResponse.md +0 -9
  181. data/docs/ScreenshotRequest.md +0 -11
  182. data/docs/SetFormFieldValue.md +0 -11
  183. data/docs/SetPdfFormFieldsRequest.md +0 -9
  184. data/docs/SetPdfMetadataRequest.md +0 -9
  185. data/docs/SetXlsxCellByIdentifierRequest.md +0 -12
  186. data/docs/SetXlsxCellByIdentifierResponse.md +0 -9
  187. data/docs/SetXlsxCellRequest.md +0 -13
  188. data/docs/SetXlsxCellResponse.md +0 -9
  189. data/docs/SplitDocumentApi.md +0 -361
  190. data/docs/SplitDocumentResult.md +0 -10
  191. data/docs/SplitDocxDocumentResult.md +0 -9
  192. data/docs/SplitPdfResult.md +0 -9
  193. data/docs/SplitPptxPresentationResult.md +0 -9
  194. data/docs/SplitTextDocumentByLinesResult.md +0 -10
  195. data/docs/SplitTextDocumentByStringResult.md +0 -10
  196. data/docs/SplitXlsxWorksheetResult.md +0 -9
  197. data/docs/TextConversionResult.md +0 -9
  198. data/docs/TextDocumentElement.md +0 -9
  199. data/docs/TextDocumentLine.md +0 -9
  200. data/docs/TextEncodingDetectResponse.md +0 -9
  201. data/docs/Thumbnail.md +0 -9
  202. data/docs/UpdateDocxTableCellRequest.md +0 -13
  203. data/docs/UpdateDocxTableCellResponse.md +0 -9
  204. data/docs/UpdateDocxTableRowRequest.md +0 -12
  205. data/docs/UpdateDocxTableRowResponse.md +0 -9
  206. data/docs/UrlToPdfRequest.md +0 -11
  207. data/docs/UrlToTextRequest.md +0 -8
  208. data/docs/UrlToTextResponse.md +0 -9
  209. data/docs/ValidateDocumentApi.md +0 -833
  210. data/docs/ViewerResponse.md +0 -9
  211. data/docs/ViewerToolsApi.md +0 -63
  212. data/docs/WorksheetResult.md +0 -11
  213. data/docs/XlsxImage.md +0 -12
  214. data/docs/XlsxSpreadsheetCell.md +0 -12
  215. data/docs/XlsxSpreadsheetColumn.md +0 -9
  216. data/docs/XlsxSpreadsheetRow.md +0 -9
  217. data/docs/XlsxToPngResult.md +0 -9
  218. data/docs/XlsxWorksheet.md +0 -9
  219. data/docs/XmlAddAttributeWithXPathResult.md +0 -10
  220. data/docs/XmlAddChildWithXPathResult.md +0 -10
  221. data/docs/XmlFilterWithXPathResult.md +0 -10
  222. data/docs/XmlQueryWithXQueryMultiResult.md +0 -10
  223. data/docs/XmlQueryWithXQueryResult.md +0 -10
  224. data/docs/XmlRemoveAllChildrenWithXPathResult.md +0 -10
  225. data/docs/XmlRemoveWithXPathResult.md +0 -11
  226. data/docs/XmlReplaceWithXPathResult.md +0 -10
  227. data/docs/XmlSetValueWithXPathResult.md +0 -10
  228. data/docs/ZipArchiveApi.md +0 -306
  229. data/docs/ZipDirectory.md +0 -10
  230. data/docs/ZipEncryptionAdvancedRequest.md +0 -10
  231. data/docs/ZipExtractResponse.md +0 -10
  232. data/docs/ZipFile.md +0 -9
  233. data/git_push.sh +0 -55
  234. data/lib/cloudmersive-convert-api-client.rb +0 -265
  235. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +0 -86
  236. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +0 -981
  237. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +0 -2462
  238. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +0 -277
  239. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +0 -137
  240. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +0 -464
  241. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +0 -2774
  242. data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +0 -1181
  243. data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +0 -748
  244. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +0 -923
  245. data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +0 -381
  246. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +0 -863
  247. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +0 -79
  248. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +0 -335
  249. data/lib/cloudmersive-convert-api-client/api_client.rb +0 -389
  250. data/lib/cloudmersive-convert-api-client/api_error.rb +0 -38
  251. data/lib/cloudmersive-convert-api-client/configuration.rb +0 -209
  252. data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +0 -217
  253. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +0 -209
  254. data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +0 -230
  255. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +0 -251
  256. data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +0 -201
  257. data/lib/cloudmersive-convert-api-client/models/autodetect_to_thumbnails_result.rb +0 -201
  258. data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +0 -189
  259. data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +0 -215
  260. data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +0 -189
  261. data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +0 -199
  262. data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +0 -205
  263. data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +0 -199
  264. data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +0 -199
  265. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +0 -245
  266. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +0 -199
  267. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +0 -199
  268. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +0 -189
  269. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +0 -199
  270. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +0 -189
  271. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +0 -199
  272. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +0 -201
  273. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +0 -199
  274. data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +0 -203
  275. data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +0 -211
  276. data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +0 -215
  277. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +0 -245
  278. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +0 -199
  279. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +0 -235
  280. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +0 -199
  281. data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +0 -219
  282. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +0 -215
  283. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +0 -199
  284. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +0 -219
  285. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +0 -231
  286. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +0 -213
  287. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +0 -219
  288. data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +0 -269
  289. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +0 -213
  290. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +0 -213
  291. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +0 -309
  292. data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +0 -235
  293. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +0 -301
  294. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +0 -199
  295. data/lib/cloudmersive-convert-api-client/models/docx_page.rb +0 -201
  296. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +0 -221
  297. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +0 -225
  298. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +0 -199
  299. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +0 -261
  300. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +0 -201
  301. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +0 -225
  302. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +0 -225
  303. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +0 -199
  304. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +0 -225
  305. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +0 -199
  306. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +0 -249
  307. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +0 -571
  308. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +0 -261
  309. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +0 -211
  310. data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +0 -191
  311. data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +0 -242
  312. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +0 -209
  313. data/lib/cloudmersive-convert-api-client/models/docx_to_png_result.rb +0 -201
  314. data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +0 -251
  315. data/lib/cloudmersive-convert-api-client/models/eml_attachment.rb +0 -215
  316. data/lib/cloudmersive-convert-api-client/models/eml_to_html_result.rb +0 -271
  317. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +0 -215
  318. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +0 -199
  319. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +0 -209
  320. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +0 -235
  321. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +0 -211
  322. data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +0 -231
  323. data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +0 -209
  324. data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +0 -209
  325. data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +0 -211
  326. data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +0 -199
  327. data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +0 -211
  328. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +0 -189
  329. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +0 -215
  330. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +0 -199
  331. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +0 -211
  332. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +0 -211
  333. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +0 -215
  334. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +0 -215
  335. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +0 -215
  336. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +0 -211
  337. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +0 -215
  338. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +0 -201
  339. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +0 -225
  340. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +0 -211
  341. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +0 -215
  342. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +0 -201
  343. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +0 -215
  344. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +0 -201
  345. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +0 -225
  346. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +0 -199
  347. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +0 -235
  348. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +0 -199
  349. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +0 -215
  350. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +0 -201
  351. data/lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb +0 -225
  352. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +0 -350
  353. data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +0 -201
  354. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +0 -235
  355. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +0 -199
  356. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +0 -245
  357. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +0 -199
  358. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +0 -225
  359. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +0 -201
  360. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +0 -225
  361. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +0 -201
  362. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +0 -225
  363. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +0 -201
  364. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +0 -215
  365. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +0 -201
  366. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +0 -215
  367. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +0 -201
  368. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +0 -199
  369. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +0 -211
  370. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +0 -199
  371. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +0 -242
  372. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +0 -189
  373. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +0 -199
  374. data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +0 -219
  375. data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +0 -189
  376. data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +0 -199
  377. data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +0 -199
  378. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +0 -245
  379. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +0 -199
  380. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +0 -245
  381. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +0 -199
  382. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +0 -245
  383. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +0 -199
  384. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +0 -225
  385. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +0 -199
  386. data/lib/cloudmersive-convert-api-client/models/msg_attachment.rb +0 -215
  387. data/lib/cloudmersive-convert-api-client/models/msg_to_html_result.rb +0 -271
  388. data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +0 -211
  389. data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +0 -215
  390. data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +0 -299
  391. data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +0 -225
  392. data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +0 -219
  393. data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +0 -201
  394. data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +0 -269
  395. data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +0 -199
  396. data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +0 -201
  397. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +0 -201
  398. data/lib/cloudmersive-convert-api-client/models/pptx_to_png_result.rb +0 -201
  399. data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +0 -225
  400. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +0 -235
  401. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +0 -199
  402. data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +0 -235
  403. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +0 -189
  404. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +0 -199
  405. data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +0 -235
  406. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +0 -189
  407. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +0 -199
  408. data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +0 -225
  409. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +0 -245
  410. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +0 -199
  411. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +0 -209
  412. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +0 -199
  413. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +0 -245
  414. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +0 -209
  415. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +0 -199
  416. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +0 -219
  417. data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +0 -219
  418. data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +0 -217
  419. data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +0 -215
  420. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +0 -245
  421. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +0 -199
  422. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +0 -255
  423. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +0 -199
  424. data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +0 -225
  425. data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +0 -200
  426. data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +0 -201
  427. data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +0 -200
  428. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +0 -210
  429. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +0 -210
  430. data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +0 -200
  431. data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +0 -199
  432. data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +0 -199
  433. data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +0 -199
  434. data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +0 -199
  435. data/lib/cloudmersive-convert-api-client/models/thumbnail.rb +0 -215
  436. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +0 -255
  437. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +0 -199
  438. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +0 -245
  439. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +0 -199
  440. data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +0 -219
  441. data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +0 -189
  442. data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +0 -199
  443. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +0 -197
  444. data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +0 -235
  445. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +0 -229
  446. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +0 -228
  447. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +0 -199
  448. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +0 -201
  449. data/lib/cloudmersive-convert-api-client/models/xlsx_to_png_result.rb +0 -201
  450. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +0 -199
  451. data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +0 -209
  452. data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +0 -209
  453. data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +0 -211
  454. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +0 -209
  455. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +0 -209
  456. data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +0 -209
  457. data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +0 -221
  458. data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +0 -209
  459. data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +0 -209
  460. data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +0 -213
  461. data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +0 -225
  462. data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +0 -213
  463. data/lib/cloudmersive-convert-api-client/models/zip_file.rb +0 -215
  464. data/lib/cloudmersive-convert-api-client/version.rb +0 -15
  465. data/spec/api/compare_document_api_spec.rb +0 -48
  466. data/spec/api/convert_data_api_spec.rb +0 -240
  467. data/spec/api/convert_document_api_spec.rb +0 -568
  468. data/spec/api/convert_image_api_spec.rb +0 -88
  469. data/spec/api/convert_template_api_spec.rb +0 -60
  470. data/spec/api/convert_web_api_spec.rb +0 -131
  471. data/spec/api/edit_document_api_spec.rb +0 -635
  472. data/spec/api/edit_pdf_api_spec.rb +0 -282
  473. data/spec/api/edit_text_api_spec.rb +0 -192
  474. data/spec/api/merge_document_api_spec.rb +0 -239
  475. data/spec/api/split_document_api_spec.rb +0 -113
  476. data/spec/api/validate_document_api_spec.rb +0 -215
  477. data/spec/api/viewer_tools_api_spec.rb +0 -47
  478. data/spec/api/zip_archive_api_spec.rb +0 -105
  479. data/spec/api_client_spec.rb +0 -226
  480. data/spec/configuration_spec.rb +0 -42
  481. data/spec/models/add_pdf_annotation_request_spec.rb +0 -48
  482. data/spec/models/alternate_file_format_candidate_spec.rb +0 -54
  483. data/spec/models/autodetect_document_validation_result_spec.rb +0 -66
  484. data/spec/models/autodetect_get_info_result_spec.rb +0 -78
  485. data/spec/models/autodetect_to_png_result_spec.rb +0 -48
  486. data/spec/models/autodetect_to_thumbnails_result_spec.rb +0 -48
  487. data/spec/models/base64_decode_request_spec.rb +0 -42
  488. data/spec/models/base64_decode_response_spec.rb +0 -48
  489. data/spec/models/base64_detect_request_spec.rb +0 -42
  490. data/spec/models/base64_detect_response_spec.rb +0 -48
  491. data/spec/models/base64_encode_request_spec.rb +0 -42
  492. data/spec/models/base64_encode_response_spec.rb +0 -48
  493. data/spec/models/change_line_ending_response_spec.rb +0 -48
  494. data/spec/models/clear_xlsx_cell_request_spec.rb +0 -66
  495. data/spec/models/clear_xlsx_cell_response_spec.rb +0 -48
  496. data/spec/models/converted_png_page_spec.rb +0 -48
  497. data/spec/models/create_blank_docx_request_spec.rb +0 -42
  498. data/spec/models/create_blank_docx_response_spec.rb +0 -48
  499. data/spec/models/create_blank_spreadsheet_request_spec.rb +0 -42
  500. data/spec/models/create_blank_spreadsheet_response_spec.rb +0 -48
  501. data/spec/models/create_spreadsheet_from_data_request_spec.rb +0 -48
  502. data/spec/models/create_spreadsheet_from_data_response_spec.rb +0 -48
  503. data/spec/models/create_zip_archive_request_spec.rb +0 -48
  504. data/spec/models/csv_collection_spec.rb +0 -54
  505. data/spec/models/csv_file_result_spec.rb +0 -48
  506. data/spec/models/delete_docx_table_row_range_request_spec.rb +0 -66
  507. data/spec/models/delete_docx_table_row_range_response_spec.rb +0 -48
  508. data/spec/models/delete_docx_table_row_request_spec.rb +0 -60
  509. data/spec/models/delete_docx_table_row_response_spec.rb +0 -48
  510. data/spec/models/detect_line_endings_response_spec.rb +0 -60
  511. data/spec/models/disable_shared_workbook_request_spec.rb +0 -48
  512. data/spec/models/disable_shared_workbook_response_spec.rb +0 -48
  513. data/spec/models/document_validation_error_spec.rb +0 -60
  514. data/spec/models/document_validation_result_spec.rb +0 -66
  515. data/spec/models/docx_body_spec.rb +0 -54
  516. data/spec/models/docx_cell_style_spec.rb +0 -60
  517. data/spec/models/docx_comment_spec.rb +0 -90
  518. data/spec/models/docx_footer_spec.rb +0 -54
  519. data/spec/models/docx_header_spec.rb +0 -54
  520. data/spec/models/docx_image_spec.rb +0 -114
  521. data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +0 -60
  522. data/spec/models/docx_insert_image_request_spec.rb +0 -90
  523. data/spec/models/docx_insert_image_response_spec.rb +0 -48
  524. data/spec/models/docx_page_spec.rb +0 -48
  525. data/spec/models/docx_paragraph_spec.rb +0 -60
  526. data/spec/models/docx_remove_object_request_spec.rb +0 -54
  527. data/spec/models/docx_remove_object_response_spec.rb +0 -48
  528. data/spec/models/docx_run_spec.rb +0 -84
  529. data/spec/models/docx_section_spec.rb +0 -48
  530. data/spec/models/docx_set_footer_add_page_number_request_spec.rb +0 -54
  531. data/spec/models/docx_set_footer_request_spec.rb +0 -54
  532. data/spec/models/docx_set_footer_response_spec.rb +0 -48
  533. data/spec/models/docx_set_header_request_spec.rb +0 -54
  534. data/spec/models/docx_set_header_response_spec.rb +0 -48
  535. data/spec/models/docx_style_spec.rb +0 -78
  536. data/spec/models/docx_table_cell_spec.rb +0 -84
  537. data/spec/models/docx_table_row_spec.rb +0 -54
  538. data/spec/models/docx_table_spec.rb +0 -270
  539. data/spec/models/docx_template_application_request_spec.rb +0 -42
  540. data/spec/models/docx_template_operation_spec.rb +0 -58
  541. data/spec/models/docx_text_spec.rb +0 -54
  542. data/spec/models/docx_to_png_result_spec.rb +0 -48
  543. data/spec/models/docx_top_level_comment_spec.rb +0 -78
  544. data/spec/models/eml_attachment_spec.rb +0 -48
  545. data/spec/models/eml_to_html_result_spec.rb +0 -90
  546. data/spec/models/enable_shared_workbook_request_spec.rb +0 -48
  547. data/spec/models/enable_shared_workbook_response_spec.rb +0 -48
  548. data/spec/models/exif_value_spec.rb +0 -54
  549. data/spec/models/find_docx_paragraph_request_spec.rb +0 -60
  550. data/spec/models/find_docx_paragraph_response_spec.rb +0 -54
  551. data/spec/models/find_regex_match_spec.rb +0 -66
  552. data/spec/models/find_string_match_spec.rb +0 -54
  553. data/spec/models/find_string_regex_request_spec.rb +0 -54
  554. data/spec/models/find_string_regex_response_spec.rb +0 -54
  555. data/spec/models/find_string_simple_request_spec.rb +0 -48
  556. data/spec/models/find_string_simple_response_spec.rb +0 -54
  557. data/spec/models/finish_editing_request_spec.rb +0 -42
  558. data/spec/models/get_docx_body_request_spec.rb +0 -48
  559. data/spec/models/get_docx_body_response_spec.rb +0 -48
  560. data/spec/models/get_docx_comments_hierarchical_response_spec.rb +0 -54
  561. data/spec/models/get_docx_comments_response_spec.rb +0 -54
  562. data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +0 -48
  563. data/spec/models/get_docx_get_comments_request_spec.rb +0 -48
  564. data/spec/models/get_docx_headers_and_footers_request_spec.rb +0 -48
  565. data/spec/models/get_docx_headers_and_footers_response_spec.rb +0 -54
  566. data/spec/models/get_docx_images_request_spec.rb +0 -48
  567. data/spec/models/get_docx_images_response_spec.rb +0 -48
  568. data/spec/models/get_docx_pages_request_spec.rb +0 -54
  569. data/spec/models/get_docx_pages_response_spec.rb +0 -54
  570. data/spec/models/get_docx_sections_request_spec.rb +0 -48
  571. data/spec/models/get_docx_sections_response_spec.rb +0 -48
  572. data/spec/models/get_docx_styles_request_spec.rb +0 -48
  573. data/spec/models/get_docx_styles_response_spec.rb +0 -48
  574. data/spec/models/get_docx_table_by_index_request_spec.rb +0 -54
  575. data/spec/models/get_docx_table_by_index_response_spec.rb +0 -48
  576. data/spec/models/get_docx_table_row_request_spec.rb +0 -60
  577. data/spec/models/get_docx_table_row_response_spec.rb +0 -48
  578. data/spec/models/get_docx_tables_request_spec.rb +0 -48
  579. data/spec/models/get_docx_tables_response_spec.rb +0 -48
  580. data/spec/models/get_file_type_icon_result_spec.rb +0 -54
  581. data/spec/models/get_image_info_result_spec.rb +0 -138
  582. data/spec/models/get_pdf_annotations_result_spec.rb +0 -48
  583. data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +0 -60
  584. data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +0 -48
  585. data/spec/models/get_xlsx_cell_request_spec.rb +0 -66
  586. data/spec/models/get_xlsx_cell_response_spec.rb +0 -48
  587. data/spec/models/get_xlsx_columns_request_spec.rb +0 -54
  588. data/spec/models/get_xlsx_columns_response_spec.rb +0 -48
  589. data/spec/models/get_xlsx_images_request_spec.rb +0 -54
  590. data/spec/models/get_xlsx_images_response_spec.rb +0 -48
  591. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +0 -54
  592. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +0 -48
  593. data/spec/models/get_xlsx_styles_request_spec.rb +0 -48
  594. data/spec/models/get_xlsx_styles_response_spec.rb +0 -48
  595. data/spec/models/get_xlsx_worksheets_request_spec.rb +0 -48
  596. data/spec/models/get_xlsx_worksheets_response_spec.rb +0 -48
  597. data/spec/models/html_md_result_spec.rb +0 -48
  598. data/spec/models/html_template_application_request_spec.rb +0 -54
  599. data/spec/models/html_template_application_response_spec.rb +0 -48
  600. data/spec/models/html_template_operation_spec.rb +0 -58
  601. data/spec/models/html_to_office_request_spec.rb +0 -42
  602. data/spec/models/html_to_pdf_request_spec.rb +0 -48
  603. data/spec/models/html_to_png_request_spec.rb +0 -60
  604. data/spec/models/html_to_text_request_spec.rb +0 -42
  605. data/spec/models/html_to_text_response_spec.rb +0 -48
  606. data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +0 -48
  607. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +0 -66
  608. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +0 -48
  609. data/spec/models/insert_docx_table_row_request_spec.rb +0 -66
  610. data/spec/models/insert_docx_table_row_response_spec.rb +0 -48
  611. data/spec/models/insert_docx_tables_request_spec.rb +0 -66
  612. data/spec/models/insert_docx_tables_response_spec.rb +0 -48
  613. data/spec/models/insert_xlsx_worksheet_request_spec.rb +0 -54
  614. data/spec/models/insert_xlsx_worksheet_response_spec.rb +0 -48
  615. data/spec/models/msg_attachment_spec.rb +0 -48
  616. data/spec/models/msg_to_html_result_spec.rb +0 -90
  617. data/spec/models/multipage_image_format_conversion_result_spec.rb +0 -54
  618. data/spec/models/page_conversion_result_spec.rb +0 -48
  619. data/spec/models/pdf_annotation_spec.rb +0 -108
  620. data/spec/models/pdf_document_spec.rb +0 -54
  621. data/spec/models/pdf_form_field_spec.rb +0 -60
  622. data/spec/models/pdf_form_fields_spec.rb +0 -48
  623. data/spec/models/pdf_metadata_spec.rb +0 -90
  624. data/spec/models/pdf_page_text_spec.rb +0 -48
  625. data/spec/models/pdf_text_by_page_result_spec.rb +0 -48
  626. data/spec/models/pdf_to_png_result_spec.rb +0 -48
  627. data/spec/models/pptx_to_png_result_spec.rb +0 -48
  628. data/spec/models/presentation_result_spec.rb +0 -54
  629. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +0 -60
  630. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +0 -48
  631. data/spec/models/remove_docx_pages_request_spec.rb +0 -60
  632. data/spec/models/remove_html_from_text_request_spec.rb +0 -42
  633. data/spec/models/remove_html_from_text_response_spec.rb +0 -48
  634. data/spec/models/remove_pptx_slides_request_spec.rb +0 -60
  635. data/spec/models/remove_whitespace_from_text_request_spec.rb +0 -42
  636. data/spec/models/remove_whitespace_from_text_response_spec.rb +0 -48
  637. data/spec/models/remove_xlsx_worksheet_request_spec.rb +0 -54
  638. data/spec/models/replace_docx_paragraph_request_spec.rb +0 -66
  639. data/spec/models/replace_docx_paragraph_response_spec.rb +0 -48
  640. data/spec/models/replace_string_regex_request_spec.rb +0 -54
  641. data/spec/models/replace_string_regex_response_spec.rb +0 -48
  642. data/spec/models/replace_string_request_spec.rb +0 -66
  643. data/spec/models/replace_string_simple_request_spec.rb +0 -54
  644. data/spec/models/replace_string_simple_response_spec.rb +0 -48
  645. data/spec/models/screenshot_request_spec.rb +0 -60
  646. data/spec/models/set_form_field_value_spec.rb +0 -60
  647. data/spec/models/set_pdf_form_fields_request_spec.rb +0 -48
  648. data/spec/models/set_pdf_metadata_request_spec.rb +0 -48
  649. data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +0 -66
  650. data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +0 -48
  651. data/spec/models/set_xlsx_cell_request_spec.rb +0 -72
  652. data/spec/models/set_xlsx_cell_response_spec.rb +0 -48
  653. data/spec/models/split_document_result_spec.rb +0 -54
  654. data/spec/models/split_docx_document_result_spec.rb +0 -48
  655. data/spec/models/split_pdf_result_spec.rb +0 -48
  656. data/spec/models/split_pptx_presentation_result_spec.rb +0 -48
  657. data/spec/models/split_text_document_by_lines_result_spec.rb +0 -54
  658. data/spec/models/split_text_document_by_string_result_spec.rb +0 -54
  659. data/spec/models/split_xlsx_worksheet_result_spec.rb +0 -48
  660. data/spec/models/text_conversion_result_spec.rb +0 -48
  661. data/spec/models/text_document_element_spec.rb +0 -48
  662. data/spec/models/text_document_line_spec.rb +0 -48
  663. data/spec/models/text_encoding_detect_response_spec.rb +0 -48
  664. data/spec/models/thumbnail_spec.rb +0 -48
  665. data/spec/models/update_docx_table_cell_request_spec.rb +0 -72
  666. data/spec/models/update_docx_table_cell_response_spec.rb +0 -48
  667. data/spec/models/update_docx_table_row_request_spec.rb +0 -66
  668. data/spec/models/update_docx_table_row_response_spec.rb +0 -48
  669. data/spec/models/url_to_pdf_request_spec.rb +0 -60
  670. data/spec/models/url_to_text_request_spec.rb +0 -42
  671. data/spec/models/url_to_text_response_spec.rb +0 -48
  672. data/spec/models/viewer_response_spec.rb +0 -48
  673. data/spec/models/worksheet_result_spec.rb +0 -60
  674. data/spec/models/xlsx_image_spec.rb +0 -66
  675. data/spec/models/xlsx_spreadsheet_cell_spec.rb +0 -66
  676. data/spec/models/xlsx_spreadsheet_column_spec.rb +0 -48
  677. data/spec/models/xlsx_spreadsheet_row_spec.rb +0 -48
  678. data/spec/models/xlsx_to_png_result_spec.rb +0 -48
  679. data/spec/models/xlsx_worksheet_spec.rb +0 -48
  680. data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +0 -54
  681. data/spec/models/xml_add_child_with_x_path_result_spec.rb +0 -54
  682. data/spec/models/xml_filter_with_x_path_result_spec.rb +0 -54
  683. data/spec/models/xml_query_with_x_query_multi_result_spec.rb +0 -54
  684. data/spec/models/xml_query_with_x_query_result_spec.rb +0 -54
  685. data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +0 -54
  686. data/spec/models/xml_remove_with_x_path_result_spec.rb +0 -60
  687. data/spec/models/xml_replace_with_x_path_result_spec.rb +0 -54
  688. data/spec/models/xml_set_value_with_x_path_result_spec.rb +0 -54
  689. data/spec/models/zip_directory_spec.rb +0 -54
  690. data/spec/models/zip_encryption_advanced_request_spec.rb +0 -54
  691. data/spec/models/zip_extract_response_spec.rb +0 -54
  692. data/spec/models/zip_file_spec.rb +0 -48
  693. data/spec/spec_helper.rb +0 -111
@@ -1,2462 +0,0 @@
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.3.1
10
-
11
- =end
12
-
13
- require "uri"
14
-
15
- module CloudmersiveConvertApiClient
16
- class ConvertDocumentApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
-
23
- # Get document type information
24
- # Auto-detects a document's type information; does not require file extension. Analyzes file contents to confirm file type. Even if no file extension is present, the auto-detect system will reliably analyze the contents of the file and identify its file type. Supports over 100 image file formats, Office document file formats, PDF, and more.
25
- # @param input_file Input file to perform the operation on.
26
- # @param [Hash] opts the optional parameters
27
- # @return [AutodetectGetInfoResult]
28
- def convert_document_autodetect_get_info(input_file, opts = {})
29
- data, _status_code, _headers = convert_document_autodetect_get_info_with_http_info(input_file, opts)
30
- return data
31
- end
32
-
33
- # Get document type information
34
- # Auto-detects a document's type information; does not require file extension. Analyzes file contents to confirm file type. Even if no file extension is present, the auto-detect system will reliably analyze the contents of the file and identify its file type. Supports over 100 image file formats, Office document file formats, PDF, and more.
35
- # @param input_file Input file to perform the operation on.
36
- # @param [Hash] opts the optional parameters
37
- # @return [Array<(AutodetectGetInfoResult, Fixnum, Hash)>] AutodetectGetInfoResult data, response status code and response headers
38
- def convert_document_autodetect_get_info_with_http_info(input_file, opts = {})
39
- if @api_client.config.debugging
40
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_get_info ..."
41
- end
42
- # verify the required parameter 'input_file' is set
43
- if @api_client.config.client_side_validation && input_file.nil?
44
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_get_info"
45
- end
46
- # resource path
47
- local_var_path = "/convert/autodetect/get-info"
48
-
49
- # query parameters
50
- query_params = {}
51
-
52
- # header parameters
53
- header_params = {}
54
- # HTTP header 'Accept' (if needed)
55
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
56
- # HTTP header 'Content-Type'
57
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
58
-
59
- # form parameters
60
- form_params = {}
61
- form_params["inputFile"] = input_file
62
-
63
- # http body (model)
64
- post_body = nil
65
- auth_names = ['Apikey']
66
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
67
- :header_params => header_params,
68
- :query_params => query_params,
69
- :form_params => form_params,
70
- :body => post_body,
71
- :auth_names => auth_names,
72
- :return_type => 'AutodetectGetInfoResult')
73
- if @api_client.config.debugging
74
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_get_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
75
- end
76
- return data, status_code, headers
77
- end
78
-
79
- # Convert Document to PDF
80
- # Automatically detect file type and convert it to PDF. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files.
81
- # @param input_file Input file to perform the operation on.
82
- # @param [Hash] opts the optional parameters
83
- # @return [String]
84
- def convert_document_autodetect_to_pdf(input_file, opts = {})
85
- data, _status_code, _headers = convert_document_autodetect_to_pdf_with_http_info(input_file, opts)
86
- return data
87
- end
88
-
89
- # Convert Document to PDF
90
- # Automatically detect file type and convert it to PDF. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files.
91
- # @param input_file Input file to perform the operation on.
92
- # @param [Hash] opts the optional parameters
93
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
94
- def convert_document_autodetect_to_pdf_with_http_info(input_file, opts = {})
95
- if @api_client.config.debugging
96
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_to_pdf ..."
97
- end
98
- # verify the required parameter 'input_file' is set
99
- if @api_client.config.client_side_validation && input_file.nil?
100
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_to_pdf"
101
- end
102
- # resource path
103
- local_var_path = "/convert/autodetect/to/pdf"
104
-
105
- # query parameters
106
- query_params = {}
107
-
108
- # header parameters
109
- header_params = {}
110
- # HTTP header 'Accept' (if needed)
111
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
112
- # HTTP header 'Content-Type'
113
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
114
-
115
- # form parameters
116
- form_params = {}
117
- form_params["inputFile"] = input_file
118
-
119
- # http body (model)
120
- post_body = nil
121
- auth_names = ['Apikey']
122
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
123
- :header_params => header_params,
124
- :query_params => query_params,
125
- :form_params => form_params,
126
- :body => post_body,
127
- :auth_names => auth_names,
128
- :return_type => 'String')
129
- if @api_client.config.debugging
130
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
131
- end
132
- return data, status_code, headers
133
- end
134
-
135
- # Convert Document to PNG array
136
- # Automatically detect file type and convert it to an array of PNG images. Supports all of the major Office document file formats, over 100 image formats, and even multi-page TIFF files.
137
- # @param input_file Input file to perform the operation on.
138
- # @param [Hash] opts the optional parameters
139
- # @return [AutodetectToPngResult]
140
- def convert_document_autodetect_to_png_array(input_file, opts = {})
141
- data, _status_code, _headers = convert_document_autodetect_to_png_array_with_http_info(input_file, opts)
142
- return data
143
- end
144
-
145
- # Convert Document to PNG array
146
- # Automatically detect file type and convert it to an array of PNG images. Supports all of the major Office document file formats, over 100 image formats, and even multi-page TIFF files.
147
- # @param input_file Input file to perform the operation on.
148
- # @param [Hash] opts the optional parameters
149
- # @return [Array<(AutodetectToPngResult, Fixnum, Hash)>] AutodetectToPngResult data, response status code and response headers
150
- def convert_document_autodetect_to_png_array_with_http_info(input_file, opts = {})
151
- if @api_client.config.debugging
152
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_to_png_array ..."
153
- end
154
- # verify the required parameter 'input_file' is set
155
- if @api_client.config.client_side_validation && input_file.nil?
156
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_to_png_array"
157
- end
158
- # resource path
159
- local_var_path = "/convert/autodetect/to/png"
160
-
161
- # query parameters
162
- query_params = {}
163
-
164
- # header parameters
165
- header_params = {}
166
- # HTTP header 'Accept' (if needed)
167
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
168
- # HTTP header 'Content-Type'
169
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
170
-
171
- # form parameters
172
- form_params = {}
173
- form_params["inputFile"] = input_file
174
-
175
- # http body (model)
176
- post_body = nil
177
- auth_names = ['Apikey']
178
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
179
- :header_params => header_params,
180
- :query_params => query_params,
181
- :form_params => form_params,
182
- :body => post_body,
183
- :auth_names => auth_names,
184
- :return_type => 'AutodetectToPngResult')
185
- if @api_client.config.debugging
186
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_to_png_array\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
187
- end
188
- return data, status_code, headers
189
- end
190
-
191
- # Convert File to Thumbnail Image
192
- # Automatically detect file type and convert it to a PNG thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats.
193
- # @param input_file Input file to perform the operation on.
194
- # @param [Hash] opts the optional parameters
195
- # @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
196
- # @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
197
- # @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
198
- # @return [String]
199
- def convert_document_autodetect_to_thumbnail(input_file, opts = {})
200
- data, _status_code, _headers = convert_document_autodetect_to_thumbnail_with_http_info(input_file, opts)
201
- return data
202
- end
203
-
204
- # Convert File to Thumbnail Image
205
- # Automatically detect file type and convert it to a PNG thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats.
206
- # @param input_file Input file to perform the operation on.
207
- # @param [Hash] opts the optional parameters
208
- # @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
209
- # @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
210
- # @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
211
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
212
- def convert_document_autodetect_to_thumbnail_with_http_info(input_file, opts = {})
213
- if @api_client.config.debugging
214
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_to_thumbnail ..."
215
- end
216
- # verify the required parameter 'input_file' is set
217
- if @api_client.config.client_side_validation && input_file.nil?
218
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_to_thumbnail"
219
- end
220
- # resource path
221
- local_var_path = "/convert/autodetect/to/thumbnail"
222
-
223
- # query parameters
224
- query_params = {}
225
-
226
- # header parameters
227
- header_params = {}
228
- # HTTP header 'Accept' (if needed)
229
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
230
- # HTTP header 'Content-Type'
231
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
232
- header_params[:'maxWidth'] = opts[:'max_width'] if !opts[:'max_width'].nil?
233
- header_params[:'maxHeight'] = opts[:'max_height'] if !opts[:'max_height'].nil?
234
- header_params[:'extension'] = opts[:'extension'] if !opts[:'extension'].nil?
235
-
236
- # form parameters
237
- form_params = {}
238
- form_params["inputFile"] = input_file
239
-
240
- # http body (model)
241
- post_body = nil
242
- auth_names = ['Apikey']
243
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
244
- :header_params => header_params,
245
- :query_params => query_params,
246
- :form_params => form_params,
247
- :body => post_body,
248
- :auth_names => auth_names,
249
- :return_type => 'String')
250
- if @api_client.config.debugging
251
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_to_thumbnail\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
252
- end
253
- return data, status_code, headers
254
- end
255
-
256
- # Convert File to Thumbnail Image Object
257
- # Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats.
258
- # @param input_file Input file to perform the operation on.
259
- # @param [Hash] opts the optional parameters
260
- # @option opts [Integer] :pages Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.
261
- # @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
262
- # @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
263
- # @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
264
- # @return [AutodetectToThumbnailsResult]
265
- def convert_document_autodetect_to_thumbnails_advanced(input_file, opts = {})
266
- data, _status_code, _headers = convert_document_autodetect_to_thumbnails_advanced_with_http_info(input_file, opts)
267
- return data
268
- end
269
-
270
- # Convert File to Thumbnail Image Object
271
- # Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats.
272
- # @param input_file Input file to perform the operation on.
273
- # @param [Hash] opts the optional parameters
274
- # @option opts [Integer] :pages Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.
275
- # @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
276
- # @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
277
- # @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
278
- # @return [Array<(AutodetectToThumbnailsResult, Fixnum, Hash)>] AutodetectToThumbnailsResult data, response status code and response headers
279
- def convert_document_autodetect_to_thumbnails_advanced_with_http_info(input_file, opts = {})
280
- if @api_client.config.debugging
281
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_to_thumbnails_advanced ..."
282
- end
283
- # verify the required parameter 'input_file' is set
284
- if @api_client.config.client_side_validation && input_file.nil?
285
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_to_thumbnails_advanced"
286
- end
287
- # resource path
288
- local_var_path = "/convert/autodetect/to/thumbnail/advanced"
289
-
290
- # query parameters
291
- query_params = {}
292
-
293
- # header parameters
294
- header_params = {}
295
- # HTTP header 'Accept' (if needed)
296
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
297
- # HTTP header 'Content-Type'
298
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
299
- header_params[:'pages'] = opts[:'pages'] if !opts[:'pages'].nil?
300
- header_params[:'maxWidth'] = opts[:'max_width'] if !opts[:'max_width'].nil?
301
- header_params[:'maxHeight'] = opts[:'max_height'] if !opts[:'max_height'].nil?
302
- header_params[:'extension'] = opts[:'extension'] if !opts[:'extension'].nil?
303
-
304
- # form parameters
305
- form_params = {}
306
- form_params["inputFile"] = input_file
307
-
308
- # http body (model)
309
- post_body = nil
310
- auth_names = ['Apikey']
311
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
312
- :header_params => header_params,
313
- :query_params => query_params,
314
- :form_params => form_params,
315
- :body => post_body,
316
- :auth_names => auth_names,
317
- :return_type => 'AutodetectToThumbnailsResult')
318
- if @api_client.config.debugging
319
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_to_thumbnails_advanced\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
320
- end
321
- return data, status_code, headers
322
- end
323
-
324
- # Convert Document to Text (txt)
325
- # Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files. For spreadsheets, all worksheets will be included. If you wish to exclude certain pages, worksheets, slides, etc. use the Split document API first, or the delete pages/slides/worksheet APIs first to adjust the document to the target state prior to converting to text.
326
- # @param input_file Input file to perform the operation on.
327
- # @param [Hash] opts the optional parameters
328
- # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting the document to text. Possible values are &#39;preserveWhitespace&#39; which will attempt to preserve whitespace in the document and relative positioning of text within the document, and &#39;minimizeWhitespace&#39; which will not insert additional spaces into the document in most cases. Default is &#39;preserveWhitespace&#39;.
329
- # @return [TextConversionResult]
330
- def convert_document_autodetect_to_txt(input_file, opts = {})
331
- data, _status_code, _headers = convert_document_autodetect_to_txt_with_http_info(input_file, opts)
332
- return data
333
- end
334
-
335
- # Convert Document to Text (txt)
336
- # Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files. For spreadsheets, all worksheets will be included. If you wish to exclude certain pages, worksheets, slides, etc. use the Split document API first, or the delete pages/slides/worksheet APIs first to adjust the document to the target state prior to converting to text.
337
- # @param input_file Input file to perform the operation on.
338
- # @param [Hash] opts the optional parameters
339
- # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting the document to text. Possible values are &#39;preserveWhitespace&#39; which will attempt to preserve whitespace in the document and relative positioning of text within the document, and &#39;minimizeWhitespace&#39; which will not insert additional spaces into the document in most cases. Default is &#39;preserveWhitespace&#39;.
340
- # @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
341
- def convert_document_autodetect_to_txt_with_http_info(input_file, opts = {})
342
- if @api_client.config.debugging
343
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_to_txt ..."
344
- end
345
- # verify the required parameter 'input_file' is set
346
- if @api_client.config.client_side_validation && input_file.nil?
347
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_to_txt"
348
- end
349
- # resource path
350
- local_var_path = "/convert/autodetect/to/txt"
351
-
352
- # query parameters
353
- query_params = {}
354
-
355
- # header parameters
356
- header_params = {}
357
- # HTTP header 'Accept' (if needed)
358
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
359
- # HTTP header 'Content-Type'
360
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
361
- header_params[:'textFormattingMode'] = opts[:'text_formatting_mode'] if !opts[:'text_formatting_mode'].nil?
362
-
363
- # form parameters
364
- form_params = {}
365
- form_params["inputFile"] = input_file
366
-
367
- # http body (model)
368
- post_body = nil
369
- auth_names = ['Apikey']
370
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
371
- :header_params => header_params,
372
- :query_params => query_params,
373
- :form_params => form_params,
374
- :body => post_body,
375
- :auth_names => auth_names,
376
- :return_type => 'TextConversionResult')
377
- if @api_client.config.debugging
378
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
379
- end
380
- return data, status_code, headers
381
- end
382
-
383
- # Convert CSV to Excel XLSX Spreadsheet
384
- # Convert CSV file to Office Excel XLSX Workbooks file format.
385
- # @param input_file Input file to perform the operation on.
386
- # @param [Hash] opts the optional parameters
387
- # @return [String]
388
- def convert_document_csv_to_xlsx(input_file, opts = {})
389
- data, _status_code, _headers = convert_document_csv_to_xlsx_with_http_info(input_file, opts)
390
- return data
391
- end
392
-
393
- # Convert CSV to Excel XLSX Spreadsheet
394
- # Convert CSV file to Office Excel XLSX Workbooks file format.
395
- # @param input_file Input file to perform the operation on.
396
- # @param [Hash] opts the optional parameters
397
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
398
- def convert_document_csv_to_xlsx_with_http_info(input_file, opts = {})
399
- if @api_client.config.debugging
400
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_csv_to_xlsx ..."
401
- end
402
- # verify the required parameter 'input_file' is set
403
- if @api_client.config.client_side_validation && input_file.nil?
404
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_csv_to_xlsx"
405
- end
406
- # resource path
407
- local_var_path = "/convert/csv/to/xlsx"
408
-
409
- # query parameters
410
- query_params = {}
411
-
412
- # header parameters
413
- header_params = {}
414
- # HTTP header 'Accept' (if needed)
415
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
416
- # HTTP header 'Content-Type'
417
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
418
-
419
- # form parameters
420
- form_params = {}
421
- form_params["inputFile"] = input_file
422
-
423
- # http body (model)
424
- post_body = nil
425
- auth_names = ['Apikey']
426
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
427
- :header_params => header_params,
428
- :query_params => query_params,
429
- :form_params => form_params,
430
- :body => post_body,
431
- :auth_names => auth_names,
432
- :return_type => 'String')
433
- if @api_client.config.debugging
434
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_csv_to_xlsx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
435
- end
436
- return data, status_code, headers
437
- end
438
-
439
- # Convert Word DOC (97-03) Document to DOCX
440
- # Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format
441
- # @param input_file Input file to perform the operation on.
442
- # @param [Hash] opts the optional parameters
443
- # @return [String]
444
- def convert_document_doc_to_docx(input_file, opts = {})
445
- data, _status_code, _headers = convert_document_doc_to_docx_with_http_info(input_file, opts)
446
- return data
447
- end
448
-
449
- # Convert Word DOC (97-03) Document to DOCX
450
- # Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format
451
- # @param input_file Input file to perform the operation on.
452
- # @param [Hash] opts the optional parameters
453
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
454
- def convert_document_doc_to_docx_with_http_info(input_file, opts = {})
455
- if @api_client.config.debugging
456
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_doc_to_docx ..."
457
- end
458
- # verify the required parameter 'input_file' is set
459
- if @api_client.config.client_side_validation && input_file.nil?
460
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_doc_to_docx"
461
- end
462
- # resource path
463
- local_var_path = "/convert/doc/to/docx"
464
-
465
- # query parameters
466
- query_params = {}
467
-
468
- # header parameters
469
- header_params = {}
470
- # HTTP header 'Accept' (if needed)
471
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
472
- # HTTP header 'Content-Type'
473
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
474
-
475
- # form parameters
476
- form_params = {}
477
- form_params["inputFile"] = input_file
478
-
479
- # http body (model)
480
- post_body = nil
481
- auth_names = ['Apikey']
482
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
483
- :header_params => header_params,
484
- :query_params => query_params,
485
- :form_params => form_params,
486
- :body => post_body,
487
- :auth_names => auth_names,
488
- :return_type => 'String')
489
- if @api_client.config.debugging
490
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_doc_to_docx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
491
- end
492
- return data, status_code, headers
493
- end
494
-
495
- # Convert Word DOC (97-03) Document to PDF
496
- # Convert Office Word (97-2003 Format) Documents (doc) to standard PDF
497
- # @param input_file Input file to perform the operation on.
498
- # @param [Hash] opts the optional parameters
499
- # @return [String]
500
- def convert_document_doc_to_pdf(input_file, opts = {})
501
- data, _status_code, _headers = convert_document_doc_to_pdf_with_http_info(input_file, opts)
502
- return data
503
- end
504
-
505
- # Convert Word DOC (97-03) Document to PDF
506
- # Convert Office Word (97-2003 Format) Documents (doc) to standard PDF
507
- # @param input_file Input file to perform the operation on.
508
- # @param [Hash] opts the optional parameters
509
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
510
- def convert_document_doc_to_pdf_with_http_info(input_file, opts = {})
511
- if @api_client.config.debugging
512
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_doc_to_pdf ..."
513
- end
514
- # verify the required parameter 'input_file' is set
515
- if @api_client.config.client_side_validation && input_file.nil?
516
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_doc_to_pdf"
517
- end
518
- # resource path
519
- local_var_path = "/convert/doc/to/pdf"
520
-
521
- # query parameters
522
- query_params = {}
523
-
524
- # header parameters
525
- header_params = {}
526
- # HTTP header 'Accept' (if needed)
527
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
528
- # HTTP header 'Content-Type'
529
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
530
-
531
- # form parameters
532
- form_params = {}
533
- form_params["inputFile"] = input_file
534
-
535
- # http body (model)
536
- post_body = nil
537
- auth_names = ['Apikey']
538
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
539
- :header_params => header_params,
540
- :query_params => query_params,
541
- :form_params => form_params,
542
- :body => post_body,
543
- :auth_names => auth_names,
544
- :return_type => 'String')
545
- if @api_client.config.debugging
546
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_doc_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
547
- end
548
- return data, status_code, headers
549
- end
550
-
551
- # Convert Word DOC (97-03) Document to Text (txt)
552
- # Convert Office Word DOC (97-03) Document (doc) to text
553
- # @param input_file Input file to perform the operation on.
554
- # @param [Hash] opts the optional parameters
555
- # @return [TextConversionResult]
556
- def convert_document_doc_to_txt(input_file, opts = {})
557
- data, _status_code, _headers = convert_document_doc_to_txt_with_http_info(input_file, opts)
558
- return data
559
- end
560
-
561
- # Convert Word DOC (97-03) Document to Text (txt)
562
- # Convert Office Word DOC (97-03) Document (doc) to text
563
- # @param input_file Input file to perform the operation on.
564
- # @param [Hash] opts the optional parameters
565
- # @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
566
- def convert_document_doc_to_txt_with_http_info(input_file, opts = {})
567
- if @api_client.config.debugging
568
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_doc_to_txt ..."
569
- end
570
- # verify the required parameter 'input_file' is set
571
- if @api_client.config.client_side_validation && input_file.nil?
572
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_doc_to_txt"
573
- end
574
- # resource path
575
- local_var_path = "/convert/doc/to/txt"
576
-
577
- # query parameters
578
- query_params = {}
579
-
580
- # header parameters
581
- header_params = {}
582
- # HTTP header 'Accept' (if needed)
583
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
584
- # HTTP header 'Content-Type'
585
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
586
-
587
- # form parameters
588
- form_params = {}
589
- form_params["inputFile"] = input_file
590
-
591
- # http body (model)
592
- post_body = nil
593
- auth_names = ['Apikey']
594
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
595
- :header_params => header_params,
596
- :query_params => query_params,
597
- :form_params => form_params,
598
- :body => post_body,
599
- :auth_names => auth_names,
600
- :return_type => 'TextConversionResult')
601
- if @api_client.config.debugging
602
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_doc_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
603
- end
604
- return data, status_code, headers
605
- end
606
-
607
- # Convert Word DOCX Document to PDF
608
- # Convert Office Word Documents (docx) to standard PDF
609
- # @param input_file Input file to perform the operation on.
610
- # @param [Hash] opts the optional parameters
611
- # @return [String]
612
- def convert_document_docx_to_pdf(input_file, opts = {})
613
- data, _status_code, _headers = convert_document_docx_to_pdf_with_http_info(input_file, opts)
614
- return data
615
- end
616
-
617
- # Convert Word DOCX Document to PDF
618
- # Convert Office Word Documents (docx) to standard PDF
619
- # @param input_file Input file to perform the operation on.
620
- # @param [Hash] opts the optional parameters
621
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
622
- def convert_document_docx_to_pdf_with_http_info(input_file, opts = {})
623
- if @api_client.config.debugging
624
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_docx_to_pdf ..."
625
- end
626
- # verify the required parameter 'input_file' is set
627
- if @api_client.config.client_side_validation && input_file.nil?
628
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_docx_to_pdf"
629
- end
630
- # resource path
631
- local_var_path = "/convert/docx/to/pdf"
632
-
633
- # query parameters
634
- query_params = {}
635
-
636
- # header parameters
637
- header_params = {}
638
- # HTTP header 'Accept' (if needed)
639
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
640
- # HTTP header 'Content-Type'
641
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
642
-
643
- # form parameters
644
- form_params = {}
645
- form_params["inputFile"] = input_file
646
-
647
- # http body (model)
648
- post_body = nil
649
- auth_names = ['Apikey']
650
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
651
- :header_params => header_params,
652
- :query_params => query_params,
653
- :form_params => form_params,
654
- :body => post_body,
655
- :auth_names => auth_names,
656
- :return_type => 'String')
657
- if @api_client.config.debugging
658
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_docx_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
659
- end
660
- return data, status_code, headers
661
- end
662
-
663
- # Convert DOCX document to PNG image array
664
- # Converts an Office Word Document (DOCX) file to an array of PNG images, one for each page.
665
- # @param input_file Input file to perform the operation on.
666
- # @param [Hash] opts the optional parameters
667
- # @return [DocxToPngResult]
668
- def convert_document_docx_to_png(input_file, opts = {})
669
- data, _status_code, _headers = convert_document_docx_to_png_with_http_info(input_file, opts)
670
- return data
671
- end
672
-
673
- # Convert DOCX document to PNG image array
674
- # Converts an Office Word Document (DOCX) file to an array of PNG images, one for each page.
675
- # @param input_file Input file to perform the operation on.
676
- # @param [Hash] opts the optional parameters
677
- # @return [Array<(DocxToPngResult, Fixnum, Hash)>] DocxToPngResult data, response status code and response headers
678
- def convert_document_docx_to_png_with_http_info(input_file, opts = {})
679
- if @api_client.config.debugging
680
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_docx_to_png ..."
681
- end
682
- # verify the required parameter 'input_file' is set
683
- if @api_client.config.client_side_validation && input_file.nil?
684
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_docx_to_png"
685
- end
686
- # resource path
687
- local_var_path = "/convert/docx/to/png"
688
-
689
- # query parameters
690
- query_params = {}
691
-
692
- # header parameters
693
- header_params = {}
694
- # HTTP header 'Accept' (if needed)
695
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
696
- # HTTP header 'Content-Type'
697
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
698
-
699
- # form parameters
700
- form_params = {}
701
- form_params["inputFile"] = input_file
702
-
703
- # http body (model)
704
- post_body = nil
705
- auth_names = ['Apikey']
706
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
707
- :header_params => header_params,
708
- :query_params => query_params,
709
- :form_params => form_params,
710
- :body => post_body,
711
- :auth_names => auth_names,
712
- :return_type => 'DocxToPngResult')
713
- if @api_client.config.debugging
714
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_docx_to_png\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
715
- end
716
- return data, status_code, headers
717
- end
718
-
719
- # Convert Word DOCX Document to Text (txt)
720
- # Convert Office Word Documents (docx) to text
721
- # @param input_file Input file to perform the operation on.
722
- # @param [Hash] opts the optional parameters
723
- # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting the document to text. Possible values are &#39;preserveWhitespace&#39; which will attempt to preserve whitespace in the document and relative positioning of text within the document, and &#39;minimizeWhitespace&#39; which will not insert additional spaces into the document in most cases. Default is &#39;minimizeWhitespace&#39;.
724
- # @return [TextConversionResult]
725
- def convert_document_docx_to_txt(input_file, opts = {})
726
- data, _status_code, _headers = convert_document_docx_to_txt_with_http_info(input_file, opts)
727
- return data
728
- end
729
-
730
- # Convert Word DOCX Document to Text (txt)
731
- # Convert Office Word Documents (docx) to text
732
- # @param input_file Input file to perform the operation on.
733
- # @param [Hash] opts the optional parameters
734
- # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting the document to text. Possible values are &#39;preserveWhitespace&#39; which will attempt to preserve whitespace in the document and relative positioning of text within the document, and &#39;minimizeWhitespace&#39; which will not insert additional spaces into the document in most cases. Default is &#39;minimizeWhitespace&#39;.
735
- # @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
736
- def convert_document_docx_to_txt_with_http_info(input_file, opts = {})
737
- if @api_client.config.debugging
738
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_docx_to_txt ..."
739
- end
740
- # verify the required parameter 'input_file' is set
741
- if @api_client.config.client_side_validation && input_file.nil?
742
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_docx_to_txt"
743
- end
744
- # resource path
745
- local_var_path = "/convert/docx/to/txt"
746
-
747
- # query parameters
748
- query_params = {}
749
-
750
- # header parameters
751
- header_params = {}
752
- # HTTP header 'Accept' (if needed)
753
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
754
- # HTTP header 'Content-Type'
755
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
756
- header_params[:'textFormattingMode'] = opts[:'text_formatting_mode'] if !opts[:'text_formatting_mode'].nil?
757
-
758
- # form parameters
759
- form_params = {}
760
- form_params["inputFile"] = input_file
761
-
762
- # http body (model)
763
- post_body = nil
764
- auth_names = ['Apikey']
765
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
766
- :header_params => header_params,
767
- :query_params => query_params,
768
- :form_params => form_params,
769
- :body => post_body,
770
- :auth_names => auth_names,
771
- :return_type => 'TextConversionResult')
772
- if @api_client.config.debugging
773
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_docx_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
774
- end
775
- return data, status_code, headers
776
- end
777
-
778
- # Convert Email EML file to HTML string
779
- # Convert Outlook Email EML file to HTML string and attachments. Supports images if they are base 64 inline.
780
- # @param input_file Input file to perform the operation on.
781
- # @param [Hash] opts the optional parameters
782
- # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
783
- # @option opts [BOOLEAN] :include_attachments Optional; If false, the response object will not include any attachment files from the input file. Default is true.
784
- # @return [EmlToHtmlResult]
785
- def convert_document_eml_to_html(input_file, opts = {})
786
- data, _status_code, _headers = convert_document_eml_to_html_with_http_info(input_file, opts)
787
- return data
788
- end
789
-
790
- # Convert Email EML file to HTML string
791
- # Convert Outlook Email EML file to HTML string and attachments. Supports images if they are base 64 inline.
792
- # @param input_file Input file to perform the operation on.
793
- # @param [Hash] opts the optional parameters
794
- # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
795
- # @option opts [BOOLEAN] :include_attachments Optional; If false, the response object will not include any attachment files from the input file. Default is true.
796
- # @return [Array<(EmlToHtmlResult, Fixnum, Hash)>] EmlToHtmlResult data, response status code and response headers
797
- def convert_document_eml_to_html_with_http_info(input_file, opts = {})
798
- if @api_client.config.debugging
799
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_eml_to_html ..."
800
- end
801
- # verify the required parameter 'input_file' is set
802
- if @api_client.config.client_side_validation && input_file.nil?
803
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_eml_to_html"
804
- end
805
- # resource path
806
- local_var_path = "/convert/eml/to/html"
807
-
808
- # query parameters
809
- query_params = {}
810
-
811
- # header parameters
812
- header_params = {}
813
- # HTTP header 'Accept' (if needed)
814
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
815
- # HTTP header 'Content-Type'
816
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
817
- header_params[:'bodyOnly'] = opts[:'body_only'] if !opts[:'body_only'].nil?
818
- header_params[:'includeAttachments'] = opts[:'include_attachments'] if !opts[:'include_attachments'].nil?
819
-
820
- # form parameters
821
- form_params = {}
822
- form_params["inputFile"] = input_file
823
-
824
- # http body (model)
825
- post_body = nil
826
- auth_names = ['Apikey']
827
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
828
- :header_params => header_params,
829
- :query_params => query_params,
830
- :form_params => form_params,
831
- :body => post_body,
832
- :auth_names => auth_names,
833
- :return_type => 'EmlToHtmlResult')
834
- if @api_client.config.debugging
835
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_eml_to_html\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
836
- end
837
- return data, status_code, headers
838
- end
839
-
840
- # Convert Email EML file to PDF document
841
- # Convert Outlook Email EML file to PDF document. Supports images if they are base 64 inline.
842
- # @param input_file Input file to perform the operation on.
843
- # @param [Hash] opts the optional parameters
844
- # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
845
- # @return [String]
846
- def convert_document_eml_to_pdf(input_file, opts = {})
847
- data, _status_code, _headers = convert_document_eml_to_pdf_with_http_info(input_file, opts)
848
- return data
849
- end
850
-
851
- # Convert Email EML file to PDF document
852
- # Convert Outlook Email EML file to PDF document. Supports images if they are base 64 inline.
853
- # @param input_file Input file to perform the operation on.
854
- # @param [Hash] opts the optional parameters
855
- # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
856
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
857
- def convert_document_eml_to_pdf_with_http_info(input_file, opts = {})
858
- if @api_client.config.debugging
859
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_eml_to_pdf ..."
860
- end
861
- # verify the required parameter 'input_file' is set
862
- if @api_client.config.client_side_validation && input_file.nil?
863
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_eml_to_pdf"
864
- end
865
- # resource path
866
- local_var_path = "/convert/eml/to/pdf"
867
-
868
- # query parameters
869
- query_params = {}
870
-
871
- # header parameters
872
- header_params = {}
873
- # HTTP header 'Accept' (if needed)
874
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
875
- # HTTP header 'Content-Type'
876
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
877
- header_params[:'bodyOnly'] = opts[:'body_only'] if !opts[:'body_only'].nil?
878
-
879
- # form parameters
880
- form_params = {}
881
- form_params["inputFile"] = input_file
882
-
883
- # http body (model)
884
- post_body = nil
885
- auth_names = ['Apikey']
886
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
887
- :header_params => header_params,
888
- :query_params => query_params,
889
- :form_params => form_params,
890
- :body => post_body,
891
- :auth_names => auth_names,
892
- :return_type => 'String')
893
- if @api_client.config.debugging
894
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_eml_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
895
- end
896
- return data, status_code, headers
897
- end
898
-
899
- # Get PNG icon file for the file extension
900
- # Returns a PNG icon for the given file format extension as a file for download. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.
901
- # @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
902
- # @param [Hash] opts the optional parameters
903
- # @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio.
904
- # @return [String]
905
- def convert_document_get_file_type_icon(file_extension, opts = {})
906
- data, _status_code, _headers = convert_document_get_file_type_icon_with_http_info(file_extension, opts)
907
- return data
908
- end
909
-
910
- # Get PNG icon file for the file extension
911
- # Returns a PNG icon for the given file format extension as a file for download. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.
912
- # @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
913
- # @param [Hash] opts the optional parameters
914
- # @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio.
915
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
916
- def convert_document_get_file_type_icon_with_http_info(file_extension, opts = {})
917
- if @api_client.config.debugging
918
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_get_file_type_icon ..."
919
- end
920
- # verify the required parameter 'file_extension' is set
921
- if @api_client.config.client_side_validation && file_extension.nil?
922
- fail ArgumentError, "Missing the required parameter 'file_extension' when calling ConvertDocumentApi.convert_document_get_file_type_icon"
923
- end
924
- # resource path
925
- local_var_path = "/convert/autodetect/get-icon"
926
-
927
- # query parameters
928
- query_params = {}
929
-
930
- # header parameters
931
- header_params = {}
932
- # HTTP header 'Accept' (if needed)
933
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
934
- header_params[:'fileExtension'] = file_extension
935
- header_params[:'iconSize'] = opts[:'icon_size'] if !opts[:'icon_size'].nil?
936
-
937
- # form parameters
938
- form_params = {}
939
-
940
- # http body (model)
941
- post_body = nil
942
- auth_names = ['Apikey']
943
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
944
- :header_params => header_params,
945
- :query_params => query_params,
946
- :form_params => form_params,
947
- :body => post_body,
948
- :auth_names => auth_names,
949
- :return_type => 'String')
950
- if @api_client.config.debugging
951
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_get_file_type_icon\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
952
- end
953
- return data, status_code, headers
954
- end
955
-
956
- # Get PNG icon byte array for the file extension
957
- # Returns a PNG icon for the given file format extension directly as a byte array. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.
958
- # @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
959
- # @param [Hash] opts the optional parameters
960
- # @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio.
961
- # @return [GetFileTypeIconResult]
962
- def convert_document_get_file_type_icon_advanced(file_extension, opts = {})
963
- data, _status_code, _headers = convert_document_get_file_type_icon_advanced_with_http_info(file_extension, opts)
964
- return data
965
- end
966
-
967
- # Get PNG icon byte array for the file extension
968
- # Returns a PNG icon for the given file format extension directly as a byte array. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.
969
- # @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
970
- # @param [Hash] opts the optional parameters
971
- # @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio.
972
- # @return [Array<(GetFileTypeIconResult, Fixnum, Hash)>] GetFileTypeIconResult data, response status code and response headers
973
- def convert_document_get_file_type_icon_advanced_with_http_info(file_extension, opts = {})
974
- if @api_client.config.debugging
975
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_get_file_type_icon_advanced ..."
976
- end
977
- # verify the required parameter 'file_extension' is set
978
- if @api_client.config.client_side_validation && file_extension.nil?
979
- fail ArgumentError, "Missing the required parameter 'file_extension' when calling ConvertDocumentApi.convert_document_get_file_type_icon_advanced"
980
- end
981
- # resource path
982
- local_var_path = "/convert/autodetect/get-icon/advanced"
983
-
984
- # query parameters
985
- query_params = {}
986
-
987
- # header parameters
988
- header_params = {}
989
- # HTTP header 'Accept' (if needed)
990
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
991
- header_params[:'fileExtension'] = file_extension
992
- header_params[:'iconSize'] = opts[:'icon_size'] if !opts[:'icon_size'].nil?
993
-
994
- # form parameters
995
- form_params = {}
996
-
997
- # http body (model)
998
- post_body = nil
999
- auth_names = ['Apikey']
1000
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1001
- :header_params => header_params,
1002
- :query_params => query_params,
1003
- :form_params => form_params,
1004
- :body => post_body,
1005
- :auth_names => auth_names,
1006
- :return_type => 'GetFileTypeIconResult')
1007
- if @api_client.config.debugging
1008
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_get_file_type_icon_advanced\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1009
- end
1010
- return data, status_code, headers
1011
- end
1012
-
1013
- # Convert HTML document file to PDF Document
1014
- # Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to PDF. To use external files such as images, use an absolute URL to the file.
1015
- # @param input_file Input file to perform the operation on.
1016
- # @param [Hash] opts the optional parameters
1017
- # @return [String]
1018
- def convert_document_html_to_pdf(input_file, opts = {})
1019
- data, _status_code, _headers = convert_document_html_to_pdf_with_http_info(input_file, opts)
1020
- return data
1021
- end
1022
-
1023
- # Convert HTML document file to PDF Document
1024
- # Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to PDF. To use external files such as images, use an absolute URL to the file.
1025
- # @param input_file Input file to perform the operation on.
1026
- # @param [Hash] opts the optional parameters
1027
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1028
- def convert_document_html_to_pdf_with_http_info(input_file, opts = {})
1029
- if @api_client.config.debugging
1030
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_html_to_pdf ..."
1031
- end
1032
- # verify the required parameter 'input_file' is set
1033
- if @api_client.config.client_side_validation && input_file.nil?
1034
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_html_to_pdf"
1035
- end
1036
- # resource path
1037
- local_var_path = "/convert/html/to/pdf"
1038
-
1039
- # query parameters
1040
- query_params = {}
1041
-
1042
- # header parameters
1043
- header_params = {}
1044
- # HTTP header 'Accept' (if needed)
1045
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1046
- # HTTP header 'Content-Type'
1047
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1048
-
1049
- # form parameters
1050
- form_params = {}
1051
- form_params["inputFile"] = input_file
1052
-
1053
- # http body (model)
1054
- post_body = nil
1055
- auth_names = ['Apikey']
1056
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1057
- :header_params => header_params,
1058
- :query_params => query_params,
1059
- :form_params => form_params,
1060
- :body => post_body,
1061
- :auth_names => auth_names,
1062
- :return_type => 'String')
1063
- if @api_client.config.debugging
1064
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_html_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1065
- end
1066
- return data, status_code, headers
1067
- end
1068
-
1069
- # Convert HTML document file to PNG image array
1070
- # Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to an array of PNG images, one for each page. To use external files in your HTML such as images, use an absolute URL to the file.
1071
- # @param input_file Input file to perform the operation on.
1072
- # @param [Hash] opts the optional parameters
1073
- # @return [PdfToPngResult]
1074
- def convert_document_html_to_png(input_file, opts = {})
1075
- data, _status_code, _headers = convert_document_html_to_png_with_http_info(input_file, opts)
1076
- return data
1077
- end
1078
-
1079
- # Convert HTML document file to PNG image array
1080
- # Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to an array of PNG images, one for each page. To use external files in your HTML such as images, use an absolute URL to the file.
1081
- # @param input_file Input file to perform the operation on.
1082
- # @param [Hash] opts the optional parameters
1083
- # @return [Array<(PdfToPngResult, Fixnum, Hash)>] PdfToPngResult data, response status code and response headers
1084
- def convert_document_html_to_png_with_http_info(input_file, opts = {})
1085
- if @api_client.config.debugging
1086
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_html_to_png ..."
1087
- end
1088
- # verify the required parameter 'input_file' is set
1089
- if @api_client.config.client_side_validation && input_file.nil?
1090
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_html_to_png"
1091
- end
1092
- # resource path
1093
- local_var_path = "/convert/html/to/png"
1094
-
1095
- # query parameters
1096
- query_params = {}
1097
-
1098
- # header parameters
1099
- header_params = {}
1100
- # HTTP header 'Accept' (if needed)
1101
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1102
- # HTTP header 'Content-Type'
1103
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1104
-
1105
- # form parameters
1106
- form_params = {}
1107
- form_params["inputFile"] = input_file
1108
-
1109
- # http body (model)
1110
- post_body = nil
1111
- auth_names = ['Apikey']
1112
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1113
- :header_params => header_params,
1114
- :query_params => query_params,
1115
- :form_params => form_params,
1116
- :body => post_body,
1117
- :auth_names => auth_names,
1118
- :return_type => 'PdfToPngResult')
1119
- if @api_client.config.debugging
1120
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_html_to_png\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1121
- end
1122
- return data, status_code, headers
1123
- end
1124
-
1125
- # HTML Document file to Text (txt)
1126
- # HTML document to text
1127
- # @param input_file Input file to perform the operation on.
1128
- # @param [Hash] opts the optional parameters
1129
- # @return [TextConversionResult]
1130
- def convert_document_html_to_txt(input_file, opts = {})
1131
- data, _status_code, _headers = convert_document_html_to_txt_with_http_info(input_file, opts)
1132
- return data
1133
- end
1134
-
1135
- # HTML Document file to Text (txt)
1136
- # HTML document to text
1137
- # @param input_file Input file to perform the operation on.
1138
- # @param [Hash] opts the optional parameters
1139
- # @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
1140
- def convert_document_html_to_txt_with_http_info(input_file, opts = {})
1141
- if @api_client.config.debugging
1142
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_html_to_txt ..."
1143
- end
1144
- # verify the required parameter 'input_file' is set
1145
- if @api_client.config.client_side_validation && input_file.nil?
1146
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_html_to_txt"
1147
- end
1148
- # resource path
1149
- local_var_path = "/convert/html/to/txt"
1150
-
1151
- # query parameters
1152
- query_params = {}
1153
-
1154
- # header parameters
1155
- header_params = {}
1156
- # HTTP header 'Accept' (if needed)
1157
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1158
- # HTTP header 'Content-Type'
1159
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1160
-
1161
- # form parameters
1162
- form_params = {}
1163
- form_params["inputFile"] = input_file
1164
-
1165
- # http body (model)
1166
- post_body = nil
1167
- auth_names = ['Apikey']
1168
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1169
- :header_params => header_params,
1170
- :query_params => query_params,
1171
- :form_params => form_params,
1172
- :body => post_body,
1173
- :auth_names => auth_names,
1174
- :return_type => 'TextConversionResult')
1175
- if @api_client.config.debugging
1176
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_html_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1177
- end
1178
- return data, status_code, headers
1179
- end
1180
-
1181
- # Convert Email MSG file to HTML string
1182
- # Convert Outlook Email MSG file to HTML string and attachments. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.
1183
- # @param input_file Input file to perform the operation on.
1184
- # @param [Hash] opts the optional parameters
1185
- # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the MSG. Other information such as subject will still be given as properties in the response object. Default is false.
1186
- # @option opts [BOOLEAN] :include_attachments Optional; If false, the response object will not include any attachment files from the input file. Default is true.
1187
- # @return [MsgToHtmlResult]
1188
- def convert_document_msg_to_html(input_file, opts = {})
1189
- data, _status_code, _headers = convert_document_msg_to_html_with_http_info(input_file, opts)
1190
- return data
1191
- end
1192
-
1193
- # Convert Email MSG file to HTML string
1194
- # Convert Outlook Email MSG file to HTML string and attachments. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.
1195
- # @param input_file Input file to perform the operation on.
1196
- # @param [Hash] opts the optional parameters
1197
- # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the MSG. Other information such as subject will still be given as properties in the response object. Default is false.
1198
- # @option opts [BOOLEAN] :include_attachments Optional; If false, the response object will not include any attachment files from the input file. Default is true.
1199
- # @return [Array<(MsgToHtmlResult, Fixnum, Hash)>] MsgToHtmlResult data, response status code and response headers
1200
- def convert_document_msg_to_html_with_http_info(input_file, opts = {})
1201
- if @api_client.config.debugging
1202
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_msg_to_html ..."
1203
- end
1204
- # verify the required parameter 'input_file' is set
1205
- if @api_client.config.client_side_validation && input_file.nil?
1206
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_msg_to_html"
1207
- end
1208
- # resource path
1209
- local_var_path = "/convert/msg/to/html"
1210
-
1211
- # query parameters
1212
- query_params = {}
1213
-
1214
- # header parameters
1215
- header_params = {}
1216
- # HTTP header 'Accept' (if needed)
1217
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1218
- # HTTP header 'Content-Type'
1219
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1220
- header_params[:'bodyOnly'] = opts[:'body_only'] if !opts[:'body_only'].nil?
1221
- header_params[:'includeAttachments'] = opts[:'include_attachments'] if !opts[:'include_attachments'].nil?
1222
-
1223
- # form parameters
1224
- form_params = {}
1225
- form_params["inputFile"] = input_file
1226
-
1227
- # http body (model)
1228
- post_body = nil
1229
- auth_names = ['Apikey']
1230
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1231
- :header_params => header_params,
1232
- :query_params => query_params,
1233
- :form_params => form_params,
1234
- :body => post_body,
1235
- :auth_names => auth_names,
1236
- :return_type => 'MsgToHtmlResult')
1237
- if @api_client.config.debugging
1238
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_msg_to_html\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1239
- end
1240
- return data, status_code, headers
1241
- end
1242
-
1243
- # Convert Email MSG file to PDF document
1244
- # Convert Outlook Email MSG file to PDF document. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.
1245
- # @param input_file Input file to perform the operation on.
1246
- # @param [Hash] opts the optional parameters
1247
- # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
1248
- # @return [String]
1249
- def convert_document_msg_to_pdf(input_file, opts = {})
1250
- data, _status_code, _headers = convert_document_msg_to_pdf_with_http_info(input_file, opts)
1251
- return data
1252
- end
1253
-
1254
- # Convert Email MSG file to PDF document
1255
- # Convert Outlook Email MSG file to PDF document. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.
1256
- # @param input_file Input file to perform the operation on.
1257
- # @param [Hash] opts the optional parameters
1258
- # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
1259
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1260
- def convert_document_msg_to_pdf_with_http_info(input_file, opts = {})
1261
- if @api_client.config.debugging
1262
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_msg_to_pdf ..."
1263
- end
1264
- # verify the required parameter 'input_file' is set
1265
- if @api_client.config.client_side_validation && input_file.nil?
1266
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_msg_to_pdf"
1267
- end
1268
- # resource path
1269
- local_var_path = "/convert/msg/to/pdf"
1270
-
1271
- # query parameters
1272
- query_params = {}
1273
-
1274
- # header parameters
1275
- header_params = {}
1276
- # HTTP header 'Accept' (if needed)
1277
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1278
- # HTTP header 'Content-Type'
1279
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1280
- header_params[:'bodyOnly'] = opts[:'body_only'] if !opts[:'body_only'].nil?
1281
-
1282
- # form parameters
1283
- form_params = {}
1284
- form_params["inputFile"] = input_file
1285
-
1286
- # http body (model)
1287
- post_body = nil
1288
- auth_names = ['Apikey']
1289
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1290
- :header_params => header_params,
1291
- :query_params => query_params,
1292
- :form_params => form_params,
1293
- :body => post_body,
1294
- :auth_names => auth_names,
1295
- :return_type => 'String')
1296
- if @api_client.config.debugging
1297
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_msg_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1298
- end
1299
- return data, status_code, headers
1300
- end
1301
-
1302
- # Convert PDF to Word DOCX Document
1303
- # 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.
1304
- # @param input_file Input file to perform the operation on.
1305
- # @param [Hash] opts the optional parameters
1306
- # @return [String]
1307
- def convert_document_pdf_to_docx(input_file, opts = {})
1308
- data, _status_code, _headers = convert_document_pdf_to_docx_with_http_info(input_file, opts)
1309
- return data
1310
- end
1311
-
1312
- # Convert PDF to Word DOCX Document
1313
- # 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.
1314
- # @param input_file Input file to perform the operation on.
1315
- # @param [Hash] opts the optional parameters
1316
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1317
- def convert_document_pdf_to_docx_with_http_info(input_file, opts = {})
1318
- if @api_client.config.debugging
1319
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_docx ..."
1320
- end
1321
- # verify the required parameter 'input_file' is set
1322
- if @api_client.config.client_side_validation && input_file.nil?
1323
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_docx"
1324
- end
1325
- # resource path
1326
- local_var_path = "/convert/pdf/to/docx"
1327
-
1328
- # query parameters
1329
- query_params = {}
1330
-
1331
- # header parameters
1332
- header_params = {}
1333
- # HTTP header 'Accept' (if needed)
1334
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1335
- # HTTP header 'Content-Type'
1336
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1337
-
1338
- # form parameters
1339
- form_params = {}
1340
- form_params["inputFile"] = input_file
1341
-
1342
- # http body (model)
1343
- post_body = nil
1344
- auth_names = ['Apikey']
1345
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1346
- :header_params => header_params,
1347
- :query_params => query_params,
1348
- :form_params => form_params,
1349
- :body => post_body,
1350
- :auth_names => auth_names,
1351
- :return_type => 'String')
1352
- if @api_client.config.debugging
1353
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_docx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1354
- end
1355
- return data, status_code, headers
1356
- end
1357
-
1358
- # Convert PDF to Word DOCX Document based on rasterized version of the PDF
1359
- # Convert standard PDF to Office Word Documents (docx), but first rasterize the PDF. Converts a PDF at high fidelity into Word format.
1360
- # @param input_file Input file to perform the operation on.
1361
- # @param [Hash] opts the optional parameters
1362
- # @return [String]
1363
- def convert_document_pdf_to_docx_rasterize(input_file, opts = {})
1364
- data, _status_code, _headers = convert_document_pdf_to_docx_rasterize_with_http_info(input_file, opts)
1365
- return data
1366
- end
1367
-
1368
- # Convert PDF to Word DOCX Document based on rasterized version of the PDF
1369
- # Convert standard PDF to Office Word Documents (docx), but first rasterize the PDF. Converts a PDF at high fidelity into Word format.
1370
- # @param input_file Input file to perform the operation on.
1371
- # @param [Hash] opts the optional parameters
1372
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1373
- def convert_document_pdf_to_docx_rasterize_with_http_info(input_file, opts = {})
1374
- if @api_client.config.debugging
1375
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_docx_rasterize ..."
1376
- end
1377
- # verify the required parameter 'input_file' is set
1378
- if @api_client.config.client_side_validation && input_file.nil?
1379
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_docx_rasterize"
1380
- end
1381
- # resource path
1382
- local_var_path = "/convert/pdf/to/docx/rasterize"
1383
-
1384
- # query parameters
1385
- query_params = {}
1386
-
1387
- # header parameters
1388
- header_params = {}
1389
- # HTTP header 'Accept' (if needed)
1390
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1391
- # HTTP header 'Content-Type'
1392
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1393
-
1394
- # form parameters
1395
- form_params = {}
1396
- form_params["inputFile"] = input_file
1397
-
1398
- # http body (model)
1399
- post_body = nil
1400
- auth_names = ['Apikey']
1401
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1402
- :header_params => header_params,
1403
- :query_params => query_params,
1404
- :form_params => form_params,
1405
- :body => post_body,
1406
- :auth_names => auth_names,
1407
- :return_type => 'String')
1408
- if @api_client.config.debugging
1409
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_docx_rasterize\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1410
- end
1411
- return data, status_code, headers
1412
- end
1413
-
1414
- # Convert PDF to PNG Image Array
1415
- # Convert PDF document to PNG array, one image per page.
1416
- # @param input_file Input file to perform the operation on.
1417
- # @param [Hash] opts the optional parameters
1418
- # @return [PdfToPngResult]
1419
- def convert_document_pdf_to_png_array(input_file, opts = {})
1420
- data, _status_code, _headers = convert_document_pdf_to_png_array_with_http_info(input_file, opts)
1421
- return data
1422
- end
1423
-
1424
- # Convert PDF to PNG Image Array
1425
- # Convert PDF document to PNG array, one image per page.
1426
- # @param input_file Input file to perform the operation on.
1427
- # @param [Hash] opts the optional parameters
1428
- # @return [Array<(PdfToPngResult, Fixnum, Hash)>] PdfToPngResult data, response status code and response headers
1429
- def convert_document_pdf_to_png_array_with_http_info(input_file, opts = {})
1430
- if @api_client.config.debugging
1431
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_png_array ..."
1432
- end
1433
- # verify the required parameter 'input_file' is set
1434
- if @api_client.config.client_side_validation && input_file.nil?
1435
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_png_array"
1436
- end
1437
- # resource path
1438
- local_var_path = "/convert/pdf/to/png"
1439
-
1440
- # query parameters
1441
- query_params = {}
1442
-
1443
- # header parameters
1444
- header_params = {}
1445
- # HTTP header 'Accept' (if needed)
1446
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1447
- # HTTP header 'Content-Type'
1448
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1449
-
1450
- # form parameters
1451
- form_params = {}
1452
- form_params["inputFile"] = input_file
1453
-
1454
- # http body (model)
1455
- post_body = nil
1456
- auth_names = ['Apikey']
1457
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1458
- :header_params => header_params,
1459
- :query_params => query_params,
1460
- :form_params => form_params,
1461
- :body => post_body,
1462
- :auth_names => auth_names,
1463
- :return_type => 'PdfToPngResult')
1464
- if @api_client.config.debugging
1465
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_png_array\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1466
- end
1467
- return data, status_code, headers
1468
- end
1469
-
1470
- # Convert PDF to Single PNG image
1471
- # Convert PDF document to a single tall PNG image, by stacking/concatenating the images vertically into a single \"tall\" image
1472
- # @param input_file Input file to perform the operation on.
1473
- # @param [Hash] opts the optional parameters
1474
- # @return [String]
1475
- def convert_document_pdf_to_png_single(input_file, opts = {})
1476
- data, _status_code, _headers = convert_document_pdf_to_png_single_with_http_info(input_file, opts)
1477
- return data
1478
- end
1479
-
1480
- # Convert PDF to Single PNG image
1481
- # Convert PDF document to a single tall PNG image, by stacking/concatenating the images vertically into a single \&quot;tall\&quot; image
1482
- # @param input_file Input file to perform the operation on.
1483
- # @param [Hash] opts the optional parameters
1484
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1485
- def convert_document_pdf_to_png_single_with_http_info(input_file, opts = {})
1486
- if @api_client.config.debugging
1487
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_png_single ..."
1488
- end
1489
- # verify the required parameter 'input_file' is set
1490
- if @api_client.config.client_side_validation && input_file.nil?
1491
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_png_single"
1492
- end
1493
- # resource path
1494
- local_var_path = "/convert/pdf/to/png/merge-single"
1495
-
1496
- # query parameters
1497
- query_params = {}
1498
-
1499
- # header parameters
1500
- header_params = {}
1501
- # HTTP header 'Accept' (if needed)
1502
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1503
- # HTTP header 'Content-Type'
1504
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1505
-
1506
- # form parameters
1507
- form_params = {}
1508
- form_params["inputFile"] = input_file
1509
-
1510
- # http body (model)
1511
- post_body = nil
1512
- auth_names = ['Apikey']
1513
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1514
- :header_params => header_params,
1515
- :query_params => query_params,
1516
- :form_params => form_params,
1517
- :body => post_body,
1518
- :auth_names => auth_names,
1519
- :return_type => 'String')
1520
- if @api_client.config.debugging
1521
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_png_single\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1522
- end
1523
- return data, status_code, headers
1524
- end
1525
-
1526
- # Convert PDF to PowerPoint PPTX Presentation
1527
- # 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.
1528
- # @param input_file Input file to perform the operation on.
1529
- # @param [Hash] opts the optional parameters
1530
- # @return [String]
1531
- def convert_document_pdf_to_pptx(input_file, opts = {})
1532
- data, _status_code, _headers = convert_document_pdf_to_pptx_with_http_info(input_file, opts)
1533
- return data
1534
- end
1535
-
1536
- # Convert PDF to PowerPoint PPTX Presentation
1537
- # 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.
1538
- # @param input_file Input file to perform the operation on.
1539
- # @param [Hash] opts the optional parameters
1540
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1541
- def convert_document_pdf_to_pptx_with_http_info(input_file, opts = {})
1542
- if @api_client.config.debugging
1543
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_pptx ..."
1544
- end
1545
- # verify the required parameter 'input_file' is set
1546
- if @api_client.config.client_side_validation && input_file.nil?
1547
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_pptx"
1548
- end
1549
- # resource path
1550
- local_var_path = "/convert/pdf/to/pptx"
1551
-
1552
- # query parameters
1553
- query_params = {}
1554
-
1555
- # header parameters
1556
- header_params = {}
1557
- # HTTP header 'Accept' (if needed)
1558
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1559
- # HTTP header 'Content-Type'
1560
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1561
-
1562
- # form parameters
1563
- form_params = {}
1564
- form_params["inputFile"] = input_file
1565
-
1566
- # http body (model)
1567
- post_body = nil
1568
- auth_names = ['Apikey']
1569
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1570
- :header_params => header_params,
1571
- :query_params => query_params,
1572
- :form_params => form_params,
1573
- :body => post_body,
1574
- :auth_names => auth_names,
1575
- :return_type => 'String')
1576
- if @api_client.config.debugging
1577
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_pptx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1578
- end
1579
- return data, status_code, headers
1580
- end
1581
-
1582
- # Convert PDF Document to Text (txt)
1583
- # PDF document to text
1584
- # @param input_file Input file to perform the operation on.
1585
- # @param [Hash] opts the optional parameters
1586
- # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting PDF to text. Possible values are &#39;preserveWhitespace&#39; which will attempt to preserve whitespace in the document and relative positioning of text within the document, and &#39;minimizeWhitespace&#39; which will not insert additional spaces into the document in most cases. Default is &#39;preserveWhitespace&#39;.
1587
- # @return [TextConversionResult]
1588
- def convert_document_pdf_to_txt(input_file, opts = {})
1589
- data, _status_code, _headers = convert_document_pdf_to_txt_with_http_info(input_file, opts)
1590
- return data
1591
- end
1592
-
1593
- # Convert PDF Document to Text (txt)
1594
- # PDF document to text
1595
- # @param input_file Input file to perform the operation on.
1596
- # @param [Hash] opts the optional parameters
1597
- # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting PDF to text. Possible values are &#39;preserveWhitespace&#39; which will attempt to preserve whitespace in the document and relative positioning of text within the document, and &#39;minimizeWhitespace&#39; which will not insert additional spaces into the document in most cases. Default is &#39;preserveWhitespace&#39;.
1598
- # @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
1599
- def convert_document_pdf_to_txt_with_http_info(input_file, opts = {})
1600
- if @api_client.config.debugging
1601
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_txt ..."
1602
- end
1603
- # verify the required parameter 'input_file' is set
1604
- if @api_client.config.client_side_validation && input_file.nil?
1605
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_txt"
1606
- end
1607
- # resource path
1608
- local_var_path = "/convert/pdf/to/txt"
1609
-
1610
- # query parameters
1611
- query_params = {}
1612
-
1613
- # header parameters
1614
- header_params = {}
1615
- # HTTP header 'Accept' (if needed)
1616
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1617
- # HTTP header 'Content-Type'
1618
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1619
- header_params[:'textFormattingMode'] = opts[:'text_formatting_mode'] if !opts[:'text_formatting_mode'].nil?
1620
-
1621
- # form parameters
1622
- form_params = {}
1623
- form_params["inputFile"] = input_file
1624
-
1625
- # http body (model)
1626
- post_body = nil
1627
- auth_names = ['Apikey']
1628
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1629
- :header_params => header_params,
1630
- :query_params => query_params,
1631
- :form_params => form_params,
1632
- :body => post_body,
1633
- :auth_names => auth_names,
1634
- :return_type => 'TextConversionResult')
1635
- if @api_client.config.debugging
1636
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1637
- end
1638
- return data, status_code, headers
1639
- end
1640
-
1641
- # Convert PNG Array to PDF
1642
- # Convert an array of PNG images, one image per page, into a newly-created PDF. Supports images of different sizes as input.
1643
- # @param input_file1 First input file to perform the operation on.
1644
- # @param input_file2 Second input file to perform the operation on.
1645
- # @param [Hash] opts the optional parameters
1646
- # @option opts [File] :input_file3 Third input file to perform the operation on.
1647
- # @option opts [File] :input_file4 Fourth input file to perform the operation on.
1648
- # @option opts [File] :input_file5 Fifth input file to perform the operation on.
1649
- # @option opts [File] :input_file6 Sixth input file to perform the operation on.
1650
- # @option opts [File] :input_file7 Seventh input file to perform the operation on.
1651
- # @option opts [File] :input_file8 Eighth input file to perform the operation on.
1652
- # @option opts [File] :input_file9 Ninth input file to perform the operation on.
1653
- # @option opts [File] :input_file10 Tenth input file to perform the operation on.
1654
- # @return [String]
1655
- def convert_document_png_array_to_pdf(input_file1, input_file2, opts = {})
1656
- data, _status_code, _headers = convert_document_png_array_to_pdf_with_http_info(input_file1, input_file2, opts)
1657
- return data
1658
- end
1659
-
1660
- # Convert PNG Array to PDF
1661
- # Convert an array of PNG images, one image per page, into a newly-created PDF. Supports images of different sizes as input.
1662
- # @param input_file1 First input file to perform the operation on.
1663
- # @param input_file2 Second input file to perform the operation on.
1664
- # @param [Hash] opts the optional parameters
1665
- # @option opts [File] :input_file3 Third input file to perform the operation on.
1666
- # @option opts [File] :input_file4 Fourth input file to perform the operation on.
1667
- # @option opts [File] :input_file5 Fifth input file to perform the operation on.
1668
- # @option opts [File] :input_file6 Sixth input file to perform the operation on.
1669
- # @option opts [File] :input_file7 Seventh input file to perform the operation on.
1670
- # @option opts [File] :input_file8 Eighth input file to perform the operation on.
1671
- # @option opts [File] :input_file9 Ninth input file to perform the operation on.
1672
- # @option opts [File] :input_file10 Tenth input file to perform the operation on.
1673
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1674
- def convert_document_png_array_to_pdf_with_http_info(input_file1, input_file2, opts = {})
1675
- if @api_client.config.debugging
1676
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_png_array_to_pdf ..."
1677
- end
1678
- # verify the required parameter 'input_file1' is set
1679
- if @api_client.config.client_side_validation && input_file1.nil?
1680
- fail ArgumentError, "Missing the required parameter 'input_file1' when calling ConvertDocumentApi.convert_document_png_array_to_pdf"
1681
- end
1682
- # verify the required parameter 'input_file2' is set
1683
- if @api_client.config.client_side_validation && input_file2.nil?
1684
- fail ArgumentError, "Missing the required parameter 'input_file2' when calling ConvertDocumentApi.convert_document_png_array_to_pdf"
1685
- end
1686
- # resource path
1687
- local_var_path = "/convert/png/to/pdf"
1688
-
1689
- # query parameters
1690
- query_params = {}
1691
-
1692
- # header parameters
1693
- header_params = {}
1694
- # HTTP header 'Accept' (if needed)
1695
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1696
- # HTTP header 'Content-Type'
1697
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1698
-
1699
- # form parameters
1700
- form_params = {}
1701
- form_params["inputFile1"] = input_file1
1702
- form_params["inputFile2"] = input_file2
1703
- form_params["inputFile3"] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
1704
- form_params["inputFile4"] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
1705
- form_params["inputFile5"] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
1706
- form_params["inputFile6"] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
1707
- form_params["inputFile7"] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
1708
- form_params["inputFile8"] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
1709
- form_params["inputFile9"] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
1710
- form_params["inputFile10"] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
1711
-
1712
- # http body (model)
1713
- post_body = nil
1714
- auth_names = ['Apikey']
1715
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1716
- :header_params => header_params,
1717
- :query_params => query_params,
1718
- :form_params => form_params,
1719
- :body => post_body,
1720
- :auth_names => auth_names,
1721
- :return_type => 'String')
1722
- if @api_client.config.debugging
1723
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_png_array_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1724
- end
1725
- return data, status_code, headers
1726
- end
1727
-
1728
- # Convert PowerPoint PPT (97-03) Presentation to PDF
1729
- # Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
1730
- # @param input_file Input file to perform the operation on.
1731
- # @param [Hash] opts the optional parameters
1732
- # @return [String]
1733
- def convert_document_ppt_to_pdf(input_file, opts = {})
1734
- data, _status_code, _headers = convert_document_ppt_to_pdf_with_http_info(input_file, opts)
1735
- return data
1736
- end
1737
-
1738
- # Convert PowerPoint PPT (97-03) Presentation to PDF
1739
- # Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
1740
- # @param input_file Input file to perform the operation on.
1741
- # @param [Hash] opts the optional parameters
1742
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1743
- def convert_document_ppt_to_pdf_with_http_info(input_file, opts = {})
1744
- if @api_client.config.debugging
1745
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_ppt_to_pdf ..."
1746
- end
1747
- # verify the required parameter 'input_file' is set
1748
- if @api_client.config.client_side_validation && input_file.nil?
1749
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_ppt_to_pdf"
1750
- end
1751
- # resource path
1752
- local_var_path = "/convert/ppt/to/pdf"
1753
-
1754
- # query parameters
1755
- query_params = {}
1756
-
1757
- # header parameters
1758
- header_params = {}
1759
- # HTTP header 'Accept' (if needed)
1760
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1761
- # HTTP header 'Content-Type'
1762
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1763
-
1764
- # form parameters
1765
- form_params = {}
1766
- form_params["inputFile"] = input_file
1767
-
1768
- # http body (model)
1769
- post_body = nil
1770
- auth_names = ['Apikey']
1771
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1772
- :header_params => header_params,
1773
- :query_params => query_params,
1774
- :form_params => form_params,
1775
- :body => post_body,
1776
- :auth_names => auth_names,
1777
- :return_type => 'String')
1778
- if @api_client.config.debugging
1779
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_ppt_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1780
- end
1781
- return data, status_code, headers
1782
- end
1783
-
1784
- # Convert PowerPoint PPT (97-03) Presentation to PPTX
1785
- # Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX
1786
- # @param input_file Input file to perform the operation on.
1787
- # @param [Hash] opts the optional parameters
1788
- # @return [String]
1789
- def convert_document_ppt_to_pptx(input_file, opts = {})
1790
- data, _status_code, _headers = convert_document_ppt_to_pptx_with_http_info(input_file, opts)
1791
- return data
1792
- end
1793
-
1794
- # Convert PowerPoint PPT (97-03) Presentation to PPTX
1795
- # Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX
1796
- # @param input_file Input file to perform the operation on.
1797
- # @param [Hash] opts the optional parameters
1798
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1799
- def convert_document_ppt_to_pptx_with_http_info(input_file, opts = {})
1800
- if @api_client.config.debugging
1801
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_ppt_to_pptx ..."
1802
- end
1803
- # verify the required parameter 'input_file' is set
1804
- if @api_client.config.client_side_validation && input_file.nil?
1805
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_ppt_to_pptx"
1806
- end
1807
- # resource path
1808
- local_var_path = "/convert/ppt/to/pptx"
1809
-
1810
- # query parameters
1811
- query_params = {}
1812
-
1813
- # header parameters
1814
- header_params = {}
1815
- # HTTP header 'Accept' (if needed)
1816
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1817
- # HTTP header 'Content-Type'
1818
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1819
-
1820
- # form parameters
1821
- form_params = {}
1822
- form_params["inputFile"] = input_file
1823
-
1824
- # http body (model)
1825
- post_body = nil
1826
- auth_names = ['Apikey']
1827
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1828
- :header_params => header_params,
1829
- :query_params => query_params,
1830
- :form_params => form_params,
1831
- :body => post_body,
1832
- :auth_names => auth_names,
1833
- :return_type => 'String')
1834
- if @api_client.config.debugging
1835
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_ppt_to_pptx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1836
- end
1837
- return data, status_code, headers
1838
- end
1839
-
1840
- # Convert PowerPoint PPTX Presentation to PDF
1841
- # Convert Office PowerPoint Documents (pptx) to standard PDF
1842
- # @param input_file Input file to perform the operation on.
1843
- # @param [Hash] opts the optional parameters
1844
- # @return [String]
1845
- def convert_document_pptx_to_pdf(input_file, opts = {})
1846
- data, _status_code, _headers = convert_document_pptx_to_pdf_with_http_info(input_file, opts)
1847
- return data
1848
- end
1849
-
1850
- # Convert PowerPoint PPTX Presentation to PDF
1851
- # Convert Office PowerPoint Documents (pptx) to standard PDF
1852
- # @param input_file Input file to perform the operation on.
1853
- # @param [Hash] opts the optional parameters
1854
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1855
- def convert_document_pptx_to_pdf_with_http_info(input_file, opts = {})
1856
- if @api_client.config.debugging
1857
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pptx_to_pdf ..."
1858
- end
1859
- # verify the required parameter 'input_file' is set
1860
- if @api_client.config.client_side_validation && input_file.nil?
1861
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pptx_to_pdf"
1862
- end
1863
- # resource path
1864
- local_var_path = "/convert/pptx/to/pdf"
1865
-
1866
- # query parameters
1867
- query_params = {}
1868
-
1869
- # header parameters
1870
- header_params = {}
1871
- # HTTP header 'Accept' (if needed)
1872
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1873
- # HTTP header 'Content-Type'
1874
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1875
-
1876
- # form parameters
1877
- form_params = {}
1878
- form_params["inputFile"] = input_file
1879
-
1880
- # http body (model)
1881
- post_body = nil
1882
- auth_names = ['Apikey']
1883
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1884
- :header_params => header_params,
1885
- :query_params => query_params,
1886
- :form_params => form_params,
1887
- :body => post_body,
1888
- :auth_names => auth_names,
1889
- :return_type => 'String')
1890
- if @api_client.config.debugging
1891
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pptx_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1892
- end
1893
- return data, status_code, headers
1894
- end
1895
-
1896
- # Convert PowerPoint PPTX to PNG image array
1897
- # Converts a PowerPoint Presentation (PPTX) file to an array of PNG images, one for each page.
1898
- # @param input_file Input file to perform the operation on.
1899
- # @param [Hash] opts the optional parameters
1900
- # @return [PptxToPngResult]
1901
- def convert_document_pptx_to_png(input_file, opts = {})
1902
- data, _status_code, _headers = convert_document_pptx_to_png_with_http_info(input_file, opts)
1903
- return data
1904
- end
1905
-
1906
- # Convert PowerPoint PPTX to PNG image array
1907
- # Converts a PowerPoint Presentation (PPTX) file to an array of PNG images, one for each page.
1908
- # @param input_file Input file to perform the operation on.
1909
- # @param [Hash] opts the optional parameters
1910
- # @return [Array<(PptxToPngResult, Fixnum, Hash)>] PptxToPngResult data, response status code and response headers
1911
- def convert_document_pptx_to_png_with_http_info(input_file, opts = {})
1912
- if @api_client.config.debugging
1913
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pptx_to_png ..."
1914
- end
1915
- # verify the required parameter 'input_file' is set
1916
- if @api_client.config.client_side_validation && input_file.nil?
1917
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pptx_to_png"
1918
- end
1919
- # resource path
1920
- local_var_path = "/convert/pptx/to/png"
1921
-
1922
- # query parameters
1923
- query_params = {}
1924
-
1925
- # header parameters
1926
- header_params = {}
1927
- # HTTP header 'Accept' (if needed)
1928
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1929
- # HTTP header 'Content-Type'
1930
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1931
-
1932
- # form parameters
1933
- form_params = {}
1934
- form_params["inputFile"] = input_file
1935
-
1936
- # http body (model)
1937
- post_body = nil
1938
- auth_names = ['Apikey']
1939
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1940
- :header_params => header_params,
1941
- :query_params => query_params,
1942
- :form_params => form_params,
1943
- :body => post_body,
1944
- :auth_names => auth_names,
1945
- :return_type => 'PptxToPngResult')
1946
- if @api_client.config.debugging
1947
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pptx_to_png\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1948
- end
1949
- return data, status_code, headers
1950
- end
1951
-
1952
- # Convert PowerPoint PPTX Presentation to Text (txt)
1953
- # Convert Office PowerPoint Documents (pptx) to standard Text
1954
- # @param input_file Input file to perform the operation on.
1955
- # @param [Hash] opts the optional parameters
1956
- # @return [TextConversionResult]
1957
- def convert_document_pptx_to_txt(input_file, opts = {})
1958
- data, _status_code, _headers = convert_document_pptx_to_txt_with_http_info(input_file, opts)
1959
- return data
1960
- end
1961
-
1962
- # Convert PowerPoint PPTX Presentation to Text (txt)
1963
- # Convert Office PowerPoint Documents (pptx) to standard Text
1964
- # @param input_file Input file to perform the operation on.
1965
- # @param [Hash] opts the optional parameters
1966
- # @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
1967
- def convert_document_pptx_to_txt_with_http_info(input_file, opts = {})
1968
- if @api_client.config.debugging
1969
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pptx_to_txt ..."
1970
- end
1971
- # verify the required parameter 'input_file' is set
1972
- if @api_client.config.client_side_validation && input_file.nil?
1973
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pptx_to_txt"
1974
- end
1975
- # resource path
1976
- local_var_path = "/convert/pptx/to/txt"
1977
-
1978
- # query parameters
1979
- query_params = {}
1980
-
1981
- # header parameters
1982
- header_params = {}
1983
- # HTTP header 'Accept' (if needed)
1984
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1985
- # HTTP header 'Content-Type'
1986
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1987
-
1988
- # form parameters
1989
- form_params = {}
1990
- form_params["inputFile"] = input_file
1991
-
1992
- # http body (model)
1993
- post_body = nil
1994
- auth_names = ['Apikey']
1995
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1996
- :header_params => header_params,
1997
- :query_params => query_params,
1998
- :form_params => form_params,
1999
- :body => post_body,
2000
- :auth_names => auth_names,
2001
- :return_type => 'TextConversionResult')
2002
- if @api_client.config.debugging
2003
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pptx_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2004
- end
2005
- return data, status_code, headers
2006
- end
2007
-
2008
- # Convert Excel XLS (97-03) Spreadsheet to CSV
2009
- # Convert/upgrade Office Excel (97-2003) Workbooks (xls) to standard CSV format.
2010
- # @param input_file Input file to perform the operation on.
2011
- # @param [Hash] opts the optional parameters
2012
- # @return [String]
2013
- def convert_document_xls_to_csv(input_file, opts = {})
2014
- data, _status_code, _headers = convert_document_xls_to_csv_with_http_info(input_file, opts)
2015
- return data
2016
- end
2017
-
2018
- # Convert Excel XLS (97-03) Spreadsheet to CSV
2019
- # Convert/upgrade Office Excel (97-2003) Workbooks (xls) to standard CSV format.
2020
- # @param input_file Input file to perform the operation on.
2021
- # @param [Hash] opts the optional parameters
2022
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2023
- def convert_document_xls_to_csv_with_http_info(input_file, opts = {})
2024
- if @api_client.config.debugging
2025
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xls_to_csv ..."
2026
- end
2027
- # verify the required parameter 'input_file' is set
2028
- if @api_client.config.client_side_validation && input_file.nil?
2029
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xls_to_csv"
2030
- end
2031
- # resource path
2032
- local_var_path = "/convert/xls/to/csv"
2033
-
2034
- # query parameters
2035
- query_params = {}
2036
-
2037
- # header parameters
2038
- header_params = {}
2039
- # HTTP header 'Accept' (if needed)
2040
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
2041
- # HTTP header 'Content-Type'
2042
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2043
-
2044
- # form parameters
2045
- form_params = {}
2046
- form_params["inputFile"] = input_file
2047
-
2048
- # http body (model)
2049
- post_body = nil
2050
- auth_names = ['Apikey']
2051
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2052
- :header_params => header_params,
2053
- :query_params => query_params,
2054
- :form_params => form_params,
2055
- :body => post_body,
2056
- :auth_names => auth_names,
2057
- :return_type => 'String')
2058
- if @api_client.config.debugging
2059
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xls_to_csv\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2060
- end
2061
- return data, status_code, headers
2062
- end
2063
-
2064
- # Convert Excel XLS (97-03) Spreadsheet to PDF
2065
- # Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.
2066
- # @param input_file Input file to perform the operation on.
2067
- # @param [Hash] opts the optional parameters
2068
- # @return [String]
2069
- def convert_document_xls_to_pdf(input_file, opts = {})
2070
- data, _status_code, _headers = convert_document_xls_to_pdf_with_http_info(input_file, opts)
2071
- return data
2072
- end
2073
-
2074
- # Convert Excel XLS (97-03) Spreadsheet to PDF
2075
- # Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.
2076
- # @param input_file Input file to perform the operation on.
2077
- # @param [Hash] opts the optional parameters
2078
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2079
- def convert_document_xls_to_pdf_with_http_info(input_file, opts = {})
2080
- if @api_client.config.debugging
2081
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xls_to_pdf ..."
2082
- end
2083
- # verify the required parameter 'input_file' is set
2084
- if @api_client.config.client_side_validation && input_file.nil?
2085
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xls_to_pdf"
2086
- end
2087
- # resource path
2088
- local_var_path = "/convert/xls/to/pdf"
2089
-
2090
- # query parameters
2091
- query_params = {}
2092
-
2093
- # header parameters
2094
- header_params = {}
2095
- # HTTP header 'Accept' (if needed)
2096
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
2097
- # HTTP header 'Content-Type'
2098
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2099
-
2100
- # form parameters
2101
- form_params = {}
2102
- form_params["inputFile"] = input_file
2103
-
2104
- # http body (model)
2105
- post_body = nil
2106
- auth_names = ['Apikey']
2107
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2108
- :header_params => header_params,
2109
- :query_params => query_params,
2110
- :form_params => form_params,
2111
- :body => post_body,
2112
- :auth_names => auth_names,
2113
- :return_type => 'String')
2114
- if @api_client.config.debugging
2115
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xls_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2116
- end
2117
- return data, status_code, headers
2118
- end
2119
-
2120
- # Convert Excel XLS (97-03) Spreadsheet to XLSX
2121
- # Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.
2122
- # @param input_file Input file to perform the operation on.
2123
- # @param [Hash] opts the optional parameters
2124
- # @return [String]
2125
- def convert_document_xls_to_xlsx(input_file, opts = {})
2126
- data, _status_code, _headers = convert_document_xls_to_xlsx_with_http_info(input_file, opts)
2127
- return data
2128
- end
2129
-
2130
- # Convert Excel XLS (97-03) Spreadsheet to XLSX
2131
- # Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.
2132
- # @param input_file Input file to perform the operation on.
2133
- # @param [Hash] opts the optional parameters
2134
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2135
- def convert_document_xls_to_xlsx_with_http_info(input_file, opts = {})
2136
- if @api_client.config.debugging
2137
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xls_to_xlsx ..."
2138
- end
2139
- # verify the required parameter 'input_file' is set
2140
- if @api_client.config.client_side_validation && input_file.nil?
2141
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xls_to_xlsx"
2142
- end
2143
- # resource path
2144
- local_var_path = "/convert/xls/to/xlsx"
2145
-
2146
- # query parameters
2147
- query_params = {}
2148
-
2149
- # header parameters
2150
- header_params = {}
2151
- # HTTP header 'Accept' (if needed)
2152
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
2153
- # HTTP header 'Content-Type'
2154
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2155
-
2156
- # form parameters
2157
- form_params = {}
2158
- form_params["inputFile"] = input_file
2159
-
2160
- # http body (model)
2161
- post_body = nil
2162
- auth_names = ['Apikey']
2163
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2164
- :header_params => header_params,
2165
- :query_params => query_params,
2166
- :form_params => form_params,
2167
- :body => post_body,
2168
- :auth_names => auth_names,
2169
- :return_type => 'String')
2170
- if @api_client.config.debugging
2171
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xls_to_xlsx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2172
- end
2173
- return data, status_code, headers
2174
- end
2175
-
2176
- # Convert Excel XLSX Spreadsheet to CSV, Single Worksheet
2177
- # Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format. Supports both XLSX and XLSB file Excel formats. If the input file contains multiple worksheets, the first one is used. If you wish to convert all of the worksheets (not just the first one), be sure to use the xlsx/to/csv/multi API.
2178
- # @param input_file Input file to perform the operation on.
2179
- # @param [Hash] opts the optional parameters
2180
- # @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
2181
- # @return [String]
2182
- def convert_document_xlsx_to_csv(input_file, opts = {})
2183
- data, _status_code, _headers = convert_document_xlsx_to_csv_with_http_info(input_file, opts)
2184
- return data
2185
- end
2186
-
2187
- # Convert Excel XLSX Spreadsheet to CSV, Single Worksheet
2188
- # Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format. Supports both XLSX and XLSB file Excel formats. If the input file contains multiple worksheets, the first one is used. If you wish to convert all of the worksheets (not just the first one), be sure to use the xlsx/to/csv/multi API.
2189
- # @param input_file Input file to perform the operation on.
2190
- # @param [Hash] opts the optional parameters
2191
- # @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
2192
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2193
- def convert_document_xlsx_to_csv_with_http_info(input_file, opts = {})
2194
- if @api_client.config.debugging
2195
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xlsx_to_csv ..."
2196
- end
2197
- # verify the required parameter 'input_file' is set
2198
- if @api_client.config.client_side_validation && input_file.nil?
2199
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xlsx_to_csv"
2200
- end
2201
- # resource path
2202
- local_var_path = "/convert/xlsx/to/csv"
2203
-
2204
- # query parameters
2205
- query_params = {}
2206
-
2207
- # header parameters
2208
- header_params = {}
2209
- # HTTP header 'Accept' (if needed)
2210
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
2211
- # HTTP header 'Content-Type'
2212
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2213
- header_params[:'outputEncoding'] = opts[:'output_encoding'] if !opts[:'output_encoding'].nil?
2214
-
2215
- # form parameters
2216
- form_params = {}
2217
- form_params["inputFile"] = input_file
2218
-
2219
- # http body (model)
2220
- post_body = nil
2221
- auth_names = ['Apikey']
2222
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2223
- :header_params => header_params,
2224
- :query_params => query_params,
2225
- :form_params => form_params,
2226
- :body => post_body,
2227
- :auth_names => auth_names,
2228
- :return_type => 'String')
2229
- if @api_client.config.debugging
2230
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xlsx_to_csv\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2231
- end
2232
- return data, status_code, headers
2233
- end
2234
-
2235
- # Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets
2236
- # Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format, with support for multiple worksheets. Supports both XLSX and XLSB file Excel formats. Returns multiple CSV files, one for each worksheet (tab) in the spreadsheet.
2237
- # @param input_file Input file to perform the operation on.
2238
- # @param [Hash] opts the optional parameters
2239
- # @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
2240
- # @return [CsvCollection]
2241
- def convert_document_xlsx_to_csv_multi(input_file, opts = {})
2242
- data, _status_code, _headers = convert_document_xlsx_to_csv_multi_with_http_info(input_file, opts)
2243
- return data
2244
- end
2245
-
2246
- # Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets
2247
- # Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format, with support for multiple worksheets. Supports both XLSX and XLSB file Excel formats. Returns multiple CSV files, one for each worksheet (tab) in the spreadsheet.
2248
- # @param input_file Input file to perform the operation on.
2249
- # @param [Hash] opts the optional parameters
2250
- # @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
2251
- # @return [Array<(CsvCollection, Fixnum, Hash)>] CsvCollection data, response status code and response headers
2252
- def convert_document_xlsx_to_csv_multi_with_http_info(input_file, opts = {})
2253
- if @api_client.config.debugging
2254
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xlsx_to_csv_multi ..."
2255
- end
2256
- # verify the required parameter 'input_file' is set
2257
- if @api_client.config.client_side_validation && input_file.nil?
2258
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xlsx_to_csv_multi"
2259
- end
2260
- # resource path
2261
- local_var_path = "/convert/xlsx/to/csv/multi"
2262
-
2263
- # query parameters
2264
- query_params = {}
2265
-
2266
- # header parameters
2267
- header_params = {}
2268
- # HTTP header 'Accept' (if needed)
2269
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
2270
- # HTTP header 'Content-Type'
2271
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2272
- header_params[:'outputEncoding'] = opts[:'output_encoding'] if !opts[:'output_encoding'].nil?
2273
-
2274
- # form parameters
2275
- form_params = {}
2276
- form_params["inputFile"] = input_file
2277
-
2278
- # http body (model)
2279
- post_body = nil
2280
- auth_names = ['Apikey']
2281
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2282
- :header_params => header_params,
2283
- :query_params => query_params,
2284
- :form_params => form_params,
2285
- :body => post_body,
2286
- :auth_names => auth_names,
2287
- :return_type => 'CsvCollection')
2288
- if @api_client.config.debugging
2289
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xlsx_to_csv_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2290
- end
2291
- return data, status_code, headers
2292
- end
2293
-
2294
- # Convert Excel XLSX Spreadsheet to PDF
2295
- # Convert Office Excel Workbooks (XLSX) to standard PDF. Converts all worksheets in the workbook to PDF. Supports both XLSX and XLSB Excel file formats.
2296
- # @param input_file Input file to perform the operation on.
2297
- # @param [Hash] opts the optional parameters
2298
- # @return [String]
2299
- def convert_document_xlsx_to_pdf(input_file, opts = {})
2300
- data, _status_code, _headers = convert_document_xlsx_to_pdf_with_http_info(input_file, opts)
2301
- return data
2302
- end
2303
-
2304
- # Convert Excel XLSX Spreadsheet to PDF
2305
- # Convert Office Excel Workbooks (XLSX) to standard PDF. Converts all worksheets in the workbook to PDF. Supports both XLSX and XLSB Excel file formats.
2306
- # @param input_file Input file to perform the operation on.
2307
- # @param [Hash] opts the optional parameters
2308
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2309
- def convert_document_xlsx_to_pdf_with_http_info(input_file, opts = {})
2310
- if @api_client.config.debugging
2311
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xlsx_to_pdf ..."
2312
- end
2313
- # verify the required parameter 'input_file' is set
2314
- if @api_client.config.client_side_validation && input_file.nil?
2315
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xlsx_to_pdf"
2316
- end
2317
- # resource path
2318
- local_var_path = "/convert/xlsx/to/pdf"
2319
-
2320
- # query parameters
2321
- query_params = {}
2322
-
2323
- # header parameters
2324
- header_params = {}
2325
- # HTTP header 'Accept' (if needed)
2326
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
2327
- # HTTP header 'Content-Type'
2328
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2329
-
2330
- # form parameters
2331
- form_params = {}
2332
- form_params["inputFile"] = input_file
2333
-
2334
- # http body (model)
2335
- post_body = nil
2336
- auth_names = ['Apikey']
2337
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2338
- :header_params => header_params,
2339
- :query_params => query_params,
2340
- :form_params => form_params,
2341
- :body => post_body,
2342
- :auth_names => auth_names,
2343
- :return_type => 'String')
2344
- if @api_client.config.debugging
2345
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xlsx_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2346
- end
2347
- return data, status_code, headers
2348
- end
2349
-
2350
- # Convert Excel XLSX spreadsheet to PNG image array
2351
- # Converts an Excel Spreadsheet (XLSX) file to an array of PNG images, one for each page.
2352
- # @param input_file Input file to perform the operation on.
2353
- # @param [Hash] opts the optional parameters
2354
- # @return [XlsxToPngResult]
2355
- def convert_document_xlsx_to_png(input_file, opts = {})
2356
- data, _status_code, _headers = convert_document_xlsx_to_png_with_http_info(input_file, opts)
2357
- return data
2358
- end
2359
-
2360
- # Convert Excel XLSX spreadsheet to PNG image array
2361
- # Converts an Excel Spreadsheet (XLSX) file to an array of PNG images, one for each page.
2362
- # @param input_file Input file to perform the operation on.
2363
- # @param [Hash] opts the optional parameters
2364
- # @return [Array<(XlsxToPngResult, Fixnum, Hash)>] XlsxToPngResult data, response status code and response headers
2365
- def convert_document_xlsx_to_png_with_http_info(input_file, opts = {})
2366
- if @api_client.config.debugging
2367
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xlsx_to_png ..."
2368
- end
2369
- # verify the required parameter 'input_file' is set
2370
- if @api_client.config.client_side_validation && input_file.nil?
2371
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xlsx_to_png"
2372
- end
2373
- # resource path
2374
- local_var_path = "/convert/xlsx/to/png"
2375
-
2376
- # query parameters
2377
- query_params = {}
2378
-
2379
- # header parameters
2380
- header_params = {}
2381
- # HTTP header 'Accept' (if needed)
2382
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2383
- # HTTP header 'Content-Type'
2384
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2385
-
2386
- # form parameters
2387
- form_params = {}
2388
- form_params["inputFile"] = input_file
2389
-
2390
- # http body (model)
2391
- post_body = nil
2392
- auth_names = ['Apikey']
2393
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2394
- :header_params => header_params,
2395
- :query_params => query_params,
2396
- :form_params => form_params,
2397
- :body => post_body,
2398
- :auth_names => auth_names,
2399
- :return_type => 'XlsxToPngResult')
2400
- if @api_client.config.debugging
2401
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xlsx_to_png\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2402
- end
2403
- return data, status_code, headers
2404
- end
2405
-
2406
- # Convert Excel XLSX Spreadsheet to Text (txt)
2407
- # Convert Office Excel Workbooks (XLSX) to standard Text. Converts all worksheets in the workbook to Text. Supports both XLSX and XLSB file formats. When a spreadsheet contains multiple worksheets, will export all of the text from all of the worksheets. If you wish to export the text from only one worksheet, try using the Split XLSX API to split the spreadsheet into multiple worksheet files, and then run XLSX to Text on the individual worksheet file that you need to extract the text from.
2408
- # @param input_file Input file to perform the operation on.
2409
- # @param [Hash] opts the optional parameters
2410
- # @return [TextConversionResult]
2411
- def convert_document_xlsx_to_txt(input_file, opts = {})
2412
- data, _status_code, _headers = convert_document_xlsx_to_txt_with_http_info(input_file, opts)
2413
- return data
2414
- end
2415
-
2416
- # Convert Excel XLSX Spreadsheet to Text (txt)
2417
- # Convert Office Excel Workbooks (XLSX) to standard Text. Converts all worksheets in the workbook to Text. Supports both XLSX and XLSB file formats. When a spreadsheet contains multiple worksheets, will export all of the text from all of the worksheets. If you wish to export the text from only one worksheet, try using the Split XLSX API to split the spreadsheet into multiple worksheet files, and then run XLSX to Text on the individual worksheet file that you need to extract the text from.
2418
- # @param input_file Input file to perform the operation on.
2419
- # @param [Hash] opts the optional parameters
2420
- # @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
2421
- def convert_document_xlsx_to_txt_with_http_info(input_file, opts = {})
2422
- if @api_client.config.debugging
2423
- @api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xlsx_to_txt ..."
2424
- end
2425
- # verify the required parameter 'input_file' is set
2426
- if @api_client.config.client_side_validation && input_file.nil?
2427
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xlsx_to_txt"
2428
- end
2429
- # resource path
2430
- local_var_path = "/convert/xlsx/to/txt"
2431
-
2432
- # query parameters
2433
- query_params = {}
2434
-
2435
- # header parameters
2436
- header_params = {}
2437
- # HTTP header 'Accept' (if needed)
2438
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2439
- # HTTP header 'Content-Type'
2440
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2441
-
2442
- # form parameters
2443
- form_params = {}
2444
- form_params["inputFile"] = input_file
2445
-
2446
- # http body (model)
2447
- post_body = nil
2448
- auth_names = ['Apikey']
2449
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2450
- :header_params => header_params,
2451
- :query_params => query_params,
2452
- :form_params => form_params,
2453
- :body => post_body,
2454
- :auth_names => auth_names,
2455
- :return_type => 'TextConversionResult')
2456
- if @api_client.config.debugging
2457
- @api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xlsx_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2458
- end
2459
- return data, status_code, headers
2460
- end
2461
- end
2462
- end