cloudmersive-convert-api-client 1.7.8 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (693) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -694
  3. data/Gemfile +0 -7
  4. data/README.md +0 -506
  5. data/Rakefile +0 -8
  6. data/cloudmersive-convert-api-client.gemspec +0 -45
  7. data/docs/AddPdfAnnotationRequest.md +0 -9
  8. data/docs/AlternateFileFormatCandidate.md +0 -10
  9. data/docs/AutodetectDocumentValidationResult.md +0 -12
  10. data/docs/AutodetectGetInfoResult.md +0 -14
  11. data/docs/AutodetectToPngResult.md +0 -9
  12. data/docs/AutodetectToThumbnailsResult.md +0 -9
  13. data/docs/Base64DecodeRequest.md +0 -8
  14. data/docs/Base64DecodeResponse.md +0 -9
  15. data/docs/Base64DetectRequest.md +0 -8
  16. data/docs/Base64DetectResponse.md +0 -9
  17. data/docs/Base64EncodeRequest.md +0 -8
  18. data/docs/Base64EncodeResponse.md +0 -9
  19. data/docs/ChangeLineEndingResponse.md +0 -9
  20. data/docs/ClearXlsxCellRequest.md +0 -12
  21. data/docs/ClearXlsxCellResponse.md +0 -9
  22. data/docs/CompareDocumentApi.md +0 -66
  23. data/docs/ConvertDataApi.md +0 -902
  24. data/docs/ConvertDocumentApi.md +0 -2405
  25. data/docs/ConvertImageApi.md +0 -243
  26. data/docs/ConvertTemplateApi.md +0 -122
  27. data/docs/ConvertWebApi.md +0 -448
  28. data/docs/ConvertedPngPage.md +0 -9
  29. data/docs/CreateBlankDocxRequest.md +0 -8
  30. data/docs/CreateBlankDocxResponse.md +0 -9
  31. data/docs/CreateBlankSpreadsheetRequest.md +0 -8
  32. data/docs/CreateBlankSpreadsheetResponse.md +0 -9
  33. data/docs/CreateSpreadsheetFromDataRequest.md +0 -9
  34. data/docs/CreateSpreadsheetFromDataResponse.md +0 -9
  35. data/docs/CreateZipArchiveRequest.md +0 -9
  36. data/docs/CsvCollection.md +0 -10
  37. data/docs/CsvFileResult.md +0 -9
  38. data/docs/DeleteDocxTableRowRangeRequest.md +0 -12
  39. data/docs/DeleteDocxTableRowRangeResponse.md +0 -9
  40. data/docs/DeleteDocxTableRowRequest.md +0 -11
  41. data/docs/DeleteDocxTableRowResponse.md +0 -9
  42. data/docs/DetectLineEndingsResponse.md +0 -11
  43. data/docs/DisableSharedWorkbookRequest.md +0 -9
  44. data/docs/DisableSharedWorkbookResponse.md +0 -9
  45. data/docs/DocumentValidationError.md +0 -11
  46. data/docs/DocumentValidationResult.md +0 -12
  47. data/docs/DocxBody.md +0 -10
  48. data/docs/DocxCellStyle.md +0 -11
  49. data/docs/DocxComment.md +0 -16
  50. data/docs/DocxFooter.md +0 -10
  51. data/docs/DocxHeader.md +0 -10
  52. data/docs/DocxImage.md +0 -20
  53. data/docs/DocxInsertCommentOnParagraphRequest.md +0 -11
  54. data/docs/DocxInsertImageRequest.md +0 -16
  55. data/docs/DocxInsertImageResponse.md +0 -9
  56. data/docs/DocxPage.md +0 -9
  57. data/docs/DocxParagraph.md +0 -11
  58. data/docs/DocxRemoveObjectRequest.md +0 -10
  59. data/docs/DocxRemoveObjectResponse.md +0 -9
  60. data/docs/DocxRun.md +0 -15
  61. data/docs/DocxSection.md +0 -9
  62. data/docs/DocxSetFooterAddPageNumberRequest.md +0 -10
  63. data/docs/DocxSetFooterRequest.md +0 -10
  64. data/docs/DocxSetFooterResponse.md +0 -9
  65. data/docs/DocxSetHeaderRequest.md +0 -10
  66. data/docs/DocxSetHeaderResponse.md +0 -9
  67. data/docs/DocxStyle.md +0 -14
  68. data/docs/DocxTable.md +0 -46
  69. data/docs/DocxTableCell.md +0 -15
  70. data/docs/DocxTableRow.md +0 -10
  71. data/docs/DocxTemplateApplicationRequest.md +0 -8
  72. data/docs/DocxTemplateOperation.md +0 -10
  73. data/docs/DocxText.md +0 -10
  74. data/docs/DocxToPngResult.md +0 -9
  75. data/docs/DocxTopLevelComment.md +0 -14
  76. data/docs/EditDocumentApi.md +0 -2758
  77. data/docs/EditPdfApi.md +0 -1083
  78. data/docs/EditTextApi.md +0 -726
  79. data/docs/EmlAttachment.md +0 -9
  80. data/docs/EmlToHtmlResult.md +0 -16
  81. data/docs/EnableSharedWorkbookRequest.md +0 -9
  82. data/docs/EnableSharedWorkbookResponse.md +0 -9
  83. data/docs/ExifValue.md +0 -10
  84. data/docs/FindDocxParagraphRequest.md +0 -11
  85. data/docs/FindDocxParagraphResponse.md +0 -10
  86. data/docs/FindRegexMatch.md +0 -12
  87. data/docs/FindStringMatch.md +0 -10
  88. data/docs/FindStringRegexRequest.md +0 -10
  89. data/docs/FindStringRegexResponse.md +0 -10
  90. data/docs/FindStringSimpleRequest.md +0 -9
  91. data/docs/FindStringSimpleResponse.md +0 -10
  92. data/docs/FinishEditingRequest.md +0 -8
  93. data/docs/GetDocxBodyRequest.md +0 -9
  94. data/docs/GetDocxBodyResponse.md +0 -9
  95. data/docs/GetDocxCommentsHierarchicalResponse.md +0 -10
  96. data/docs/GetDocxCommentsResponse.md +0 -10
  97. data/docs/GetDocxGetCommentsHierarchicalRequest.md +0 -9
  98. data/docs/GetDocxGetCommentsRequest.md +0 -9
  99. data/docs/GetDocxHeadersAndFootersRequest.md +0 -9
  100. data/docs/GetDocxHeadersAndFootersResponse.md +0 -10
  101. data/docs/GetDocxImagesRequest.md +0 -9
  102. data/docs/GetDocxImagesResponse.md +0 -9
  103. data/docs/GetDocxPagesRequest.md +0 -10
  104. data/docs/GetDocxPagesResponse.md +0 -10
  105. data/docs/GetDocxSectionsRequest.md +0 -9
  106. data/docs/GetDocxSectionsResponse.md +0 -9
  107. data/docs/GetDocxStylesRequest.md +0 -9
  108. data/docs/GetDocxStylesResponse.md +0 -9
  109. data/docs/GetDocxTableByIndexRequest.md +0 -10
  110. data/docs/GetDocxTableByIndexResponse.md +0 -9
  111. data/docs/GetDocxTableRowRequest.md +0 -11
  112. data/docs/GetDocxTableRowResponse.md +0 -9
  113. data/docs/GetDocxTablesRequest.md +0 -9
  114. data/docs/GetDocxTablesResponse.md +0 -9
  115. data/docs/GetFileTypeIconResult.md +0 -10
  116. data/docs/GetImageInfoResult.md +0 -24
  117. data/docs/GetPdfAnnotationsResult.md +0 -9
  118. data/docs/GetXlsxCellByIdentifierRequest.md +0 -11
  119. data/docs/GetXlsxCellByIdentifierResponse.md +0 -9
  120. data/docs/GetXlsxCellRequest.md +0 -12
  121. data/docs/GetXlsxCellResponse.md +0 -9
  122. data/docs/GetXlsxColumnsRequest.md +0 -10
  123. data/docs/GetXlsxColumnsResponse.md +0 -9
  124. data/docs/GetXlsxImagesRequest.md +0 -10
  125. data/docs/GetXlsxImagesResponse.md +0 -9
  126. data/docs/GetXlsxRowsAndCellsRequest.md +0 -10
  127. data/docs/GetXlsxRowsAndCellsResponse.md +0 -9
  128. data/docs/GetXlsxStylesRequest.md +0 -9
  129. data/docs/GetXlsxStylesResponse.md +0 -9
  130. data/docs/GetXlsxWorksheetsRequest.md +0 -9
  131. data/docs/GetXlsxWorksheetsResponse.md +0 -9
  132. data/docs/HtmlMdResult.md +0 -9
  133. data/docs/HtmlTemplateApplicationRequest.md +0 -10
  134. data/docs/HtmlTemplateApplicationResponse.md +0 -9
  135. data/docs/HtmlTemplateOperation.md +0 -10
  136. data/docs/HtmlToOfficeRequest.md +0 -8
  137. data/docs/HtmlToPdfRequest.md +0 -9
  138. data/docs/HtmlToPngRequest.md +0 -11
  139. data/docs/HtmlToTextRequest.md +0 -8
  140. data/docs/HtmlToTextResponse.md +0 -9
  141. data/docs/InsertDocxCommentOnParagraphResponse.md +0 -9
  142. data/docs/InsertDocxInsertParagraphRequest.md +0 -12
  143. data/docs/InsertDocxInsertParagraphResponse.md +0 -9
  144. data/docs/InsertDocxTableRowRequest.md +0 -12
  145. data/docs/InsertDocxTableRowResponse.md +0 -9
  146. data/docs/InsertDocxTablesRequest.md +0 -12
  147. data/docs/InsertDocxTablesResponse.md +0 -9
  148. data/docs/InsertXlsxWorksheetRequest.md +0 -10
  149. data/docs/InsertXlsxWorksheetResponse.md +0 -9
  150. data/docs/MergeDocumentApi.md +0 -812
  151. data/docs/MsgAttachment.md +0 -9
  152. data/docs/MsgToHtmlResult.md +0 -16
  153. data/docs/MultipageImageFormatConversionResult.md +0 -10
  154. data/docs/PageConversionResult.md +0 -9
  155. data/docs/PdfAnnotation.md +0 -19
  156. data/docs/PdfDocument.md +0 -10
  157. data/docs/PdfFormField.md +0 -11
  158. data/docs/PdfFormFields.md +0 -9
  159. data/docs/PdfMetadata.md +0 -16
  160. data/docs/PdfPageText.md +0 -9
  161. data/docs/PdfTextByPageResult.md +0 -9
  162. data/docs/PdfToPngResult.md +0 -9
  163. data/docs/PptxToPngResult.md +0 -9
  164. data/docs/PresentationResult.md +0 -10
  165. data/docs/RemoveDocxHeadersAndFootersRequest.md +0 -11
  166. data/docs/RemoveDocxHeadersAndFootersResponse.md +0 -9
  167. data/docs/RemoveDocxPagesRequest.md +0 -11
  168. data/docs/RemoveHtmlFromTextRequest.md +0 -8
  169. data/docs/RemoveHtmlFromTextResponse.md +0 -9
  170. data/docs/RemovePptxSlidesRequest.md +0 -11
  171. data/docs/RemoveWhitespaceFromTextRequest.md +0 -8
  172. data/docs/RemoveWhitespaceFromTextResponse.md +0 -9
  173. data/docs/RemoveXlsxWorksheetRequest.md +0 -10
  174. data/docs/ReplaceDocxParagraphRequest.md +0 -12
  175. data/docs/ReplaceDocxParagraphResponse.md +0 -9
  176. data/docs/ReplaceStringRegexRequest.md +0 -10
  177. data/docs/ReplaceStringRegexResponse.md +0 -9
  178. data/docs/ReplaceStringRequest.md +0 -12
  179. data/docs/ReplaceStringSimpleRequest.md +0 -10
  180. data/docs/ReplaceStringSimpleResponse.md +0 -9
  181. data/docs/ScreenshotRequest.md +0 -11
  182. data/docs/SetFormFieldValue.md +0 -11
  183. data/docs/SetPdfFormFieldsRequest.md +0 -9
  184. data/docs/SetPdfMetadataRequest.md +0 -9
  185. data/docs/SetXlsxCellByIdentifierRequest.md +0 -12
  186. data/docs/SetXlsxCellByIdentifierResponse.md +0 -9
  187. data/docs/SetXlsxCellRequest.md +0 -13
  188. data/docs/SetXlsxCellResponse.md +0 -9
  189. data/docs/SplitDocumentApi.md +0 -361
  190. data/docs/SplitDocumentResult.md +0 -10
  191. data/docs/SplitDocxDocumentResult.md +0 -9
  192. data/docs/SplitPdfResult.md +0 -9
  193. data/docs/SplitPptxPresentationResult.md +0 -9
  194. data/docs/SplitTextDocumentByLinesResult.md +0 -10
  195. data/docs/SplitTextDocumentByStringResult.md +0 -10
  196. data/docs/SplitXlsxWorksheetResult.md +0 -9
  197. data/docs/TextConversionResult.md +0 -9
  198. data/docs/TextDocumentElement.md +0 -9
  199. data/docs/TextDocumentLine.md +0 -9
  200. data/docs/TextEncodingDetectResponse.md +0 -9
  201. data/docs/Thumbnail.md +0 -9
  202. data/docs/UpdateDocxTableCellRequest.md +0 -13
  203. data/docs/UpdateDocxTableCellResponse.md +0 -9
  204. data/docs/UpdateDocxTableRowRequest.md +0 -12
  205. data/docs/UpdateDocxTableRowResponse.md +0 -9
  206. data/docs/UrlToPdfRequest.md +0 -11
  207. data/docs/UrlToTextRequest.md +0 -8
  208. data/docs/UrlToTextResponse.md +0 -9
  209. data/docs/ValidateDocumentApi.md +0 -833
  210. data/docs/ViewerResponse.md +0 -9
  211. data/docs/ViewerToolsApi.md +0 -63
  212. data/docs/WorksheetResult.md +0 -11
  213. data/docs/XlsxImage.md +0 -12
  214. data/docs/XlsxSpreadsheetCell.md +0 -12
  215. data/docs/XlsxSpreadsheetColumn.md +0 -9
  216. data/docs/XlsxSpreadsheetRow.md +0 -9
  217. data/docs/XlsxToPngResult.md +0 -9
  218. data/docs/XlsxWorksheet.md +0 -9
  219. data/docs/XmlAddAttributeWithXPathResult.md +0 -10
  220. data/docs/XmlAddChildWithXPathResult.md +0 -10
  221. data/docs/XmlFilterWithXPathResult.md +0 -10
  222. data/docs/XmlQueryWithXQueryMultiResult.md +0 -10
  223. data/docs/XmlQueryWithXQueryResult.md +0 -10
  224. data/docs/XmlRemoveAllChildrenWithXPathResult.md +0 -10
  225. data/docs/XmlRemoveWithXPathResult.md +0 -11
  226. data/docs/XmlReplaceWithXPathResult.md +0 -10
  227. data/docs/XmlSetValueWithXPathResult.md +0 -10
  228. data/docs/ZipArchiveApi.md +0 -306
  229. data/docs/ZipDirectory.md +0 -10
  230. data/docs/ZipEncryptionAdvancedRequest.md +0 -10
  231. data/docs/ZipExtractResponse.md +0 -10
  232. data/docs/ZipFile.md +0 -9
  233. data/git_push.sh +0 -55
  234. data/lib/cloudmersive-convert-api-client.rb +0 -265
  235. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +0 -86
  236. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +0 -981
  237. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +0 -2462
  238. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +0 -277
  239. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +0 -137
  240. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +0 -464
  241. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +0 -2774
  242. data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +0 -1181
  243. data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +0 -748
  244. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +0 -923
  245. data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +0 -381
  246. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +0 -863
  247. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +0 -79
  248. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +0 -335
  249. data/lib/cloudmersive-convert-api-client/api_client.rb +0 -389
  250. data/lib/cloudmersive-convert-api-client/api_error.rb +0 -38
  251. data/lib/cloudmersive-convert-api-client/configuration.rb +0 -209
  252. data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +0 -217
  253. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +0 -209
  254. data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +0 -230
  255. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +0 -251
  256. data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +0 -201
  257. data/lib/cloudmersive-convert-api-client/models/autodetect_to_thumbnails_result.rb +0 -201
  258. data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +0 -189
  259. data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +0 -215
  260. data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +0 -189
  261. data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +0 -199
  262. data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +0 -205
  263. data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +0 -199
  264. data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +0 -199
  265. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +0 -245
  266. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +0 -199
  267. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +0 -199
  268. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +0 -189
  269. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +0 -199
  270. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +0 -189
  271. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +0 -199
  272. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +0 -201
  273. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +0 -199
  274. data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +0 -203
  275. data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +0 -211
  276. data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +0 -215
  277. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +0 -245
  278. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +0 -199
  279. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +0 -235
  280. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +0 -199
  281. data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +0 -219
  282. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +0 -215
  283. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +0 -199
  284. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +0 -219
  285. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +0 -231
  286. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +0 -213
  287. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +0 -219
  288. data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +0 -269
  289. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +0 -213
  290. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +0 -213
  291. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +0 -309
  292. data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +0 -235
  293. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +0 -301
  294. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +0 -199
  295. data/lib/cloudmersive-convert-api-client/models/docx_page.rb +0 -201
  296. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +0 -221
  297. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +0 -225
  298. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +0 -199
  299. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +0 -261
  300. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +0 -201
  301. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +0 -225
  302. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +0 -225
  303. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +0 -199
  304. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +0 -225
  305. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +0 -199
  306. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +0 -249
  307. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +0 -571
  308. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +0 -261
  309. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +0 -211
  310. data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +0 -191
  311. data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +0 -242
  312. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +0 -209
  313. data/lib/cloudmersive-convert-api-client/models/docx_to_png_result.rb +0 -201
  314. data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +0 -251
  315. data/lib/cloudmersive-convert-api-client/models/eml_attachment.rb +0 -215
  316. data/lib/cloudmersive-convert-api-client/models/eml_to_html_result.rb +0 -271
  317. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +0 -215
  318. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +0 -199
  319. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +0 -209
  320. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +0 -235
  321. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +0 -211
  322. data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +0 -231
  323. data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +0 -209
  324. data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +0 -209
  325. data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +0 -211
  326. data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +0 -199
  327. data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +0 -211
  328. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +0 -189
  329. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +0 -215
  330. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +0 -199
  331. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +0 -211
  332. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +0 -211
  333. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +0 -215
  334. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +0 -215
  335. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +0 -215
  336. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +0 -211
  337. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +0 -215
  338. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +0 -201
  339. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +0 -225
  340. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +0 -211
  341. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +0 -215
  342. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +0 -201
  343. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +0 -215
  344. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +0 -201
  345. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +0 -225
  346. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +0 -199
  347. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +0 -235
  348. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +0 -199
  349. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +0 -215
  350. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +0 -201
  351. data/lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb +0 -225
  352. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +0 -350
  353. data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +0 -201
  354. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +0 -235
  355. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +0 -199
  356. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +0 -245
  357. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +0 -199
  358. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +0 -225
  359. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +0 -201
  360. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +0 -225
  361. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +0 -201
  362. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +0 -225
  363. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +0 -201
  364. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +0 -215
  365. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +0 -201
  366. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +0 -215
  367. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +0 -201
  368. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +0 -199
  369. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +0 -211
  370. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +0 -199
  371. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +0 -242
  372. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +0 -189
  373. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +0 -199
  374. data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +0 -219
  375. data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +0 -189
  376. data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +0 -199
  377. data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +0 -199
  378. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +0 -245
  379. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +0 -199
  380. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +0 -245
  381. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +0 -199
  382. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +0 -245
  383. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +0 -199
  384. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +0 -225
  385. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +0 -199
  386. data/lib/cloudmersive-convert-api-client/models/msg_attachment.rb +0 -215
  387. data/lib/cloudmersive-convert-api-client/models/msg_to_html_result.rb +0 -271
  388. data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +0 -211
  389. data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +0 -215
  390. data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +0 -299
  391. data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +0 -225
  392. data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +0 -219
  393. data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +0 -201
  394. data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +0 -269
  395. data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +0 -199
  396. data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +0 -201
  397. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +0 -201
  398. data/lib/cloudmersive-convert-api-client/models/pptx_to_png_result.rb +0 -201
  399. data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +0 -225
  400. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +0 -235
  401. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +0 -199
  402. data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +0 -235
  403. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +0 -189
  404. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +0 -199
  405. data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +0 -235
  406. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +0 -189
  407. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +0 -199
  408. data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +0 -225
  409. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +0 -245
  410. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +0 -199
  411. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +0 -209
  412. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +0 -199
  413. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +0 -245
  414. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +0 -209
  415. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +0 -199
  416. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +0 -219
  417. data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +0 -219
  418. data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +0 -217
  419. data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +0 -215
  420. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +0 -245
  421. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +0 -199
  422. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +0 -255
  423. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +0 -199
  424. data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +0 -225
  425. data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +0 -200
  426. data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +0 -201
  427. data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +0 -200
  428. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +0 -210
  429. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +0 -210
  430. data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +0 -200
  431. data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +0 -199
  432. data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +0 -199
  433. data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +0 -199
  434. data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +0 -199
  435. data/lib/cloudmersive-convert-api-client/models/thumbnail.rb +0 -215
  436. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +0 -255
  437. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +0 -199
  438. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +0 -245
  439. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +0 -199
  440. data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +0 -219
  441. data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +0 -189
  442. data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +0 -199
  443. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +0 -197
  444. data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +0 -235
  445. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +0 -229
  446. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +0 -228
  447. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +0 -199
  448. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +0 -201
  449. data/lib/cloudmersive-convert-api-client/models/xlsx_to_png_result.rb +0 -201
  450. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +0 -199
  451. data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +0 -209
  452. data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +0 -209
  453. data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +0 -211
  454. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +0 -209
  455. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +0 -209
  456. data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +0 -209
  457. data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +0 -221
  458. data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +0 -209
  459. data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +0 -209
  460. data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +0 -213
  461. data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +0 -225
  462. data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +0 -213
  463. data/lib/cloudmersive-convert-api-client/models/zip_file.rb +0 -215
  464. data/lib/cloudmersive-convert-api-client/version.rb +0 -15
  465. data/spec/api/compare_document_api_spec.rb +0 -48
  466. data/spec/api/convert_data_api_spec.rb +0 -240
  467. data/spec/api/convert_document_api_spec.rb +0 -568
  468. data/spec/api/convert_image_api_spec.rb +0 -88
  469. data/spec/api/convert_template_api_spec.rb +0 -60
  470. data/spec/api/convert_web_api_spec.rb +0 -131
  471. data/spec/api/edit_document_api_spec.rb +0 -635
  472. data/spec/api/edit_pdf_api_spec.rb +0 -282
  473. data/spec/api/edit_text_api_spec.rb +0 -192
  474. data/spec/api/merge_document_api_spec.rb +0 -239
  475. data/spec/api/split_document_api_spec.rb +0 -113
  476. data/spec/api/validate_document_api_spec.rb +0 -215
  477. data/spec/api/viewer_tools_api_spec.rb +0 -47
  478. data/spec/api/zip_archive_api_spec.rb +0 -105
  479. data/spec/api_client_spec.rb +0 -226
  480. data/spec/configuration_spec.rb +0 -42
  481. data/spec/models/add_pdf_annotation_request_spec.rb +0 -48
  482. data/spec/models/alternate_file_format_candidate_spec.rb +0 -54
  483. data/spec/models/autodetect_document_validation_result_spec.rb +0 -66
  484. data/spec/models/autodetect_get_info_result_spec.rb +0 -78
  485. data/spec/models/autodetect_to_png_result_spec.rb +0 -48
  486. data/spec/models/autodetect_to_thumbnails_result_spec.rb +0 -48
  487. data/spec/models/base64_decode_request_spec.rb +0 -42
  488. data/spec/models/base64_decode_response_spec.rb +0 -48
  489. data/spec/models/base64_detect_request_spec.rb +0 -42
  490. data/spec/models/base64_detect_response_spec.rb +0 -48
  491. data/spec/models/base64_encode_request_spec.rb +0 -42
  492. data/spec/models/base64_encode_response_spec.rb +0 -48
  493. data/spec/models/change_line_ending_response_spec.rb +0 -48
  494. data/spec/models/clear_xlsx_cell_request_spec.rb +0 -66
  495. data/spec/models/clear_xlsx_cell_response_spec.rb +0 -48
  496. data/spec/models/converted_png_page_spec.rb +0 -48
  497. data/spec/models/create_blank_docx_request_spec.rb +0 -42
  498. data/spec/models/create_blank_docx_response_spec.rb +0 -48
  499. data/spec/models/create_blank_spreadsheet_request_spec.rb +0 -42
  500. data/spec/models/create_blank_spreadsheet_response_spec.rb +0 -48
  501. data/spec/models/create_spreadsheet_from_data_request_spec.rb +0 -48
  502. data/spec/models/create_spreadsheet_from_data_response_spec.rb +0 -48
  503. data/spec/models/create_zip_archive_request_spec.rb +0 -48
  504. data/spec/models/csv_collection_spec.rb +0 -54
  505. data/spec/models/csv_file_result_spec.rb +0 -48
  506. data/spec/models/delete_docx_table_row_range_request_spec.rb +0 -66
  507. data/spec/models/delete_docx_table_row_range_response_spec.rb +0 -48
  508. data/spec/models/delete_docx_table_row_request_spec.rb +0 -60
  509. data/spec/models/delete_docx_table_row_response_spec.rb +0 -48
  510. data/spec/models/detect_line_endings_response_spec.rb +0 -60
  511. data/spec/models/disable_shared_workbook_request_spec.rb +0 -48
  512. data/spec/models/disable_shared_workbook_response_spec.rb +0 -48
  513. data/spec/models/document_validation_error_spec.rb +0 -60
  514. data/spec/models/document_validation_result_spec.rb +0 -66
  515. data/spec/models/docx_body_spec.rb +0 -54
  516. data/spec/models/docx_cell_style_spec.rb +0 -60
  517. data/spec/models/docx_comment_spec.rb +0 -90
  518. data/spec/models/docx_footer_spec.rb +0 -54
  519. data/spec/models/docx_header_spec.rb +0 -54
  520. data/spec/models/docx_image_spec.rb +0 -114
  521. data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +0 -60
  522. data/spec/models/docx_insert_image_request_spec.rb +0 -90
  523. data/spec/models/docx_insert_image_response_spec.rb +0 -48
  524. data/spec/models/docx_page_spec.rb +0 -48
  525. data/spec/models/docx_paragraph_spec.rb +0 -60
  526. data/spec/models/docx_remove_object_request_spec.rb +0 -54
  527. data/spec/models/docx_remove_object_response_spec.rb +0 -48
  528. data/spec/models/docx_run_spec.rb +0 -84
  529. data/spec/models/docx_section_spec.rb +0 -48
  530. data/spec/models/docx_set_footer_add_page_number_request_spec.rb +0 -54
  531. data/spec/models/docx_set_footer_request_spec.rb +0 -54
  532. data/spec/models/docx_set_footer_response_spec.rb +0 -48
  533. data/spec/models/docx_set_header_request_spec.rb +0 -54
  534. data/spec/models/docx_set_header_response_spec.rb +0 -48
  535. data/spec/models/docx_style_spec.rb +0 -78
  536. data/spec/models/docx_table_cell_spec.rb +0 -84
  537. data/spec/models/docx_table_row_spec.rb +0 -54
  538. data/spec/models/docx_table_spec.rb +0 -270
  539. data/spec/models/docx_template_application_request_spec.rb +0 -42
  540. data/spec/models/docx_template_operation_spec.rb +0 -58
  541. data/spec/models/docx_text_spec.rb +0 -54
  542. data/spec/models/docx_to_png_result_spec.rb +0 -48
  543. data/spec/models/docx_top_level_comment_spec.rb +0 -78
  544. data/spec/models/eml_attachment_spec.rb +0 -48
  545. data/spec/models/eml_to_html_result_spec.rb +0 -90
  546. data/spec/models/enable_shared_workbook_request_spec.rb +0 -48
  547. data/spec/models/enable_shared_workbook_response_spec.rb +0 -48
  548. data/spec/models/exif_value_spec.rb +0 -54
  549. data/spec/models/find_docx_paragraph_request_spec.rb +0 -60
  550. data/spec/models/find_docx_paragraph_response_spec.rb +0 -54
  551. data/spec/models/find_regex_match_spec.rb +0 -66
  552. data/spec/models/find_string_match_spec.rb +0 -54
  553. data/spec/models/find_string_regex_request_spec.rb +0 -54
  554. data/spec/models/find_string_regex_response_spec.rb +0 -54
  555. data/spec/models/find_string_simple_request_spec.rb +0 -48
  556. data/spec/models/find_string_simple_response_spec.rb +0 -54
  557. data/spec/models/finish_editing_request_spec.rb +0 -42
  558. data/spec/models/get_docx_body_request_spec.rb +0 -48
  559. data/spec/models/get_docx_body_response_spec.rb +0 -48
  560. data/spec/models/get_docx_comments_hierarchical_response_spec.rb +0 -54
  561. data/spec/models/get_docx_comments_response_spec.rb +0 -54
  562. data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +0 -48
  563. data/spec/models/get_docx_get_comments_request_spec.rb +0 -48
  564. data/spec/models/get_docx_headers_and_footers_request_spec.rb +0 -48
  565. data/spec/models/get_docx_headers_and_footers_response_spec.rb +0 -54
  566. data/spec/models/get_docx_images_request_spec.rb +0 -48
  567. data/spec/models/get_docx_images_response_spec.rb +0 -48
  568. data/spec/models/get_docx_pages_request_spec.rb +0 -54
  569. data/spec/models/get_docx_pages_response_spec.rb +0 -54
  570. data/spec/models/get_docx_sections_request_spec.rb +0 -48
  571. data/spec/models/get_docx_sections_response_spec.rb +0 -48
  572. data/spec/models/get_docx_styles_request_spec.rb +0 -48
  573. data/spec/models/get_docx_styles_response_spec.rb +0 -48
  574. data/spec/models/get_docx_table_by_index_request_spec.rb +0 -54
  575. data/spec/models/get_docx_table_by_index_response_spec.rb +0 -48
  576. data/spec/models/get_docx_table_row_request_spec.rb +0 -60
  577. data/spec/models/get_docx_table_row_response_spec.rb +0 -48
  578. data/spec/models/get_docx_tables_request_spec.rb +0 -48
  579. data/spec/models/get_docx_tables_response_spec.rb +0 -48
  580. data/spec/models/get_file_type_icon_result_spec.rb +0 -54
  581. data/spec/models/get_image_info_result_spec.rb +0 -138
  582. data/spec/models/get_pdf_annotations_result_spec.rb +0 -48
  583. data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +0 -60
  584. data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +0 -48
  585. data/spec/models/get_xlsx_cell_request_spec.rb +0 -66
  586. data/spec/models/get_xlsx_cell_response_spec.rb +0 -48
  587. data/spec/models/get_xlsx_columns_request_spec.rb +0 -54
  588. data/spec/models/get_xlsx_columns_response_spec.rb +0 -48
  589. data/spec/models/get_xlsx_images_request_spec.rb +0 -54
  590. data/spec/models/get_xlsx_images_response_spec.rb +0 -48
  591. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +0 -54
  592. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +0 -48
  593. data/spec/models/get_xlsx_styles_request_spec.rb +0 -48
  594. data/spec/models/get_xlsx_styles_response_spec.rb +0 -48
  595. data/spec/models/get_xlsx_worksheets_request_spec.rb +0 -48
  596. data/spec/models/get_xlsx_worksheets_response_spec.rb +0 -48
  597. data/spec/models/html_md_result_spec.rb +0 -48
  598. data/spec/models/html_template_application_request_spec.rb +0 -54
  599. data/spec/models/html_template_application_response_spec.rb +0 -48
  600. data/spec/models/html_template_operation_spec.rb +0 -58
  601. data/spec/models/html_to_office_request_spec.rb +0 -42
  602. data/spec/models/html_to_pdf_request_spec.rb +0 -48
  603. data/spec/models/html_to_png_request_spec.rb +0 -60
  604. data/spec/models/html_to_text_request_spec.rb +0 -42
  605. data/spec/models/html_to_text_response_spec.rb +0 -48
  606. data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +0 -48
  607. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +0 -66
  608. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +0 -48
  609. data/spec/models/insert_docx_table_row_request_spec.rb +0 -66
  610. data/spec/models/insert_docx_table_row_response_spec.rb +0 -48
  611. data/spec/models/insert_docx_tables_request_spec.rb +0 -66
  612. data/spec/models/insert_docx_tables_response_spec.rb +0 -48
  613. data/spec/models/insert_xlsx_worksheet_request_spec.rb +0 -54
  614. data/spec/models/insert_xlsx_worksheet_response_spec.rb +0 -48
  615. data/spec/models/msg_attachment_spec.rb +0 -48
  616. data/spec/models/msg_to_html_result_spec.rb +0 -90
  617. data/spec/models/multipage_image_format_conversion_result_spec.rb +0 -54
  618. data/spec/models/page_conversion_result_spec.rb +0 -48
  619. data/spec/models/pdf_annotation_spec.rb +0 -108
  620. data/spec/models/pdf_document_spec.rb +0 -54
  621. data/spec/models/pdf_form_field_spec.rb +0 -60
  622. data/spec/models/pdf_form_fields_spec.rb +0 -48
  623. data/spec/models/pdf_metadata_spec.rb +0 -90
  624. data/spec/models/pdf_page_text_spec.rb +0 -48
  625. data/spec/models/pdf_text_by_page_result_spec.rb +0 -48
  626. data/spec/models/pdf_to_png_result_spec.rb +0 -48
  627. data/spec/models/pptx_to_png_result_spec.rb +0 -48
  628. data/spec/models/presentation_result_spec.rb +0 -54
  629. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +0 -60
  630. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +0 -48
  631. data/spec/models/remove_docx_pages_request_spec.rb +0 -60
  632. data/spec/models/remove_html_from_text_request_spec.rb +0 -42
  633. data/spec/models/remove_html_from_text_response_spec.rb +0 -48
  634. data/spec/models/remove_pptx_slides_request_spec.rb +0 -60
  635. data/spec/models/remove_whitespace_from_text_request_spec.rb +0 -42
  636. data/spec/models/remove_whitespace_from_text_response_spec.rb +0 -48
  637. data/spec/models/remove_xlsx_worksheet_request_spec.rb +0 -54
  638. data/spec/models/replace_docx_paragraph_request_spec.rb +0 -66
  639. data/spec/models/replace_docx_paragraph_response_spec.rb +0 -48
  640. data/spec/models/replace_string_regex_request_spec.rb +0 -54
  641. data/spec/models/replace_string_regex_response_spec.rb +0 -48
  642. data/spec/models/replace_string_request_spec.rb +0 -66
  643. data/spec/models/replace_string_simple_request_spec.rb +0 -54
  644. data/spec/models/replace_string_simple_response_spec.rb +0 -48
  645. data/spec/models/screenshot_request_spec.rb +0 -60
  646. data/spec/models/set_form_field_value_spec.rb +0 -60
  647. data/spec/models/set_pdf_form_fields_request_spec.rb +0 -48
  648. data/spec/models/set_pdf_metadata_request_spec.rb +0 -48
  649. data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +0 -66
  650. data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +0 -48
  651. data/spec/models/set_xlsx_cell_request_spec.rb +0 -72
  652. data/spec/models/set_xlsx_cell_response_spec.rb +0 -48
  653. data/spec/models/split_document_result_spec.rb +0 -54
  654. data/spec/models/split_docx_document_result_spec.rb +0 -48
  655. data/spec/models/split_pdf_result_spec.rb +0 -48
  656. data/spec/models/split_pptx_presentation_result_spec.rb +0 -48
  657. data/spec/models/split_text_document_by_lines_result_spec.rb +0 -54
  658. data/spec/models/split_text_document_by_string_result_spec.rb +0 -54
  659. data/spec/models/split_xlsx_worksheet_result_spec.rb +0 -48
  660. data/spec/models/text_conversion_result_spec.rb +0 -48
  661. data/spec/models/text_document_element_spec.rb +0 -48
  662. data/spec/models/text_document_line_spec.rb +0 -48
  663. data/spec/models/text_encoding_detect_response_spec.rb +0 -48
  664. data/spec/models/thumbnail_spec.rb +0 -48
  665. data/spec/models/update_docx_table_cell_request_spec.rb +0 -72
  666. data/spec/models/update_docx_table_cell_response_spec.rb +0 -48
  667. data/spec/models/update_docx_table_row_request_spec.rb +0 -66
  668. data/spec/models/update_docx_table_row_response_spec.rb +0 -48
  669. data/spec/models/url_to_pdf_request_spec.rb +0 -60
  670. data/spec/models/url_to_text_request_spec.rb +0 -42
  671. data/spec/models/url_to_text_response_spec.rb +0 -48
  672. data/spec/models/viewer_response_spec.rb +0 -48
  673. data/spec/models/worksheet_result_spec.rb +0 -60
  674. data/spec/models/xlsx_image_spec.rb +0 -66
  675. data/spec/models/xlsx_spreadsheet_cell_spec.rb +0 -66
  676. data/spec/models/xlsx_spreadsheet_column_spec.rb +0 -48
  677. data/spec/models/xlsx_spreadsheet_row_spec.rb +0 -48
  678. data/spec/models/xlsx_to_png_result_spec.rb +0 -48
  679. data/spec/models/xlsx_worksheet_spec.rb +0 -48
  680. data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +0 -54
  681. data/spec/models/xml_add_child_with_x_path_result_spec.rb +0 -54
  682. data/spec/models/xml_filter_with_x_path_result_spec.rb +0 -54
  683. data/spec/models/xml_query_with_x_query_multi_result_spec.rb +0 -54
  684. data/spec/models/xml_query_with_x_query_result_spec.rb +0 -54
  685. data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +0 -54
  686. data/spec/models/xml_remove_with_x_path_result_spec.rb +0 -60
  687. data/spec/models/xml_replace_with_x_path_result_spec.rb +0 -54
  688. data/spec/models/xml_set_value_with_x_path_result_spec.rb +0 -54
  689. data/spec/models/zip_directory_spec.rb +0 -54
  690. data/spec/models/zip_encryption_advanced_request_spec.rb +0 -54
  691. data/spec/models/zip_extract_response_spec.rb +0 -54
  692. data/spec/models/zip_file_spec.rb +0 -48
  693. data/spec/spec_helper.rb +0 -111
