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