cloudmersive-convert-api-client 2.0.2 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (783) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -0
  3. data/README.md +579 -0
  4. data/Rakefile +8 -0
  5. data/cloudmersive-convert-api-client.gemspec +45 -0
  6. data/docs/AddPdfAnnotationRequest.md +9 -0
  7. data/docs/AlternateFileFormatCandidate.md +10 -0
  8. data/docs/AppendXlsxRowRequest.md +11 -0
  9. data/docs/AppendXlsxRowResponse.md +9 -0
  10. data/docs/AutodetectDocumentValidationResult.md +12 -0
  11. data/docs/AutodetectGetInfoResult.md +14 -0
  12. data/docs/AutodetectToJpgResult.md +9 -0
  13. data/docs/AutodetectToPngResult.md +9 -0
  14. data/docs/AutodetectToThumbnailsResult.md +9 -0
  15. data/docs/Base64DecodeRequest.md +8 -0
  16. data/docs/Base64DecodeResponse.md +9 -0
  17. data/docs/Base64DetectRequest.md +8 -0
  18. data/docs/Base64DetectResponse.md +9 -0
  19. data/docs/Base64EncodeRequest.md +8 -0
  20. data/docs/Base64EncodeResponse.md +9 -0
  21. data/docs/ChangeLineEndingResponse.md +9 -0
  22. data/docs/ClearXlsxCellRequest.md +12 -0
  23. data/docs/ClearXlsxCellResponse.md +9 -0
  24. data/docs/ClearXlsxRowRequest.md +11 -0
  25. data/docs/ClearXlsxRowResponse.md +9 -0
  26. data/docs/CompareDocumentApi.md +66 -0
  27. data/docs/ConvertDataApi.md +902 -0
  28. data/docs/ConvertDocumentApi.md +4344 -0
  29. data/docs/ConvertImageApi.md +243 -0
  30. data/docs/ConvertTemplateApi.md +122 -0
  31. data/docs/ConvertWebApi.md +448 -0
  32. data/docs/ConvertedJpgPage.md +9 -0
  33. data/docs/ConvertedPngPage.md +9 -0
  34. data/docs/CreateBlankDocxRequest.md +8 -0
  35. data/docs/CreateBlankDocxResponse.md +9 -0
  36. data/docs/CreateBlankSpreadsheetRequest.md +8 -0
  37. data/docs/CreateBlankSpreadsheetResponse.md +9 -0
  38. data/docs/CreateSpreadsheetFromDataRequest.md +9 -0
  39. data/docs/CreateSpreadsheetFromDataResponse.md +9 -0
  40. data/docs/CreateZipArchiveRequest.md +9 -0
  41. data/docs/CsvCollection.md +10 -0
  42. data/docs/CsvFileResult.md +9 -0
  43. data/docs/DeleteDocxTableRowRangeRequest.md +12 -0
  44. data/docs/DeleteDocxTableRowRangeResponse.md +9 -0
  45. data/docs/DeleteDocxTableRowRequest.md +11 -0
  46. data/docs/DeleteDocxTableRowResponse.md +9 -0
  47. data/docs/DetectLineEndingsResponse.md +11 -0
  48. data/docs/DisableSharedWorkbookRequest.md +9 -0
  49. data/docs/DisableSharedWorkbookResponse.md +9 -0
  50. data/docs/DocumentValidationError.md +11 -0
  51. data/docs/DocumentValidationResult.md +12 -0
  52. data/docs/DocxBody.md +10 -0
  53. data/docs/DocxCellStyle.md +11 -0
  54. data/docs/DocxComment.md +16 -0
  55. data/docs/DocxFooter.md +10 -0
  56. data/docs/DocxHeader.md +10 -0
  57. data/docs/DocxImage.md +20 -0
  58. data/docs/DocxInsertCommentOnParagraphRequest.md +11 -0
  59. data/docs/DocxInsertImageRequest.md +16 -0
  60. data/docs/DocxInsertImageResponse.md +9 -0
  61. data/docs/DocxPage.md +9 -0
  62. data/docs/DocxParagraph.md +11 -0
  63. data/docs/DocxRemoveObjectRequest.md +10 -0
  64. data/docs/DocxRemoveObjectResponse.md +9 -0
  65. data/docs/DocxRun.md +15 -0
  66. data/docs/DocxSection.md +9 -0
  67. data/docs/DocxSetFooterAddPageNumberRequest.md +10 -0
  68. data/docs/DocxSetFooterRequest.md +10 -0
  69. data/docs/DocxSetFooterResponse.md +9 -0
  70. data/docs/DocxSetHeaderRequest.md +10 -0
  71. data/docs/DocxSetHeaderResponse.md +9 -0
  72. data/docs/DocxStyle.md +14 -0
  73. data/docs/DocxTable.md +46 -0
  74. data/docs/DocxTableCell.md +15 -0
  75. data/docs/DocxTableRow.md +10 -0
  76. data/docs/DocxTemplateApplicationRequest.md +8 -0
  77. data/docs/DocxTemplateOperation.md +10 -0
  78. data/docs/DocxText.md +10 -0
  79. data/docs/DocxToJpgResult.md +9 -0
  80. data/docs/DocxToPngResult.md +9 -0
  81. data/docs/DocxTopLevelComment.md +14 -0
  82. data/docs/EditDocumentApi.md +3033 -0
  83. data/docs/EditHtmlApi.md +261 -0
  84. data/docs/EditPdfApi.md +1083 -0
  85. data/docs/EditTextApi.md +726 -0
  86. data/docs/EmlAttachment.md +9 -0
  87. data/docs/EmlToHtmlResult.md +16 -0
  88. data/docs/EmlToJpgResult.md +9 -0
  89. data/docs/EmlToPngResult.md +9 -0
  90. data/docs/EnableSharedWorkbookRequest.md +9 -0
  91. data/docs/EnableSharedWorkbookResponse.md +9 -0
  92. data/docs/ExifValue.md +10 -0
  93. data/docs/FindDocxParagraphRequest.md +11 -0
  94. data/docs/FindDocxParagraphResponse.md +10 -0
  95. data/docs/FindRegexMatch.md +12 -0
  96. data/docs/FindStringMatch.md +10 -0
  97. data/docs/FindStringRegexRequest.md +10 -0
  98. data/docs/FindStringRegexResponse.md +10 -0
  99. data/docs/FindStringSimpleRequest.md +9 -0
  100. data/docs/FindStringSimpleResponse.md +10 -0
  101. data/docs/FinishEditingRequest.md +8 -0
  102. data/docs/GetDocxBodyRequest.md +9 -0
  103. data/docs/GetDocxBodyResponse.md +9 -0
  104. data/docs/GetDocxCommentsHierarchicalResponse.md +10 -0
  105. data/docs/GetDocxCommentsResponse.md +10 -0
  106. data/docs/GetDocxGetCommentsHierarchicalRequest.md +9 -0
  107. data/docs/GetDocxGetCommentsRequest.md +9 -0
  108. data/docs/GetDocxHeadersAndFootersRequest.md +9 -0
  109. data/docs/GetDocxHeadersAndFootersResponse.md +10 -0
  110. data/docs/GetDocxImagesRequest.md +9 -0
  111. data/docs/GetDocxImagesResponse.md +9 -0
  112. data/docs/GetDocxPagesRequest.md +10 -0
  113. data/docs/GetDocxPagesResponse.md +10 -0
  114. data/docs/GetDocxSectionsRequest.md +9 -0
  115. data/docs/GetDocxSectionsResponse.md +9 -0
  116. data/docs/GetDocxStylesRequest.md +9 -0
  117. data/docs/GetDocxStylesResponse.md +9 -0
  118. data/docs/GetDocxTableByIndexRequest.md +10 -0
  119. data/docs/GetDocxTableByIndexResponse.md +9 -0
  120. data/docs/GetDocxTableRowRequest.md +11 -0
  121. data/docs/GetDocxTableRowResponse.md +9 -0
  122. data/docs/GetDocxTablesRequest.md +9 -0
  123. data/docs/GetDocxTablesResponse.md +9 -0
  124. data/docs/GetFileTypeIconResult.md +10 -0
  125. data/docs/GetImageInfoResult.md +24 -0
  126. data/docs/GetPdfAnnotationsResult.md +9 -0
  127. data/docs/GetXlsxCellByIdentifierRequest.md +11 -0
  128. data/docs/GetXlsxCellByIdentifierResponse.md +9 -0
  129. data/docs/GetXlsxCellRequest.md +12 -0
  130. data/docs/GetXlsxCellResponse.md +9 -0
  131. data/docs/GetXlsxColumnsRequest.md +10 -0
  132. data/docs/GetXlsxColumnsResponse.md +9 -0
  133. data/docs/GetXlsxImagesRequest.md +10 -0
  134. data/docs/GetXlsxImagesResponse.md +9 -0
  135. data/docs/GetXlsxRowsAndCellsRequest.md +10 -0
  136. data/docs/GetXlsxRowsAndCellsResponse.md +9 -0
  137. data/docs/GetXlsxSpecificRowRequest.md +11 -0
  138. data/docs/GetXlsxSpecificRowResponse.md +9 -0
  139. data/docs/GetXlsxStylesRequest.md +9 -0
  140. data/docs/GetXlsxStylesResponse.md +9 -0
  141. data/docs/GetXlsxWorksheetsRequest.md +9 -0
  142. data/docs/GetXlsxWorksheetsResponse.md +9 -0
  143. data/docs/HtmlMdResult.md +9 -0
  144. data/docs/HtmlTemplateApplicationRequest.md +10 -0
  145. data/docs/HtmlTemplateApplicationResponse.md +9 -0
  146. data/docs/HtmlTemplateOperation.md +10 -0
  147. data/docs/HtmlToOfficeRequest.md +8 -0
  148. data/docs/HtmlToPdfRequest.md +11 -0
  149. data/docs/HtmlToPngRequest.md +11 -0
  150. data/docs/HtmlToTextRequest.md +8 -0
  151. data/docs/HtmlToTextResponse.md +9 -0
  152. data/docs/InsertDocxCommentOnParagraphResponse.md +9 -0
  153. data/docs/InsertDocxInsertParagraphRequest.md +12 -0
  154. data/docs/InsertDocxInsertParagraphResponse.md +9 -0
  155. data/docs/InsertDocxTableRowRequest.md +12 -0
  156. data/docs/InsertDocxTableRowResponse.md +9 -0
  157. data/docs/InsertDocxTablesRequest.md +12 -0
  158. data/docs/InsertDocxTablesResponse.md +9 -0
  159. data/docs/InsertXlsxWorksheetRequest.md +10 -0
  160. data/docs/InsertXlsxWorksheetResponse.md +9 -0
  161. data/docs/KeynoteToJpgResult.md +9 -0
  162. data/docs/KeynoteToPngResult.md +9 -0
  163. data/docs/MergeDocumentApi.md +812 -0
  164. data/docs/MsgAttachment.md +9 -0
  165. data/docs/MsgToHtmlResult.md +16 -0
  166. data/docs/MsgToJpgResult.md +9 -0
  167. data/docs/MsgToPngResult.md +9 -0
  168. data/docs/MultiReplaceStringRequest.md +10 -0
  169. data/docs/MultipageImageFormatConversionResult.md +10 -0
  170. data/docs/OdpToJpgResult.md +9 -0
  171. data/docs/OdpToPngResult.md +9 -0
  172. data/docs/OdsToJpgResult.md +9 -0
  173. data/docs/OdsToPngResult.md +9 -0
  174. data/docs/OdtToJpgResult.md +9 -0
  175. data/docs/OdtToPngResult.md +9 -0
  176. data/docs/PageConversionResult.md +9 -0
  177. data/docs/PdfAnnotation.md +19 -0
  178. data/docs/PdfDocument.md +10 -0
  179. data/docs/PdfFormField.md +11 -0
  180. data/docs/PdfFormFields.md +9 -0
  181. data/docs/PdfMetadata.md +16 -0
  182. data/docs/PdfPageText.md +9 -0
  183. data/docs/PdfTextByPageResult.md +9 -0
  184. data/docs/PdfToJpgResult.md +9 -0
  185. data/docs/PdfToPngResult.md +9 -0
  186. data/docs/PptxToPngResult.md +9 -0
  187. data/docs/PresentationResult.md +10 -0
  188. data/docs/RemoveDocxHeadersAndFootersRequest.md +11 -0
  189. data/docs/RemoveDocxHeadersAndFootersResponse.md +9 -0
  190. data/docs/RemoveDocxPagesRequest.md +11 -0
  191. data/docs/RemoveHtmlFromTextRequest.md +8 -0
  192. data/docs/RemoveHtmlFromTextResponse.md +9 -0
  193. data/docs/RemovePptxSlidesRequest.md +11 -0
  194. data/docs/RemoveWhitespaceFromTextRequest.md +8 -0
  195. data/docs/RemoveWhitespaceFromTextResponse.md +9 -0
  196. data/docs/RemoveXlsxWorksheetRequest.md +10 -0
  197. data/docs/RenameXlsxWorksheetRequest.md +11 -0
  198. data/docs/RenameXlsxWorksheetResponse.md +9 -0
  199. data/docs/ReplaceDocxParagraphRequest.md +12 -0
  200. data/docs/ReplaceDocxParagraphResponse.md +9 -0
  201. data/docs/ReplaceStringRegexRequest.md +10 -0
  202. data/docs/ReplaceStringRegexResponse.md +9 -0
  203. data/docs/ReplaceStringRequest.md +12 -0
  204. data/docs/ReplaceStringSimpleRequest.md +10 -0
  205. data/docs/ReplaceStringSimpleResponse.md +9 -0
  206. data/docs/RtfToJpgResult.md +9 -0
  207. data/docs/RtfToPngResult.md +9 -0
  208. data/docs/ScreenshotRequest.md +11 -0
  209. data/docs/SetFormFieldValue.md +11 -0
  210. data/docs/SetPdfFormFieldsRequest.md +9 -0
  211. data/docs/SetPdfMetadataRequest.md +9 -0
  212. data/docs/SetXlsxCellByIdentifierRequest.md +12 -0
  213. data/docs/SetXlsxCellByIdentifierResponse.md +9 -0
  214. data/docs/SetXlsxCellRequest.md +13 -0
  215. data/docs/SetXlsxCellResponse.md +9 -0
  216. data/docs/SingleReplaceString.md +10 -0
  217. data/docs/SplitDocumentApi.md +361 -0
  218. data/docs/SplitDocumentResult.md +10 -0
  219. data/docs/SplitDocxDocumentResult.md +9 -0
  220. data/docs/SplitPdfResult.md +9 -0
  221. data/docs/SplitPptxPresentationResult.md +9 -0
  222. data/docs/SplitTextDocumentByLinesResult.md +10 -0
  223. data/docs/SplitTextDocumentByStringResult.md +10 -0
  224. data/docs/SplitXlsxWorksheetResult.md +9 -0
  225. data/docs/TextConversionResult.md +9 -0
  226. data/docs/TextDocumentElement.md +9 -0
  227. data/docs/TextDocumentLine.md +9 -0
  228. data/docs/TextEncodingDetectResponse.md +9 -0
  229. data/docs/Thumbnail.md +9 -0
  230. data/docs/TransformDocumentApi.md +140 -0
  231. data/docs/UpdateDocxTableCellRequest.md +13 -0
  232. data/docs/UpdateDocxTableCellResponse.md +9 -0
  233. data/docs/UpdateDocxTableRowRequest.md +12 -0
  234. data/docs/UpdateDocxTableRowResponse.md +9 -0
  235. data/docs/UrlToPdfRequest.md +11 -0
  236. data/docs/UrlToTextRequest.md +8 -0
  237. data/docs/UrlToTextResponse.md +9 -0
  238. data/docs/ValidateDocumentApi.md +833 -0
  239. data/docs/ViewerResponse.md +9 -0
  240. data/docs/ViewerToolsApi.md +63 -0
  241. data/docs/WorksheetResult.md +11 -0
  242. data/docs/XlsxImage.md +12 -0
  243. data/docs/XlsxSpreadsheetCell.md +12 -0
  244. data/docs/XlsxSpreadsheetColumn.md +9 -0
  245. data/docs/XlsxSpreadsheetRow.md +9 -0
  246. data/docs/XlsxToPngResult.md +9 -0
  247. data/docs/XlsxWorksheet.md +9 -0
  248. data/docs/XmlAddAttributeWithXPathResult.md +10 -0
  249. data/docs/XmlAddChildWithXPathResult.md +10 -0
  250. data/docs/XmlFilterWithXPathResult.md +10 -0
  251. data/docs/XmlQueryWithXQueryMultiResult.md +10 -0
  252. data/docs/XmlQueryWithXQueryResult.md +10 -0
  253. data/docs/XmlRemoveAllChildrenWithXPathResult.md +10 -0
  254. data/docs/XmlRemoveWithXPathResult.md +11 -0
  255. data/docs/XmlReplaceWithXPathResult.md +10 -0
  256. data/docs/XmlSetValueWithXPathResult.md +10 -0
  257. data/docs/ZipArchiveApi.md +306 -0
  258. data/docs/ZipDirectory.md +10 -0
  259. data/docs/ZipEncryptionAdvancedRequest.md +10 -0
  260. data/docs/ZipExtractResponse.md +10 -0
  261. data/docs/ZipFile.md +9 -0
  262. data/git_push.sh +55 -0
  263. data/lib/cloudmersive-convert-api-client.rb +295 -0
  264. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +85 -0
  265. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +966 -0
  266. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +4360 -0
  267. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +273 -0
  268. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +135 -0
  269. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +456 -0
  270. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +2994 -0
  271. data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +270 -0
  272. data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +1163 -0
  273. data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +735 -0
  274. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +911 -0
  275. data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +375 -0
  276. data/lib/cloudmersive-convert-api-client/api/transform_document_api.rb +161 -0
  277. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +848 -0
  278. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +78 -0
  279. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +330 -0
  280. data/lib/cloudmersive-convert-api-client/api_client.rb +391 -0
  281. data/lib/cloudmersive-convert-api-client/api_error.rb +38 -0
  282. data/lib/cloudmersive-convert-api-client/configuration.rb +209 -0
  283. data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +213 -0
  284. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +206 -0
  285. data/lib/cloudmersive-convert-api-client/models/append_xlsx_row_request.rb +231 -0
  286. data/lib/cloudmersive-convert-api-client/models/append_xlsx_row_response.rb +196 -0
  287. data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +227 -0
  288. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +248 -0
  289. data/lib/cloudmersive-convert-api-client/models/autodetect_to_jpg_result.rb +198 -0
  290. data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +198 -0
  291. data/lib/cloudmersive-convert-api-client/models/autodetect_to_thumbnails_result.rb +198 -0
  292. data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +186 -0
  293. data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +211 -0
  294. data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +186 -0
  295. data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +196 -0
  296. data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +201 -0
  297. data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +196 -0
  298. data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +196 -0
  299. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +241 -0
  300. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +196 -0
  301. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_row_request.rb +231 -0
  302. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_row_response.rb +196 -0
  303. data/lib/cloudmersive-convert-api-client/models/converted_jpg_page.rb +211 -0
  304. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +196 -0
  305. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +186 -0
  306. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +196 -0
  307. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +186 -0
  308. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +196 -0
  309. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +198 -0
  310. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +196 -0
  311. data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +200 -0
  312. data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +208 -0
  313. data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +211 -0
  314. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +241 -0
  315. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +196 -0
  316. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +231 -0
  317. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +196 -0
  318. data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +216 -0
  319. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +211 -0
  320. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +196 -0
  321. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +216 -0
  322. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +228 -0
  323. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +209 -0
  324. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +216 -0
  325. data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +266 -0
  326. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +210 -0
  327. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +210 -0
  328. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +305 -0
  329. data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +231 -0
  330. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +296 -0
  331. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +196 -0
  332. data/lib/cloudmersive-convert-api-client/models/docx_page.rb +198 -0
  333. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +218 -0
  334. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +221 -0
  335. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +196 -0
  336. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +258 -0
  337. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +198 -0
  338. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +221 -0
  339. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +221 -0
  340. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +196 -0
  341. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +221 -0
  342. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +196 -0
  343. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +246 -0
  344. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +568 -0
  345. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +258 -0
  346. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +208 -0
  347. data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +188 -0
  348. data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +239 -0
  349. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +206 -0
  350. data/lib/cloudmersive-convert-api-client/models/docx_to_jpg_result.rb +198 -0
  351. data/lib/cloudmersive-convert-api-client/models/docx_to_png_result.rb +198 -0
  352. data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +248 -0
  353. data/lib/cloudmersive-convert-api-client/models/eml_attachment.rb +211 -0
  354. data/lib/cloudmersive-convert-api-client/models/eml_to_html_result.rb +268 -0
  355. data/lib/cloudmersive-convert-api-client/models/eml_to_jpg_result.rb +198 -0
  356. data/lib/cloudmersive-convert-api-client/models/eml_to_png_result.rb +198 -0
  357. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +211 -0
  358. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +196 -0
  359. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +206 -0
  360. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +231 -0
  361. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +208 -0
  362. data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +228 -0
  363. data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +206 -0
  364. data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +206 -0
  365. data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +208 -0
  366. data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +196 -0
  367. data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +208 -0
  368. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +186 -0
  369. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +211 -0
  370. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +196 -0
  371. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +208 -0
  372. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +208 -0
  373. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +211 -0
  374. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +211 -0
  375. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +211 -0
  376. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +208 -0
  377. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +211 -0
  378. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +198 -0
  379. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +221 -0
  380. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +208 -0
  381. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +211 -0
  382. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +198 -0
  383. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +211 -0
  384. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +198 -0
  385. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +221 -0
  386. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +196 -0
  387. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +231 -0
  388. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +196 -0
  389. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +211 -0
  390. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +198 -0
  391. data/lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb +221 -0
  392. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +347 -0
  393. data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +198 -0
  394. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +231 -0
  395. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +196 -0
  396. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +241 -0
  397. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +196 -0
  398. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +221 -0
  399. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +198 -0
  400. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +221 -0
  401. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +198 -0
  402. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +221 -0
  403. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +198 -0
  404. data/lib/cloudmersive-convert-api-client/models/get_xlsx_specific_row_request.rb +231 -0
  405. data/lib/cloudmersive-convert-api-client/models/get_xlsx_specific_row_response.rb +196 -0
  406. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +211 -0
  407. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +198 -0
  408. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +211 -0
  409. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +198 -0
  410. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +196 -0
  411. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +208 -0
  412. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +196 -0
  413. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +239 -0
  414. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +186 -0
  415. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +216 -0
  416. data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +216 -0
  417. data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +186 -0
  418. data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +196 -0
  419. data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +196 -0
  420. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +241 -0
  421. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +196 -0
  422. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +241 -0
  423. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +196 -0
  424. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +241 -0
  425. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +196 -0
  426. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +221 -0
  427. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +196 -0
  428. data/lib/cloudmersive-convert-api-client/models/keynote_to_jpg_result.rb +198 -0
  429. data/lib/cloudmersive-convert-api-client/models/keynote_to_png_result.rb +198 -0
  430. data/lib/cloudmersive-convert-api-client/models/msg_attachment.rb +211 -0
  431. data/lib/cloudmersive-convert-api-client/models/msg_to_html_result.rb +268 -0
  432. data/lib/cloudmersive-convert-api-client/models/msg_to_jpg_result.rb +198 -0
  433. data/lib/cloudmersive-convert-api-client/models/msg_to_png_result.rb +198 -0
  434. data/lib/cloudmersive-convert-api-client/models/multi_replace_string_request.rb +223 -0
  435. data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +208 -0
  436. data/lib/cloudmersive-convert-api-client/models/odp_to_jpg_result.rb +198 -0
  437. data/lib/cloudmersive-convert-api-client/models/odp_to_png_result.rb +198 -0
  438. data/lib/cloudmersive-convert-api-client/models/ods_to_jpg_result.rb +198 -0
  439. data/lib/cloudmersive-convert-api-client/models/ods_to_png_result.rb +198 -0
  440. data/lib/cloudmersive-convert-api-client/models/odt_to_jpg_result.rb +198 -0
  441. data/lib/cloudmersive-convert-api-client/models/odt_to_png_result.rb +198 -0
  442. data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +211 -0
  443. data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +296 -0
  444. data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +221 -0
  445. data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +216 -0
  446. data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +198 -0
  447. data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +266 -0
  448. data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +196 -0
  449. data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +198 -0
  450. data/lib/cloudmersive-convert-api-client/models/pdf_to_jpg_result.rb +198 -0
  451. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +198 -0
  452. data/lib/cloudmersive-convert-api-client/models/pptx_to_png_result.rb +198 -0
  453. data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +221 -0
  454. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +231 -0
  455. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +196 -0
  456. data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +231 -0
  457. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +186 -0
  458. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +196 -0
  459. data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +231 -0
  460. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +186 -0
  461. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +196 -0
  462. data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +221 -0
  463. data/lib/cloudmersive-convert-api-client/models/rename_xlsx_worksheet_request.rb +231 -0
  464. data/lib/cloudmersive-convert-api-client/models/rename_xlsx_worksheet_response.rb +196 -0
  465. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +241 -0
  466. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +196 -0
  467. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +206 -0
  468. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +196 -0
  469. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +241 -0
  470. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +206 -0
  471. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +196 -0
  472. data/lib/cloudmersive-convert-api-client/models/rtf_to_jpg_result.rb +198 -0
  473. data/lib/cloudmersive-convert-api-client/models/rtf_to_png_result.rb +198 -0
  474. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +216 -0
  475. data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +216 -0
  476. data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +213 -0
  477. data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +211 -0
  478. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +241 -0
  479. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +196 -0
  480. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +251 -0
  481. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +196 -0
  482. data/lib/cloudmersive-convert-api-client/models/single_replace_string.rb +206 -0
  483. data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +221 -0
  484. data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +197 -0
  485. data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +198 -0
  486. data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +197 -0
  487. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +207 -0
  488. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +207 -0
  489. data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +197 -0
  490. data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +196 -0
  491. data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +196 -0
  492. data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +196 -0
  493. data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +196 -0
  494. data/lib/cloudmersive-convert-api-client/models/thumbnail.rb +211 -0
  495. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +251 -0
  496. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +196 -0
  497. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +241 -0
  498. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +196 -0
  499. data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +216 -0
  500. data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +186 -0
  501. data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +196 -0
  502. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +194 -0
  503. data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +231 -0
  504. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +225 -0
  505. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +225 -0
  506. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +196 -0
  507. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +198 -0
  508. data/lib/cloudmersive-convert-api-client/models/xlsx_to_png_result.rb +198 -0
  509. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +196 -0
  510. data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +206 -0
  511. data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +206 -0
  512. data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +208 -0
  513. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +206 -0
  514. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +206 -0
  515. data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +206 -0
  516. data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +218 -0
  517. data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +206 -0
  518. data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +206 -0
  519. data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +210 -0
  520. data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +221 -0
  521. data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +210 -0
  522. data/lib/cloudmersive-convert-api-client/models/zip_file.rb +211 -0
  523. data/lib/cloudmersive-convert-api-client/version.rb +15 -0
  524. data/spec/api/compare_document_api_spec.rb +48 -0
  525. data/spec/api/convert_data_api_spec.rb +240 -0
  526. data/spec/api/convert_document_api_spec.rb +998 -0
  527. data/spec/api/convert_image_api_spec.rb +88 -0
  528. data/spec/api/convert_template_api_spec.rb +60 -0
  529. data/spec/api/convert_web_api_spec.rb +131 -0
  530. data/spec/api/edit_document_api_spec.rb +695 -0
  531. data/spec/api/edit_html_api_spec.rb +96 -0
  532. data/spec/api/edit_pdf_api_spec.rb +282 -0
  533. data/spec/api/edit_text_api_spec.rb +192 -0
  534. data/spec/api/merge_document_api_spec.rb +239 -0
  535. data/spec/api/split_document_api_spec.rb +113 -0
  536. data/spec/api/transform_document_api_spec.rb +67 -0
  537. data/spec/api/validate_document_api_spec.rb +215 -0
  538. data/spec/api/viewer_tools_api_spec.rb +47 -0
  539. data/spec/api/zip_archive_api_spec.rb +105 -0
  540. data/spec/api_client_spec.rb +243 -0
  541. data/spec/configuration_spec.rb +42 -0
  542. data/spec/models/add_pdf_annotation_request_spec.rb +47 -0
  543. data/spec/models/alternate_file_format_candidate_spec.rb +53 -0
  544. data/spec/models/append_xlsx_row_request_spec.rb +59 -0
  545. data/spec/models/append_xlsx_row_response_spec.rb +47 -0
  546. data/spec/models/autodetect_document_validation_result_spec.rb +65 -0
  547. data/spec/models/autodetect_get_info_result_spec.rb +77 -0
  548. data/spec/models/autodetect_to_jpg_result_spec.rb +47 -0
  549. data/spec/models/autodetect_to_png_result_spec.rb +47 -0
  550. data/spec/models/autodetect_to_thumbnails_result_spec.rb +47 -0
  551. data/spec/models/base64_decode_request_spec.rb +41 -0
  552. data/spec/models/base64_decode_response_spec.rb +47 -0
  553. data/spec/models/base64_detect_request_spec.rb +41 -0
  554. data/spec/models/base64_detect_response_spec.rb +47 -0
  555. data/spec/models/base64_encode_request_spec.rb +41 -0
  556. data/spec/models/base64_encode_response_spec.rb +47 -0
  557. data/spec/models/change_line_ending_response_spec.rb +47 -0
  558. data/spec/models/clear_xlsx_cell_request_spec.rb +65 -0
  559. data/spec/models/clear_xlsx_cell_response_spec.rb +47 -0
  560. data/spec/models/clear_xlsx_row_request_spec.rb +59 -0
  561. data/spec/models/clear_xlsx_row_response_spec.rb +47 -0
  562. data/spec/models/converted_jpg_page_spec.rb +47 -0
  563. data/spec/models/converted_png_page_spec.rb +47 -0
  564. data/spec/models/create_blank_docx_request_spec.rb +41 -0
  565. data/spec/models/create_blank_docx_response_spec.rb +47 -0
  566. data/spec/models/create_blank_spreadsheet_request_spec.rb +41 -0
  567. data/spec/models/create_blank_spreadsheet_response_spec.rb +47 -0
  568. data/spec/models/create_spreadsheet_from_data_request_spec.rb +47 -0
  569. data/spec/models/create_spreadsheet_from_data_response_spec.rb +47 -0
  570. data/spec/models/create_zip_archive_request_spec.rb +47 -0
  571. data/spec/models/csv_collection_spec.rb +53 -0
  572. data/spec/models/csv_file_result_spec.rb +47 -0
  573. data/spec/models/delete_docx_table_row_range_request_spec.rb +65 -0
  574. data/spec/models/delete_docx_table_row_range_response_spec.rb +47 -0
  575. data/spec/models/delete_docx_table_row_request_spec.rb +59 -0
  576. data/spec/models/delete_docx_table_row_response_spec.rb +47 -0
  577. data/spec/models/detect_line_endings_response_spec.rb +59 -0
  578. data/spec/models/disable_shared_workbook_request_spec.rb +47 -0
  579. data/spec/models/disable_shared_workbook_response_spec.rb +47 -0
  580. data/spec/models/document_validation_error_spec.rb +59 -0
  581. data/spec/models/document_validation_result_spec.rb +65 -0
  582. data/spec/models/docx_body_spec.rb +53 -0
  583. data/spec/models/docx_cell_style_spec.rb +59 -0
  584. data/spec/models/docx_comment_spec.rb +89 -0
  585. data/spec/models/docx_footer_spec.rb +53 -0
  586. data/spec/models/docx_header_spec.rb +53 -0
  587. data/spec/models/docx_image_spec.rb +113 -0
  588. data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +59 -0
  589. data/spec/models/docx_insert_image_request_spec.rb +89 -0
  590. data/spec/models/docx_insert_image_response_spec.rb +47 -0
  591. data/spec/models/docx_page_spec.rb +47 -0
  592. data/spec/models/docx_paragraph_spec.rb +59 -0
  593. data/spec/models/docx_remove_object_request_spec.rb +53 -0
  594. data/spec/models/docx_remove_object_response_spec.rb +47 -0
  595. data/spec/models/docx_run_spec.rb +83 -0
  596. data/spec/models/docx_section_spec.rb +47 -0
  597. data/spec/models/docx_set_footer_add_page_number_request_spec.rb +53 -0
  598. data/spec/models/docx_set_footer_request_spec.rb +53 -0
  599. data/spec/models/docx_set_footer_response_spec.rb +47 -0
  600. data/spec/models/docx_set_header_request_spec.rb +53 -0
  601. data/spec/models/docx_set_header_response_spec.rb +47 -0
  602. data/spec/models/docx_style_spec.rb +77 -0
  603. data/spec/models/docx_table_cell_spec.rb +83 -0
  604. data/spec/models/docx_table_row_spec.rb +53 -0
  605. data/spec/models/docx_table_spec.rb +269 -0
  606. data/spec/models/docx_template_application_request_spec.rb +41 -0
  607. data/spec/models/docx_template_operation_spec.rb +57 -0
  608. data/spec/models/docx_text_spec.rb +53 -0
  609. data/spec/models/docx_to_jpg_result_spec.rb +47 -0
  610. data/spec/models/docx_to_png_result_spec.rb +47 -0
  611. data/spec/models/docx_top_level_comment_spec.rb +77 -0
  612. data/spec/models/eml_attachment_spec.rb +47 -0
  613. data/spec/models/eml_to_html_result_spec.rb +89 -0
  614. data/spec/models/eml_to_jpg_result_spec.rb +47 -0
  615. data/spec/models/eml_to_png_result_spec.rb +47 -0
  616. data/spec/models/enable_shared_workbook_request_spec.rb +47 -0
  617. data/spec/models/enable_shared_workbook_response_spec.rb +47 -0
  618. data/spec/models/exif_value_spec.rb +53 -0
  619. data/spec/models/find_docx_paragraph_request_spec.rb +59 -0
  620. data/spec/models/find_docx_paragraph_response_spec.rb +53 -0
  621. data/spec/models/find_regex_match_spec.rb +65 -0
  622. data/spec/models/find_string_match_spec.rb +53 -0
  623. data/spec/models/find_string_regex_request_spec.rb +53 -0
  624. data/spec/models/find_string_regex_response_spec.rb +53 -0
  625. data/spec/models/find_string_simple_request_spec.rb +47 -0
  626. data/spec/models/find_string_simple_response_spec.rb +53 -0
  627. data/spec/models/finish_editing_request_spec.rb +41 -0
  628. data/spec/models/get_docx_body_request_spec.rb +47 -0
  629. data/spec/models/get_docx_body_response_spec.rb +47 -0
  630. data/spec/models/get_docx_comments_hierarchical_response_spec.rb +53 -0
  631. data/spec/models/get_docx_comments_response_spec.rb +53 -0
  632. data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +47 -0
  633. data/spec/models/get_docx_get_comments_request_spec.rb +47 -0
  634. data/spec/models/get_docx_headers_and_footers_request_spec.rb +47 -0
  635. data/spec/models/get_docx_headers_and_footers_response_spec.rb +53 -0
  636. data/spec/models/get_docx_images_request_spec.rb +47 -0
  637. data/spec/models/get_docx_images_response_spec.rb +47 -0
  638. data/spec/models/get_docx_pages_request_spec.rb +53 -0
  639. data/spec/models/get_docx_pages_response_spec.rb +53 -0
  640. data/spec/models/get_docx_sections_request_spec.rb +47 -0
  641. data/spec/models/get_docx_sections_response_spec.rb +47 -0
  642. data/spec/models/get_docx_styles_request_spec.rb +47 -0
  643. data/spec/models/get_docx_styles_response_spec.rb +47 -0
  644. data/spec/models/get_docx_table_by_index_request_spec.rb +53 -0
  645. data/spec/models/get_docx_table_by_index_response_spec.rb +47 -0
  646. data/spec/models/get_docx_table_row_request_spec.rb +59 -0
  647. data/spec/models/get_docx_table_row_response_spec.rb +47 -0
  648. data/spec/models/get_docx_tables_request_spec.rb +47 -0
  649. data/spec/models/get_docx_tables_response_spec.rb +47 -0
  650. data/spec/models/get_file_type_icon_result_spec.rb +53 -0
  651. data/spec/models/get_image_info_result_spec.rb +137 -0
  652. data/spec/models/get_pdf_annotations_result_spec.rb +47 -0
  653. data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +59 -0
  654. data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +47 -0
  655. data/spec/models/get_xlsx_cell_request_spec.rb +65 -0
  656. data/spec/models/get_xlsx_cell_response_spec.rb +47 -0
  657. data/spec/models/get_xlsx_columns_request_spec.rb +53 -0
  658. data/spec/models/get_xlsx_columns_response_spec.rb +47 -0
  659. data/spec/models/get_xlsx_images_request_spec.rb +53 -0
  660. data/spec/models/get_xlsx_images_response_spec.rb +47 -0
  661. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +53 -0
  662. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +47 -0
  663. data/spec/models/get_xlsx_specific_row_request_spec.rb +59 -0
  664. data/spec/models/get_xlsx_specific_row_response_spec.rb +47 -0
  665. data/spec/models/get_xlsx_styles_request_spec.rb +47 -0
  666. data/spec/models/get_xlsx_styles_response_spec.rb +47 -0
  667. data/spec/models/get_xlsx_worksheets_request_spec.rb +47 -0
  668. data/spec/models/get_xlsx_worksheets_response_spec.rb +47 -0
  669. data/spec/models/html_md_result_spec.rb +47 -0
  670. data/spec/models/html_template_application_request_spec.rb +53 -0
  671. data/spec/models/html_template_application_response_spec.rb +47 -0
  672. data/spec/models/html_template_operation_spec.rb +57 -0
  673. data/spec/models/html_to_office_request_spec.rb +41 -0
  674. data/spec/models/html_to_pdf_request_spec.rb +59 -0
  675. data/spec/models/html_to_png_request_spec.rb +59 -0
  676. data/spec/models/html_to_text_request_spec.rb +41 -0
  677. data/spec/models/html_to_text_response_spec.rb +47 -0
  678. data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +47 -0
  679. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +65 -0
  680. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +47 -0
  681. data/spec/models/insert_docx_table_row_request_spec.rb +65 -0
  682. data/spec/models/insert_docx_table_row_response_spec.rb +47 -0
  683. data/spec/models/insert_docx_tables_request_spec.rb +65 -0
  684. data/spec/models/insert_docx_tables_response_spec.rb +47 -0
  685. data/spec/models/insert_xlsx_worksheet_request_spec.rb +53 -0
  686. data/spec/models/insert_xlsx_worksheet_response_spec.rb +47 -0
  687. data/spec/models/keynote_to_jpg_result_spec.rb +47 -0
  688. data/spec/models/keynote_to_png_result_spec.rb +47 -0
  689. data/spec/models/msg_attachment_spec.rb +47 -0
  690. data/spec/models/msg_to_html_result_spec.rb +89 -0
  691. data/spec/models/msg_to_jpg_result_spec.rb +47 -0
  692. data/spec/models/msg_to_png_result_spec.rb +47 -0
  693. data/spec/models/multi_replace_string_request_spec.rb +53 -0
  694. data/spec/models/multipage_image_format_conversion_result_spec.rb +53 -0
  695. data/spec/models/odp_to_jpg_result_spec.rb +47 -0
  696. data/spec/models/odp_to_png_result_spec.rb +47 -0
  697. data/spec/models/ods_to_jpg_result_spec.rb +47 -0
  698. data/spec/models/ods_to_png_result_spec.rb +47 -0
  699. data/spec/models/odt_to_jpg_result_spec.rb +47 -0
  700. data/spec/models/odt_to_png_result_spec.rb +47 -0
  701. data/spec/models/page_conversion_result_spec.rb +47 -0
  702. data/spec/models/pdf_annotation_spec.rb +107 -0
  703. data/spec/models/pdf_document_spec.rb +53 -0
  704. data/spec/models/pdf_form_field_spec.rb +59 -0
  705. data/spec/models/pdf_form_fields_spec.rb +47 -0
  706. data/spec/models/pdf_metadata_spec.rb +89 -0
  707. data/spec/models/pdf_page_text_spec.rb +47 -0
  708. data/spec/models/pdf_text_by_page_result_spec.rb +47 -0
  709. data/spec/models/pdf_to_jpg_result_spec.rb +47 -0
  710. data/spec/models/pdf_to_png_result_spec.rb +47 -0
  711. data/spec/models/pptx_to_png_result_spec.rb +47 -0
  712. data/spec/models/presentation_result_spec.rb +53 -0
  713. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +59 -0
  714. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +47 -0
  715. data/spec/models/remove_docx_pages_request_spec.rb +59 -0
  716. data/spec/models/remove_html_from_text_request_spec.rb +41 -0
  717. data/spec/models/remove_html_from_text_response_spec.rb +47 -0
  718. data/spec/models/remove_pptx_slides_request_spec.rb +59 -0
  719. data/spec/models/remove_whitespace_from_text_request_spec.rb +41 -0
  720. data/spec/models/remove_whitespace_from_text_response_spec.rb +47 -0
  721. data/spec/models/remove_xlsx_worksheet_request_spec.rb +53 -0
  722. data/spec/models/rename_xlsx_worksheet_request_spec.rb +59 -0
  723. data/spec/models/rename_xlsx_worksheet_response_spec.rb +47 -0
  724. data/spec/models/replace_docx_paragraph_request_spec.rb +65 -0
  725. data/spec/models/replace_docx_paragraph_response_spec.rb +47 -0
  726. data/spec/models/replace_string_regex_request_spec.rb +53 -0
  727. data/spec/models/replace_string_regex_response_spec.rb +47 -0
  728. data/spec/models/replace_string_request_spec.rb +65 -0
  729. data/spec/models/replace_string_simple_request_spec.rb +53 -0
  730. data/spec/models/replace_string_simple_response_spec.rb +47 -0
  731. data/spec/models/rtf_to_jpg_result_spec.rb +47 -0
  732. data/spec/models/rtf_to_png_result_spec.rb +47 -0
  733. data/spec/models/screenshot_request_spec.rb +59 -0
  734. data/spec/models/set_form_field_value_spec.rb +59 -0
  735. data/spec/models/set_pdf_form_fields_request_spec.rb +47 -0
  736. data/spec/models/set_pdf_metadata_request_spec.rb +47 -0
  737. data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +65 -0
  738. data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +47 -0
  739. data/spec/models/set_xlsx_cell_request_spec.rb +71 -0
  740. data/spec/models/set_xlsx_cell_response_spec.rb +47 -0
  741. data/spec/models/single_replace_string_spec.rb +53 -0
  742. data/spec/models/split_document_result_spec.rb +53 -0
  743. data/spec/models/split_docx_document_result_spec.rb +47 -0
  744. data/spec/models/split_pdf_result_spec.rb +47 -0
  745. data/spec/models/split_pptx_presentation_result_spec.rb +47 -0
  746. data/spec/models/split_text_document_by_lines_result_spec.rb +53 -0
  747. data/spec/models/split_text_document_by_string_result_spec.rb +53 -0
  748. data/spec/models/split_xlsx_worksheet_result_spec.rb +47 -0
  749. data/spec/models/text_conversion_result_spec.rb +47 -0
  750. data/spec/models/text_document_element_spec.rb +47 -0
  751. data/spec/models/text_document_line_spec.rb +47 -0
  752. data/spec/models/text_encoding_detect_response_spec.rb +47 -0
  753. data/spec/models/thumbnail_spec.rb +47 -0
  754. data/spec/models/update_docx_table_cell_request_spec.rb +71 -0
  755. data/spec/models/update_docx_table_cell_response_spec.rb +47 -0
  756. data/spec/models/update_docx_table_row_request_spec.rb +65 -0
  757. data/spec/models/update_docx_table_row_response_spec.rb +47 -0
  758. data/spec/models/url_to_pdf_request_spec.rb +59 -0
  759. data/spec/models/url_to_text_request_spec.rb +41 -0
  760. data/spec/models/url_to_text_response_spec.rb +47 -0
  761. data/spec/models/viewer_response_spec.rb +47 -0
  762. data/spec/models/worksheet_result_spec.rb +59 -0
  763. data/spec/models/xlsx_image_spec.rb +65 -0
  764. data/spec/models/xlsx_spreadsheet_cell_spec.rb +65 -0
  765. data/spec/models/xlsx_spreadsheet_column_spec.rb +47 -0
  766. data/spec/models/xlsx_spreadsheet_row_spec.rb +47 -0
  767. data/spec/models/xlsx_to_png_result_spec.rb +47 -0
  768. data/spec/models/xlsx_worksheet_spec.rb +47 -0
  769. data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +53 -0
  770. data/spec/models/xml_add_child_with_x_path_result_spec.rb +53 -0
  771. data/spec/models/xml_filter_with_x_path_result_spec.rb +53 -0
  772. data/spec/models/xml_query_with_x_query_multi_result_spec.rb +53 -0
  773. data/spec/models/xml_query_with_x_query_result_spec.rb +53 -0
  774. data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +53 -0
  775. data/spec/models/xml_remove_with_x_path_result_spec.rb +59 -0
  776. data/spec/models/xml_replace_with_x_path_result_spec.rb +53 -0
  777. data/spec/models/xml_set_value_with_x_path_result_spec.rb +53 -0
  778. data/spec/models/zip_directory_spec.rb +53 -0
  779. data/spec/models/zip_encryption_advanced_request_spec.rb +53 -0
  780. data/spec/models/zip_extract_response_spec.rb +53 -0
  781. data/spec/models/zip_file_spec.rb +47 -0
  782. data/spec/spec_helper.rb +111 -0
  783. metadata +785 -4