@@ -1,1181 +0,0 @@
1
- =begin
2
- #convertapi
3
-
4
- #Convert API lets you effortlessly convert file formats and types.
5
-
6
- OpenAPI spec version: v1
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
10
-
11
- =end
12
-
13
- require "uri"
14
-
15
- module CloudmersiveConvertApiClient
16
- class EditPdfApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
-
23
- # Add one or more PDF annotations, comments in the PDF document
24
- # Adds one or more annotations, comments to a PDF document.
25
- # @param request
26
- # @param [Hash] opts the optional parameters
27
- # @return [String]
28
- def edit_pdf_add_annotations(request, opts = {})
29
- data, _status_code, _headers = edit_pdf_add_annotations_with_http_info(request, opts)
30
- return data
31
- end
32
-
33
- # Add one or more PDF annotations, comments in the PDF document
34
- # Adds one or more annotations, comments to a PDF document.
35
- # @param request
36
- # @param [Hash] opts the optional parameters
37
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
38
- def edit_pdf_add_annotations_with_http_info(request, opts = {})
39
- if @api_client.config.debugging
40
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_add_annotations ..."
41
- end
42
- # verify the required parameter 'request' is set
43
- if @api_client.config.client_side_validation && request.nil?
44
- fail ArgumentError, "Missing the required parameter 'request' when calling EditPdfApi.edit_pdf_add_annotations"
45
- end
46
- # resource path
47
- local_var_path = "/convert/edit/pdf/annotations/add-item"
48
-
49
- # query parameters
50
- query_params = {}
51
-
52
- # header parameters
53
- header_params = {}
54
- # HTTP header 'Accept' (if needed)
55
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
56
- # HTTP header 'Content-Type'
57
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
58
-
59
- # form parameters
60
- form_params = {}
61
-
62
- # http body (model)
63
- post_body = @api_client.object_to_http_body(request)
64
- auth_names = ['Apikey']
65
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
66
- :header_params => header_params,
67
- :query_params => query_params,
68
- :form_params => form_params,
69
- :body => post_body,
70
- :auth_names => auth_names,
71
- :return_type => 'String')
72
- if @api_client.config.debugging
73
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_add_annotations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
74
- end
75
- return data, status_code, headers
76
- end
77
-
78
- # Decrypt and password-protect a PDF
79
- # Decrypt a PDF document with a password. Decrypted PDF will no longer require a password to open.
80
- # @param password Valid password for the PDF file
81
- # @param input_file Input file to perform the operation on.
82
- # @param [Hash] opts the optional parameters
83
- # @return [String]
84
- def edit_pdf_decrypt(password, input_file, opts = {})
85
- data, _status_code, _headers = edit_pdf_decrypt_with_http_info(password, input_file, opts)
86
- return data
87
- end
88
-
89
- # Decrypt and password-protect a PDF
90
- # Decrypt a PDF document with a password. Decrypted PDF will no longer require a password to open.
91
- # @param password Valid password for the PDF file
92
- # @param input_file Input file to perform the operation on.
93
- # @param [Hash] opts the optional parameters
94
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
95
- def edit_pdf_decrypt_with_http_info(password, input_file, opts = {})
96
- if @api_client.config.debugging
97
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_decrypt ..."
98
- end
99
- # verify the required parameter 'password' is set
100
- if @api_client.config.client_side_validation && password.nil?
101
- fail ArgumentError, "Missing the required parameter 'password' when calling EditPdfApi.edit_pdf_decrypt"
102
- end
103
- # verify the required parameter 'input_file' is set
104
- if @api_client.config.client_side_validation && input_file.nil?
105
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_decrypt"
106
- end
107
- # resource path
108
- local_var_path = "/convert/edit/pdf/decrypt"
109
-
110
- # query parameters
111
- query_params = {}
112
-
113
- # header parameters
114
- header_params = {}
115
- # HTTP header 'Accept' (if needed)
116
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
117
- # HTTP header 'Content-Type'
118
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
119
- header_params[:'password'] = password
120
-
121
- # form parameters
122
- form_params = {}
123
- form_params["inputFile"] = input_file
124
-
125
- # http body (model)
126
- post_body = nil
127
- auth_names = ['Apikey']
128
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
129
- :header_params => header_params,
130
- :query_params => query_params,
131
- :form_params => form_params,
132
- :body => post_body,
133
- :auth_names => auth_names,
134
- :return_type => 'String')
135
- if @api_client.config.debugging
136
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_decrypt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
137
- end
138
- return data, status_code, headers
139
- end
140
-
141
- # Remove, delete pages from a PDF document
142
- # Remove one or more pages from a PDF document
143
- # @param input_file Input file to perform the operation on.
144
- # @param page_start Page number (1 based) to start deleting pages from (inclusive).
145
- # @param page_end Page number (1 based) to stop deleting pages from (inclusive).
146
- # @param [Hash] opts the optional parameters
147
- # @return [String]
148
- def edit_pdf_delete_pages(input_file, page_start, page_end, opts = {})
149
- data, _status_code, _headers = edit_pdf_delete_pages_with_http_info(input_file, page_start, page_end, opts)
150
- return data
151
- end
152
-
153
- # Remove, delete pages from a PDF document
154
- # Remove one or more pages from a PDF document
155
- # @param input_file Input file to perform the operation on.
156
- # @param page_start Page number (1 based) to start deleting pages from (inclusive).
157
- # @param page_end Page number (1 based) to stop deleting pages from (inclusive).
158
- # @param [Hash] opts the optional parameters
159
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
160
- def edit_pdf_delete_pages_with_http_info(input_file, page_start, page_end, opts = {})
161
- if @api_client.config.debugging
162
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_delete_pages ..."
163
- end
164
- # verify the required parameter 'input_file' is set
165
- if @api_client.config.client_side_validation && input_file.nil?
166
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_delete_pages"
167
- end
168
- # verify the required parameter 'page_start' is set
169
- if @api_client.config.client_side_validation && page_start.nil?
170
- fail ArgumentError, "Missing the required parameter 'page_start' when calling EditPdfApi.edit_pdf_delete_pages"
171
- end
172
- # verify the required parameter 'page_end' is set
173
- if @api_client.config.client_side_validation && page_end.nil?
174
- fail ArgumentError, "Missing the required parameter 'page_end' when calling EditPdfApi.edit_pdf_delete_pages"
175
- end
176
- # resource path
177
- local_var_path = "/convert/edit/pdf/pages/delete"
178
-
179
- # query parameters
180
- query_params = {}
181
-
182
- # header parameters
183
- header_params = {}
184
- # HTTP header 'Accept' (if needed)
185
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
186
- # HTTP header 'Content-Type'
187
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
188
- header_params[:'pageStart'] = page_start
189
- header_params[:'pageEnd'] = page_end
190
-
191
- # form parameters
192
- form_params = {}
193
- form_params["inputFile"] = input_file
194
-
195
- # http body (model)
196
- post_body = nil
197
- auth_names = ['Apikey']
198
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
199
- :header_params => header_params,
200
- :query_params => query_params,
201
- :form_params => form_params,
202
- :body => post_body,
203
- :auth_names => auth_names,
204
- :return_type => 'String')
205
- if @api_client.config.debugging
206
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_delete_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
207
- end
208
- return data, status_code, headers
209
- end
210
-
211
- # Encrypt and password-protect a PDF
212
- # Encrypt a PDF document with a password. Set an owner password to control owner (editor/creator) permissions, and set a user (reader) password to control the viewer of the PDF. Set the password fields null to omit the given password.
213
- # @param input_file Input file to perform the operation on.
214
- # @param [Hash] opts the optional parameters
215
- # @option opts [String] :user_password Password of a user (reader) of the PDF file
216
- # @option opts [String] :owner_password Password of a owner (creator/editor) of the PDF file
217
- # @option opts [String] :encryption_key_length Possible values are \&quot;128\&quot; (128-bit RC4 encryption) and \&quot;256\&quot; (256-bit AES encryption). Default is 256.
218
- # @return [String]
219
- def edit_pdf_encrypt(input_file, opts = {})
220
- data, _status_code, _headers = edit_pdf_encrypt_with_http_info(input_file, opts)
221
- return data
222
- end
223
-
224
- # Encrypt and password-protect a PDF
225
- # Encrypt a PDF document with a password. Set an owner password to control owner (editor/creator) permissions, and set a user (reader) password to control the viewer of the PDF. Set the password fields null to omit the given password.
226
- # @param input_file Input file to perform the operation on.
227
- # @param [Hash] opts the optional parameters
228
- # @option opts [String] :user_password Password of a user (reader) of the PDF file
229
- # @option opts [String] :owner_password Password of a owner (creator/editor) of the PDF file
230
- # @option opts [String] :encryption_key_length Possible values are \&quot;128\&quot; (128-bit RC4 encryption) and \&quot;256\&quot; (256-bit AES encryption). Default is 256.
231
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
232
- def edit_pdf_encrypt_with_http_info(input_file, opts = {})
233
- if @api_client.config.debugging
234
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_encrypt ..."
235
- end
236
- # verify the required parameter 'input_file' is set
237
- if @api_client.config.client_side_validation && input_file.nil?
238
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_encrypt"
239
- end
240
- # resource path
241
- local_var_path = "/convert/edit/pdf/encrypt"
242
-
243
- # query parameters
244
- query_params = {}
245
-
246
- # header parameters
247
- header_params = {}
248
- # HTTP header 'Accept' (if needed)
249
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
250
- # HTTP header 'Content-Type'
251
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
252
- header_params[:'userPassword'] = opts[:'user_password'] if !opts[:'user_password'].nil?
253
- header_params[:'ownerPassword'] = opts[:'owner_password'] if !opts[:'owner_password'].nil?
254
- header_params[:'encryptionKeyLength'] = opts[:'encryption_key_length'] if !opts[:'encryption_key_length'].nil?
255
-
256
- # form parameters
257
- form_params = {}
258
- form_params["inputFile"] = input_file
259
-
260
- # http body (model)
261
- post_body = nil
262
- auth_names = ['Apikey']
263
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
264
- :header_params => header_params,
265
- :query_params => query_params,
266
- :form_params => form_params,
267
- :body => post_body,
268
- :auth_names => auth_names,
269
- :return_type => 'String')
270
- if @api_client.config.debugging
271
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_encrypt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
272
- end
273
- return data, status_code, headers
274
- end
275
-
276
- # Get PDF annotations, including comments in the document
277
- # Enumerates the annotations, including comments and notes, in a PDF document.
278
- # @param input_file Input file to perform the operation on.
279
- # @param [Hash] opts the optional parameters
280
- # @return [GetPdfAnnotationsResult]
281
- def edit_pdf_get_annotations(input_file, opts = {})
282
- data, _status_code, _headers = edit_pdf_get_annotations_with_http_info(input_file, opts)
283
- return data
284
- end
285
-
286
- # Get PDF annotations, including comments in the document
287
- # Enumerates the annotations, including comments and notes, in a PDF document.
288
- # @param input_file Input file to perform the operation on.
289
- # @param [Hash] opts the optional parameters
290
- # @return [Array<(GetPdfAnnotationsResult, Fixnum, Hash)>] GetPdfAnnotationsResult data, response status code and response headers
291
- def edit_pdf_get_annotations_with_http_info(input_file, opts = {})
292
- if @api_client.config.debugging
293
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_get_annotations ..."
294
- end
295
- # verify the required parameter 'input_file' is set
296
- if @api_client.config.client_side_validation && input_file.nil?
297
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_get_annotations"
298
- end
299
- # resource path
300
- local_var_path = "/convert/edit/pdf/annotations/list"
301
-
302
- # query parameters
303
- query_params = {}
304
-
305
- # header parameters
306
- header_params = {}
307
- # HTTP header 'Accept' (if needed)
308
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
309
- # HTTP header 'Content-Type'
310
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
311
-
312
- # form parameters
313
- form_params = {}
314
- form_params["inputFile"] = input_file
315
-
316
- # http body (model)
317
- post_body = nil
318
- auth_names = ['Apikey']
319
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
320
- :header_params => header_params,
321
- :query_params => query_params,
322
- :form_params => form_params,
323
- :body => post_body,
324
- :auth_names => auth_names,
325
- :return_type => 'GetPdfAnnotationsResult')
326
- if @api_client.config.debugging
327
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_get_annotations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
328
- end
329
- return data, status_code, headers
330
- end
331
-
332
- # Gets PDF Form fields and values
333
- # Encrypt a PDF document with a password. Set an owner password to control owner (editor/creator) permissions, and set a user (reader) password to control the viewer of the PDF. Set the password fields null to omit the given password.
334
- # @param input_file Input file to perform the operation on.
335
- # @param [Hash] opts the optional parameters
336
- # @return [PdfFormFields]
337
- def edit_pdf_get_form_fields(input_file, opts = {})
338
- data, _status_code, _headers = edit_pdf_get_form_fields_with_http_info(input_file, opts)
339
- return data
340
- end
341
-
342
- # Gets PDF Form fields and values
343
- # Encrypt a PDF document with a password. Set an owner password to control owner (editor/creator) permissions, and set a user (reader) password to control the viewer of the PDF. Set the password fields null to omit the given password.
344
- # @param input_file Input file to perform the operation on.
345
- # @param [Hash] opts the optional parameters
346
- # @return [Array<(PdfFormFields, Fixnum, Hash)>] PdfFormFields data, response status code and response headers
347
- def edit_pdf_get_form_fields_with_http_info(input_file, opts = {})
348
- if @api_client.config.debugging
349
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_get_form_fields ..."
350
- end
351
- # verify the required parameter 'input_file' is set
352
- if @api_client.config.client_side_validation && input_file.nil?
353
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_get_form_fields"
354
- end
355
- # resource path
356
- local_var_path = "/convert/edit/pdf/form/get-fields"
357
-
358
- # query parameters
359
- query_params = {}
360
-
361
- # header parameters
362
- header_params = {}
363
- # HTTP header 'Accept' (if needed)
364
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
365
- # HTTP header 'Content-Type'
366
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
367
-
368
- # form parameters
369
- form_params = {}
370
- form_params["inputFile"] = input_file
371
-
372
- # http body (model)
373
- post_body = nil
374
- auth_names = ['Apikey']
375
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
376
- :header_params => header_params,
377
- :query_params => query_params,
378
- :form_params => form_params,
379
- :body => post_body,
380
- :auth_names => auth_names,
381
- :return_type => 'PdfFormFields')
382
- if @api_client.config.debugging
383
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_get_form_fields\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
384
- end
385
- return data, status_code, headers
386
- end
387
-
388
- # Get PDF document metadata
389
- # Returns the metadata from the PDF document, including Title, Author, etc.
390
- # @param input_file Input file to perform the operation on.
391
- # @param [Hash] opts the optional parameters
392
- # @return [PdfMetadata]
393
- def edit_pdf_get_metadata(input_file, opts = {})
394
- data, _status_code, _headers = edit_pdf_get_metadata_with_http_info(input_file, opts)
395
- return data
396
- end
397
-
398
- # Get PDF document metadata
399
- # Returns the metadata from the PDF document, including Title, Author, etc.
400
- # @param input_file Input file to perform the operation on.
401
- # @param [Hash] opts the optional parameters
402
- # @return [Array<(PdfMetadata, Fixnum, Hash)>] PdfMetadata data, response status code and response headers
403
- def edit_pdf_get_metadata_with_http_info(input_file, opts = {})
404
- if @api_client.config.debugging
405
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_get_metadata ..."
406
- end
407
- # verify the required parameter 'input_file' is set
408
- if @api_client.config.client_side_validation && input_file.nil?
409
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_get_metadata"
410
- end
411
- # resource path
412
- local_var_path = "/convert/edit/pdf/get-metadata"
413
-
414
- # query parameters
415
- query_params = {}
416
-
417
- # header parameters
418
- header_params = {}
419
- # HTTP header 'Accept' (if needed)
420
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
421
- # HTTP header 'Content-Type'
422
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
423
-
424
- # form parameters
425
- form_params = {}
426
- form_params["inputFile"] = input_file
427
-
428
- # http body (model)
429
- post_body = nil
430
- auth_names = ['Apikey']
431
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
432
- :header_params => header_params,
433
- :query_params => query_params,
434
- :form_params => form_params,
435
- :body => post_body,
436
- :auth_names => auth_names,
437
- :return_type => 'PdfMetadata')
438
- if @api_client.config.debugging
439
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_get_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
440
- end
441
- return data, status_code, headers
442
- end
443
-
444
- # Get text in a PDF document by page
445
- # Gets the text in a PDF by page
446
- # @param input_file Input file to perform the operation on.
447
- # @param [Hash] opts the optional parameters
448
- # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting the document to text. Possible values are &#39;preserveWhitespace&#39; which will attempt to preserve whitespace in the document and relative positioning of text within the document, and &#39;minimizeWhitespace&#39; which will not insert additional spaces into the document in most cases. Default is &#39;preserveWhitespace&#39;.
449
- # @return [PdfTextByPageResult]
450
- def edit_pdf_get_pdf_text_by_pages(input_file, opts = {})
451
- data, _status_code, _headers = edit_pdf_get_pdf_text_by_pages_with_http_info(input_file, opts)
452
- return data
453
- end
454
-
455
- # Get text in a PDF document by page
456
- # Gets the text in a PDF by page
457
- # @param input_file Input file to perform the operation on.
458
- # @param [Hash] opts the optional parameters
459
- # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting the document to text. Possible values are &#39;preserveWhitespace&#39; which will attempt to preserve whitespace in the document and relative positioning of text within the document, and &#39;minimizeWhitespace&#39; which will not insert additional spaces into the document in most cases. Default is &#39;preserveWhitespace&#39;.
460
- # @return [Array<(PdfTextByPageResult, Fixnum, Hash)>] PdfTextByPageResult data, response status code and response headers
461
- def edit_pdf_get_pdf_text_by_pages_with_http_info(input_file, opts = {})
462
- if @api_client.config.debugging
463
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_get_pdf_text_by_pages ..."
464
- end
465
- # verify the required parameter 'input_file' is set
466
- if @api_client.config.client_side_validation && input_file.nil?
467
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_get_pdf_text_by_pages"
468
- end
469
- # resource path
470
- local_var_path = "/convert/edit/pdf/pages/get-text"
471
-
472
- # query parameters
473
- query_params = {}
474
-
475
- # header parameters
476
- header_params = {}
477
- # HTTP header 'Accept' (if needed)
478
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
479
- # HTTP header 'Content-Type'
480
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
481
- header_params[:'textFormattingMode'] = opts[:'text_formatting_mode'] if !opts[:'text_formatting_mode'].nil?
482
-
483
- # form parameters
484
- form_params = {}
485
- form_params["inputFile"] = input_file
486
-
487
- # http body (model)
488
- post_body = nil
489
- auth_names = ['Apikey']
490
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
491
- :header_params => header_params,
492
- :query_params => query_params,
493
- :form_params => form_params,
494
- :body => post_body,
495
- :auth_names => auth_names,
496
- :return_type => 'PdfTextByPageResult')
497
- if @api_client.config.debugging
498
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_get_pdf_text_by_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
499
- end
500
- return data, status_code, headers
501
- end
502
-
503
- # Insert, copy pages from one PDF document into another
504
- # Copy one or more pages from one PDF document (source document) and insert them into a second PDF document (destination document).
505
- # @param source_file Source PDF file to copy pages from.
506
- # @param destination_file Destination PDF file to copy pages into.
507
- # @param page_start_source Page number (1 based) to start copying pages from (inclusive) in the Source file.
508
- # @param page_end_source Page number (1 based) to stop copying pages pages from (inclusive) in the Source file.
509
- # @param page_insert_before_desitnation Page number (1 based) to insert the pages before in the Destination file.
510
- # @param [Hash] opts the optional parameters
511
- # @return [String]
512
- def edit_pdf_insert_pages(source_file, destination_file, page_start_source, page_end_source, page_insert_before_desitnation, opts = {})
513
- data, _status_code, _headers = edit_pdf_insert_pages_with_http_info(source_file, destination_file, page_start_source, page_end_source, page_insert_before_desitnation, opts)
514
- return data
515
- end
516
-
517
- # Insert, copy pages from one PDF document into another
518
- # Copy one or more pages from one PDF document (source document) and insert them into a second PDF document (destination document).
519
- # @param source_file Source PDF file to copy pages from.
520
- # @param destination_file Destination PDF file to copy pages into.
521
- # @param page_start_source Page number (1 based) to start copying pages from (inclusive) in the Source file.
522
- # @param page_end_source Page number (1 based) to stop copying pages pages from (inclusive) in the Source file.
523
- # @param page_insert_before_desitnation Page number (1 based) to insert the pages before in the Destination file.
524
- # @param [Hash] opts the optional parameters
525
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
526
- def edit_pdf_insert_pages_with_http_info(source_file, destination_file, page_start_source, page_end_source, page_insert_before_desitnation, opts = {})
527
- if @api_client.config.debugging
528
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_insert_pages ..."
529
- end
530
- # verify the required parameter 'source_file' is set
531
- if @api_client.config.client_side_validation && source_file.nil?
532
- fail ArgumentError, "Missing the required parameter 'source_file' when calling EditPdfApi.edit_pdf_insert_pages"
533
- end
534
- # verify the required parameter 'destination_file' is set
535
- if @api_client.config.client_side_validation && destination_file.nil?
536
- fail ArgumentError, "Missing the required parameter 'destination_file' when calling EditPdfApi.edit_pdf_insert_pages"
537
- end
538
- # verify the required parameter 'page_start_source' is set
539
- if @api_client.config.client_side_validation && page_start_source.nil?
540
- fail ArgumentError, "Missing the required parameter 'page_start_source' when calling EditPdfApi.edit_pdf_insert_pages"
541
- end
542
- # verify the required parameter 'page_end_source' is set
543
- if @api_client.config.client_side_validation && page_end_source.nil?
544
- fail ArgumentError, "Missing the required parameter 'page_end_source' when calling EditPdfApi.edit_pdf_insert_pages"
545
- end
546
- # verify the required parameter 'page_insert_before_desitnation' is set
547
- if @api_client.config.client_side_validation && page_insert_before_desitnation.nil?
548
- fail ArgumentError, "Missing the required parameter 'page_insert_before_desitnation' when calling EditPdfApi.edit_pdf_insert_pages"
549
- end
550
- # resource path
551
- local_var_path = "/convert/edit/pdf/pages/insert"
552
-
553
- # query parameters
554
- query_params = {}
555
-
556
- # header parameters
557
- header_params = {}
558
- # HTTP header 'Accept' (if needed)
559
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
560
- # HTTP header 'Content-Type'
561
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
562
- header_params[:'pageStartSource'] = page_start_source
563
- header_params[:'pageEndSource'] = page_end_source
564
- header_params[:'pageInsertBeforeDesitnation'] = page_insert_before_desitnation
565
-
566
- # form parameters
567
- form_params = {}
568
- form_params["sourceFile"] = source_file
569
- form_params["destinationFile"] = destination_file
570
-
571
- # http body (model)
572
- post_body = nil
573
- auth_names = ['Apikey']
574
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
575
- :header_params => header_params,
576
- :query_params => query_params,
577
- :form_params => form_params,
578
- :body => post_body,
579
- :auth_names => auth_names,
580
- :return_type => 'String')
581
- if @api_client.config.debugging
582
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_insert_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
583
- end
584
- return data, status_code, headers
585
- end
586
-
587
- # Rasterize a PDF to an image-based PDF
588
- # Rasterize a PDF into an image-based PDF. The output is a PDF where each page is comprised of a high-resolution image, with all text, figures and other components removed.
589
- # @param input_file Input file to perform the operation on.
590
- # @param [Hash] opts the optional parameters
591
- # @return [String]
592
- def edit_pdf_rasterize(input_file, opts = {})
593
- data, _status_code, _headers = edit_pdf_rasterize_with_http_info(input_file, opts)
594
- return data
595
- end
596
-
597
- # Rasterize a PDF to an image-based PDF
598
- # Rasterize a PDF into an image-based PDF. The output is a PDF where each page is comprised of a high-resolution image, with all text, figures and other components removed.
599
- # @param input_file Input file to perform the operation on.
600
- # @param [Hash] opts the optional parameters
601
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
602
- def edit_pdf_rasterize_with_http_info(input_file, opts = {})
603
- if @api_client.config.debugging
604
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_rasterize ..."
605
- end
606
- # verify the required parameter 'input_file' is set
607
- if @api_client.config.client_side_validation && input_file.nil?
608
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_rasterize"
609
- end
610
- # resource path
611
- local_var_path = "/convert/edit/pdf/rasterize"
612
-
613
- # query parameters
614
- query_params = {}
615
-
616
- # header parameters
617
- header_params = {}
618
- # HTTP header 'Accept' (if needed)
619
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
620
- # HTTP header 'Content-Type'
621
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
622
-
623
- # form parameters
624
- form_params = {}
625
- form_params["inputFile"] = input_file
626
-
627
- # http body (model)
628
- post_body = nil
629
- auth_names = ['Apikey']
630
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
631
- :header_params => header_params,
632
- :query_params => query_params,
633
- :form_params => form_params,
634
- :body => post_body,
635
- :auth_names => auth_names,
636
- :return_type => 'String')
637
- if @api_client.config.debugging
638
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_rasterize\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
639
- end
640
- return data, status_code, headers
641
- end
642
-
643
- # Remove all PDF annotations, including comments in the document
644
- # Removes all of the annotations, including comments and notes, in a PDF document.
645
- # @param input_file Input file to perform the operation on.
646
- # @param [Hash] opts the optional parameters
647
- # @return [String]
648
- def edit_pdf_remove_all_annotations(input_file, opts = {})
649
- data, _status_code, _headers = edit_pdf_remove_all_annotations_with_http_info(input_file, opts)
650
- return data
651
- end
652
-
653
- # Remove all PDF annotations, including comments in the document
654
- # Removes all of the annotations, including comments and notes, in a PDF document.
655
- # @param input_file Input file to perform the operation on.
656
- # @param [Hash] opts the optional parameters
657
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
658
- def edit_pdf_remove_all_annotations_with_http_info(input_file, opts = {})
659
- if @api_client.config.debugging
660
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_remove_all_annotations ..."
661
- end
662
- # verify the required parameter 'input_file' is set
663
- if @api_client.config.client_side_validation && input_file.nil?
664
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_remove_all_annotations"
665
- end
666
- # resource path
667
- local_var_path = "/convert/edit/pdf/annotations/remove-all"
668
-
669
- # query parameters
670
- query_params = {}
671
-
672
- # header parameters
673
- header_params = {}
674
- # HTTP header 'Accept' (if needed)
675
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
676
- # HTTP header 'Content-Type'
677
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
678
-
679
- # form parameters
680
- form_params = {}
681
- form_params["inputFile"] = input_file
682
-
683
- # http body (model)
684
- post_body = nil
685
- auth_names = ['Apikey']
686
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
687
- :header_params => header_params,
688
- :query_params => query_params,
689
- :form_params => form_params,
690
- :body => post_body,
691
- :auth_names => auth_names,
692
- :return_type => 'String')
693
- if @api_client.config.debugging
694
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_remove_all_annotations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
695
- end
696
- return data, status_code, headers
697
- end
698
-
699
- # Remove a specific PDF annotation, comment in the document
700
- # Removes a specific annotation in a PDF document, using the AnnotationIndex. To enumerate AnnotationIndex for all of the annotations in the PDF document, use the /edit/pdf/annotations/list API.
701
- # @param input_file Input file to perform the operation on.
702
- # @param annotation_index The 0-based index of the annotation in the document
703
- # @param [Hash] opts the optional parameters
704
- # @return [String]
705
- def edit_pdf_remove_annotation_item(input_file, annotation_index, opts = {})
706
- data, _status_code, _headers = edit_pdf_remove_annotation_item_with_http_info(input_file, annotation_index, opts)
707
- return data
708
- end
709
-
710
- # Remove a specific PDF annotation, comment in the document
711
- # Removes a specific annotation in a PDF document, using the AnnotationIndex. To enumerate AnnotationIndex for all of the annotations in the PDF document, use the /edit/pdf/annotations/list API.
712
- # @param input_file Input file to perform the operation on.
713
- # @param annotation_index The 0-based index of the annotation in the document
714
- # @param [Hash] opts the optional parameters
715
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
716
- def edit_pdf_remove_annotation_item_with_http_info(input_file, annotation_index, opts = {})
717
- if @api_client.config.debugging
718
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_remove_annotation_item ..."
719
- end
720
- # verify the required parameter 'input_file' is set
721
- if @api_client.config.client_side_validation && input_file.nil?
722
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_remove_annotation_item"
723
- end
724
- # verify the required parameter 'annotation_index' is set
725
- if @api_client.config.client_side_validation && annotation_index.nil?
726
- fail ArgumentError, "Missing the required parameter 'annotation_index' when calling EditPdfApi.edit_pdf_remove_annotation_item"
727
- end
728
- # resource path
729
- local_var_path = "/convert/edit/pdf/annotations/remove-item"
730
-
731
- # query parameters
732
- query_params = {}
733
-
734
- # header parameters
735
- header_params = {}
736
- # HTTP header 'Accept' (if needed)
737
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
738
- # HTTP header 'Content-Type'
739
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
740
- header_params[:'annotationIndex'] = annotation_index
741
-
742
- # form parameters
743
- form_params = {}
744
- form_params["inputFile"] = input_file
745
-
746
- # http body (model)
747
- post_body = nil
748
- auth_names = ['Apikey']
749
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
750
- :header_params => header_params,
751
- :query_params => query_params,
752
- :form_params => form_params,
753
- :body => post_body,
754
- :auth_names => auth_names,
755
- :return_type => 'String')
756
- if @api_client.config.debugging
757
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_remove_annotation_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
758
- end
759
- return data, status_code, headers
760
- end
761
-
762
- # Rotate all pages in a PDF document
763
- # Rotate all of the pages in a PDF document by a multiple of 90 degrees
764
- # @param input_file Input file to perform the operation on.
765
- # @param rotation_angle The angle to rotate the page in degrees, must be a multiple of 90 degrees, e.g. 90, 180, 270, or -90, -180, -270, etc.
766
- # @param [Hash] opts the optional parameters
767
- # @return [String]
768
- def edit_pdf_rotate_all_pages(input_file, rotation_angle, opts = {})
769
- data, _status_code, _headers = edit_pdf_rotate_all_pages_with_http_info(input_file, rotation_angle, opts)
770
- return data
771
- end
772
-
773
- # Rotate all pages in a PDF document
774
- # Rotate all of the pages in a PDF document by a multiple of 90 degrees
775
- # @param input_file Input file to perform the operation on.
776
- # @param rotation_angle The angle to rotate the page in degrees, must be a multiple of 90 degrees, e.g. 90, 180, 270, or -90, -180, -270, etc.
777
- # @param [Hash] opts the optional parameters
778
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
779
- def edit_pdf_rotate_all_pages_with_http_info(input_file, rotation_angle, opts = {})
780
- if @api_client.config.debugging
781
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_rotate_all_pages ..."
782
- end
783
- # verify the required parameter 'input_file' is set
784
- if @api_client.config.client_side_validation && input_file.nil?
785
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_rotate_all_pages"
786
- end
787
- # verify the required parameter 'rotation_angle' is set
788
- if @api_client.config.client_side_validation && rotation_angle.nil?
789
- fail ArgumentError, "Missing the required parameter 'rotation_angle' when calling EditPdfApi.edit_pdf_rotate_all_pages"
790
- end
791
- # resource path
792
- local_var_path = "/convert/edit/pdf/pages/rotate/all"
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
- header_params[:'rotationAngle'] = rotation_angle
804
-
805
- # form parameters
806
- form_params = {}
807
- form_params["inputFile"] = input_file
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: EditPdfApi#edit_pdf_rotate_all_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
821
- end
822
- return data, status_code, headers
823
- end
824
-
825
- # Rotate a range, subset of pages in a PDF document
826
- # Rotate a range of specific pages in a PDF document by a multiple of 90 degrees
827
- # @param input_file Input file to perform the operation on.
828
- # @param rotation_angle The angle to rotate the page in degrees, must be a multiple of 90 degrees, e.g. 90, 180, 270, or -90, -180, -270, etc.
829
- # @param page_start Page number (1 based) to start rotating pages from (inclusive).
830
- # @param page_end Page number (1 based) to stop rotating pages from (inclusive).
831
- # @param [Hash] opts the optional parameters
832
- # @return [String]
833
- def edit_pdf_rotate_page_range(input_file, rotation_angle, page_start, page_end, opts = {})
834
- data, _status_code, _headers = edit_pdf_rotate_page_range_with_http_info(input_file, rotation_angle, page_start, page_end, opts)
835
- return data
836
- end
837
-
838
- # Rotate a range, subset of pages in a PDF document
839
- # Rotate a range of specific pages in a PDF document by a multiple of 90 degrees
840
- # @param input_file Input file to perform the operation on.
841
- # @param rotation_angle The angle to rotate the page in degrees, must be a multiple of 90 degrees, e.g. 90, 180, 270, or -90, -180, -270, etc.
842
- # @param page_start Page number (1 based) to start rotating pages from (inclusive).
843
- # @param page_end Page number (1 based) to stop rotating pages from (inclusive).
844
- # @param [Hash] opts the optional parameters
845
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
846
- def edit_pdf_rotate_page_range_with_http_info(input_file, rotation_angle, page_start, page_end, opts = {})
847
- if @api_client.config.debugging
848
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_rotate_page_range ..."
849
- end
850
- # verify the required parameter 'input_file' is set
851
- if @api_client.config.client_side_validation && input_file.nil?
852
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_rotate_page_range"
853
- end
854
- # verify the required parameter 'rotation_angle' is set
855
- if @api_client.config.client_side_validation && rotation_angle.nil?
856
- fail ArgumentError, "Missing the required parameter 'rotation_angle' when calling EditPdfApi.edit_pdf_rotate_page_range"
857
- end
858
- # verify the required parameter 'page_start' is set
859
- if @api_client.config.client_side_validation && page_start.nil?
860
- fail ArgumentError, "Missing the required parameter 'page_start' when calling EditPdfApi.edit_pdf_rotate_page_range"
861
- end
862
- # verify the required parameter 'page_end' is set
863
- if @api_client.config.client_side_validation && page_end.nil?
864
- fail ArgumentError, "Missing the required parameter 'page_end' when calling EditPdfApi.edit_pdf_rotate_page_range"
865
- end
866
- # resource path
867
- local_var_path = "/convert/edit/pdf/pages/rotate/page-range"
868
-
869
- # query parameters
870
- query_params = {}
871
-
872
- # header parameters
873
- header_params = {}
874
- # HTTP header 'Accept' (if needed)
875
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
876
- # HTTP header 'Content-Type'
877
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
878
- header_params[:'rotationAngle'] = rotation_angle
879
- header_params[:'pageStart'] = page_start
880
- header_params[:'pageEnd'] = page_end
881
-
882
- # form parameters
883
- form_params = {}
884
- form_params["inputFile"] = input_file
885
-
886
- # http body (model)
887
- post_body = nil
888
- auth_names = ['Apikey']
889
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
890
- :header_params => header_params,
891
- :query_params => query_params,
892
- :form_params => form_params,
893
- :body => post_body,
894
- :auth_names => auth_names,
895
- :return_type => 'String')
896
- if @api_client.config.debugging
897
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_rotate_page_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
898
- end
899
- return data, status_code, headers
900
- end
901
-
902
- # Sets ands fills PDF Form field values
903
- # Fill in the form fields in a PDF form with specific values. Use form/get-fields to enumerate the available fields and their data types in an input form.
904
- # @param field_values
905
- # @param [Hash] opts the optional parameters
906
- # @return [String]
907
- def edit_pdf_set_form_fields(field_values, opts = {})
908
- data, _status_code, _headers = edit_pdf_set_form_fields_with_http_info(field_values, opts)
909
- return data
910
- end
911
-
912
- # Sets ands fills PDF Form field values
913
- # Fill in the form fields in a PDF form with specific values. Use form/get-fields to enumerate the available fields and their data types in an input form.
914
- # @param field_values
915
- # @param [Hash] opts the optional parameters
916
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
917
- def edit_pdf_set_form_fields_with_http_info(field_values, opts = {})
918
- if @api_client.config.debugging
919
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_set_form_fields ..."
920
- end
921
- # verify the required parameter 'field_values' is set
922
- if @api_client.config.client_side_validation && field_values.nil?
923
- fail ArgumentError, "Missing the required parameter 'field_values' when calling EditPdfApi.edit_pdf_set_form_fields"
924
- end
925
- # resource path
926
- local_var_path = "/convert/edit/pdf/form/set-fields"
927
-
928
- # query parameters
929
- query_params = {}
930
-
931
- # header parameters
932
- header_params = {}
933
- # HTTP header 'Accept' (if needed)
934
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
935
- # HTTP header 'Content-Type'
936
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
937
-
938
- # form parameters
939
- form_params = {}
940
-
941
- # http body (model)
942
- post_body = @api_client.object_to_http_body(field_values)
943
- auth_names = ['Apikey']
944
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
945
- :header_params => header_params,
946
- :query_params => query_params,
947
- :form_params => form_params,
948
- :body => post_body,
949
- :auth_names => auth_names,
950
- :return_type => 'String')
951
- if @api_client.config.debugging
952
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_set_form_fields\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
953
- end
954
- return data, status_code, headers
955
- end
956
-
957
- # Sets PDF document metadata
958
- # Sets (writes) metadata into the input PDF document, including Title, Author, etc.
959
- # @param request
960
- # @param [Hash] opts the optional parameters
961
- # @return [String]
962
- def edit_pdf_set_metadata(request, opts = {})
963
- data, _status_code, _headers = edit_pdf_set_metadata_with_http_info(request, opts)
964
- return data
965
- end
966
-
967
- # Sets PDF document metadata
968
- # Sets (writes) metadata into the input PDF document, including Title, Author, etc.
969
- # @param request
970
- # @param [Hash] opts the optional parameters
971
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
972
- def edit_pdf_set_metadata_with_http_info(request, opts = {})
973
- if @api_client.config.debugging
974
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_set_metadata ..."
975
- end
976
- # verify the required parameter 'request' is set
977
- if @api_client.config.client_side_validation && request.nil?
978
- fail ArgumentError, "Missing the required parameter 'request' when calling EditPdfApi.edit_pdf_set_metadata"
979
- end
980
- # resource path
981
- local_var_path = "/convert/edit/pdf/set-metadata"
982
-
983
- # query parameters
984
- query_params = {}
985
-
986
- # header parameters
987
- header_params = {}
988
- # HTTP header 'Accept' (if needed)
989
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
990
- # HTTP header 'Content-Type'
991
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
992
-
993
- # form parameters
994
- form_params = {}
995
-
996
- # http body (model)
997
- post_body = @api_client.object_to_http_body(request)
998
- auth_names = ['Apikey']
999
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1000
- :header_params => header_params,
1001
- :query_params => query_params,
1002
- :form_params => form_params,
1003
- :body => post_body,
1004
- :auth_names => auth_names,
1005
- :return_type => 'String')
1006
- if @api_client.config.debugging
1007
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_set_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1008
- end
1009
- return data, status_code, headers
1010
- end
1011
-
1012
- # Encrypt, password-protect and set restricted permissions on a PDF
1013
- # Encrypt a PDF document with a password, and set permissions on the PDF. Set an owner password to control owner (editor/creator) permissions [required], and set a user (reader) password to control the viewer of the PDF [optional]. Set the reader password to null to omit the password. Restrict or allow printing, copying content, document assembly, editing (read-only), form filling, modification of annotations, and degraded printing through document Digital Rights Management (DRM).
1014
- # @param owner_password Password of a owner (creator/editor) of the PDF file (required)
1015
- # @param user_password Password of a user (reader) of the PDF file (optional)
1016
- # @param input_file Input file to perform the operation on.
1017
- # @param [Hash] opts the optional parameters
1018
- # @option opts [String] :encryption_key_length Possible values are \&quot;128\&quot; (128-bit RC4 encryption) and \&quot;256\&quot; (256-bit AES encryption). Default is 256.
1019
- # @option opts [BOOLEAN] :allow_printing Set to false to disable printing through DRM. Default is true.
1020
- # @option opts [BOOLEAN] :allow_document_assembly Set to false to disable document assembly through DRM. Default is true.
1021
- # @option opts [BOOLEAN] :allow_content_extraction Set to false to disable copying/extracting content out of the PDF through DRM. Default is true.
1022
- # @option opts [BOOLEAN] :allow_form_filling Set to false to disable filling out form fields in the PDF through DRM. Default is true.
1023
- # @option opts [BOOLEAN] :allow_editing Set to false to disable editing in the PDF through DRM (making the PDF read-only). Default is true.
1024
- # @option opts [BOOLEAN] :allow_annotations Set to false to disable annotations and editing of annotations in the PDF through DRM. Default is true.
1025
- # @option opts [BOOLEAN] :allow_degraded_printing Set to false to disable degraded printing of the PDF through DRM. Default is true.
1026
- # @return [String]
1027
- def edit_pdf_set_permissions(owner_password, user_password, input_file, opts = {})
1028
- data, _status_code, _headers = edit_pdf_set_permissions_with_http_info(owner_password, user_password, input_file, opts)
1029
- return data
1030
- end
1031
-
1032
- # Encrypt, password-protect and set restricted permissions on a PDF
1033
- # Encrypt a PDF document with a password, and set permissions on the PDF. Set an owner password to control owner (editor/creator) permissions [required], and set a user (reader) password to control the viewer of the PDF [optional]. Set the reader password to null to omit the password. Restrict or allow printing, copying content, document assembly, editing (read-only), form filling, modification of annotations, and degraded printing through document Digital Rights Management (DRM).
1034
- # @param owner_password Password of a owner (creator/editor) of the PDF file (required)
1035
- # @param user_password Password of a user (reader) of the PDF file (optional)
1036
- # @param input_file Input file to perform the operation on.
1037
- # @param [Hash] opts the optional parameters
1038
- # @option opts [String] :encryption_key_length Possible values are \&quot;128\&quot; (128-bit RC4 encryption) and \&quot;256\&quot; (256-bit AES encryption). Default is 256.
1039
- # @option opts [BOOLEAN] :allow_printing Set to false to disable printing through DRM. Default is true.
1040
- # @option opts [BOOLEAN] :allow_document_assembly Set to false to disable document assembly through DRM. Default is true.
1041
- # @option opts [BOOLEAN] :allow_content_extraction Set to false to disable copying/extracting content out of the PDF through DRM. Default is true.
1042
- # @option opts [BOOLEAN] :allow_form_filling Set to false to disable filling out form fields in the PDF through DRM. Default is true.
1043
- # @option opts [BOOLEAN] :allow_editing Set to false to disable editing in the PDF through DRM (making the PDF read-only). Default is true.
1044
- # @option opts [BOOLEAN] :allow_annotations Set to false to disable annotations and editing of annotations in the PDF through DRM. Default is true.
1045
- # @option opts [BOOLEAN] :allow_degraded_printing Set to false to disable degraded printing of the PDF through DRM. Default is true.
1046
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1047
- def edit_pdf_set_permissions_with_http_info(owner_password, user_password, input_file, opts = {})
1048
- if @api_client.config.debugging
1049
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_set_permissions ..."
1050
- end
1051
- # verify the required parameter 'owner_password' is set
1052
- if @api_client.config.client_side_validation && owner_password.nil?
1053
- fail ArgumentError, "Missing the required parameter 'owner_password' when calling EditPdfApi.edit_pdf_set_permissions"
1054
- end
1055
- # verify the required parameter 'user_password' is set
1056
- if @api_client.config.client_side_validation && user_password.nil?
1057
- fail ArgumentError, "Missing the required parameter 'user_password' when calling EditPdfApi.edit_pdf_set_permissions"
1058
- end
1059
- # verify the required parameter 'input_file' is set
1060
- if @api_client.config.client_side_validation && input_file.nil?
1061
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_set_permissions"
1062
- end
1063
- # resource path
1064
- local_var_path = "/convert/edit/pdf/encrypt/set-permissions"
1065
-
1066
- # query parameters
1067
- query_params = {}
1068
-
1069
- # header parameters
1070
- header_params = {}
1071
- # HTTP header 'Accept' (if needed)
1072
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1073
- # HTTP header 'Content-Type'
1074
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1075
- header_params[:'ownerPassword'] = owner_password
1076
- header_params[:'userPassword'] = user_password
1077
- header_params[:'encryptionKeyLength'] = opts[:'encryption_key_length'] if !opts[:'encryption_key_length'].nil?
1078
- header_params[:'allowPrinting'] = opts[:'allow_printing'] if !opts[:'allow_printing'].nil?
1079
- header_params[:'allowDocumentAssembly'] = opts[:'allow_document_assembly'] if !opts[:'allow_document_assembly'].nil?
1080
- header_params[:'allowContentExtraction'] = opts[:'allow_content_extraction'] if !opts[:'allow_content_extraction'].nil?
1081
- header_params[:'allowFormFilling'] = opts[:'allow_form_filling'] if !opts[:'allow_form_filling'].nil?
1082
- header_params[:'allowEditing'] = opts[:'allow_editing'] if !opts[:'allow_editing'].nil?
1083
- header_params[:'allowAnnotations'] = opts[:'allow_annotations'] if !opts[:'allow_annotations'].nil?
1084
- header_params[:'allowDegradedPrinting'] = opts[:'allow_degraded_printing'] if !opts[:'allow_degraded_printing'].nil?
1085
-
1086
- # form parameters
1087
- form_params = {}
1088
- form_params["inputFile"] = input_file
1089
-
1090
- # http body (model)
1091
- post_body = nil
1092
- auth_names = ['Apikey']
1093
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1094
- :header_params => header_params,
1095
- :query_params => query_params,
1096
- :form_params => form_params,
1097
- :body => post_body,
1098
- :auth_names => auth_names,
1099
- :return_type => 'String')
1100
- if @api_client.config.debugging
1101
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_set_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1102
- end
1103
- return data, status_code, headers
1104
- end
1105
-
1106
- # Add a text watermark to a PDF
1107
- # Adds a text watermark to a PDF
1108
- # @param watermark_text Watermark text to add to the PDF (required)
1109
- # @param input_file Input file to perform the operation on.
1110
- # @param [Hash] opts the optional parameters
1111
- # @option opts [String] :font_name Font Family Name for the watermark text; default is Times New Roman
1112
- # @option opts [Float] :font_size Font Size in points of the text; default is 150
1113
- # @option opts [String] :font_color Font color in hexadecimal or HTML color name; default is Red
1114
- # @option opts [Float] :font_transparency Font transparency between 0.0 (completely transparent) to 1.0 (fully opaque); default is 0.5
1115
- # @return [String]
1116
- def edit_pdf_watermark_text(watermark_text, input_file, opts = {})
1117
- data, _status_code, _headers = edit_pdf_watermark_text_with_http_info(watermark_text, input_file, opts)
1118
- return data
1119
- end
1120
-
1121
- # Add a text watermark to a PDF
1122
- # Adds a text watermark to a PDF
1123
- # @param watermark_text Watermark text to add to the PDF (required)
1124
- # @param input_file Input file to perform the operation on.
1125
- # @param [Hash] opts the optional parameters
1126
- # @option opts [String] :font_name Font Family Name for the watermark text; default is Times New Roman
1127
- # @option opts [Float] :font_size Font Size in points of the text; default is 150
1128
- # @option opts [String] :font_color Font color in hexadecimal or HTML color name; default is Red
1129
- # @option opts [Float] :font_transparency Font transparency between 0.0 (completely transparent) to 1.0 (fully opaque); default is 0.5
1130
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1131
- def edit_pdf_watermark_text_with_http_info(watermark_text, input_file, opts = {})
1132
- if @api_client.config.debugging
1133
- @api_client.config.logger.debug "Calling API: EditPdfApi.edit_pdf_watermark_text ..."
1134
- end
1135
- # verify the required parameter 'watermark_text' is set
1136
- if @api_client.config.client_side_validation && watermark_text.nil?
1137
- fail ArgumentError, "Missing the required parameter 'watermark_text' when calling EditPdfApi.edit_pdf_watermark_text"
1138
- end
1139
- # verify the required parameter 'input_file' is set
1140
- if @api_client.config.client_side_validation && input_file.nil?
1141
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditPdfApi.edit_pdf_watermark_text"
1142
- end
1143
- # resource path
1144
- local_var_path = "/convert/edit/pdf/watermark/text"
1145
-
1146
- # query parameters
1147
- query_params = {}
1148
-
1149
- # header parameters
1150
- header_params = {}
1151
- # HTTP header 'Accept' (if needed)
1152
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1153
- # HTTP header 'Content-Type'
1154
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1155
- header_params[:'watermarkText'] = watermark_text
1156
- header_params[:'fontName'] = opts[:'font_name'] if !opts[:'font_name'].nil?
1157
- header_params[:'fontSize'] = opts[:'font_size'] if !opts[:'font_size'].nil?
1158
- header_params[:'fontColor'] = opts[:'font_color'] if !opts[:'font_color'].nil?
1159
- header_params[:'fontTransparency'] = opts[:'font_transparency'] if !opts[:'font_transparency'].nil?
1160
-
1161
- # form parameters
1162
- form_params = {}
1163
- form_params["inputFile"] = input_file
1164
-
1165
- # http body (model)
1166
- post_body = nil
1167
- auth_names = ['Apikey']
1168
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1169
- :header_params => header_params,
1170
- :query_params => query_params,
1171
- :form_params => form_params,
1172
- :body => post_body,
1173
- :auth_names => auth_names,
1174
- :return_type => 'String')
1175
- if @api_client.config.debugging
1176
- @api_client.config.logger.debug "API called: EditPdfApi#edit_pdf_watermark_text\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1177
- end
1178
- return data, status_code, headers
1179
- end
1180
- end
1181
- end