cloudmersive-convert-api-client 1.7.4 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (648) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -649
  3. data/Gemfile +0 -7
  4. data/README.md +0 -469
  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/Base64DecodeRequest.md +0 -8
  13. data/docs/Base64DecodeResponse.md +0 -9
  14. data/docs/Base64DetectRequest.md +0 -8
  15. data/docs/Base64DetectResponse.md +0 -9
  16. data/docs/Base64EncodeRequest.md +0 -8
  17. data/docs/Base64EncodeResponse.md +0 -9
  18. data/docs/ChangeLineEndingResponse.md +0 -9
  19. data/docs/ClearXlsxCellRequest.md +0 -12
  20. data/docs/ClearXlsxCellResponse.md +0 -9
  21. data/docs/CompareDocumentApi.md +0 -66
  22. data/docs/ConvertDataApi.md +0 -898
  23. data/docs/ConvertDocumentApi.md +0 -1754
  24. data/docs/ConvertImageApi.md +0 -243
  25. data/docs/ConvertTemplateApi.md +0 -122
  26. data/docs/ConvertWebApi.md +0 -448
  27. data/docs/ConvertedPngPage.md +0 -9
  28. data/docs/CreateBlankDocxRequest.md +0 -8
  29. data/docs/CreateBlankDocxResponse.md +0 -9
  30. data/docs/CreateBlankSpreadsheetRequest.md +0 -8
  31. data/docs/CreateBlankSpreadsheetResponse.md +0 -9
  32. data/docs/CreateSpreadsheetFromDataRequest.md +0 -9
  33. data/docs/CreateSpreadsheetFromDataResponse.md +0 -9
  34. data/docs/CreateZipArchiveRequest.md +0 -9
  35. data/docs/CsvCollection.md +0 -10
  36. data/docs/CsvFileResult.md +0 -9
  37. data/docs/DeleteDocxTableRowRangeRequest.md +0 -12
  38. data/docs/DeleteDocxTableRowRangeResponse.md +0 -9
  39. data/docs/DeleteDocxTableRowRequest.md +0 -11
  40. data/docs/DeleteDocxTableRowResponse.md +0 -9
  41. data/docs/DetectLineEndingsResponse.md +0 -11
  42. data/docs/DisableSharedWorkbookRequest.md +0 -9
  43. data/docs/DisableSharedWorkbookResponse.md +0 -9
  44. data/docs/DocumentValidationError.md +0 -11
  45. data/docs/DocumentValidationResult.md +0 -12
  46. data/docs/DocxBody.md +0 -10
  47. data/docs/DocxCellStyle.md +0 -11
  48. data/docs/DocxComment.md +0 -16
  49. data/docs/DocxFooter.md +0 -10
  50. data/docs/DocxHeader.md +0 -10
  51. data/docs/DocxImage.md +0 -20
  52. data/docs/DocxInsertCommentOnParagraphRequest.md +0 -11
  53. data/docs/DocxInsertImageRequest.md +0 -16
  54. data/docs/DocxInsertImageResponse.md +0 -9
  55. data/docs/DocxPage.md +0 -9
  56. data/docs/DocxParagraph.md +0 -11
  57. data/docs/DocxRemoveObjectRequest.md +0 -10
  58. data/docs/DocxRemoveObjectResponse.md +0 -9
  59. data/docs/DocxRun.md +0 -15
  60. data/docs/DocxSection.md +0 -9
  61. data/docs/DocxSetFooterAddPageNumberRequest.md +0 -10
  62. data/docs/DocxSetFooterRequest.md +0 -10
  63. data/docs/DocxSetFooterResponse.md +0 -9
  64. data/docs/DocxSetHeaderRequest.md +0 -10
  65. data/docs/DocxSetHeaderResponse.md +0 -9
  66. data/docs/DocxStyle.md +0 -14
  67. data/docs/DocxTable.md +0 -46
  68. data/docs/DocxTableCell.md +0 -15
  69. data/docs/DocxTableRow.md +0 -10
  70. data/docs/DocxTemplateApplicationRequest.md +0 -8
  71. data/docs/DocxTemplateOperation.md +0 -10
  72. data/docs/DocxText.md +0 -10
  73. data/docs/DocxTopLevelComment.md +0 -14
  74. data/docs/EditDocumentApi.md +0 -2648
  75. data/docs/EditPdfApi.md +0 -1083
  76. data/docs/EditTextApi.md +0 -726
  77. data/docs/EnableSharedWorkbookRequest.md +0 -9
  78. data/docs/EnableSharedWorkbookResponse.md +0 -9
  79. data/docs/ExifValue.md +0 -10
  80. data/docs/FindRegexMatch.md +0 -12
  81. data/docs/FindStringMatch.md +0 -10
  82. data/docs/FindStringRegexRequest.md +0 -10
  83. data/docs/FindStringRegexResponse.md +0 -10
  84. data/docs/FindStringSimpleRequest.md +0 -9
  85. data/docs/FindStringSimpleResponse.md +0 -10
  86. data/docs/FinishEditingRequest.md +0 -8
  87. data/docs/GetDocxBodyRequest.md +0 -9
  88. data/docs/GetDocxBodyResponse.md +0 -9
  89. data/docs/GetDocxCommentsHierarchicalResponse.md +0 -10
  90. data/docs/GetDocxCommentsResponse.md +0 -10
  91. data/docs/GetDocxGetCommentsHierarchicalRequest.md +0 -9
  92. data/docs/GetDocxGetCommentsRequest.md +0 -9
  93. data/docs/GetDocxHeadersAndFootersRequest.md +0 -9
  94. data/docs/GetDocxHeadersAndFootersResponse.md +0 -10
  95. data/docs/GetDocxImagesRequest.md +0 -9
  96. data/docs/GetDocxImagesResponse.md +0 -9
  97. data/docs/GetDocxPagesRequest.md +0 -10
  98. data/docs/GetDocxPagesResponse.md +0 -10
  99. data/docs/GetDocxSectionsRequest.md +0 -9
  100. data/docs/GetDocxSectionsResponse.md +0 -9
  101. data/docs/GetDocxStylesRequest.md +0 -9
  102. data/docs/GetDocxStylesResponse.md +0 -9
  103. data/docs/GetDocxTableByIndexRequest.md +0 -10
  104. data/docs/GetDocxTableByIndexResponse.md +0 -9
  105. data/docs/GetDocxTableRowRequest.md +0 -11
  106. data/docs/GetDocxTableRowResponse.md +0 -9
  107. data/docs/GetDocxTablesRequest.md +0 -9
  108. data/docs/GetDocxTablesResponse.md +0 -9
  109. data/docs/GetImageInfoResult.md +0 -24
  110. data/docs/GetPdfAnnotationsResult.md +0 -9
  111. data/docs/GetXlsxCellByIdentifierRequest.md +0 -11
  112. data/docs/GetXlsxCellByIdentifierResponse.md +0 -9
  113. data/docs/GetXlsxCellRequest.md +0 -12
  114. data/docs/GetXlsxCellResponse.md +0 -9
  115. data/docs/GetXlsxColumnsRequest.md +0 -10
  116. data/docs/GetXlsxColumnsResponse.md +0 -9
  117. data/docs/GetXlsxImagesRequest.md +0 -10
  118. data/docs/GetXlsxImagesResponse.md +0 -9
  119. data/docs/GetXlsxRowsAndCellsRequest.md +0 -10
  120. data/docs/GetXlsxRowsAndCellsResponse.md +0 -9
  121. data/docs/GetXlsxStylesRequest.md +0 -9
  122. data/docs/GetXlsxStylesResponse.md +0 -9
  123. data/docs/GetXlsxWorksheetsRequest.md +0 -9
  124. data/docs/GetXlsxWorksheetsResponse.md +0 -9
  125. data/docs/HtmlMdResult.md +0 -9
  126. data/docs/HtmlTemplateApplicationRequest.md +0 -10
  127. data/docs/HtmlTemplateApplicationResponse.md +0 -9
  128. data/docs/HtmlTemplateOperation.md +0 -10
  129. data/docs/HtmlToOfficeRequest.md +0 -8
  130. data/docs/HtmlToPdfRequest.md +0 -9
  131. data/docs/HtmlToPngRequest.md +0 -11
  132. data/docs/HtmlToTextRequest.md +0 -8
  133. data/docs/HtmlToTextResponse.md +0 -9
  134. data/docs/InsertDocxCommentOnParagraphResponse.md +0 -9
  135. data/docs/InsertDocxInsertParagraphRequest.md +0 -12
  136. data/docs/InsertDocxInsertParagraphResponse.md +0 -9
  137. data/docs/InsertDocxTableRowRequest.md +0 -12
  138. data/docs/InsertDocxTableRowResponse.md +0 -9
  139. data/docs/InsertDocxTablesRequest.md +0 -12
  140. data/docs/InsertDocxTablesResponse.md +0 -9
  141. data/docs/InsertXlsxWorksheetRequest.md +0 -10
  142. data/docs/InsertXlsxWorksheetResponse.md +0 -9
  143. data/docs/MergeDocumentApi.md +0 -812
  144. data/docs/MultipageImageFormatConversionResult.md +0 -10
  145. data/docs/PageConversionResult.md +0 -9
  146. data/docs/PdfAnnotation.md +0 -19
  147. data/docs/PdfDocument.md +0 -10
  148. data/docs/PdfFormField.md +0 -11
  149. data/docs/PdfFormFields.md +0 -9
  150. data/docs/PdfMetadata.md +0 -16
  151. data/docs/PdfPageText.md +0 -9
  152. data/docs/PdfTextByPageResult.md +0 -9
  153. data/docs/PdfToPngResult.md +0 -9
  154. data/docs/PresentationResult.md +0 -10
  155. data/docs/RemoveDocxHeadersAndFootersRequest.md +0 -11
  156. data/docs/RemoveDocxHeadersAndFootersResponse.md +0 -9
  157. data/docs/RemoveDocxPagesRequest.md +0 -11
  158. data/docs/RemoveHtmlFromTextRequest.md +0 -8
  159. data/docs/RemoveHtmlFromTextResponse.md +0 -9
  160. data/docs/RemovePptxSlidesRequest.md +0 -11
  161. data/docs/RemoveWhitespaceFromTextRequest.md +0 -8
  162. data/docs/RemoveWhitespaceFromTextResponse.md +0 -9
  163. data/docs/RemoveXlsxWorksheetRequest.md +0 -10
  164. data/docs/ReplaceStringRegexRequest.md +0 -10
  165. data/docs/ReplaceStringRegexResponse.md +0 -9
  166. data/docs/ReplaceStringRequest.md +0 -12
  167. data/docs/ReplaceStringSimpleRequest.md +0 -10
  168. data/docs/ReplaceStringSimpleResponse.md +0 -9
  169. data/docs/ScreenshotRequest.md +0 -11
  170. data/docs/SetFormFieldValue.md +0 -11
  171. data/docs/SetPdfFormFieldsRequest.md +0 -9
  172. data/docs/SetPdfMetadataRequest.md +0 -9
  173. data/docs/SetXlsxCellByIdentifierRequest.md +0 -12
  174. data/docs/SetXlsxCellByIdentifierResponse.md +0 -9
  175. data/docs/SetXlsxCellRequest.md +0 -13
  176. data/docs/SetXlsxCellResponse.md +0 -9
  177. data/docs/SplitDocumentApi.md +0 -361
  178. data/docs/SplitDocumentResult.md +0 -10
  179. data/docs/SplitDocxDocumentResult.md +0 -9
  180. data/docs/SplitPdfResult.md +0 -9
  181. data/docs/SplitPptxPresentationResult.md +0 -9
  182. data/docs/SplitTextDocumentByLinesResult.md +0 -10
  183. data/docs/SplitTextDocumentByStringResult.md +0 -10
  184. data/docs/SplitXlsxWorksheetResult.md +0 -9
  185. data/docs/TextConversionResult.md +0 -9
  186. data/docs/TextDocumentElement.md +0 -9
  187. data/docs/TextDocumentLine.md +0 -9
  188. data/docs/TextEncodingDetectResponse.md +0 -9
  189. data/docs/UpdateDocxTableCellRequest.md +0 -13
  190. data/docs/UpdateDocxTableCellResponse.md +0 -9
  191. data/docs/UpdateDocxTableRowRequest.md +0 -12
  192. data/docs/UpdateDocxTableRowResponse.md +0 -9
  193. data/docs/UrlToPdfRequest.md +0 -11
  194. data/docs/UrlToTextRequest.md +0 -8
  195. data/docs/UrlToTextResponse.md +0 -9
  196. data/docs/ValidateDocumentApi.md +0 -448
  197. data/docs/ViewerResponse.md +0 -9
  198. data/docs/ViewerToolsApi.md +0 -63
  199. data/docs/WorksheetResult.md +0 -11
  200. data/docs/XlsxImage.md +0 -12
  201. data/docs/XlsxSpreadsheetCell.md +0 -12
  202. data/docs/XlsxSpreadsheetColumn.md +0 -9
  203. data/docs/XlsxSpreadsheetRow.md +0 -9
  204. data/docs/XlsxWorksheet.md +0 -9
  205. data/docs/XmlAddAttributeWithXPathResult.md +0 -10
  206. data/docs/XmlAddChildWithXPathResult.md +0 -10
  207. data/docs/XmlFilterWithXPathResult.md +0 -10
  208. data/docs/XmlQueryWithXQueryMultiResult.md +0 -10
  209. data/docs/XmlQueryWithXQueryResult.md +0 -10
  210. data/docs/XmlRemoveAllChildrenWithXPathResult.md +0 -10
  211. data/docs/XmlRemoveWithXPathResult.md +0 -11
  212. data/docs/XmlReplaceWithXPathResult.md +0 -10
  213. data/docs/XmlSetValueWithXPathResult.md +0 -10
  214. data/docs/ZipArchiveApi.md +0 -167
  215. data/docs/ZipDirectory.md +0 -10
  216. data/docs/ZipExtractResponse.md +0 -10
  217. data/docs/ZipFile.md +0 -9
  218. data/git_push.sh +0 -55
  219. data/lib/cloudmersive-convert-api-client.rb +0 -250
  220. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +0 -86
  221. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +0 -978
  222. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +0 -1805
  223. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +0 -277
  224. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +0 -137
  225. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +0 -464
  226. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +0 -2664
  227. data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +0 -1181
  228. data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +0 -748
  229. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +0 -923
  230. data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +0 -381
  231. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +0 -471
  232. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +0 -79
  233. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +0 -181
  234. data/lib/cloudmersive-convert-api-client/api_client.rb +0 -389
  235. data/lib/cloudmersive-convert-api-client/api_error.rb +0 -38
  236. data/lib/cloudmersive-convert-api-client/configuration.rb +0 -209
  237. data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +0 -217
  238. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +0 -209
  239. data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +0 -230
  240. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +0 -251
  241. data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +0 -201
  242. data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +0 -189
  243. data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +0 -215
  244. data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +0 -189
  245. data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +0 -199
  246. data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +0 -205
  247. data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +0 -199
  248. data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +0 -199
  249. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +0 -245
  250. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +0 -199
  251. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +0 -199
  252. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +0 -189
  253. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +0 -199
  254. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +0 -189
  255. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +0 -199
  256. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +0 -201
  257. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +0 -199
  258. data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +0 -203
  259. data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +0 -211
  260. data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +0 -215
  261. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +0 -245
  262. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +0 -199
  263. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +0 -235
  264. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +0 -199
  265. data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +0 -219
  266. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +0 -215
  267. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +0 -199
  268. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +0 -219
  269. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +0 -231
  270. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +0 -213
  271. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +0 -219
  272. data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +0 -269
  273. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +0 -213
  274. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +0 -213
  275. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +0 -309
  276. data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +0 -235
  277. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +0 -301
  278. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +0 -199
  279. data/lib/cloudmersive-convert-api-client/models/docx_page.rb +0 -201
  280. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +0 -221
  281. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +0 -225
  282. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +0 -199
  283. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +0 -261
  284. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +0 -201
  285. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +0 -225
  286. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +0 -225
  287. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +0 -199
  288. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +0 -225
  289. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +0 -199
  290. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +0 -249
  291. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +0 -571
  292. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +0 -261
  293. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +0 -211
  294. data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +0 -191
  295. data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +0 -242
  296. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +0 -209
  297. data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +0 -251
  298. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +0 -215
  299. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +0 -199
  300. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +0 -209
  301. data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +0 -231
  302. data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +0 -209
  303. data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +0 -209
  304. data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +0 -211
  305. data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +0 -199
  306. data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +0 -211
  307. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +0 -189
  308. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +0 -215
  309. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +0 -199
  310. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +0 -211
  311. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +0 -211
  312. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +0 -215
  313. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +0 -215
  314. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +0 -215
  315. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +0 -211
  316. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +0 -215
  317. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +0 -201
  318. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +0 -225
  319. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +0 -211
  320. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +0 -215
  321. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +0 -201
  322. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +0 -215
  323. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +0 -201
  324. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +0 -225
  325. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +0 -199
  326. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +0 -235
  327. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +0 -199
  328. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +0 -215
  329. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +0 -201
  330. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +0 -350
  331. data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +0 -201
  332. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +0 -235
  333. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +0 -199
  334. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +0 -245
  335. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +0 -199
  336. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +0 -225
  337. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +0 -201
  338. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +0 -225
  339. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +0 -201
  340. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +0 -225
  341. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +0 -201
  342. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +0 -215
  343. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +0 -201
  344. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +0 -215
  345. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +0 -201
  346. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +0 -199
  347. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +0 -211
  348. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +0 -199
  349. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +0 -242
  350. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +0 -189
  351. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +0 -199
  352. data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +0 -219
  353. data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +0 -189
  354. data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +0 -199
  355. data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +0 -199
  356. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +0 -245
  357. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +0 -199
  358. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +0 -245
  359. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +0 -199
  360. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +0 -245
  361. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +0 -199
  362. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +0 -225
  363. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +0 -199
  364. data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +0 -211
  365. data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +0 -215
  366. data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +0 -299
  367. data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +0 -225
  368. data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +0 -219
  369. data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +0 -201
  370. data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +0 -269
  371. data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +0 -199
  372. data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +0 -201
  373. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +0 -201
  374. data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +0 -225
  375. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +0 -235
  376. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +0 -199
  377. data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +0 -235
  378. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +0 -189
  379. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +0 -199
  380. data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +0 -235
  381. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +0 -189
  382. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +0 -199
  383. data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +0 -225
  384. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +0 -209
  385. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +0 -199
  386. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +0 -245
  387. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +0 -209
  388. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +0 -199
  389. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +0 -219
  390. data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +0 -219
  391. data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +0 -217
  392. data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +0 -215
  393. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +0 -245
  394. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +0 -199
  395. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +0 -255
  396. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +0 -199
  397. data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +0 -225
  398. data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +0 -200
  399. data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +0 -201
  400. data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +0 -200
  401. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +0 -210
  402. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +0 -210
  403. data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +0 -200
  404. data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +0 -199
  405. data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +0 -199
  406. data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +0 -199
  407. data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +0 -199
  408. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +0 -255
  409. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +0 -199
  410. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +0 -245
  411. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +0 -199
  412. data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +0 -219
  413. data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +0 -189
  414. data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +0 -199
  415. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +0 -197
  416. data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +0 -235
  417. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +0 -229
  418. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +0 -228
  419. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +0 -199
  420. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +0 -201
  421. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +0 -199
  422. data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +0 -209
  423. data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +0 -209
  424. data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +0 -211
  425. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +0 -209
  426. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +0 -209
  427. data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +0 -209
  428. data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +0 -221
  429. data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +0 -209
  430. data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +0 -209
  431. data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +0 -213
  432. data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +0 -213
  433. data/lib/cloudmersive-convert-api-client/models/zip_file.rb +0 -215
  434. data/lib/cloudmersive-convert-api-client/version.rb +0 -15
  435. data/spec/api/compare_document_api_spec.rb +0 -48
  436. data/spec/api/convert_data_api_spec.rb +0 -239
  437. data/spec/api/convert_document_api_spec.rb +0 -421
  438. data/spec/api/convert_image_api_spec.rb +0 -88
  439. data/spec/api/convert_template_api_spec.rb +0 -60
  440. data/spec/api/convert_web_api_spec.rb +0 -131
  441. data/spec/api/edit_document_api_spec.rb +0 -611
  442. data/spec/api/edit_pdf_api_spec.rb +0 -282
  443. data/spec/api/edit_text_api_spec.rb +0 -192
  444. data/spec/api/merge_document_api_spec.rb +0 -239
  445. data/spec/api/split_document_api_spec.rb +0 -113
  446. data/spec/api/validate_document_api_spec.rb +0 -131
  447. data/spec/api/viewer_tools_api_spec.rb +0 -47
  448. data/spec/api/zip_archive_api_spec.rb +0 -70
  449. data/spec/api_client_spec.rb +0 -226
  450. data/spec/configuration_spec.rb +0 -42
  451. data/spec/models/add_pdf_annotation_request_spec.rb +0 -48
  452. data/spec/models/alternate_file_format_candidate_spec.rb +0 -54
  453. data/spec/models/autodetect_document_validation_result_spec.rb +0 -66
  454. data/spec/models/autodetect_get_info_result_spec.rb +0 -78
  455. data/spec/models/autodetect_to_png_result_spec.rb +0 -48
  456. data/spec/models/base64_decode_request_spec.rb +0 -42
  457. data/spec/models/base64_decode_response_spec.rb +0 -48
  458. data/spec/models/base64_detect_request_spec.rb +0 -42
  459. data/spec/models/base64_detect_response_spec.rb +0 -48
  460. data/spec/models/base64_encode_request_spec.rb +0 -42
  461. data/spec/models/base64_encode_response_spec.rb +0 -48
  462. data/spec/models/change_line_ending_response_spec.rb +0 -48
  463. data/spec/models/clear_xlsx_cell_request_spec.rb +0 -66
  464. data/spec/models/clear_xlsx_cell_response_spec.rb +0 -48
  465. data/spec/models/converted_png_page_spec.rb +0 -48
  466. data/spec/models/create_blank_docx_request_spec.rb +0 -42
  467. data/spec/models/create_blank_docx_response_spec.rb +0 -48
  468. data/spec/models/create_blank_spreadsheet_request_spec.rb +0 -42
  469. data/spec/models/create_blank_spreadsheet_response_spec.rb +0 -48
  470. data/spec/models/create_spreadsheet_from_data_request_spec.rb +0 -48
  471. data/spec/models/create_spreadsheet_from_data_response_spec.rb +0 -48
  472. data/spec/models/create_zip_archive_request_spec.rb +0 -48
  473. data/spec/models/csv_collection_spec.rb +0 -54
  474. data/spec/models/csv_file_result_spec.rb +0 -48
  475. data/spec/models/delete_docx_table_row_range_request_spec.rb +0 -66
  476. data/spec/models/delete_docx_table_row_range_response_spec.rb +0 -48
  477. data/spec/models/delete_docx_table_row_request_spec.rb +0 -60
  478. data/spec/models/delete_docx_table_row_response_spec.rb +0 -48
  479. data/spec/models/detect_line_endings_response_spec.rb +0 -60
  480. data/spec/models/disable_shared_workbook_request_spec.rb +0 -48
  481. data/spec/models/disable_shared_workbook_response_spec.rb +0 -48
  482. data/spec/models/document_validation_error_spec.rb +0 -60
  483. data/spec/models/document_validation_result_spec.rb +0 -66
  484. data/spec/models/docx_body_spec.rb +0 -54
  485. data/spec/models/docx_cell_style_spec.rb +0 -60
  486. data/spec/models/docx_comment_spec.rb +0 -90
  487. data/spec/models/docx_footer_spec.rb +0 -54
  488. data/spec/models/docx_header_spec.rb +0 -54
  489. data/spec/models/docx_image_spec.rb +0 -114
  490. data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +0 -60
  491. data/spec/models/docx_insert_image_request_spec.rb +0 -90
  492. data/spec/models/docx_insert_image_response_spec.rb +0 -48
  493. data/spec/models/docx_page_spec.rb +0 -48
  494. data/spec/models/docx_paragraph_spec.rb +0 -60
  495. data/spec/models/docx_remove_object_request_spec.rb +0 -54
  496. data/spec/models/docx_remove_object_response_spec.rb +0 -48
  497. data/spec/models/docx_run_spec.rb +0 -84
  498. data/spec/models/docx_section_spec.rb +0 -48
  499. data/spec/models/docx_set_footer_add_page_number_request_spec.rb +0 -54
  500. data/spec/models/docx_set_footer_request_spec.rb +0 -54
  501. data/spec/models/docx_set_footer_response_spec.rb +0 -48
  502. data/spec/models/docx_set_header_request_spec.rb +0 -54
  503. data/spec/models/docx_set_header_response_spec.rb +0 -48
  504. data/spec/models/docx_style_spec.rb +0 -78
  505. data/spec/models/docx_table_cell_spec.rb +0 -84
  506. data/spec/models/docx_table_row_spec.rb +0 -54
  507. data/spec/models/docx_table_spec.rb +0 -270
  508. data/spec/models/docx_template_application_request_spec.rb +0 -42
  509. data/spec/models/docx_template_operation_spec.rb +0 -58
  510. data/spec/models/docx_text_spec.rb +0 -54
  511. data/spec/models/docx_top_level_comment_spec.rb +0 -78
  512. data/spec/models/enable_shared_workbook_request_spec.rb +0 -48
  513. data/spec/models/enable_shared_workbook_response_spec.rb +0 -48
  514. data/spec/models/exif_value_spec.rb +0 -54
  515. data/spec/models/find_regex_match_spec.rb +0 -66
  516. data/spec/models/find_string_match_spec.rb +0 -54
  517. data/spec/models/find_string_regex_request_spec.rb +0 -54
  518. data/spec/models/find_string_regex_response_spec.rb +0 -54
  519. data/spec/models/find_string_simple_request_spec.rb +0 -48
  520. data/spec/models/find_string_simple_response_spec.rb +0 -54
  521. data/spec/models/finish_editing_request_spec.rb +0 -42
  522. data/spec/models/get_docx_body_request_spec.rb +0 -48
  523. data/spec/models/get_docx_body_response_spec.rb +0 -48
  524. data/spec/models/get_docx_comments_hierarchical_response_spec.rb +0 -54
  525. data/spec/models/get_docx_comments_response_spec.rb +0 -54
  526. data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +0 -48
  527. data/spec/models/get_docx_get_comments_request_spec.rb +0 -48
  528. data/spec/models/get_docx_headers_and_footers_request_spec.rb +0 -48
  529. data/spec/models/get_docx_headers_and_footers_response_spec.rb +0 -54
  530. data/spec/models/get_docx_images_request_spec.rb +0 -48
  531. data/spec/models/get_docx_images_response_spec.rb +0 -48
  532. data/spec/models/get_docx_pages_request_spec.rb +0 -54
  533. data/spec/models/get_docx_pages_response_spec.rb +0 -54
  534. data/spec/models/get_docx_sections_request_spec.rb +0 -48
  535. data/spec/models/get_docx_sections_response_spec.rb +0 -48
  536. data/spec/models/get_docx_styles_request_spec.rb +0 -48
  537. data/spec/models/get_docx_styles_response_spec.rb +0 -48
  538. data/spec/models/get_docx_table_by_index_request_spec.rb +0 -54
  539. data/spec/models/get_docx_table_by_index_response_spec.rb +0 -48
  540. data/spec/models/get_docx_table_row_request_spec.rb +0 -60
  541. data/spec/models/get_docx_table_row_response_spec.rb +0 -48
  542. data/spec/models/get_docx_tables_request_spec.rb +0 -48
  543. data/spec/models/get_docx_tables_response_spec.rb +0 -48
  544. data/spec/models/get_image_info_result_spec.rb +0 -138
  545. data/spec/models/get_pdf_annotations_result_spec.rb +0 -48
  546. data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +0 -60
  547. data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +0 -48
  548. data/spec/models/get_xlsx_cell_request_spec.rb +0 -66
  549. data/spec/models/get_xlsx_cell_response_spec.rb +0 -48
  550. data/spec/models/get_xlsx_columns_request_spec.rb +0 -54
  551. data/spec/models/get_xlsx_columns_response_spec.rb +0 -48
  552. data/spec/models/get_xlsx_images_request_spec.rb +0 -54
  553. data/spec/models/get_xlsx_images_response_spec.rb +0 -48
  554. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +0 -54
  555. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +0 -48
  556. data/spec/models/get_xlsx_styles_request_spec.rb +0 -48
  557. data/spec/models/get_xlsx_styles_response_spec.rb +0 -48
  558. data/spec/models/get_xlsx_worksheets_request_spec.rb +0 -48
  559. data/spec/models/get_xlsx_worksheets_response_spec.rb +0 -48
  560. data/spec/models/html_md_result_spec.rb +0 -48
  561. data/spec/models/html_template_application_request_spec.rb +0 -54
  562. data/spec/models/html_template_application_response_spec.rb +0 -48
  563. data/spec/models/html_template_operation_spec.rb +0 -58
  564. data/spec/models/html_to_office_request_spec.rb +0 -42
  565. data/spec/models/html_to_pdf_request_spec.rb +0 -48
  566. data/spec/models/html_to_png_request_spec.rb +0 -60
  567. data/spec/models/html_to_text_request_spec.rb +0 -42
  568. data/spec/models/html_to_text_response_spec.rb +0 -48
  569. data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +0 -48
  570. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +0 -66
  571. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +0 -48
  572. data/spec/models/insert_docx_table_row_request_spec.rb +0 -66
  573. data/spec/models/insert_docx_table_row_response_spec.rb +0 -48
  574. data/spec/models/insert_docx_tables_request_spec.rb +0 -66
  575. data/spec/models/insert_docx_tables_response_spec.rb +0 -48
  576. data/spec/models/insert_xlsx_worksheet_request_spec.rb +0 -54
  577. data/spec/models/insert_xlsx_worksheet_response_spec.rb +0 -48
  578. data/spec/models/multipage_image_format_conversion_result_spec.rb +0 -54
  579. data/spec/models/page_conversion_result_spec.rb +0 -48
  580. data/spec/models/pdf_annotation_spec.rb +0 -108
  581. data/spec/models/pdf_document_spec.rb +0 -54
  582. data/spec/models/pdf_form_field_spec.rb +0 -60
  583. data/spec/models/pdf_form_fields_spec.rb +0 -48
  584. data/spec/models/pdf_metadata_spec.rb +0 -90
  585. data/spec/models/pdf_page_text_spec.rb +0 -48
  586. data/spec/models/pdf_text_by_page_result_spec.rb +0 -48
  587. data/spec/models/pdf_to_png_result_spec.rb +0 -48
  588. data/spec/models/presentation_result_spec.rb +0 -54
  589. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +0 -60
  590. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +0 -48
  591. data/spec/models/remove_docx_pages_request_spec.rb +0 -60
  592. data/spec/models/remove_html_from_text_request_spec.rb +0 -42
  593. data/spec/models/remove_html_from_text_response_spec.rb +0 -48
  594. data/spec/models/remove_pptx_slides_request_spec.rb +0 -60
  595. data/spec/models/remove_whitespace_from_text_request_spec.rb +0 -42
  596. data/spec/models/remove_whitespace_from_text_response_spec.rb +0 -48
  597. data/spec/models/remove_xlsx_worksheet_request_spec.rb +0 -54
  598. data/spec/models/replace_string_regex_request_spec.rb +0 -54
  599. data/spec/models/replace_string_regex_response_spec.rb +0 -48
  600. data/spec/models/replace_string_request_spec.rb +0 -66
  601. data/spec/models/replace_string_simple_request_spec.rb +0 -54
  602. data/spec/models/replace_string_simple_response_spec.rb +0 -48
  603. data/spec/models/screenshot_request_spec.rb +0 -60
  604. data/spec/models/set_form_field_value_spec.rb +0 -60
  605. data/spec/models/set_pdf_form_fields_request_spec.rb +0 -48
  606. data/spec/models/set_pdf_metadata_request_spec.rb +0 -48
  607. data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +0 -66
  608. data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +0 -48
  609. data/spec/models/set_xlsx_cell_request_spec.rb +0 -72
  610. data/spec/models/set_xlsx_cell_response_spec.rb +0 -48
  611. data/spec/models/split_document_result_spec.rb +0 -54
  612. data/spec/models/split_docx_document_result_spec.rb +0 -48
  613. data/spec/models/split_pdf_result_spec.rb +0 -48
  614. data/spec/models/split_pptx_presentation_result_spec.rb +0 -48
  615. data/spec/models/split_text_document_by_lines_result_spec.rb +0 -54
  616. data/spec/models/split_text_document_by_string_result_spec.rb +0 -54
  617. data/spec/models/split_xlsx_worksheet_result_spec.rb +0 -48
  618. data/spec/models/text_conversion_result_spec.rb +0 -48
  619. data/spec/models/text_document_element_spec.rb +0 -48
  620. data/spec/models/text_document_line_spec.rb +0 -48
  621. data/spec/models/text_encoding_detect_response_spec.rb +0 -48
  622. data/spec/models/update_docx_table_cell_request_spec.rb +0 -72
  623. data/spec/models/update_docx_table_cell_response_spec.rb +0 -48
  624. data/spec/models/update_docx_table_row_request_spec.rb +0 -66
  625. data/spec/models/update_docx_table_row_response_spec.rb +0 -48
  626. data/spec/models/url_to_pdf_request_spec.rb +0 -60
  627. data/spec/models/url_to_text_request_spec.rb +0 -42
  628. data/spec/models/url_to_text_response_spec.rb +0 -48
  629. data/spec/models/viewer_response_spec.rb +0 -48
  630. data/spec/models/worksheet_result_spec.rb +0 -60
  631. data/spec/models/xlsx_image_spec.rb +0 -66
  632. data/spec/models/xlsx_spreadsheet_cell_spec.rb +0 -66
  633. data/spec/models/xlsx_spreadsheet_column_spec.rb +0 -48
  634. data/spec/models/xlsx_spreadsheet_row_spec.rb +0 -48
  635. data/spec/models/xlsx_worksheet_spec.rb +0 -48
  636. data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +0 -54
  637. data/spec/models/xml_add_child_with_x_path_result_spec.rb +0 -54
  638. data/spec/models/xml_filter_with_x_path_result_spec.rb +0 -54
  639. data/spec/models/xml_query_with_x_query_multi_result_spec.rb +0 -54
  640. data/spec/models/xml_query_with_x_query_result_spec.rb +0 -54
  641. data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +0 -54
  642. data/spec/models/xml_remove_with_x_path_result_spec.rb +0 -60
  643. data/spec/models/xml_replace_with_x_path_result_spec.rb +0 -54
  644. data/spec/models/xml_set_value_with_x_path_result_spec.rb +0 -54
  645. data/spec/models/zip_directory_spec.rb +0 -54
  646. data/spec/models/zip_extract_response_spec.rb +0 -54
  647. data/spec/models/zip_file_spec.rb +0 -48
  648. data/spec/spec_helper.rb +0 -111
