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