@@ -0,0 +1,911 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+
15
+ module CloudmersiveConvertApiClient
16
+ class MergeDocumentApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Merge Two Word DOCX Together
23
+ # Combine two Office Word Documents (docx) into one single Office Word document
24
+ # @param input_file1 First input file to perform the operation on.
25
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [String]
28
+ def merge_document_docx(input_file1, input_file2, opts = {})
29
+ data, _status_code, _headers = merge_document_docx_with_http_info(input_file1, input_file2, opts)
30
+ data
31
+ end
32
+
33
+ # Merge Two Word DOCX Together
34
+ # Combine two Office Word Documents (docx) into one single Office Word document
35
+ # @param input_file1 First input file to perform the operation on.
36
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
39
+ def merge_document_docx_with_http_info(input_file1, input_file2, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_docx ...'
42
+ end
43
+ # verify the required parameter 'input_file1' is set
44
+ if @api_client.config.client_side_validation && input_file1.nil?
45
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_docx"
46
+ end
47
+ # verify the required parameter 'input_file2' is set
48
+ if @api_client.config.client_side_validation && input_file2.nil?
49
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_docx"
50
+ end
51
+ # resource path
52
+ local_var_path = '/convert/merge/docx'
53
+
54
+ # query parameters
55
+ query_params = {}
56
+
57
+ # header parameters
58
+ header_params = {}
59
+ # HTTP header 'Accept' (if needed)
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
61
+ # HTTP header 'Content-Type'
62
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
63
+
64
+ # form parameters
65
+ form_params = {}
66
+ form_params['inputFile1'] = input_file1
67
+ form_params['inputFile2'] = input_file2
68
+
69
+ # http body (model)
70
+ post_body = nil
71
+ auth_names = ['Apikey']
72
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
73
+ :header_params => header_params,
74
+ :query_params => query_params,
75
+ :form_params => form_params,
76
+ :body => post_body,
77
+ :auth_names => auth_names,
78
+ :return_type => 'String')
79
+ if @api_client.config.debugging
80
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_docx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ end
82
+ return data, status_code, headers
83
+ end
84
+ # Merge Multple Word DOCX Together
85
+ # Combine multiple Office Word Documents (docx) into one single Office Word document
86
+ # @param input_file1 First input file to perform the operation on.
87
+ # @param input_file2 Second input file to perform the operation on.
88
+ # @param [Hash] opts the optional parameters
89
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
90
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
91
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
92
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
93
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
94
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
95
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
96
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
97
+ # @return [String]
98
+ def merge_document_docx_multi(input_file1, input_file2, opts = {})
99
+ data, _status_code, _headers = merge_document_docx_multi_with_http_info(input_file1, input_file2, opts)
100
+ data
101
+ end
102
+
103
+ # Merge Multple Word DOCX Together
104
+ # Combine multiple Office Word Documents (docx) into one single Office Word document
105
+ # @param input_file1 First input file to perform the operation on.
106
+ # @param input_file2 Second input file to perform the operation on.
107
+ # @param [Hash] opts the optional parameters
108
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
109
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
110
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
111
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
112
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
113
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
114
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
115
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
116
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
117
+ def merge_document_docx_multi_with_http_info(input_file1, input_file2, opts = {})
118
+ if @api_client.config.debugging
119
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_docx_multi ...'
120
+ end
121
+ # verify the required parameter 'input_file1' is set
122
+ if @api_client.config.client_side_validation && input_file1.nil?
123
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_docx_multi"
124
+ end
125
+ # verify the required parameter 'input_file2' is set
126
+ if @api_client.config.client_side_validation && input_file2.nil?
127
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_docx_multi"
128
+ end
129
+ # resource path
130
+ local_var_path = '/convert/merge/docx/multi'
131
+
132
+ # query parameters
133
+ query_params = {}
134
+
135
+ # header parameters
136
+ header_params = {}
137
+ # HTTP header 'Accept' (if needed)
138
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
139
+ # HTTP header 'Content-Type'
140
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
141
+
142
+ # form parameters
143
+ form_params = {}
144
+ form_params['inputFile1'] = input_file1
145
+ form_params['inputFile2'] = input_file2
146
+ form_params['inputFile3'] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
147
+ form_params['inputFile4'] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
148
+ form_params['inputFile5'] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
149
+ form_params['inputFile6'] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
150
+ form_params['inputFile7'] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
151
+ form_params['inputFile8'] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
152
+ form_params['inputFile9'] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
153
+ form_params['inputFile10'] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
154
+
155
+ # http body (model)
156
+ post_body = nil
157
+ auth_names = ['Apikey']
158
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
159
+ :header_params => header_params,
160
+ :query_params => query_params,
161
+ :form_params => form_params,
162
+ :body => post_body,
163
+ :auth_names => auth_names,
164
+ :return_type => 'String')
165
+ if @api_client.config.debugging
166
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_docx_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
167
+ end
168
+ return data, status_code, headers
169
+ end
170
+ # Merge Two PDF Files Together
171
+ # Combine two PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
172
+ # @param input_file1 First input file to perform the operation on.
173
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
174
+ # @param [Hash] opts the optional parameters
175
+ # @return [String]
176
+ def merge_document_pdf(input_file1, input_file2, opts = {})
177
+ data, _status_code, _headers = merge_document_pdf_with_http_info(input_file1, input_file2, opts)
178
+ data
179
+ end
180
+
181
+ # Merge Two PDF Files Together
182
+ # Combine two PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
183
+ # @param input_file1 First input file to perform the operation on.
184
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
185
+ # @param [Hash] opts the optional parameters
186
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
187
+ def merge_document_pdf_with_http_info(input_file1, input_file2, opts = {})
188
+ if @api_client.config.debugging
189
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_pdf ...'
190
+ end
191
+ # verify the required parameter 'input_file1' is set
192
+ if @api_client.config.client_side_validation && input_file1.nil?
193
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_pdf"
194
+ end
195
+ # verify the required parameter 'input_file2' is set
196
+ if @api_client.config.client_side_validation && input_file2.nil?
197
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_pdf"
198
+ end
199
+ # resource path
200
+ local_var_path = '/convert/merge/pdf'
201
+
202
+ # query parameters
203
+ query_params = {}
204
+
205
+ # header parameters
206
+ header_params = {}
207
+ # HTTP header 'Accept' (if needed)
208
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
209
+ # HTTP header 'Content-Type'
210
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
211
+
212
+ # form parameters
213
+ form_params = {}
214
+ form_params['inputFile1'] = input_file1
215
+ form_params['inputFile2'] = input_file2
216
+
217
+ # http body (model)
218
+ post_body = nil
219
+ auth_names = ['Apikey']
220
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
221
+ :header_params => header_params,
222
+ :query_params => query_params,
223
+ :form_params => form_params,
224
+ :body => post_body,
225
+ :auth_names => auth_names,
226
+ :return_type => 'String')
227
+ if @api_client.config.debugging
228
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
229
+ end
230
+ return data, status_code, headers
231
+ end
232
+ # Merge Multple PDF Files Together
233
+ # Combine multiple PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
234
+ # @param input_file1 First input file to perform the operation on.
235
+ # @param input_file2 Second input file to perform the operation on.
236
+ # @param [Hash] opts the optional parameters
237
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
238
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
239
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
240
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
241
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
242
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
243
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
244
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
245
+ # @return [String]
246
+ def merge_document_pdf_multi(input_file1, input_file2, opts = {})
247
+ data, _status_code, _headers = merge_document_pdf_multi_with_http_info(input_file1, input_file2, opts)
248
+ data
249
+ end
250
+
251
+ # Merge Multple PDF Files Together
252
+ # Combine multiple PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
253
+ # @param input_file1 First input file to perform the operation on.
254
+ # @param input_file2 Second input file to perform the operation on.
255
+ # @param [Hash] opts the optional parameters
256
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
257
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
258
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
259
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
260
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
261
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
262
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
263
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
264
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
265
+ def merge_document_pdf_multi_with_http_info(input_file1, input_file2, opts = {})
266
+ if @api_client.config.debugging
267
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_pdf_multi ...'
268
+ end
269
+ # verify the required parameter 'input_file1' is set
270
+ if @api_client.config.client_side_validation && input_file1.nil?
271
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_pdf_multi"
272
+ end
273
+ # verify the required parameter 'input_file2' is set
274
+ if @api_client.config.client_side_validation && input_file2.nil?
275
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_pdf_multi"
276
+ end
277
+ # resource path
278
+ local_var_path = '/convert/merge/pdf/multi'
279
+
280
+ # query parameters
281
+ query_params = {}
282
+
283
+ # header parameters
284
+ header_params = {}
285
+ # HTTP header 'Accept' (if needed)
286
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
287
+ # HTTP header 'Content-Type'
288
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
289
+
290
+ # form parameters
291
+ form_params = {}
292
+ form_params['inputFile1'] = input_file1
293
+ form_params['inputFile2'] = input_file2
294
+ form_params['inputFile3'] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
295
+ form_params['inputFile4'] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
296
+ form_params['inputFile5'] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
297
+ form_params['inputFile6'] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
298
+ form_params['inputFile7'] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
299
+ form_params['inputFile8'] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
300
+ form_params['inputFile9'] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
301
+ form_params['inputFile10'] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
302
+
303
+ # http body (model)
304
+ post_body = nil
305
+ auth_names = ['Apikey']
306
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
307
+ :header_params => header_params,
308
+ :query_params => query_params,
309
+ :form_params => form_params,
310
+ :body => post_body,
311
+ :auth_names => auth_names,
312
+ :return_type => 'String')
313
+ if @api_client.config.debugging
314
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_pdf_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
315
+ end
316
+ return data, status_code, headers
317
+ end
318
+ # Merge Two PNG Files Together
319
+ # Combine two PNG files into a single PNG document, preserving the order of the input documents in the combined document by stacking them vertically
320
+ # @param input_file1 First input file to perform the operation on.
321
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
322
+ # @param [Hash] opts the optional parameters
323
+ # @return [String]
324
+ def merge_document_png(input_file1, input_file2, opts = {})
325
+ data, _status_code, _headers = merge_document_png_with_http_info(input_file1, input_file2, opts)
326
+ data
327
+ end
328
+
329
+ # Merge Two PNG Files Together
330
+ # Combine two PNG files into a single PNG document, preserving the order of the input documents in the combined document by stacking them vertically
331
+ # @param input_file1 First input file to perform the operation on.
332
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
333
+ # @param [Hash] opts the optional parameters
334
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
335
+ def merge_document_png_with_http_info(input_file1, input_file2, opts = {})
336
+ if @api_client.config.debugging
337
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_png ...'
338
+ end
339
+ # verify the required parameter 'input_file1' is set
340
+ if @api_client.config.client_side_validation && input_file1.nil?
341
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_png"
342
+ end
343
+ # verify the required parameter 'input_file2' is set
344
+ if @api_client.config.client_side_validation && input_file2.nil?
345
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_png"
346
+ end
347
+ # resource path
348
+ local_var_path = '/convert/merge/png/vertical'
349
+
350
+ # query parameters
351
+ query_params = {}
352
+
353
+ # header parameters
354
+ header_params = {}
355
+ # HTTP header 'Accept' (if needed)
356
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
357
+ # HTTP header 'Content-Type'
358
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
359
+
360
+ # form parameters
361
+ form_params = {}
362
+ form_params['inputFile1'] = input_file1
363
+ form_params['inputFile2'] = input_file2
364
+
365
+ # http body (model)
366
+ post_body = nil
367
+ auth_names = ['Apikey']
368
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
369
+ :header_params => header_params,
370
+ :query_params => query_params,
371
+ :form_params => form_params,
372
+ :body => post_body,
373
+ :auth_names => auth_names,
374
+ :return_type => 'String')
375
+ if @api_client.config.debugging
376
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_png\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
377
+ end
378
+ return data, status_code, headers
379
+ end
380
+ # Merge Multple PNG Files Together
381
+ # Combine multiple PNG files into a single PNG document, preserving the order of the input documents in the combined document by stacking them vertically
382
+ # @param input_file1 First input file to perform the operation on.
383
+ # @param input_file2 Second input file to perform the operation on.
384
+ # @param [Hash] opts the optional parameters
385
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
386
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
387
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
388
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
389
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
390
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
391
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
392
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
393
+ # @return [String]
394
+ def merge_document_png_multi(input_file1, input_file2, opts = {})
395
+ data, _status_code, _headers = merge_document_png_multi_with_http_info(input_file1, input_file2, opts)
396
+ data
397
+ end
398
+
399
+ # Merge Multple PNG Files Together
400
+ # Combine multiple PNG files into a single PNG document, preserving the order of the input documents in the combined document by stacking them vertically
401
+ # @param input_file1 First input file to perform the operation on.
402
+ # @param input_file2 Second input file to perform the operation on.
403
+ # @param [Hash] opts the optional parameters
404
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
405
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
406
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
407
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
408
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
409
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
410
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
411
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
412
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
413
+ def merge_document_png_multi_with_http_info(input_file1, input_file2, opts = {})
414
+ if @api_client.config.debugging
415
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_png_multi ...'
416
+ end
417
+ # verify the required parameter 'input_file1' is set
418
+ if @api_client.config.client_side_validation && input_file1.nil?
419
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_png_multi"
420
+ end
421
+ # verify the required parameter 'input_file2' is set
422
+ if @api_client.config.client_side_validation && input_file2.nil?
423
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_png_multi"
424
+ end
425
+ # resource path
426
+ local_var_path = '/convert/merge/png/vertical/multi'
427
+
428
+ # query parameters
429
+ query_params = {}
430
+
431
+ # header parameters
432
+ header_params = {}
433
+ # HTTP header 'Accept' (if needed)
434
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
435
+ # HTTP header 'Content-Type'
436
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
437
+
438
+ # form parameters
439
+ form_params = {}
440
+ form_params['inputFile1'] = input_file1
441
+ form_params['inputFile2'] = input_file2
442
+ form_params['inputFile3'] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
443
+ form_params['inputFile4'] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
444
+ form_params['inputFile5'] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
445
+ form_params['inputFile6'] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
446
+ form_params['inputFile7'] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
447
+ form_params['inputFile8'] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
448
+ form_params['inputFile9'] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
449
+ form_params['inputFile10'] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
450
+
451
+ # http body (model)
452
+ post_body = nil
453
+ auth_names = ['Apikey']
454
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
455
+ :header_params => header_params,
456
+ :query_params => query_params,
457
+ :form_params => form_params,
458
+ :body => post_body,
459
+ :auth_names => auth_names,
460
+ :return_type => 'String')
461
+ if @api_client.config.debugging
462
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_png_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
463
+ end
464
+ return data, status_code, headers
465
+ end
466
+ # Merge Two PowerPoint PPTX Together
467
+ # Combine two Office PowerPoint presentations (pptx) into one single Office PowerPoint presentation
468
+ # @param input_file1 First input file to perform the operation on.
469
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
470
+ # @param [Hash] opts the optional parameters
471
+ # @return [String]
472
+ def merge_document_pptx(input_file1, input_file2, opts = {})
473
+ data, _status_code, _headers = merge_document_pptx_with_http_info(input_file1, input_file2, opts)
474
+ data
475
+ end
476
+
477
+ # Merge Two PowerPoint PPTX Together
478
+ # Combine two Office PowerPoint presentations (pptx) into one single Office PowerPoint presentation
479
+ # @param input_file1 First input file to perform the operation on.
480
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
481
+ # @param [Hash] opts the optional parameters
482
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
483
+ def merge_document_pptx_with_http_info(input_file1, input_file2, opts = {})
484
+ if @api_client.config.debugging
485
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_pptx ...'
486
+ end
487
+ # verify the required parameter 'input_file1' is set
488
+ if @api_client.config.client_side_validation && input_file1.nil?
489
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_pptx"
490
+ end
491
+ # verify the required parameter 'input_file2' is set
492
+ if @api_client.config.client_side_validation && input_file2.nil?
493
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_pptx"
494
+ end
495
+ # resource path
496
+ local_var_path = '/convert/merge/pptx'
497
+
498
+ # query parameters
499
+ query_params = {}
500
+
501
+ # header parameters
502
+ header_params = {}
503
+ # HTTP header 'Accept' (if needed)
504
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
505
+ # HTTP header 'Content-Type'
506
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
507
+
508
+ # form parameters
509
+ form_params = {}
510
+ form_params['inputFile1'] = input_file1
511
+ form_params['inputFile2'] = input_file2
512
+
513
+ # http body (model)
514
+ post_body = nil
515
+ auth_names = ['Apikey']
516
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
517
+ :header_params => header_params,
518
+ :query_params => query_params,
519
+ :form_params => form_params,
520
+ :body => post_body,
521
+ :auth_names => auth_names,
522
+ :return_type => 'String')
523
+ if @api_client.config.debugging
524
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_pptx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
525
+ end
526
+ return data, status_code, headers
527
+ end
528
+ # Merge Multple PowerPoint PPTX Together
529
+ # Combine multiple Office PowerPoint presentations (pptx) into one single Office PowerPoint presentation
530
+ # @param input_file1 First input file to perform the operation on.
531
+ # @param input_file2 Second input file to perform the operation on.
532
+ # @param [Hash] opts the optional parameters
533
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
534
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
535
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
536
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
537
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
538
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
539
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
540
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
541
+ # @return [String]
542
+ def merge_document_pptx_multi(input_file1, input_file2, opts = {})
543
+ data, _status_code, _headers = merge_document_pptx_multi_with_http_info(input_file1, input_file2, opts)
544
+ data
545
+ end
546
+
547
+ # Merge Multple PowerPoint PPTX Together
548
+ # Combine multiple Office PowerPoint presentations (pptx) into one single Office PowerPoint presentation
549
+ # @param input_file1 First input file to perform the operation on.
550
+ # @param input_file2 Second input file to perform the operation on.
551
+ # @param [Hash] opts the optional parameters
552
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
553
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
554
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
555
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
556
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
557
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
558
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
559
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
560
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
561
+ def merge_document_pptx_multi_with_http_info(input_file1, input_file2, opts = {})
562
+ if @api_client.config.debugging
563
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_pptx_multi ...'
564
+ end
565
+ # verify the required parameter 'input_file1' is set
566
+ if @api_client.config.client_side_validation && input_file1.nil?
567
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_pptx_multi"
568
+ end
569
+ # verify the required parameter 'input_file2' is set
570
+ if @api_client.config.client_side_validation && input_file2.nil?
571
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_pptx_multi"
572
+ end
573
+ # resource path
574
+ local_var_path = '/convert/merge/pptx/multi'
575
+
576
+ # query parameters
577
+ query_params = {}
578
+
579
+ # header parameters
580
+ header_params = {}
581
+ # HTTP header 'Accept' (if needed)
582
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
583
+ # HTTP header 'Content-Type'
584
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
585
+
586
+ # form parameters
587
+ form_params = {}
588
+ form_params['inputFile1'] = input_file1
589
+ form_params['inputFile2'] = input_file2
590
+ form_params['inputFile3'] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
591
+ form_params['inputFile4'] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
592
+ form_params['inputFile5'] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
593
+ form_params['inputFile6'] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
594
+ form_params['inputFile7'] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
595
+ form_params['inputFile8'] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
596
+ form_params['inputFile9'] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
597
+ form_params['inputFile10'] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
598
+
599
+ # http body (model)
600
+ post_body = nil
601
+ auth_names = ['Apikey']
602
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
603
+ :header_params => header_params,
604
+ :query_params => query_params,
605
+ :form_params => form_params,
606
+ :body => post_body,
607
+ :auth_names => auth_names,
608
+ :return_type => 'String')
609
+ if @api_client.config.debugging
610
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_pptx_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
611
+ end
612
+ return data, status_code, headers
613
+ end
614
+ # Merge Two Text (TXT) Files Together
615
+ # Combine two Text (.TXT) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically.
616
+ # @param input_file1 First input file to perform the operation on.
617
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
618
+ # @param [Hash] opts the optional parameters
619
+ # @return [Object]
620
+ def merge_document_txt(input_file1, input_file2, opts = {})
621
+ data, _status_code, _headers = merge_document_txt_with_http_info(input_file1, input_file2, opts)
622
+ data
623
+ end
624
+
625
+ # Merge Two Text (TXT) Files Together
626
+ # Combine two Text (.TXT) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically.
627
+ # @param input_file1 First input file to perform the operation on.
628
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
629
+ # @param [Hash] opts the optional parameters
630
+ # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
631
+ def merge_document_txt_with_http_info(input_file1, input_file2, opts = {})
632
+ if @api_client.config.debugging
633
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_txt ...'
634
+ end
635
+ # verify the required parameter 'input_file1' is set
636
+ if @api_client.config.client_side_validation && input_file1.nil?
637
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_txt"
638
+ end
639
+ # verify the required parameter 'input_file2' is set
640
+ if @api_client.config.client_side_validation && input_file2.nil?
641
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_txt"
642
+ end
643
+ # resource path
644
+ local_var_path = '/convert/merge/txt'
645
+
646
+ # query parameters
647
+ query_params = {}
648
+
649
+ # header parameters
650
+ header_params = {}
651
+ # HTTP header 'Accept' (if needed)
652
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
653
+ # HTTP header 'Content-Type'
654
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
655
+
656
+ # form parameters
657
+ form_params = {}
658
+ form_params['inputFile1'] = input_file1
659
+ form_params['inputFile2'] = input_file2
660
+
661
+ # http body (model)
662
+ post_body = nil
663
+ auth_names = ['Apikey']
664
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
665
+ :header_params => header_params,
666
+ :query_params => query_params,
667
+ :form_params => form_params,
668
+ :body => post_body,
669
+ :auth_names => auth_names,
670
+ :return_type => 'Object')
671
+ if @api_client.config.debugging
672
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
673
+ end
674
+ return data, status_code, headers
675
+ end
676
+ # Merge Multple Text (TXT) Files Together
677
+ # Combine multiple Text (.TXT) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically.
678
+ # @param input_file1 First input file to perform the operation on.
679
+ # @param input_file2 Second input file to perform the operation on.
680
+ # @param [Hash] opts the optional parameters
681
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
682
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
683
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
684
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
685
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
686
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
687
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
688
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
689
+ # @return [String]
690
+ def merge_document_txt_multi(input_file1, input_file2, opts = {})
691
+ data, _status_code, _headers = merge_document_txt_multi_with_http_info(input_file1, input_file2, opts)
692
+ data
693
+ end
694
+
695
+ # Merge Multple Text (TXT) Files Together
696
+ # Combine multiple Text (.TXT) files into a single text document, preserving the order of the input documents in the combined document by stacking them vertically.
697
+ # @param input_file1 First input file to perform the operation on.
698
+ # @param input_file2 Second input file to perform the operation on.
699
+ # @param [Hash] opts the optional parameters
700
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
701
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
702
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
703
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
704
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
705
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
706
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
707
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
708
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
709
+ def merge_document_txt_multi_with_http_info(input_file1, input_file2, opts = {})
710
+ if @api_client.config.debugging
711
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_txt_multi ...'
712
+ end
713
+ # verify the required parameter 'input_file1' is set
714
+ if @api_client.config.client_side_validation && input_file1.nil?
715
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_txt_multi"
716
+ end
717
+ # verify the required parameter 'input_file2' is set
718
+ if @api_client.config.client_side_validation && input_file2.nil?
719
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_txt_multi"
720
+ end
721
+ # resource path
722
+ local_var_path = '/convert/merge/txt/multi'
723
+
724
+ # query parameters
725
+ query_params = {}
726
+
727
+ # header parameters
728
+ header_params = {}
729
+ # HTTP header 'Accept' (if needed)
730
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
731
+ # HTTP header 'Content-Type'
732
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
733
+
734
+ # form parameters
735
+ form_params = {}
736
+ form_params['inputFile1'] = input_file1
737
+ form_params['inputFile2'] = input_file2
738
+ form_params['inputFile3'] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
739
+ form_params['inputFile4'] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
740
+ form_params['inputFile5'] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
741
+ form_params['inputFile6'] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
742
+ form_params['inputFile7'] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
743
+ form_params['inputFile8'] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
744
+ form_params['inputFile9'] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
745
+ form_params['inputFile10'] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
746
+
747
+ # http body (model)
748
+ post_body = nil
749
+ auth_names = ['Apikey']
750
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
751
+ :header_params => header_params,
752
+ :query_params => query_params,
753
+ :form_params => form_params,
754
+ :body => post_body,
755
+ :auth_names => auth_names,
756
+ :return_type => 'String')
757
+ if @api_client.config.debugging
758
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_txt_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
759
+ end
760
+ return data, status_code, headers
761
+ end
762
+ # Merge Two Excel XLSX Together
763
+ # Combine two Office Excel spreadsheets (xlsx) into a single Office Excel spreadsheet
764
+ # @param input_file1 First input file to perform the operation on.
765
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
766
+ # @param [Hash] opts the optional parameters
767
+ # @return [String]
768
+ def merge_document_xlsx(input_file1, input_file2, opts = {})
769
+ data, _status_code, _headers = merge_document_xlsx_with_http_info(input_file1, input_file2, opts)
770
+ data
771
+ end
772
+
773
+ # Merge Two Excel XLSX Together
774
+ # Combine two Office Excel spreadsheets (xlsx) into a single Office Excel spreadsheet
775
+ # @param input_file1 First input file to perform the operation on.
776
+ # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
777
+ # @param [Hash] opts the optional parameters
778
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
779
+ def merge_document_xlsx_with_http_info(input_file1, input_file2, opts = {})
780
+ if @api_client.config.debugging
781
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_xlsx ...'
782
+ end
783
+ # verify the required parameter 'input_file1' is set
784
+ if @api_client.config.client_side_validation && input_file1.nil?
785
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_xlsx"
786
+ end
787
+ # verify the required parameter 'input_file2' is set
788
+ if @api_client.config.client_side_validation && input_file2.nil?
789
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_xlsx"
790
+ end
791
+ # resource path
792
+ local_var_path = '/convert/merge/xlsx'
793
+
794
+ # query parameters
795
+ query_params = {}
796
+
797
+ # header parameters
798
+ header_params = {}
799
+ # HTTP header 'Accept' (if needed)
800
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
801
+ # HTTP header 'Content-Type'
802
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
803
+
804
+ # form parameters
805
+ form_params = {}
806
+ form_params['inputFile1'] = input_file1
807
+ form_params['inputFile2'] = input_file2
808
+
809
+ # http body (model)
810
+ post_body = nil
811
+ auth_names = ['Apikey']
812
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
813
+ :header_params => header_params,
814
+ :query_params => query_params,
815
+ :form_params => form_params,
816
+ :body => post_body,
817
+ :auth_names => auth_names,
818
+ :return_type => 'String')
819
+ if @api_client.config.debugging
820
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_xlsx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
821
+ end
822
+ return data, status_code, headers
823
+ end
824
+ # Merge Multple Excel XLSX Together
825
+ # Combine multiple Office Excel spreadsheets (xlsx) into a single Office Excel spreadsheet
826
+ # @param input_file1 First input file to perform the operation on.
827
+ # @param input_file2 Second input file to perform the operation on.
828
+ # @param [Hash] opts the optional parameters
829
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
830
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
831
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
832
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
833
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
834
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
835
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
836
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
837
+ # @return [String]
838
+ def merge_document_xlsx_multi(input_file1, input_file2, opts = {})
839
+ data, _status_code, _headers = merge_document_xlsx_multi_with_http_info(input_file1, input_file2, opts)
840
+ data
841
+ end
842
+
843
+ # Merge Multple Excel XLSX Together
844
+ # Combine multiple Office Excel spreadsheets (xlsx) into a single Office Excel spreadsheet
845
+ # @param input_file1 First input file to perform the operation on.
846
+ # @param input_file2 Second input file to perform the operation on.
847
+ # @param [Hash] opts the optional parameters
848
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
849
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
850
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
851
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
852
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
853
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
854
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
855
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
856
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
857
+ def merge_document_xlsx_multi_with_http_info(input_file1, input_file2, opts = {})
858
+ if @api_client.config.debugging
859
+ @api_client.config.logger.debug 'Calling API: MergeDocumentApi.merge_document_xlsx_multi ...'
860
+ end
861
+ # verify the required parameter 'input_file1' is set
862
+ if @api_client.config.client_side_validation && input_file1.nil?
863
+ fail ArgumentError, "Missing the required parameter 'input_file1' when calling MergeDocumentApi.merge_document_xlsx_multi"
864
+ end
865
+ # verify the required parameter 'input_file2' is set
866
+ if @api_client.config.client_side_validation && input_file2.nil?
867
+ fail ArgumentError, "Missing the required parameter 'input_file2' when calling MergeDocumentApi.merge_document_xlsx_multi"
868
+ end
869
+ # resource path
870
+ local_var_path = '/convert/merge/xlsx/multi'
871
+
872
+ # query parameters
873
+ query_params = {}
874
+
875
+ # header parameters
876
+ header_params = {}
877
+ # HTTP header 'Accept' (if needed)
878
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
879
+ # HTTP header 'Content-Type'
880
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
881
+
882
+ # form parameters
883
+ form_params = {}
884
+ form_params['inputFile1'] = input_file1
885
+ form_params['inputFile2'] = input_file2
886
+ form_params['inputFile3'] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
887
+ form_params['inputFile4'] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
888
+ form_params['inputFile5'] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
889
+ form_params['inputFile6'] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
890
+ form_params['inputFile7'] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
891
+ form_params['inputFile8'] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
892
+ form_params['inputFile9'] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
893
+ form_params['inputFile10'] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
894
+
895
+ # http body (model)
896
+ post_body = nil
897
+ auth_names = ['Apikey']
898
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
899
+ :header_params => header_params,
900
+ :query_params => query_params,
901
+ :form_params => form_params,
902
+ :body => post_body,
903
+ :auth_names => auth_names,
904
+ :return_type => 'String')
905
+ if @api_client.config.debugging
906
+ @api_client.config.logger.debug "API called: MergeDocumentApi#merge_document_xlsx_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
907
+ end
908
+ return data, status_code, headers
909
+ end
910
+ end
911
+ end