@@ -1,55 +0,0 @@
1
- #!/bin/sh
2
- #
3
- # Generated by: https://github.com/swagger-api/swagger-codegen.git
4
- #
5
- # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
6
- #
7
- # Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
8
-
9
- git_user_id=$1
10
- git_repo_id=$2
11
- release_note=$3
12
-
13
- if [ "$git_user_id" = "" ]; then
14
- git_user_id="GIT_USER_ID"
15
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
16
- fi
17
-
18
- if [ "$git_repo_id" = "" ]; then
19
- git_repo_id="GIT_REPO_ID"
20
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
21
- fi
22
-
23
- if [ "$release_note" = "" ]; then
24
- release_note="Minor update"
25
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
26
- fi
27
-
28
- # Initialize the local directory as a Git repository
29
- git init
30
-
31
- # Adds the files in the local repository and stages them for commit.
32
- git add .
33
-
34
- # Commits the tracked changes and prepares them to be pushed to a remote repository.
35
- git commit -m "$release_note"
36
-
37
- # Sets the new remote
38
- git_remote=`git remote`
39
- if [ "$git_remote" = "" ]; then # git remote not defined
40
-
41
- if [ "$GIT_TOKEN" = "" ]; then
42
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
43
- git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
44
- else
45
- git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
46
- fi
47
-
48
- fi
49
-
50
- git pull origin master
51
-
52
- # Pushes (Forces) the changes in the local repository up to the remote repository
53
- echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
54
- git push origin master 2>&1 | grep -v 'To https'
55
-
@@ -1,250 +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
- # Common files
14
- require 'cloudmersive-convert-api-client/api_client'
15
- require 'cloudmersive-convert-api-client/api_error'
16
- require 'cloudmersive-convert-api-client/version'
17
- require 'cloudmersive-convert-api-client/configuration'
18
-
19
- # Models
20
- require 'cloudmersive-convert-api-client/models/add_pdf_annotation_request'
21
- require 'cloudmersive-convert-api-client/models/alternate_file_format_candidate'
22
- require 'cloudmersive-convert-api-client/models/autodetect_document_validation_result'
23
- require 'cloudmersive-convert-api-client/models/autodetect_get_info_result'
24
- require 'cloudmersive-convert-api-client/models/autodetect_to_png_result'
25
- require 'cloudmersive-convert-api-client/models/base64_decode_request'
26
- require 'cloudmersive-convert-api-client/models/base64_decode_response'
27
- require 'cloudmersive-convert-api-client/models/base64_detect_request'
28
- require 'cloudmersive-convert-api-client/models/base64_detect_response'
29
- require 'cloudmersive-convert-api-client/models/base64_encode_request'
30
- require 'cloudmersive-convert-api-client/models/base64_encode_response'
31
- require 'cloudmersive-convert-api-client/models/change_line_ending_response'
32
- require 'cloudmersive-convert-api-client/models/clear_xlsx_cell_request'
33
- require 'cloudmersive-convert-api-client/models/clear_xlsx_cell_response'
34
- require 'cloudmersive-convert-api-client/models/converted_png_page'
35
- require 'cloudmersive-convert-api-client/models/create_blank_docx_request'
36
- require 'cloudmersive-convert-api-client/models/create_blank_docx_response'
37
- require 'cloudmersive-convert-api-client/models/create_blank_spreadsheet_request'
38
- require 'cloudmersive-convert-api-client/models/create_blank_spreadsheet_response'
39
- require 'cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request'
40
- require 'cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response'
41
- require 'cloudmersive-convert-api-client/models/create_zip_archive_request'
42
- require 'cloudmersive-convert-api-client/models/csv_collection'
43
- require 'cloudmersive-convert-api-client/models/csv_file_result'
44
- require 'cloudmersive-convert-api-client/models/delete_docx_table_row_range_request'
45
- require 'cloudmersive-convert-api-client/models/delete_docx_table_row_range_response'
46
- require 'cloudmersive-convert-api-client/models/delete_docx_table_row_request'
47
- require 'cloudmersive-convert-api-client/models/delete_docx_table_row_response'
48
- require 'cloudmersive-convert-api-client/models/detect_line_endings_response'
49
- require 'cloudmersive-convert-api-client/models/disable_shared_workbook_request'
50
- require 'cloudmersive-convert-api-client/models/disable_shared_workbook_response'
51
- require 'cloudmersive-convert-api-client/models/document_validation_error'
52
- require 'cloudmersive-convert-api-client/models/document_validation_result'
53
- require 'cloudmersive-convert-api-client/models/docx_body'
54
- require 'cloudmersive-convert-api-client/models/docx_cell_style'
55
- require 'cloudmersive-convert-api-client/models/docx_comment'
56
- require 'cloudmersive-convert-api-client/models/docx_footer'
57
- require 'cloudmersive-convert-api-client/models/docx_header'
58
- require 'cloudmersive-convert-api-client/models/docx_image'
59
- require 'cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request'
60
- require 'cloudmersive-convert-api-client/models/docx_insert_image_request'
61
- require 'cloudmersive-convert-api-client/models/docx_insert_image_response'
62
- require 'cloudmersive-convert-api-client/models/docx_page'
63
- require 'cloudmersive-convert-api-client/models/docx_paragraph'
64
- require 'cloudmersive-convert-api-client/models/docx_remove_object_request'
65
- require 'cloudmersive-convert-api-client/models/docx_remove_object_response'
66
- require 'cloudmersive-convert-api-client/models/docx_run'
67
- require 'cloudmersive-convert-api-client/models/docx_section'
68
- require 'cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request'
69
- require 'cloudmersive-convert-api-client/models/docx_set_footer_request'
70
- require 'cloudmersive-convert-api-client/models/docx_set_footer_response'
71
- require 'cloudmersive-convert-api-client/models/docx_set_header_request'
72
- require 'cloudmersive-convert-api-client/models/docx_set_header_response'
73
- require 'cloudmersive-convert-api-client/models/docx_style'
74
- require 'cloudmersive-convert-api-client/models/docx_table'
75
- require 'cloudmersive-convert-api-client/models/docx_table_cell'
76
- require 'cloudmersive-convert-api-client/models/docx_table_row'
77
- require 'cloudmersive-convert-api-client/models/docx_template_application_request'
78
- require 'cloudmersive-convert-api-client/models/docx_template_operation'
79
- require 'cloudmersive-convert-api-client/models/docx_text'
80
- require 'cloudmersive-convert-api-client/models/docx_top_level_comment'
81
- require 'cloudmersive-convert-api-client/models/enable_shared_workbook_request'
82
- require 'cloudmersive-convert-api-client/models/enable_shared_workbook_response'
83
- require 'cloudmersive-convert-api-client/models/exif_value'
84
- require 'cloudmersive-convert-api-client/models/find_regex_match'
85
- require 'cloudmersive-convert-api-client/models/find_string_match'
86
- require 'cloudmersive-convert-api-client/models/find_string_regex_request'
87
- require 'cloudmersive-convert-api-client/models/find_string_regex_response'
88
- require 'cloudmersive-convert-api-client/models/find_string_simple_request'
89
- require 'cloudmersive-convert-api-client/models/find_string_simple_response'
90
- require 'cloudmersive-convert-api-client/models/finish_editing_request'
91
- require 'cloudmersive-convert-api-client/models/get_docx_body_request'
92
- require 'cloudmersive-convert-api-client/models/get_docx_body_response'
93
- require 'cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response'
94
- require 'cloudmersive-convert-api-client/models/get_docx_comments_response'
95
- require 'cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request'
96
- require 'cloudmersive-convert-api-client/models/get_docx_get_comments_request'
97
- require 'cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request'
98
- require 'cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response'
99
- require 'cloudmersive-convert-api-client/models/get_docx_images_request'
100
- require 'cloudmersive-convert-api-client/models/get_docx_images_response'
101
- require 'cloudmersive-convert-api-client/models/get_docx_pages_request'
102
- require 'cloudmersive-convert-api-client/models/get_docx_pages_response'
103
- require 'cloudmersive-convert-api-client/models/get_docx_sections_request'
104
- require 'cloudmersive-convert-api-client/models/get_docx_sections_response'
105
- require 'cloudmersive-convert-api-client/models/get_docx_styles_request'
106
- require 'cloudmersive-convert-api-client/models/get_docx_styles_response'
107
- require 'cloudmersive-convert-api-client/models/get_docx_table_by_index_request'
108
- require 'cloudmersive-convert-api-client/models/get_docx_table_by_index_response'
109
- require 'cloudmersive-convert-api-client/models/get_docx_table_row_request'
110
- require 'cloudmersive-convert-api-client/models/get_docx_table_row_response'
111
- require 'cloudmersive-convert-api-client/models/get_docx_tables_request'
112
- require 'cloudmersive-convert-api-client/models/get_docx_tables_response'
113
- require 'cloudmersive-convert-api-client/models/get_image_info_result'
114
- require 'cloudmersive-convert-api-client/models/get_pdf_annotations_result'
115
- require 'cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request'
116
- require 'cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response'
117
- require 'cloudmersive-convert-api-client/models/get_xlsx_cell_request'
118
- require 'cloudmersive-convert-api-client/models/get_xlsx_cell_response'
119
- require 'cloudmersive-convert-api-client/models/get_xlsx_columns_request'
120
- require 'cloudmersive-convert-api-client/models/get_xlsx_columns_response'
121
- require 'cloudmersive-convert-api-client/models/get_xlsx_images_request'
122
- require 'cloudmersive-convert-api-client/models/get_xlsx_images_response'
123
- require 'cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request'
124
- require 'cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response'
125
- require 'cloudmersive-convert-api-client/models/get_xlsx_styles_request'
126
- require 'cloudmersive-convert-api-client/models/get_xlsx_styles_response'
127
- require 'cloudmersive-convert-api-client/models/get_xlsx_worksheets_request'
128
- require 'cloudmersive-convert-api-client/models/get_xlsx_worksheets_response'
129
- require 'cloudmersive-convert-api-client/models/html_md_result'
130
- require 'cloudmersive-convert-api-client/models/html_template_application_request'
131
- require 'cloudmersive-convert-api-client/models/html_template_application_response'
132
- require 'cloudmersive-convert-api-client/models/html_template_operation'
133
- require 'cloudmersive-convert-api-client/models/html_to_office_request'
134
- require 'cloudmersive-convert-api-client/models/html_to_pdf_request'
135
- require 'cloudmersive-convert-api-client/models/html_to_png_request'
136
- require 'cloudmersive-convert-api-client/models/html_to_text_request'
137
- require 'cloudmersive-convert-api-client/models/html_to_text_response'
138
- require 'cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response'
139
- require 'cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request'
140
- require 'cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response'
141
- require 'cloudmersive-convert-api-client/models/insert_docx_table_row_request'
142
- require 'cloudmersive-convert-api-client/models/insert_docx_table_row_response'
143
- require 'cloudmersive-convert-api-client/models/insert_docx_tables_request'
144
- require 'cloudmersive-convert-api-client/models/insert_docx_tables_response'
145
- require 'cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request'
146
- require 'cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response'
147
- require 'cloudmersive-convert-api-client/models/multipage_image_format_conversion_result'
148
- require 'cloudmersive-convert-api-client/models/page_conversion_result'
149
- require 'cloudmersive-convert-api-client/models/pdf_annotation'
150
- require 'cloudmersive-convert-api-client/models/pdf_document'
151
- require 'cloudmersive-convert-api-client/models/pdf_form_field'
152
- require 'cloudmersive-convert-api-client/models/pdf_form_fields'
153
- require 'cloudmersive-convert-api-client/models/pdf_metadata'
154
- require 'cloudmersive-convert-api-client/models/pdf_page_text'
155
- require 'cloudmersive-convert-api-client/models/pdf_text_by_page_result'
156
- require 'cloudmersive-convert-api-client/models/pdf_to_png_result'
157
- require 'cloudmersive-convert-api-client/models/presentation_result'
158
- require 'cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request'
159
- require 'cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response'
160
- require 'cloudmersive-convert-api-client/models/remove_docx_pages_request'
161
- require 'cloudmersive-convert-api-client/models/remove_html_from_text_request'
162
- require 'cloudmersive-convert-api-client/models/remove_html_from_text_response'
163
- require 'cloudmersive-convert-api-client/models/remove_pptx_slides_request'
164
- require 'cloudmersive-convert-api-client/models/remove_whitespace_from_text_request'
165
- require 'cloudmersive-convert-api-client/models/remove_whitespace_from_text_response'
166
- require 'cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request'
167
- require 'cloudmersive-convert-api-client/models/replace_string_regex_request'
168
- require 'cloudmersive-convert-api-client/models/replace_string_regex_response'
169
- require 'cloudmersive-convert-api-client/models/replace_string_request'
170
- require 'cloudmersive-convert-api-client/models/replace_string_simple_request'
171
- require 'cloudmersive-convert-api-client/models/replace_string_simple_response'
172
- require 'cloudmersive-convert-api-client/models/screenshot_request'
173
- require 'cloudmersive-convert-api-client/models/set_form_field_value'
174
- require 'cloudmersive-convert-api-client/models/set_pdf_form_fields_request'
175
- require 'cloudmersive-convert-api-client/models/set_pdf_metadata_request'
176
- require 'cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request'
177
- require 'cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response'
178
- require 'cloudmersive-convert-api-client/models/set_xlsx_cell_request'
179
- require 'cloudmersive-convert-api-client/models/set_xlsx_cell_response'
180
- require 'cloudmersive-convert-api-client/models/split_document_result'
181
- require 'cloudmersive-convert-api-client/models/split_docx_document_result'
182
- require 'cloudmersive-convert-api-client/models/split_pdf_result'
183
- require 'cloudmersive-convert-api-client/models/split_pptx_presentation_result'
184
- require 'cloudmersive-convert-api-client/models/split_text_document_by_lines_result'
185
- require 'cloudmersive-convert-api-client/models/split_text_document_by_string_result'
186
- require 'cloudmersive-convert-api-client/models/split_xlsx_worksheet_result'
187
- require 'cloudmersive-convert-api-client/models/text_conversion_result'
188
- require 'cloudmersive-convert-api-client/models/text_document_element'
189
- require 'cloudmersive-convert-api-client/models/text_document_line'
190
- require 'cloudmersive-convert-api-client/models/text_encoding_detect_response'
191
- require 'cloudmersive-convert-api-client/models/update_docx_table_cell_request'
192
- require 'cloudmersive-convert-api-client/models/update_docx_table_cell_response'
193
- require 'cloudmersive-convert-api-client/models/update_docx_table_row_request'
194
- require 'cloudmersive-convert-api-client/models/update_docx_table_row_response'
195
- require 'cloudmersive-convert-api-client/models/url_to_pdf_request'
196
- require 'cloudmersive-convert-api-client/models/url_to_text_request'
197
- require 'cloudmersive-convert-api-client/models/url_to_text_response'
198
- require 'cloudmersive-convert-api-client/models/viewer_response'
199
- require 'cloudmersive-convert-api-client/models/worksheet_result'
200
- require 'cloudmersive-convert-api-client/models/xlsx_image'
201
- require 'cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell'
202
- require 'cloudmersive-convert-api-client/models/xlsx_spreadsheet_column'
203
- require 'cloudmersive-convert-api-client/models/xlsx_spreadsheet_row'
204
- require 'cloudmersive-convert-api-client/models/xlsx_worksheet'
205
- require 'cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result'
206
- require 'cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result'
207
- require 'cloudmersive-convert-api-client/models/xml_filter_with_x_path_result'
208
- require 'cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result'
209
- require 'cloudmersive-convert-api-client/models/xml_query_with_x_query_result'
210
- require 'cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result'
211
- require 'cloudmersive-convert-api-client/models/xml_remove_with_x_path_result'
212
- require 'cloudmersive-convert-api-client/models/xml_replace_with_x_path_result'
213
- require 'cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result'
214
- require 'cloudmersive-convert-api-client/models/zip_directory'
215
- require 'cloudmersive-convert-api-client/models/zip_extract_response'
216
- require 'cloudmersive-convert-api-client/models/zip_file'
217
-
218
- # APIs
219
- require 'cloudmersive-convert-api-client/api/compare_document_api'
220
- require 'cloudmersive-convert-api-client/api/convert_data_api'
221
- require 'cloudmersive-convert-api-client/api/convert_document_api'
222
- require 'cloudmersive-convert-api-client/api/convert_image_api'
223
- require 'cloudmersive-convert-api-client/api/convert_template_api'
224
- require 'cloudmersive-convert-api-client/api/convert_web_api'
225
- require 'cloudmersive-convert-api-client/api/edit_document_api'
226
- require 'cloudmersive-convert-api-client/api/edit_pdf_api'
227
- require 'cloudmersive-convert-api-client/api/edit_text_api'
228
- require 'cloudmersive-convert-api-client/api/merge_document_api'
229
- require 'cloudmersive-convert-api-client/api/split_document_api'
230
- require 'cloudmersive-convert-api-client/api/validate_document_api'
231
- require 'cloudmersive-convert-api-client/api/viewer_tools_api'
232
- require 'cloudmersive-convert-api-client/api/zip_archive_api'
233
-
234
- module CloudmersiveConvertApiClient
235
- class << self
236
- # Customize default settings for the SDK using block.
237
- # CloudmersiveConvertApiClient.configure do |config|
238
- # config.username = "xxx"
239
- # config.password = "xxx"
240
- # end
241
- # If no block given, return the default Configuration object.
242
- def configure
243
- if block_given?
244
- yield(Configuration.default)
245
- else
246
- Configuration.default
247
- end
248
- end
249
- end
250
- end
@@ -1,86 +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 CompareDocumentApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
-
23
- # Compare Two Word DOCX
24
- # Compare two Office Word Documents (docx) files and highlight the differences
25
- # @param input_file1 First input file to perform the operation on.
26
- # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
27
- # @param [Hash] opts the optional parameters
28
- # @return [String]
29
- def compare_document_docx(input_file1, input_file2, opts = {})
30
- data, _status_code, _headers = compare_document_docx_with_http_info(input_file1, input_file2, opts)
31
- return data
32
- end
33
-
34
- # Compare Two Word DOCX
35
- # Compare two Office Word Documents (docx) files and highlight the differences
36
- # @param input_file1 First input file to perform the operation on.
37
- # @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
38
- # @param [Hash] opts the optional parameters
39
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
40
- def compare_document_docx_with_http_info(input_file1, input_file2, opts = {})
41
- if @api_client.config.debugging
42
- @api_client.config.logger.debug "Calling API: CompareDocumentApi.compare_document_docx ..."
43
- end
44
- # verify the required parameter 'input_file1' is set
45
- if @api_client.config.client_side_validation && input_file1.nil?
46
- fail ArgumentError, "Missing the required parameter 'input_file1' when calling CompareDocumentApi.compare_document_docx"
47
- end
48
- # verify the required parameter 'input_file2' is set
49
- if @api_client.config.client_side_validation && input_file2.nil?
50
- fail ArgumentError, "Missing the required parameter 'input_file2' when calling CompareDocumentApi.compare_document_docx"
51
- end
52
- # resource path
53
- local_var_path = "/convert/compare/docx"
54
-
55
- # query parameters
56
- query_params = {}
57
-
58
- # header parameters
59
- header_params = {}
60
- # HTTP header 'Accept' (if needed)
61
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
62
- # HTTP header 'Content-Type'
63
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
64
-
65
- # form parameters
66
- form_params = {}
67
- form_params["inputFile1"] = input_file1
68
- form_params["inputFile2"] = input_file2
69
-
70
- # http body (model)
71
- post_body = nil
72
- auth_names = ['Apikey']
73
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
74
- :header_params => header_params,
75
- :query_params => query_params,
76
- :form_params => form_params,
77
- :body => post_body,
78
- :auth_names => auth_names,
79
- :return_type => 'String')
80
- if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: CompareDocumentApi#compare_document_docx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
- end
83
- return data, status_code, headers
84
- end
85
- end
86
- end
@@ -1,978 +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 ConvertDataApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
-
23
- # Convert CSV to JSON conversion
24
- # Convert a CSV file to a JSON object array
25
- # @param input_file Input file to perform the operation on.
26
- # @param [Hash] opts the optional parameters
27
- # @return [Object]
28
- def convert_data_csv_to_json(input_file, opts = {})
29
- data, _status_code, _headers = convert_data_csv_to_json_with_http_info(input_file, opts)
30
- return data
31
- end
32
-
33
- # Convert CSV to JSON conversion
34
- # Convert a CSV file to a JSON object array
35
- # @param input_file Input file to perform the operation on.
36
- # @param [Hash] opts the optional parameters
37
- # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
38
- def convert_data_csv_to_json_with_http_info(input_file, opts = {})
39
- if @api_client.config.debugging
40
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_csv_to_json ..."
41
- end
42
- # verify the required parameter 'input_file' is set
43
- if @api_client.config.client_side_validation && input_file.nil?
44
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_csv_to_json"
45
- end
46
- # resource path
47
- local_var_path = "/convert/csv/to/json"
48
-
49
- # query parameters
50
- query_params = {}
51
-
52
- # header parameters
53
- header_params = {}
54
- # HTTP header 'Accept' (if needed)
55
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
56
- # HTTP header 'Content-Type'
57
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
58
-
59
- # form parameters
60
- form_params = {}
61
- form_params["inputFile"] = input_file
62
-
63
- # http body (model)
64
- post_body = nil
65
- auth_names = ['Apikey']
66
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
67
- :header_params => header_params,
68
- :query_params => query_params,
69
- :form_params => form_params,
70
- :body => post_body,
71
- :auth_names => auth_names,
72
- :return_type => 'Object')
73
- if @api_client.config.debugging
74
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_csv_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
75
- end
76
- return data, status_code, headers
77
- end
78
-
79
- # Convert JSON to XML conversion
80
- # Convert a JSON object into XML
81
- # @param json_object Input JSON to convert to XML
82
- # @param [Hash] opts the optional parameters
83
- # @return [String]
84
- def convert_data_json_to_xml(json_object, opts = {})
85
- data, _status_code, _headers = convert_data_json_to_xml_with_http_info(json_object, opts)
86
- return data
87
- end
88
-
89
- # Convert JSON to XML conversion
90
- # Convert a JSON object into XML
91
- # @param json_object Input JSON to convert to XML
92
- # @param [Hash] opts the optional parameters
93
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
94
- def convert_data_json_to_xml_with_http_info(json_object, opts = {})
95
- if @api_client.config.debugging
96
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_json_to_xml ..."
97
- end
98
- # verify the required parameter 'json_object' is set
99
- if @api_client.config.client_side_validation && json_object.nil?
100
- fail ArgumentError, "Missing the required parameter 'json_object' when calling ConvertDataApi.convert_data_json_to_xml"
101
- end
102
- # resource path
103
- local_var_path = "/convert/json/to/xml"
104
-
105
- # query parameters
106
- query_params = {}
107
-
108
- # header parameters
109
- header_params = {}
110
- # HTTP header 'Accept' (if needed)
111
- header_params['Accept'] = @api_client.select_header_accept(['application/xml'])
112
- # HTTP header 'Content-Type'
113
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
114
-
115
- # form parameters
116
- form_params = {}
117
-
118
- # http body (model)
119
- post_body = @api_client.object_to_http_body(json_object)
120
- auth_names = ['Apikey']
121
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
122
- :header_params => header_params,
123
- :query_params => query_params,
124
- :form_params => form_params,
125
- :body => post_body,
126
- :auth_names => auth_names,
127
- :return_type => 'String')
128
- if @api_client.config.debugging
129
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_json_to_xml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
130
- end
131
- return data, status_code, headers
132
- end
133
-
134
- # Convert Excel (97-2003) XLS to JSON conversion
135
- # Convert an Excel (97-2003) XLS file to a JSON object array
136
- # @param input_file Input file to perform the operation on.
137
- # @param [Hash] opts the optional parameters
138
- # @return [Object]
139
- def convert_data_xls_to_json(input_file, opts = {})
140
- data, _status_code, _headers = convert_data_xls_to_json_with_http_info(input_file, opts)
141
- return data
142
- end
143
-
144
- # Convert Excel (97-2003) XLS to JSON conversion
145
- # Convert an Excel (97-2003) XLS file to a JSON object array
146
- # @param input_file Input file to perform the operation on.
147
- # @param [Hash] opts the optional parameters
148
- # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
149
- def convert_data_xls_to_json_with_http_info(input_file, opts = {})
150
- if @api_client.config.debugging
151
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xls_to_json ..."
152
- end
153
- # verify the required parameter 'input_file' is set
154
- if @api_client.config.client_side_validation && input_file.nil?
155
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xls_to_json"
156
- end
157
- # resource path
158
- local_var_path = "/convert/xls/to/json"
159
-
160
- # query parameters
161
- query_params = {}
162
-
163
- # header parameters
164
- header_params = {}
165
- # HTTP header 'Accept' (if needed)
166
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
167
- # HTTP header 'Content-Type'
168
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
169
-
170
- # form parameters
171
- form_params = {}
172
- form_params["inputFile"] = input_file
173
-
174
- # http body (model)
175
- post_body = nil
176
- auth_names = ['Apikey']
177
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
178
- :header_params => header_params,
179
- :query_params => query_params,
180
- :form_params => form_params,
181
- :body => post_body,
182
- :auth_names => auth_names,
183
- :return_type => 'Object')
184
- if @api_client.config.debugging
185
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xls_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
186
- end
187
- return data, status_code, headers
188
- end
189
-
190
- # Convert Excel XLSX to JSON conversion
191
- # Convert an Excel XLSX file to a JSON object array
192
- # @param input_file Input file to perform the operation on.
193
- # @param [Hash] opts the optional parameters
194
- # @return [Object]
195
- def convert_data_xlsx_to_json(input_file, opts = {})
196
- data, _status_code, _headers = convert_data_xlsx_to_json_with_http_info(input_file, opts)
197
- return data
198
- end
199
-
200
- # Convert Excel XLSX to JSON conversion
201
- # Convert an Excel XLSX file to a JSON object array
202
- # @param input_file Input file to perform the operation on.
203
- # @param [Hash] opts the optional parameters
204
- # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
205
- def convert_data_xlsx_to_json_with_http_info(input_file, opts = {})
206
- if @api_client.config.debugging
207
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xlsx_to_json ..."
208
- end
209
- # verify the required parameter 'input_file' is set
210
- if @api_client.config.client_side_validation && input_file.nil?
211
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xlsx_to_json"
212
- end
213
- # resource path
214
- local_var_path = "/convert/xlsx/to/json"
215
-
216
- # query parameters
217
- query_params = {}
218
-
219
- # header parameters
220
- header_params = {}
221
- # HTTP header 'Accept' (if needed)
222
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
223
- # HTTP header 'Content-Type'
224
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
225
-
226
- # form parameters
227
- form_params = {}
228
- form_params["inputFile"] = input_file
229
-
230
- # http body (model)
231
- post_body = nil
232
- auth_names = ['Apikey']
233
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
234
- :header_params => header_params,
235
- :query_params => query_params,
236
- :form_params => form_params,
237
- :body => post_body,
238
- :auth_names => auth_names,
239
- :return_type => 'Object')
240
- if @api_client.config.debugging
241
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xlsx_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
242
- end
243
- return data, status_code, headers
244
- end
245
-
246
- # Adds an attribute to all XML nodes matching XPath expression
247
- # Return the reuslts of editing an XML document by adding an attribute to all of the nodes that match an input XPath expression.
248
- # @param input_file Input XML file to perform the operation on.
249
- # @param x_path_expression Valid XML XPath query expression
250
- # @param xml_attribute_name Name of the XML attribute to add
251
- # @param xml_attribute_value Value of the XML attribute to add
252
- # @param [Hash] opts the optional parameters
253
- # @return [XmlAddAttributeWithXPathResult]
254
- def convert_data_xml_edit_add_attribute_with_x_path(input_file, x_path_expression, xml_attribute_name, xml_attribute_value, opts = {})
255
- data, _status_code, _headers = convert_data_xml_edit_add_attribute_with_x_path_with_http_info(input_file, x_path_expression, xml_attribute_name, xml_attribute_value, opts)
256
- return data
257
- end
258
-
259
- # Adds an attribute to all XML nodes matching XPath expression
260
- # Return the reuslts of editing an XML document by adding an attribute to all of the nodes that match an input XPath expression.
261
- # @param input_file Input XML file to perform the operation on.
262
- # @param x_path_expression Valid XML XPath query expression
263
- # @param xml_attribute_name Name of the XML attribute to add
264
- # @param xml_attribute_value Value of the XML attribute to add
265
- # @param [Hash] opts the optional parameters
266
- # @return [Array<(XmlAddAttributeWithXPathResult, Fixnum, Hash)>] XmlAddAttributeWithXPathResult data, response status code and response headers
267
- def convert_data_xml_edit_add_attribute_with_x_path_with_http_info(input_file, x_path_expression, xml_attribute_name, xml_attribute_value, opts = {})
268
- if @api_client.config.debugging
269
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path ..."
270
- end
271
- # verify the required parameter 'input_file' is set
272
- if @api_client.config.client_side_validation && input_file.nil?
273
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path"
274
- end
275
- # verify the required parameter 'x_path_expression' is set
276
- if @api_client.config.client_side_validation && x_path_expression.nil?
277
- fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path"
278
- end
279
- # verify the required parameter 'xml_attribute_name' is set
280
- if @api_client.config.client_side_validation && xml_attribute_name.nil?
281
- fail ArgumentError, "Missing the required parameter 'xml_attribute_name' when calling ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path"
282
- end
283
- # verify the required parameter 'xml_attribute_value' is set
284
- if @api_client.config.client_side_validation && xml_attribute_value.nil?
285
- fail ArgumentError, "Missing the required parameter 'xml_attribute_value' when calling ConvertDataApi.convert_data_xml_edit_add_attribute_with_x_path"
286
- end
287
- # resource path
288
- local_var_path = "/convert/xml/edit/xpath/add-attribute"
289
-
290
- # query parameters
291
- query_params = {}
292
-
293
- # header parameters
294
- header_params = {}
295
- # HTTP header 'Accept' (if needed)
296
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
297
- header_params[:'XPathExpression'] = x_path_expression
298
- header_params[:'XmlAttributeName'] = xml_attribute_name
299
- header_params[:'XmlAttributeValue'] = xml_attribute_value
300
-
301
- # form parameters
302
- form_params = {}
303
- form_params["inputFile"] = input_file
304
-
305
- # http body (model)
306
- post_body = nil
307
- auth_names = ['Apikey']
308
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
309
- :header_params => header_params,
310
- :query_params => query_params,
311
- :form_params => form_params,
312
- :body => post_body,
313
- :auth_names => auth_names,
314
- :return_type => 'XmlAddAttributeWithXPathResult')
315
- if @api_client.config.debugging
316
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_add_attribute_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
317
- end
318
- return data, status_code, headers
319
- end
320
-
321
- # Adds an XML node as a child to XML nodes matching XPath expression
322
- # Return the reuslts of editing an XML document by adding an XML node as a child to all of the nodes that match an input XPath expression.
323
- # @param input_file Input XML file to perform the operation on.
324
- # @param x_path_expression Valid XML XPath query expression
325
- # @param xml_node_to_add XML Node to add as a child
326
- # @param [Hash] opts the optional parameters
327
- # @return [XmlAddChildWithXPathResult]
328
- def convert_data_xml_edit_add_child_with_x_path(input_file, x_path_expression, xml_node_to_add, opts = {})
329
- data, _status_code, _headers = convert_data_xml_edit_add_child_with_x_path_with_http_info(input_file, x_path_expression, xml_node_to_add, opts)
330
- return data
331
- end
332
-
333
- # Adds an XML node as a child to XML nodes matching XPath expression
334
- # Return the reuslts of editing an XML document by adding an XML node as a child to all of the nodes that match an input XPath expression.
335
- # @param input_file Input XML file to perform the operation on.
336
- # @param x_path_expression Valid XML XPath query expression
337
- # @param xml_node_to_add XML Node to add as a child
338
- # @param [Hash] opts the optional parameters
339
- # @return [Array<(XmlAddChildWithXPathResult, Fixnum, Hash)>] XmlAddChildWithXPathResult data, response status code and response headers
340
- def convert_data_xml_edit_add_child_with_x_path_with_http_info(input_file, x_path_expression, xml_node_to_add, opts = {})
341
- if @api_client.config.debugging
342
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_edit_add_child_with_x_path ..."
343
- end
344
- # verify the required parameter 'input_file' is set
345
- if @api_client.config.client_side_validation && input_file.nil?
346
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_add_child_with_x_path"
347
- end
348
- # verify the required parameter 'x_path_expression' is set
349
- if @api_client.config.client_side_validation && x_path_expression.nil?
350
- fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_add_child_with_x_path"
351
- end
352
- # verify the required parameter 'xml_node_to_add' is set
353
- if @api_client.config.client_side_validation && xml_node_to_add.nil?
354
- fail ArgumentError, "Missing the required parameter 'xml_node_to_add' when calling ConvertDataApi.convert_data_xml_edit_add_child_with_x_path"
355
- end
356
- # resource path
357
- local_var_path = "/convert/xml/edit/xpath/add-child"
358
-
359
- # query parameters
360
- query_params = {}
361
-
362
- # header parameters
363
- header_params = {}
364
- # HTTP header 'Accept' (if needed)
365
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
366
- header_params[:'XPathExpression'] = x_path_expression
367
- header_params[:'XmlNodeToAdd'] = xml_node_to_add
368
-
369
- # form parameters
370
- form_params = {}
371
- form_params["inputFile"] = input_file
372
-
373
- # http body (model)
374
- post_body = nil
375
- auth_names = ['Apikey']
376
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
377
- :header_params => header_params,
378
- :query_params => query_params,
379
- :form_params => form_params,
380
- :body => post_body,
381
- :auth_names => auth_names,
382
- :return_type => 'XmlAddChildWithXPathResult')
383
- if @api_client.config.debugging
384
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_add_child_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
385
- end
386
- return data, status_code, headers
387
- end
388
-
389
- # Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes
390
- # Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.
391
- # @param input_file Input XML file to perform the operation on.
392
- # @param x_path_expression Valid XML XPath query expression
393
- # @param [Hash] opts the optional parameters
394
- # @return [XmlRemoveAllChildrenWithXPathResult]
395
- def convert_data_xml_edit_remove_all_child_nodes_with_x_path(input_file, x_path_expression, opts = {})
396
- data, _status_code, _headers = convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(input_file, x_path_expression, opts)
397
- return data
398
- end
399
-
400
- # Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes
401
- # Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.
402
- # @param input_file Input XML file to perform the operation on.
403
- # @param x_path_expression Valid XML XPath query expression
404
- # @param [Hash] opts the optional parameters
405
- # @return [Array<(XmlRemoveAllChildrenWithXPathResult, Fixnum, Hash)>] XmlRemoveAllChildrenWithXPathResult data, response status code and response headers
406
- def convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(input_file, x_path_expression, opts = {})
407
- if @api_client.config.debugging
408
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_edit_remove_all_child_nodes_with_x_path ..."
409
- end
410
- # verify the required parameter 'input_file' is set
411
- if @api_client.config.client_side_validation && input_file.nil?
412
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_remove_all_child_nodes_with_x_path"
413
- end
414
- # verify the required parameter 'x_path_expression' is set
415
- if @api_client.config.client_side_validation && x_path_expression.nil?
416
- fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_remove_all_child_nodes_with_x_path"
417
- end
418
- # resource path
419
- local_var_path = "/convert/xml/edit/xpath/remove-all-children"
420
-
421
- # query parameters
422
- query_params = {}
423
-
424
- # header parameters
425
- header_params = {}
426
- # HTTP header 'Accept' (if needed)
427
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
428
- header_params[:'XPathExpression'] = x_path_expression
429
-
430
- # form parameters
431
- form_params = {}
432
- form_params["inputFile"] = input_file
433
-
434
- # http body (model)
435
- post_body = nil
436
- auth_names = ['Apikey']
437
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
438
- :header_params => header_params,
439
- :query_params => query_params,
440
- :form_params => form_params,
441
- :body => post_body,
442
- :auth_names => auth_names,
443
- :return_type => 'XmlRemoveAllChildrenWithXPathResult')
444
- if @api_client.config.debugging
445
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_remove_all_child_nodes_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
446
- end
447
- return data, status_code, headers
448
- end
449
-
450
- # Replaces XML nodes matching XPath expression with new node
451
- # Return the reuslts of editing an XML document by replacing all of the nodes that match an input XPath expression with a new XML node expression.
452
- # @param input_file Input XML file to perform the operation on.
453
- # @param x_path_expression Valid XML XPath query expression
454
- # @param xml_node_replacement XML Node replacement content
455
- # @param [Hash] opts the optional parameters
456
- # @return [XmlReplaceWithXPathResult]
457
- def convert_data_xml_edit_replace_with_x_path(input_file, x_path_expression, xml_node_replacement, opts = {})
458
- data, _status_code, _headers = convert_data_xml_edit_replace_with_x_path_with_http_info(input_file, x_path_expression, xml_node_replacement, opts)
459
- return data
460
- end
461
-
462
- # Replaces XML nodes matching XPath expression with new node
463
- # Return the reuslts of editing an XML document by replacing all of the nodes that match an input XPath expression with a new XML node expression.
464
- # @param input_file Input XML file to perform the operation on.
465
- # @param x_path_expression Valid XML XPath query expression
466
- # @param xml_node_replacement XML Node replacement content
467
- # @param [Hash] opts the optional parameters
468
- # @return [Array<(XmlReplaceWithXPathResult, Fixnum, Hash)>] XmlReplaceWithXPathResult data, response status code and response headers
469
- def convert_data_xml_edit_replace_with_x_path_with_http_info(input_file, x_path_expression, xml_node_replacement, opts = {})
470
- if @api_client.config.debugging
471
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_edit_replace_with_x_path ..."
472
- end
473
- # verify the required parameter 'input_file' is set
474
- if @api_client.config.client_side_validation && input_file.nil?
475
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_replace_with_x_path"
476
- end
477
- # verify the required parameter 'x_path_expression' is set
478
- if @api_client.config.client_side_validation && x_path_expression.nil?
479
- fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_replace_with_x_path"
480
- end
481
- # verify the required parameter 'xml_node_replacement' is set
482
- if @api_client.config.client_side_validation && xml_node_replacement.nil?
483
- fail ArgumentError, "Missing the required parameter 'xml_node_replacement' when calling ConvertDataApi.convert_data_xml_edit_replace_with_x_path"
484
- end
485
- # resource path
486
- local_var_path = "/convert/xml/edit/xpath/replace"
487
-
488
- # query parameters
489
- query_params = {}
490
-
491
- # header parameters
492
- header_params = {}
493
- # HTTP header 'Accept' (if needed)
494
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
495
- header_params[:'XPathExpression'] = x_path_expression
496
- header_params[:'XmlNodeReplacement'] = xml_node_replacement
497
-
498
- # form parameters
499
- form_params = {}
500
- form_params["inputFile"] = input_file
501
-
502
- # http body (model)
503
- post_body = nil
504
- auth_names = ['Apikey']
505
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
506
- :header_params => header_params,
507
- :query_params => query_params,
508
- :form_params => form_params,
509
- :body => post_body,
510
- :auth_names => auth_names,
511
- :return_type => 'XmlReplaceWithXPathResult')
512
- if @api_client.config.debugging
513
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_replace_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
514
- end
515
- return data, status_code, headers
516
- end
517
-
518
- # Sets the value contents of XML nodes matching XPath expression
519
- # Return the reuslts of editing an XML document by setting the contents of all of the nodes that match an input XPath expression. Supports elements and attributes.
520
- # @param input_file Input XML file to perform the operation on.
521
- # @param x_path_expression Valid XML XPath query expression
522
- # @param xml_value XML Value to set into the matching XML nodes
523
- # @param [Hash] opts the optional parameters
524
- # @return [XmlSetValueWithXPathResult]
525
- def convert_data_xml_edit_set_value_with_x_path(input_file, x_path_expression, xml_value, opts = {})
526
- data, _status_code, _headers = convert_data_xml_edit_set_value_with_x_path_with_http_info(input_file, x_path_expression, xml_value, opts)
527
- return data
528
- end
529
-
530
- # Sets the value contents of XML nodes matching XPath expression
531
- # Return the reuslts of editing an XML document by setting the contents of all of the nodes that match an input XPath expression. Supports elements and attributes.
532
- # @param input_file Input XML file to perform the operation on.
533
- # @param x_path_expression Valid XML XPath query expression
534
- # @param xml_value XML Value to set into the matching XML nodes
535
- # @param [Hash] opts the optional parameters
536
- # @return [Array<(XmlSetValueWithXPathResult, Fixnum, Hash)>] XmlSetValueWithXPathResult data, response status code and response headers
537
- def convert_data_xml_edit_set_value_with_x_path_with_http_info(input_file, x_path_expression, xml_value, opts = {})
538
- if @api_client.config.debugging
539
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_edit_set_value_with_x_path ..."
540
- end
541
- # verify the required parameter 'input_file' is set
542
- if @api_client.config.client_side_validation && input_file.nil?
543
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_edit_set_value_with_x_path"
544
- end
545
- # verify the required parameter 'x_path_expression' is set
546
- if @api_client.config.client_side_validation && x_path_expression.nil?
547
- fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_edit_set_value_with_x_path"
548
- end
549
- # verify the required parameter 'xml_value' is set
550
- if @api_client.config.client_side_validation && xml_value.nil?
551
- fail ArgumentError, "Missing the required parameter 'xml_value' when calling ConvertDataApi.convert_data_xml_edit_set_value_with_x_path"
552
- end
553
- # resource path
554
- local_var_path = "/convert/xml/edit/xpath/set-value"
555
-
556
- # query parameters
557
- query_params = {}
558
-
559
- # header parameters
560
- header_params = {}
561
- # HTTP header 'Accept' (if needed)
562
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
563
- header_params[:'XPathExpression'] = x_path_expression
564
- header_params[:'XmlValue'] = xml_value
565
-
566
- # form parameters
567
- form_params = {}
568
- form_params["inputFile"] = input_file
569
-
570
- # http body (model)
571
- post_body = nil
572
- auth_names = ['Apikey']
573
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
574
- :header_params => header_params,
575
- :query_params => query_params,
576
- :form_params => form_params,
577
- :body => post_body,
578
- :auth_names => auth_names,
579
- :return_type => 'XmlSetValueWithXPathResult')
580
- if @api_client.config.debugging
581
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_edit_set_value_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
582
- end
583
- return data, status_code, headers
584
- end
585
-
586
- # Filter, select XML nodes using XPath expression, get results
587
- # Return the reuslts of filtering, selecting an XML document with an XPath expression
588
- # @param x_path_expression Valid XML XPath query expression
589
- # @param input_file Input file to perform the operation on.
590
- # @param [Hash] opts the optional parameters
591
- # @return [XmlFilterWithXPathResult]
592
- def convert_data_xml_filter_with_x_path(x_path_expression, input_file, opts = {})
593
- data, _status_code, _headers = convert_data_xml_filter_with_x_path_with_http_info(x_path_expression, input_file, opts)
594
- return data
595
- end
596
-
597
- # Filter, select XML nodes using XPath expression, get results
598
- # Return the reuslts of filtering, selecting an XML document with an XPath expression
599
- # @param x_path_expression Valid XML XPath query expression
600
- # @param input_file Input file to perform the operation on.
601
- # @param [Hash] opts the optional parameters
602
- # @return [Array<(XmlFilterWithXPathResult, Fixnum, Hash)>] XmlFilterWithXPathResult data, response status code and response headers
603
- def convert_data_xml_filter_with_x_path_with_http_info(x_path_expression, input_file, opts = {})
604
- if @api_client.config.debugging
605
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_filter_with_x_path ..."
606
- end
607
- # verify the required parameter 'x_path_expression' is set
608
- if @api_client.config.client_side_validation && x_path_expression.nil?
609
- fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_filter_with_x_path"
610
- end
611
- # verify the required parameter 'input_file' is set
612
- if @api_client.config.client_side_validation && input_file.nil?
613
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_filter_with_x_path"
614
- end
615
- # resource path
616
- local_var_path = "/convert/xml/select/xpath"
617
-
618
- # query parameters
619
- query_params = {}
620
-
621
- # header parameters
622
- header_params = {}
623
- # HTTP header 'Accept' (if needed)
624
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
625
- # HTTP header 'Content-Type'
626
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
627
- header_params[:'XPathExpression'] = x_path_expression
628
-
629
- # form parameters
630
- form_params = {}
631
- form_params["inputFile"] = input_file
632
-
633
- # http body (model)
634
- post_body = nil
635
- auth_names = ['Apikey']
636
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
637
- :header_params => header_params,
638
- :query_params => query_params,
639
- :form_params => form_params,
640
- :body => post_body,
641
- :auth_names => auth_names,
642
- :return_type => 'XmlFilterWithXPathResult')
643
- if @api_client.config.debugging
644
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_filter_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
645
- end
646
- return data, status_code, headers
647
- end
648
-
649
- # Query an XML file using XQuery query, get results
650
- # Return the reuslts of querying a single XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for a single XML document as input. Provided XML document is automatically loaded as the default context; to access elements in the document, simply refer to them without a document reference, such as bookstore/book
651
- # @param input_file Input XML file to perform the operation on.
652
- # @param x_query Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
653
- # @param [Hash] opts the optional parameters
654
- # @return [XmlQueryWithXQueryResult]
655
- def convert_data_xml_query_with_x_query(input_file, x_query, opts = {})
656
- data, _status_code, _headers = convert_data_xml_query_with_x_query_with_http_info(input_file, x_query, opts)
657
- return data
658
- end
659
-
660
- # Query an XML file using XQuery query, get results
661
- # Return the reuslts of querying a single XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for a single XML document as input. Provided XML document is automatically loaded as the default context; to access elements in the document, simply refer to them without a document reference, such as bookstore/book
662
- # @param input_file Input XML file to perform the operation on.
663
- # @param x_query Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
664
- # @param [Hash] opts the optional parameters
665
- # @return [Array<(XmlQueryWithXQueryResult, Fixnum, Hash)>] XmlQueryWithXQueryResult data, response status code and response headers
666
- def convert_data_xml_query_with_x_query_with_http_info(input_file, x_query, opts = {})
667
- if @api_client.config.debugging
668
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_query_with_x_query ..."
669
- end
670
- # verify the required parameter 'input_file' is set
671
- if @api_client.config.client_side_validation && input_file.nil?
672
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_query_with_x_query"
673
- end
674
- # verify the required parameter 'x_query' is set
675
- if @api_client.config.client_side_validation && x_query.nil?
676
- fail ArgumentError, "Missing the required parameter 'x_query' when calling ConvertDataApi.convert_data_xml_query_with_x_query"
677
- end
678
- # resource path
679
- local_var_path = "/convert/xml/query/xquery"
680
-
681
- # query parameters
682
- query_params = {}
683
-
684
- # header parameters
685
- header_params = {}
686
- # HTTP header 'Accept' (if needed)
687
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
688
- header_params[:'XQuery'] = x_query
689
-
690
- # form parameters
691
- form_params = {}
692
- form_params["inputFile"] = input_file
693
-
694
- # http body (model)
695
- post_body = nil
696
- auth_names = ['Apikey']
697
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
698
- :header_params => header_params,
699
- :query_params => query_params,
700
- :form_params => form_params,
701
- :body => post_body,
702
- :auth_names => auth_names,
703
- :return_type => 'XmlQueryWithXQueryResult')
704
- if @api_client.config.debugging
705
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_query_with_x_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
706
- end
707
- return data, status_code, headers
708
- end
709
-
710
- # Query multiple XML files using XQuery query, get results
711
- # Return the reuslts of querying an XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for multiple XML documents as input. You can refer to the contents of a given document by name, for example doc(\"books.xml\") or doc(\"restaurants.xml\") if you included two input files named books.xml and restaurants.xml. If input files contain no file name, they will default to file names input1.xml, input2.xml and so on.
712
- # @param input_file1 First input XML file to perform the operation on.
713
- # @param x_query Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
714
- # @param [Hash] opts the optional parameters
715
- # @option opts [File] :input_file2 Second input XML file to perform the operation on.
716
- # @option opts [File] :input_file3 Third input XML file to perform the operation on.
717
- # @option opts [File] :input_file4 Fourth input XML file to perform the operation on.
718
- # @option opts [File] :input_file5 Fifth input XML file to perform the operation on.
719
- # @option opts [File] :input_file6 Sixth input XML file to perform the operation on.
720
- # @option opts [File] :input_file7 Seventh input XML file to perform the operation on.
721
- # @option opts [File] :input_file8 Eighth input XML file to perform the operation on.
722
- # @option opts [File] :input_file9 Ninth input XML file to perform the operation on.
723
- # @option opts [File] :input_file10 Tenth input XML file to perform the operation on.
724
- # @return [XmlQueryWithXQueryMultiResult]
725
- def convert_data_xml_query_with_x_query_multi(input_file1, x_query, opts = {})
726
- data, _status_code, _headers = convert_data_xml_query_with_x_query_multi_with_http_info(input_file1, x_query, opts)
727
- return data
728
- end
729
-
730
- # Query multiple XML files using XQuery query, get results
731
- # Return the reuslts of querying an XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for multiple XML documents as input. You can refer to the contents of a given document by name, for example doc(\&quot;books.xml\&quot;) or doc(\&quot;restaurants.xml\&quot;) if you included two input files named books.xml and restaurants.xml. If input files contain no file name, they will default to file names input1.xml, input2.xml and so on.
732
- # @param input_file1 First input XML file to perform the operation on.
733
- # @param x_query Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported
734
- # @param [Hash] opts the optional parameters
735
- # @option opts [File] :input_file2 Second input XML file to perform the operation on.
736
- # @option opts [File] :input_file3 Third input XML file to perform the operation on.
737
- # @option opts [File] :input_file4 Fourth input XML file to perform the operation on.
738
- # @option opts [File] :input_file5 Fifth input XML file to perform the operation on.
739
- # @option opts [File] :input_file6 Sixth input XML file to perform the operation on.
740
- # @option opts [File] :input_file7 Seventh input XML file to perform the operation on.
741
- # @option opts [File] :input_file8 Eighth input XML file to perform the operation on.
742
- # @option opts [File] :input_file9 Ninth input XML file to perform the operation on.
743
- # @option opts [File] :input_file10 Tenth input XML file to perform the operation on.
744
- # @return [Array<(XmlQueryWithXQueryMultiResult, Fixnum, Hash)>] XmlQueryWithXQueryMultiResult data, response status code and response headers
745
- def convert_data_xml_query_with_x_query_multi_with_http_info(input_file1, x_query, opts = {})
746
- if @api_client.config.debugging
747
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_query_with_x_query_multi ..."
748
- end
749
- # verify the required parameter 'input_file1' is set
750
- if @api_client.config.client_side_validation && input_file1.nil?
751
- fail ArgumentError, "Missing the required parameter 'input_file1' when calling ConvertDataApi.convert_data_xml_query_with_x_query_multi"
752
- end
753
- # verify the required parameter 'x_query' is set
754
- if @api_client.config.client_side_validation && x_query.nil?
755
- fail ArgumentError, "Missing the required parameter 'x_query' when calling ConvertDataApi.convert_data_xml_query_with_x_query_multi"
756
- end
757
- # resource path
758
- local_var_path = "/convert/xml/query/xquery/multi"
759
-
760
- # query parameters
761
- query_params = {}
762
-
763
- # header parameters
764
- header_params = {}
765
- # HTTP header 'Accept' (if needed)
766
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
767
- header_params[:'XQuery'] = x_query
768
-
769
- # form parameters
770
- form_params = {}
771
- form_params["inputFile1"] = input_file1
772
- form_params["inputFile2"] = opts[:'input_file2'] if !opts[:'input_file2'].nil?
773
- form_params["inputFile3"] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
774
- form_params["inputFile4"] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
775
- form_params["inputFile5"] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
776
- form_params["inputFile6"] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
777
- form_params["inputFile7"] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
778
- form_params["inputFile8"] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
779
- form_params["inputFile9"] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
780
- form_params["inputFile10"] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
781
-
782
- # http body (model)
783
- post_body = nil
784
- auth_names = ['Apikey']
785
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
786
- :header_params => header_params,
787
- :query_params => query_params,
788
- :form_params => form_params,
789
- :body => post_body,
790
- :auth_names => auth_names,
791
- :return_type => 'XmlQueryWithXQueryMultiResult')
792
- if @api_client.config.debugging
793
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_query_with_x_query_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
794
- end
795
- return data, status_code, headers
796
- end
797
-
798
- # Remove, delete XML nodes and items matching XPath expression
799
- # Return the reuslts of editing an XML document by removing all of the nodes that match an input XPath expression
800
- # @param x_path_expression Valid XML XPath query expression
801
- # @param input_file Input file to perform the operation on.
802
- # @param [Hash] opts the optional parameters
803
- # @return [XmlRemoveWithXPathResult]
804
- def convert_data_xml_remove_with_x_path(x_path_expression, input_file, opts = {})
805
- data, _status_code, _headers = convert_data_xml_remove_with_x_path_with_http_info(x_path_expression, input_file, opts)
806
- return data
807
- end
808
-
809
- # Remove, delete XML nodes and items matching XPath expression
810
- # Return the reuslts of editing an XML document by removing all of the nodes that match an input XPath expression
811
- # @param x_path_expression Valid XML XPath query expression
812
- # @param input_file Input file to perform the operation on.
813
- # @param [Hash] opts the optional parameters
814
- # @return [Array<(XmlRemoveWithXPathResult, Fixnum, Hash)>] XmlRemoveWithXPathResult data, response status code and response headers
815
- def convert_data_xml_remove_with_x_path_with_http_info(x_path_expression, input_file, opts = {})
816
- if @api_client.config.debugging
817
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_remove_with_x_path ..."
818
- end
819
- # verify the required parameter 'x_path_expression' is set
820
- if @api_client.config.client_side_validation && x_path_expression.nil?
821
- fail ArgumentError, "Missing the required parameter 'x_path_expression' when calling ConvertDataApi.convert_data_xml_remove_with_x_path"
822
- end
823
- # verify the required parameter 'input_file' is set
824
- if @api_client.config.client_side_validation && input_file.nil?
825
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_remove_with_x_path"
826
- end
827
- # resource path
828
- local_var_path = "/convert/xml/edit/xpath/remove"
829
-
830
- # query parameters
831
- query_params = {}
832
-
833
- # header parameters
834
- header_params = {}
835
- # HTTP header 'Accept' (if needed)
836
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
837
- # HTTP header 'Content-Type'
838
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
839
- header_params[:'XPathExpression'] = x_path_expression
840
-
841
- # form parameters
842
- form_params = {}
843
- form_params["inputFile"] = input_file
844
-
845
- # http body (model)
846
- post_body = nil
847
- auth_names = ['Apikey']
848
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
849
- :header_params => header_params,
850
- :query_params => query_params,
851
- :form_params => form_params,
852
- :body => post_body,
853
- :auth_names => auth_names,
854
- :return_type => 'XmlRemoveWithXPathResult')
855
- if @api_client.config.debugging
856
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_remove_with_x_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
857
- end
858
- return data, status_code, headers
859
- end
860
-
861
- # Convert XML to JSON conversion
862
- # Convert an XML string or file into JSON
863
- # @param input_file Input file to perform the operation on.
864
- # @param [Hash] opts the optional parameters
865
- # @return [Object]
866
- def convert_data_xml_to_json(input_file, opts = {})
867
- data, _status_code, _headers = convert_data_xml_to_json_with_http_info(input_file, opts)
868
- return data
869
- end
870
-
871
- # Convert XML to JSON conversion
872
- # Convert an XML string or file into JSON
873
- # @param input_file Input file to perform the operation on.
874
- # @param [Hash] opts the optional parameters
875
- # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
876
- def convert_data_xml_to_json_with_http_info(input_file, opts = {})
877
- if @api_client.config.debugging
878
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_to_json ..."
879
- end
880
- # verify the required parameter 'input_file' is set
881
- if @api_client.config.client_side_validation && input_file.nil?
882
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_to_json"
883
- end
884
- # resource path
885
- local_var_path = "/convert/xml/to/json"
886
-
887
- # query parameters
888
- query_params = {}
889
-
890
- # header parameters
891
- header_params = {}
892
- # HTTP header 'Accept' (if needed)
893
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
894
- # HTTP header 'Content-Type'
895
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
896
-
897
- # form parameters
898
- form_params = {}
899
- form_params["inputFile"] = input_file
900
-
901
- # http body (model)
902
- post_body = nil
903
- auth_names = ['Apikey']
904
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
905
- :header_params => header_params,
906
- :query_params => query_params,
907
- :form_params => form_params,
908
- :body => post_body,
909
- :auth_names => auth_names,
910
- :return_type => 'Object')
911
- if @api_client.config.debugging
912
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
913
- end
914
- return data, status_code, headers
915
- end
916
-
917
- # Transform XML document file with XSLT into a new XML document
918
- # Convert an XML string or file into JSON
919
- # @param input_file Input XML file to perform the operation on.
920
- # @param transform_file Input XSLT file to use to transform the input XML file.
921
- # @param [Hash] opts the optional parameters
922
- # @return [String]
923
- def convert_data_xml_transform_with_xslt_to_xml(input_file, transform_file, opts = {})
924
- data, _status_code, _headers = convert_data_xml_transform_with_xslt_to_xml_with_http_info(input_file, transform_file, opts)
925
- return data
926
- end
927
-
928
- # Transform XML document file with XSLT into a new XML document
929
- # Convert an XML string or file into JSON
930
- # @param input_file Input XML file to perform the operation on.
931
- # @param transform_file Input XSLT file to use to transform the input XML file.
932
- # @param [Hash] opts the optional parameters
933
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
934
- def convert_data_xml_transform_with_xslt_to_xml_with_http_info(input_file, transform_file, opts = {})
935
- if @api_client.config.debugging
936
- @api_client.config.logger.debug "Calling API: ConvertDataApi.convert_data_xml_transform_with_xslt_to_xml ..."
937
- end
938
- # verify the required parameter 'input_file' is set
939
- if @api_client.config.client_side_validation && input_file.nil?
940
- fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDataApi.convert_data_xml_transform_with_xslt_to_xml"
941
- end
942
- # verify the required parameter 'transform_file' is set
943
- if @api_client.config.client_side_validation && transform_file.nil?
944
- fail ArgumentError, "Missing the required parameter 'transform_file' when calling ConvertDataApi.convert_data_xml_transform_with_xslt_to_xml"
945
- end
946
- # resource path
947
- local_var_path = "/convert/xml/transform/xslt/to/xml"
948
-
949
- # query parameters
950
- query_params = {}
951
-
952
- # header parameters
953
- header_params = {}
954
- # HTTP header 'Accept' (if needed)
955
- header_params['Accept'] = @api_client.select_header_accept(['application/xml'])
956
-
957
- # form parameters
958
- form_params = {}
959
- form_params["inputFile"] = input_file
960
- form_params["transformFile"] = transform_file
961
-
962
- # http body (model)
963
- post_body = nil
964
- auth_names = ['Apikey']
965
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
966
- :header_params => header_params,
967
- :query_params => query_params,
968
- :form_params => form_params,
969
- :body => post_body,
970
- :auth_names => auth_names,
971
- :return_type => 'String')
972
- if @api_client.config.debugging
973
- @api_client.config.logger.debug "API called: ConvertDataApi#convert_data_xml_transform_with_xslt_to_xml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
974
- end
975
- return data, status_code, headers
976
- end
977
- end
978
- end