cloudmersive-convert-api-client 1.7.6 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +3 -664
- data/Gemfile +0 -7
- data/README.md +0 -483
- 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/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 -1754
- 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/DocxTopLevelComment.md +0 -14
- data/docs/EditDocumentApi.md +0 -2758
- data/docs/EditPdfApi.md +0 -1083
- data/docs/EditTextApi.md +0 -726
- 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/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/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/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/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 -723
- 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/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 -255
- 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 -1805
- 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 -751
- 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/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_top_level_comment.rb +0 -251
- 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_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/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/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/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_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 -421
- 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 -191
- 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/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_top_level_comment_spec.rb +0 -78
- 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_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/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/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/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_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,79 +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 ViewerToolsApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
|
23
|
-
# Create a web-based viewer
|
24
|
-
# Creates an HTML embed code for a simple web-based viewer of a document; supports Office document types and PDF.
|
25
|
-
# @param input_file Input file to perform the operation on.
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [ViewerResponse]
|
28
|
-
def viewer_tools_create_simple(input_file, opts = {})
|
29
|
-
data, _status_code, _headers = viewer_tools_create_simple_with_http_info(input_file, opts)
|
30
|
-
return data
|
31
|
-
end
|
32
|
-
|
33
|
-
# Create a web-based viewer
|
34
|
-
# Creates an HTML embed code for a simple web-based viewer of a document; supports Office document types and PDF.
|
35
|
-
# @param input_file Input file to perform the operation on.
|
36
|
-
# @param [Hash] opts the optional parameters
|
37
|
-
# @return [Array<(ViewerResponse, Fixnum, Hash)>] ViewerResponse data, response status code and response headers
|
38
|
-
def viewer_tools_create_simple_with_http_info(input_file, opts = {})
|
39
|
-
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug "Calling API: ViewerToolsApi.viewer_tools_create_simple ..."
|
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 ViewerToolsApi.viewer_tools_create_simple"
|
45
|
-
end
|
46
|
-
# resource path
|
47
|
-
local_var_path = "/convert/viewer/create/web/simple"
|
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 => 'ViewerResponse')
|
73
|
-
if @api_client.config.debugging
|
74
|
-
@api_client.config.logger.debug "API called: ViewerToolsApi#viewer_tools_create_simple\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
75
|
-
end
|
76
|
-
return data, status_code, headers
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
@@ -1,335 +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 ZipArchiveApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
|
23
|
-
# Compress files to create a new zip archive
|
24
|
-
# Create a new zip archive by compressing input files.
|
25
|
-
# @param input_file1 First input file to perform the operation on.
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [File] :input_file2 Second input file to perform the operation on.
|
28
|
-
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
29
|
-
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
30
|
-
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
31
|
-
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
32
|
-
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
33
|
-
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
34
|
-
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
35
|
-
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
36
|
-
# @return [String]
|
37
|
-
def zip_archive_zip_create(input_file1, opts = {})
|
38
|
-
data, _status_code, _headers = zip_archive_zip_create_with_http_info(input_file1, opts)
|
39
|
-
return data
|
40
|
-
end
|
41
|
-
|
42
|
-
# Compress files to create a new zip archive
|
43
|
-
# Create a new zip archive by compressing input files.
|
44
|
-
# @param input_file1 First input file to perform the operation on.
|
45
|
-
# @param [Hash] opts the optional parameters
|
46
|
-
# @option opts [File] :input_file2 Second input file to perform the operation on.
|
47
|
-
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
48
|
-
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
49
|
-
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
50
|
-
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
51
|
-
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
52
|
-
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
53
|
-
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
54
|
-
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
55
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
56
|
-
def zip_archive_zip_create_with_http_info(input_file1, opts = {})
|
57
|
-
if @api_client.config.debugging
|
58
|
-
@api_client.config.logger.debug "Calling API: ZipArchiveApi.zip_archive_zip_create ..."
|
59
|
-
end
|
60
|
-
# verify the required parameter 'input_file1' is set
|
61
|
-
if @api_client.config.client_side_validation && input_file1.nil?
|
62
|
-
fail ArgumentError, "Missing the required parameter 'input_file1' when calling ZipArchiveApi.zip_archive_zip_create"
|
63
|
-
end
|
64
|
-
# resource path
|
65
|
-
local_var_path = "/convert/archive/zip/create"
|
66
|
-
|
67
|
-
# query parameters
|
68
|
-
query_params = {}
|
69
|
-
|
70
|
-
# header parameters
|
71
|
-
header_params = {}
|
72
|
-
# HTTP header 'Accept' (if needed)
|
73
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
74
|
-
# HTTP header 'Content-Type'
|
75
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
76
|
-
|
77
|
-
# form parameters
|
78
|
-
form_params = {}
|
79
|
-
form_params["inputFile1"] = input_file1
|
80
|
-
form_params["inputFile2"] = opts[:'input_file2'] if !opts[:'input_file2'].nil?
|
81
|
-
form_params["inputFile3"] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
|
82
|
-
form_params["inputFile4"] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
|
83
|
-
form_params["inputFile5"] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
|
84
|
-
form_params["inputFile6"] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
|
85
|
-
form_params["inputFile7"] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
|
86
|
-
form_params["inputFile8"] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
|
87
|
-
form_params["inputFile9"] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
|
88
|
-
form_params["inputFile10"] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
|
89
|
-
|
90
|
-
# http body (model)
|
91
|
-
post_body = nil
|
92
|
-
auth_names = ['Apikey']
|
93
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
94
|
-
:header_params => header_params,
|
95
|
-
:query_params => query_params,
|
96
|
-
:form_params => form_params,
|
97
|
-
:body => post_body,
|
98
|
-
:auth_names => auth_names,
|
99
|
-
:return_type => 'String')
|
100
|
-
if @api_client.config.debugging
|
101
|
-
@api_client.config.logger.debug "API called: ZipArchiveApi#zip_archive_zip_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
102
|
-
end
|
103
|
-
return data, status_code, headers
|
104
|
-
end
|
105
|
-
|
106
|
-
# Compress files and folders to create a new zip archive with advanced options
|
107
|
-
# Create a new zip archive by compressing input files, folders and leverage advanced options to control the structure of the resulting zip archive.
|
108
|
-
# @param request Input request
|
109
|
-
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [Object]
|
111
|
-
def zip_archive_zip_create_advanced(request, opts = {})
|
112
|
-
data, _status_code, _headers = zip_archive_zip_create_advanced_with_http_info(request, opts)
|
113
|
-
return data
|
114
|
-
end
|
115
|
-
|
116
|
-
# Compress files and folders to create a new zip archive with advanced options
|
117
|
-
# Create a new zip archive by compressing input files, folders and leverage advanced options to control the structure of the resulting zip archive.
|
118
|
-
# @param request Input request
|
119
|
-
# @param [Hash] opts the optional parameters
|
120
|
-
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
121
|
-
def zip_archive_zip_create_advanced_with_http_info(request, opts = {})
|
122
|
-
if @api_client.config.debugging
|
123
|
-
@api_client.config.logger.debug "Calling API: ZipArchiveApi.zip_archive_zip_create_advanced ..."
|
124
|
-
end
|
125
|
-
# verify the required parameter 'request' is set
|
126
|
-
if @api_client.config.client_side_validation && request.nil?
|
127
|
-
fail ArgumentError, "Missing the required parameter 'request' when calling ZipArchiveApi.zip_archive_zip_create_advanced"
|
128
|
-
end
|
129
|
-
# resource path
|
130
|
-
local_var_path = "/convert/archive/zip/create/advanced"
|
131
|
-
|
132
|
-
# query parameters
|
133
|
-
query_params = {}
|
134
|
-
|
135
|
-
# header parameters
|
136
|
-
header_params = {}
|
137
|
-
# HTTP header 'Accept' (if needed)
|
138
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
139
|
-
# HTTP header 'Content-Type'
|
140
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
141
|
-
|
142
|
-
# form parameters
|
143
|
-
form_params = {}
|
144
|
-
|
145
|
-
# http body (model)
|
146
|
-
post_body = @api_client.object_to_http_body(request)
|
147
|
-
auth_names = ['Apikey']
|
148
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
149
|
-
:header_params => header_params,
|
150
|
-
:query_params => query_params,
|
151
|
-
:form_params => form_params,
|
152
|
-
:body => post_body,
|
153
|
-
:auth_names => auth_names,
|
154
|
-
:return_type => 'Object')
|
155
|
-
if @api_client.config.debugging
|
156
|
-
@api_client.config.logger.debug "API called: ZipArchiveApi#zip_archive_zip_create_advanced\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
157
|
-
end
|
158
|
-
return data, status_code, headers
|
159
|
-
end
|
160
|
-
|
161
|
-
# Decrypt and remove password protection on a zip file
|
162
|
-
# Decrypts and removes password protection from an encrypted zip file with the specified password
|
163
|
-
# @param input_file Input file to perform the operation on.
|
164
|
-
# @param zip_password Required; Password for the input archive
|
165
|
-
# @param [Hash] opts the optional parameters
|
166
|
-
# @return [Object]
|
167
|
-
def zip_archive_zip_decrypt(input_file, zip_password, opts = {})
|
168
|
-
data, _status_code, _headers = zip_archive_zip_decrypt_with_http_info(input_file, zip_password, opts)
|
169
|
-
return data
|
170
|
-
end
|
171
|
-
|
172
|
-
# Decrypt and remove password protection on a zip file
|
173
|
-
# Decrypts and removes password protection from an encrypted zip file with the specified password
|
174
|
-
# @param input_file Input file to perform the operation on.
|
175
|
-
# @param zip_password Required; Password for the input archive
|
176
|
-
# @param [Hash] opts the optional parameters
|
177
|
-
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
178
|
-
def zip_archive_zip_decrypt_with_http_info(input_file, zip_password, opts = {})
|
179
|
-
if @api_client.config.debugging
|
180
|
-
@api_client.config.logger.debug "Calling API: ZipArchiveApi.zip_archive_zip_decrypt ..."
|
181
|
-
end
|
182
|
-
# verify the required parameter 'input_file' is set
|
183
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
184
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ZipArchiveApi.zip_archive_zip_decrypt"
|
185
|
-
end
|
186
|
-
# verify the required parameter 'zip_password' is set
|
187
|
-
if @api_client.config.client_side_validation && zip_password.nil?
|
188
|
-
fail ArgumentError, "Missing the required parameter 'zip_password' when calling ZipArchiveApi.zip_archive_zip_decrypt"
|
189
|
-
end
|
190
|
-
# resource path
|
191
|
-
local_var_path = "/convert/archive/zip/decrypt"
|
192
|
-
|
193
|
-
# query parameters
|
194
|
-
query_params = {}
|
195
|
-
|
196
|
-
# header parameters
|
197
|
-
header_params = {}
|
198
|
-
# HTTP header 'Accept' (if needed)
|
199
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
200
|
-
# HTTP header 'Content-Type'
|
201
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
202
|
-
header_params[:'zipPassword'] = zip_password
|
203
|
-
|
204
|
-
# form parameters
|
205
|
-
form_params = {}
|
206
|
-
form_params["inputFile"] = input_file
|
207
|
-
|
208
|
-
# http body (model)
|
209
|
-
post_body = nil
|
210
|
-
auth_names = ['Apikey']
|
211
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
212
|
-
:header_params => header_params,
|
213
|
-
:query_params => query_params,
|
214
|
-
:form_params => form_params,
|
215
|
-
:body => post_body,
|
216
|
-
:auth_names => auth_names,
|
217
|
-
:return_type => 'Object')
|
218
|
-
if @api_client.config.debugging
|
219
|
-
@api_client.config.logger.debug "API called: ZipArchiveApi#zip_archive_zip_decrypt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
220
|
-
end
|
221
|
-
return data, status_code, headers
|
222
|
-
end
|
223
|
-
|
224
|
-
# Encrypt and password protect a zip file
|
225
|
-
# Encrypts and password protects an existing zip file with the specified password and encryption algorithm
|
226
|
-
# @param encryption_request Encryption request
|
227
|
-
# @param [Hash] opts the optional parameters
|
228
|
-
# @return [Object]
|
229
|
-
def zip_archive_zip_encrypt_advanced(encryption_request, opts = {})
|
230
|
-
data, _status_code, _headers = zip_archive_zip_encrypt_advanced_with_http_info(encryption_request, opts)
|
231
|
-
return data
|
232
|
-
end
|
233
|
-
|
234
|
-
# Encrypt and password protect a zip file
|
235
|
-
# Encrypts and password protects an existing zip file with the specified password and encryption algorithm
|
236
|
-
# @param encryption_request Encryption request
|
237
|
-
# @param [Hash] opts the optional parameters
|
238
|
-
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
239
|
-
def zip_archive_zip_encrypt_advanced_with_http_info(encryption_request, opts = {})
|
240
|
-
if @api_client.config.debugging
|
241
|
-
@api_client.config.logger.debug "Calling API: ZipArchiveApi.zip_archive_zip_encrypt_advanced ..."
|
242
|
-
end
|
243
|
-
# verify the required parameter 'encryption_request' is set
|
244
|
-
if @api_client.config.client_side_validation && encryption_request.nil?
|
245
|
-
fail ArgumentError, "Missing the required parameter 'encryption_request' when calling ZipArchiveApi.zip_archive_zip_encrypt_advanced"
|
246
|
-
end
|
247
|
-
# resource path
|
248
|
-
local_var_path = "/convert/archive/zip/encrypt/advanced"
|
249
|
-
|
250
|
-
# query parameters
|
251
|
-
query_params = {}
|
252
|
-
|
253
|
-
# header parameters
|
254
|
-
header_params = {}
|
255
|
-
# HTTP header 'Accept' (if needed)
|
256
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
257
|
-
# HTTP header 'Content-Type'
|
258
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
259
|
-
|
260
|
-
# form parameters
|
261
|
-
form_params = {}
|
262
|
-
|
263
|
-
# http body (model)
|
264
|
-
post_body = @api_client.object_to_http_body(encryption_request)
|
265
|
-
auth_names = ['Apikey']
|
266
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
267
|
-
:header_params => header_params,
|
268
|
-
:query_params => query_params,
|
269
|
-
:form_params => form_params,
|
270
|
-
:body => post_body,
|
271
|
-
:auth_names => auth_names,
|
272
|
-
:return_type => 'Object')
|
273
|
-
if @api_client.config.debugging
|
274
|
-
@api_client.config.logger.debug "API called: ZipArchiveApi#zip_archive_zip_encrypt_advanced\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
275
|
-
end
|
276
|
-
return data, status_code, headers
|
277
|
-
end
|
278
|
-
|
279
|
-
# Extract, decompress files and folders from a zip archive
|
280
|
-
# Extracts a zip archive by decompressing files, and folders.
|
281
|
-
# @param input_file Input file to perform the operation on.
|
282
|
-
# @param [Hash] opts the optional parameters
|
283
|
-
# @return [ZipExtractResponse]
|
284
|
-
def zip_archive_zip_extract(input_file, opts = {})
|
285
|
-
data, _status_code, _headers = zip_archive_zip_extract_with_http_info(input_file, opts)
|
286
|
-
return data
|
287
|
-
end
|
288
|
-
|
289
|
-
# Extract, decompress files and folders from a zip archive
|
290
|
-
# Extracts a zip archive by decompressing files, and folders.
|
291
|
-
# @param input_file Input file to perform the operation on.
|
292
|
-
# @param [Hash] opts the optional parameters
|
293
|
-
# @return [Array<(ZipExtractResponse, Fixnum, Hash)>] ZipExtractResponse data, response status code and response headers
|
294
|
-
def zip_archive_zip_extract_with_http_info(input_file, opts = {})
|
295
|
-
if @api_client.config.debugging
|
296
|
-
@api_client.config.logger.debug "Calling API: ZipArchiveApi.zip_archive_zip_extract ..."
|
297
|
-
end
|
298
|
-
# verify the required parameter 'input_file' is set
|
299
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
300
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ZipArchiveApi.zip_archive_zip_extract"
|
301
|
-
end
|
302
|
-
# resource path
|
303
|
-
local_var_path = "/convert/archive/zip/extract"
|
304
|
-
|
305
|
-
# query parameters
|
306
|
-
query_params = {}
|
307
|
-
|
308
|
-
# header parameters
|
309
|
-
header_params = {}
|
310
|
-
# HTTP header 'Accept' (if needed)
|
311
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
312
|
-
# HTTP header 'Content-Type'
|
313
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
314
|
-
|
315
|
-
# form parameters
|
316
|
-
form_params = {}
|
317
|
-
form_params["inputFile"] = input_file
|
318
|
-
|
319
|
-
# http body (model)
|
320
|
-
post_body = nil
|
321
|
-
auth_names = ['Apikey']
|
322
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
323
|
-
:header_params => header_params,
|
324
|
-
:query_params => query_params,
|
325
|
-
:form_params => form_params,
|
326
|
-
:body => post_body,
|
327
|
-
:auth_names => auth_names,
|
328
|
-
:return_type => 'ZipExtractResponse')
|
329
|
-
if @api_client.config.debugging
|
330
|
-
@api_client.config.logger.debug "API called: ZipArchiveApi#zip_archive_zip_extract\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
331
|
-
end
|
332
|
-
return data, status_code, headers
|
333
|
-
end
|
334
|
-
end
|
335
|
-
end
|
@@ -1,389 +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 'date'
|
14
|
-
require 'json'
|
15
|
-
require 'logger'
|
16
|
-
require 'tempfile'
|
17
|
-
require 'typhoeus'
|
18
|
-
require 'uri'
|
19
|
-
|
20
|
-
module CloudmersiveConvertApiClient
|
21
|
-
class ApiClient
|
22
|
-
# The Configuration object holding settings to be used in the API client.
|
23
|
-
attr_accessor :config
|
24
|
-
|
25
|
-
# Defines the headers to be used in HTTP requests of all API calls by default.
|
26
|
-
#
|
27
|
-
# @return [Hash]
|
28
|
-
attr_accessor :default_headers
|
29
|
-
|
30
|
-
# Initializes the ApiClient
|
31
|
-
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
32
|
-
def initialize(config = Configuration.default)
|
33
|
-
@config = config
|
34
|
-
@user_agent = "Swagger-Codegen/#{VERSION}/ruby"
|
35
|
-
@default_headers = {
|
36
|
-
'Content-Type' => "application/json",
|
37
|
-
'User-Agent' => @user_agent
|
38
|
-
}
|
39
|
-
end
|
40
|
-
|
41
|
-
def self.default
|
42
|
-
@@default ||= ApiClient.new
|
43
|
-
end
|
44
|
-
|
45
|
-
# Call an API with given options.
|
46
|
-
#
|
47
|
-
# @return [Array<(Object, Fixnum, Hash)>] an array of 3 elements:
|
48
|
-
# the data deserialized from response body (could be nil), response status code and response headers.
|
49
|
-
def call_api(http_method, path, opts = {})
|
50
|
-
request = build_request(http_method, path, opts)
|
51
|
-
response = request.run
|
52
|
-
|
53
|
-
if @config.debugging
|
54
|
-
@config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
|
55
|
-
end
|
56
|
-
|
57
|
-
unless response.success?
|
58
|
-
if response.timed_out?
|
59
|
-
fail ApiError.new('Connection timed out')
|
60
|
-
elsif response.code == 0
|
61
|
-
# Errors from libcurl will be made visible here
|
62
|
-
fail ApiError.new(:code => 0,
|
63
|
-
:message => response.return_message)
|
64
|
-
else
|
65
|
-
fail ApiError.new(:code => response.code,
|
66
|
-
:response_headers => response.headers,
|
67
|
-
:response_body => response.body),
|
68
|
-
response.status_message
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
if opts[:return_type]
|
73
|
-
data = deserialize(response, opts[:return_type])
|
74
|
-
else
|
75
|
-
data = nil
|
76
|
-
end
|
77
|
-
return data, response.code, response.headers
|
78
|
-
end
|
79
|
-
|
80
|
-
# Builds the HTTP request
|
81
|
-
#
|
82
|
-
# @param [String] http_method HTTP method/verb (e.g. POST)
|
83
|
-
# @param [String] path URL path (e.g. /account/new)
|
84
|
-
# @option opts [Hash] :header_params Header parameters
|
85
|
-
# @option opts [Hash] :query_params Query parameters
|
86
|
-
# @option opts [Hash] :form_params Query parameters
|
87
|
-
# @option opts [Object] :body HTTP body (JSON/XML)
|
88
|
-
# @return [Typhoeus::Request] A Typhoeus Request
|
89
|
-
def build_request(http_method, path, opts = {})
|
90
|
-
url = build_request_url(path)
|
91
|
-
http_method = http_method.to_sym.downcase
|
92
|
-
|
93
|
-
header_params = @default_headers.merge(opts[:header_params] || {})
|
94
|
-
query_params = opts[:query_params] || {}
|
95
|
-
form_params = opts[:form_params] || {}
|
96
|
-
|
97
|
-
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
98
|
-
|
99
|
-
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
100
|
-
_verify_ssl_host = @config.verify_ssl_host ? 2 : 0
|
101
|
-
|
102
|
-
req_opts = {
|
103
|
-
:method => http_method,
|
104
|
-
:headers => header_params,
|
105
|
-
:params => query_params,
|
106
|
-
:params_encoding => @config.params_encoding,
|
107
|
-
:timeout => @config.timeout,
|
108
|
-
:ssl_verifypeer => @config.verify_ssl,
|
109
|
-
:ssl_verifyhost => _verify_ssl_host,
|
110
|
-
:sslcert => @config.cert_file,
|
111
|
-
:sslkey => @config.key_file,
|
112
|
-
:verbose => @config.debugging
|
113
|
-
}
|
114
|
-
|
115
|
-
# set custom cert, if provided
|
116
|
-
req_opts[:cainfo] = @config.ssl_ca_cert if @config.ssl_ca_cert
|
117
|
-
|
118
|
-
if [:post, :patch, :put, :delete].include?(http_method)
|
119
|
-
req_body = build_request_body(header_params, form_params, opts[:body])
|
120
|
-
req_opts.update :body => req_body
|
121
|
-
if @config.debugging
|
122
|
-
@config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
|
123
|
-
end
|
124
|
-
end
|
125
|
-
|
126
|
-
request = Typhoeus::Request.new(url, req_opts)
|
127
|
-
download_file(request) if opts[:return_type] == 'File'
|
128
|
-
request
|
129
|
-
end
|
130
|
-
|
131
|
-
# Check if the given MIME is a JSON MIME.
|
132
|
-
# JSON MIME examples:
|
133
|
-
# application/json
|
134
|
-
# application/json; charset=UTF8
|
135
|
-
# APPLICATION/JSON
|
136
|
-
# */*
|
137
|
-
# @param [String] mime MIME
|
138
|
-
# @return [Boolean] True if the MIME is application/json
|
139
|
-
def json_mime?(mime)
|
140
|
-
(mime == "*/*") || !(mime =~ /Application\/.*json(?!p)(;.*)?/i).nil?
|
141
|
-
end
|
142
|
-
|
143
|
-
# Deserialize the response to the given return type.
|
144
|
-
#
|
145
|
-
# @param [Response] response HTTP response
|
146
|
-
# @param [String] return_type some examples: "User", "Array[User]", "Hash[String,Integer]"
|
147
|
-
def deserialize(response, return_type)
|
148
|
-
body = response.body
|
149
|
-
|
150
|
-
# handle file downloading - return the File instance processed in request callbacks
|
151
|
-
# note that response body is empty when the file is written in chunks in request on_body callback
|
152
|
-
return @tempfile if return_type == 'File'
|
153
|
-
|
154
|
-
return nil if body.nil? || body.empty?
|
155
|
-
|
156
|
-
# return response body directly for String return type
|
157
|
-
return body if return_type == 'String'
|
158
|
-
|
159
|
-
# ensuring a default content type
|
160
|
-
content_type = response.headers['Content-Type'] || 'application/json'
|
161
|
-
|
162
|
-
fail "Content-Type is not supported: #{content_type}" unless json_mime?(content_type)
|
163
|
-
|
164
|
-
begin
|
165
|
-
data = JSON.parse("[#{body}]", :symbolize_names => true)[0]
|
166
|
-
rescue JSON::ParserError => e
|
167
|
-
if %w(String Date DateTime).include?(return_type)
|
168
|
-
data = body
|
169
|
-
else
|
170
|
-
raise e
|
171
|
-
end
|
172
|
-
end
|
173
|
-
|
174
|
-
convert_to_type data, return_type
|
175
|
-
end
|
176
|
-
|
177
|
-
# Convert data to the given return type.
|
178
|
-
# @param [Object] data Data to be converted
|
179
|
-
# @param [String] return_type Return type
|
180
|
-
# @return [Mixed] Data in a particular type
|
181
|
-
def convert_to_type(data, return_type)
|
182
|
-
return nil if data.nil?
|
183
|
-
case return_type
|
184
|
-
when 'String'
|
185
|
-
data.to_s
|
186
|
-
when 'Integer'
|
187
|
-
data.to_i
|
188
|
-
when 'Float'
|
189
|
-
data.to_f
|
190
|
-
when 'BOOLEAN'
|
191
|
-
data == true
|
192
|
-
when 'DateTime'
|
193
|
-
# parse date time (expecting ISO 8601 format)
|
194
|
-
DateTime.parse data
|
195
|
-
when 'Date'
|
196
|
-
# parse date time (expecting ISO 8601 format)
|
197
|
-
Date.parse data
|
198
|
-
when 'Object'
|
199
|
-
# generic object (usually a Hash), return directly
|
200
|
-
data
|
201
|
-
when /\AArray<(.+)>\z/
|
202
|
-
# e.g. Array<Pet>
|
203
|
-
sub_type = $1
|
204
|
-
data.map {|item| convert_to_type(item, sub_type) }
|
205
|
-
when /\AHash\<String, (.+)\>\z/
|
206
|
-
# e.g. Hash<String, Integer>
|
207
|
-
sub_type = $1
|
208
|
-
{}.tap do |hash|
|
209
|
-
data.each {|k, v| hash[k] = convert_to_type(v, sub_type) }
|
210
|
-
end
|
211
|
-
else
|
212
|
-
# models, e.g. Pet
|
213
|
-
CloudmersiveConvertApiClient.const_get(return_type).new.tap do |model|
|
214
|
-
model.build_from_hash data
|
215
|
-
end
|
216
|
-
end
|
217
|
-
end
|
218
|
-
|
219
|
-
# Save response body into a file in (the defined) temporary folder, using the filename
|
220
|
-
# from the "Content-Disposition" header if provided, otherwise a random filename.
|
221
|
-
# The response body is written to the file in chunks in order to handle files which
|
222
|
-
# size is larger than maximum Ruby String or even larger than the maximum memory a Ruby
|
223
|
-
# process can use.
|
224
|
-
#
|
225
|
-
# @see Configuration#temp_folder_path
|
226
|
-
def download_file(request)
|
227
|
-
tempfile = nil
|
228
|
-
encoding = nil
|
229
|
-
request.on_headers do |response|
|
230
|
-
content_disposition = response.headers['Content-Disposition']
|
231
|
-
if content_disposition and content_disposition =~ /filename=/i
|
232
|
-
filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
|
233
|
-
prefix = sanitize_filename(filename)
|
234
|
-
else
|
235
|
-
prefix = 'download-'
|
236
|
-
end
|
237
|
-
prefix = prefix + '-' unless prefix.end_with?('-')
|
238
|
-
encoding = response.body.encoding
|
239
|
-
tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding: encoding)
|
240
|
-
@tempfile = tempfile
|
241
|
-
end
|
242
|
-
request.on_body do |chunk|
|
243
|
-
chunk.force_encoding(encoding)
|
244
|
-
tempfile.write(chunk)
|
245
|
-
end
|
246
|
-
request.on_complete do |response|
|
247
|
-
tempfile.close
|
248
|
-
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
249
|
-
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
250
|
-
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
251
|
-
"explicitly with `tempfile.delete`"
|
252
|
-
end
|
253
|
-
end
|
254
|
-
|
255
|
-
# Sanitize filename by removing path.
|
256
|
-
# e.g. ../../sun.gif becomes sun.gif
|
257
|
-
#
|
258
|
-
# @param [String] filename the filename to be sanitized
|
259
|
-
# @return [String] the sanitized filename
|
260
|
-
def sanitize_filename(filename)
|
261
|
-
filename.gsub(/.*[\/\\]/, '')
|
262
|
-
end
|
263
|
-
|
264
|
-
def build_request_url(path)
|
265
|
-
# Add leading and trailing slashes to path
|
266
|
-
path = "/#{path}".gsub(/\/+/, '/')
|
267
|
-
URI.encode(@config.base_url + path)
|
268
|
-
end
|
269
|
-
|
270
|
-
# Builds the HTTP request body
|
271
|
-
#
|
272
|
-
# @param [Hash] header_params Header parameters
|
273
|
-
# @param [Hash] form_params Query parameters
|
274
|
-
# @param [Object] body HTTP body (JSON/XML)
|
275
|
-
# @return [String] HTTP body data in the form of string
|
276
|
-
def build_request_body(header_params, form_params, body)
|
277
|
-
# http form
|
278
|
-
if header_params['Content-Type'] == 'application/x-www-form-urlencoded' ||
|
279
|
-
header_params['Content-Type'] == 'multipart/form-data'
|
280
|
-
data = {}
|
281
|
-
form_params.each do |key, value|
|
282
|
-
case value
|
283
|
-
when ::File, ::Array, nil
|
284
|
-
# let typhoeus handle File, Array and nil parameters
|
285
|
-
data[key] = value
|
286
|
-
else
|
287
|
-
data[key] = value.to_s
|
288
|
-
end
|
289
|
-
end
|
290
|
-
elsif body
|
291
|
-
data = body.is_a?(String) ? body : body.to_json
|
292
|
-
else
|
293
|
-
data = nil
|
294
|
-
end
|
295
|
-
data
|
296
|
-
end
|
297
|
-
|
298
|
-
# Update hearder and query params based on authentication settings.
|
299
|
-
#
|
300
|
-
# @param [Hash] header_params Header parameters
|
301
|
-
# @param [Hash] query_params Query parameters
|
302
|
-
# @param [String] auth_names Authentication scheme name
|
303
|
-
def update_params_for_auth!(header_params, query_params, auth_names)
|
304
|
-
Array(auth_names).each do |auth_name|
|
305
|
-
auth_setting = @config.auth_settings[auth_name]
|
306
|
-
next unless auth_setting
|
307
|
-
case auth_setting[:in]
|
308
|
-
when 'header' then header_params[auth_setting[:key]] = auth_setting[:value]
|
309
|
-
when 'query' then query_params[auth_setting[:key]] = auth_setting[:value]
|
310
|
-
else fail ArgumentError, 'Authentication token must be in `query` of `header`'
|
311
|
-
end
|
312
|
-
end
|
313
|
-
end
|
314
|
-
|
315
|
-
# Sets user agent in HTTP header
|
316
|
-
#
|
317
|
-
# @param [String] user_agent User agent (e.g. swagger-codegen/ruby/1.0.0)
|
318
|
-
def user_agent=(user_agent)
|
319
|
-
@user_agent = user_agent
|
320
|
-
@default_headers['User-Agent'] = @user_agent
|
321
|
-
end
|
322
|
-
|
323
|
-
# Return Accept header based on an array of accepts provided.
|
324
|
-
# @param [Array] accepts array for Accept
|
325
|
-
# @return [String] the Accept header (e.g. application/json)
|
326
|
-
def select_header_accept(accepts)
|
327
|
-
return nil if accepts.nil? || accepts.empty?
|
328
|
-
# use JSON when present, otherwise use all of the provided
|
329
|
-
json_accept = accepts.find { |s| json_mime?(s) }
|
330
|
-
return json_accept || accepts.join(',')
|
331
|
-
end
|
332
|
-
|
333
|
-
# Return Content-Type header based on an array of content types provided.
|
334
|
-
# @param [Array] content_types array for Content-Type
|
335
|
-
# @return [String] the Content-Type header (e.g. application/json)
|
336
|
-
def select_header_content_type(content_types)
|
337
|
-
# use application/json by default
|
338
|
-
return 'application/json' if content_types.nil? || content_types.empty?
|
339
|
-
# use JSON when present, otherwise use the first one
|
340
|
-
json_content_type = content_types.find { |s| json_mime?(s) }
|
341
|
-
return json_content_type || content_types.first
|
342
|
-
end
|
343
|
-
|
344
|
-
# Convert object (array, hash, object, etc) to JSON string.
|
345
|
-
# @param [Object] model object to be converted into JSON string
|
346
|
-
# @return [String] JSON string representation of the object
|
347
|
-
def object_to_http_body(model)
|
348
|
-
return model if model.nil? || model.is_a?(String)
|
349
|
-
local_body = nil
|
350
|
-
if model.is_a?(Array)
|
351
|
-
local_body = model.map{|m| object_to_hash(m) }
|
352
|
-
else
|
353
|
-
local_body = object_to_hash(model)
|
354
|
-
end
|
355
|
-
local_body.to_json
|
356
|
-
end
|
357
|
-
|
358
|
-
# Convert object(non-array) to hash.
|
359
|
-
# @param [Object] obj object to be converted into JSON string
|
360
|
-
# @return [String] JSON string representation of the object
|
361
|
-
def object_to_hash(obj)
|
362
|
-
if obj.respond_to?(:to_hash)
|
363
|
-
obj.to_hash
|
364
|
-
else
|
365
|
-
obj
|
366
|
-
end
|
367
|
-
end
|
368
|
-
|
369
|
-
# Build parameter value according to the given collection format.
|
370
|
-
# @param [String] collection_format one of :csv, :ssv, :tsv, :pipes and :multi
|
371
|
-
def build_collection_param(param, collection_format)
|
372
|
-
case collection_format
|
373
|
-
when :csv
|
374
|
-
param.join(',')
|
375
|
-
when :ssv
|
376
|
-
param.join(' ')
|
377
|
-
when :tsv
|
378
|
-
param.join("\t")
|
379
|
-
when :pipes
|
380
|
-
param.join('|')
|
381
|
-
when :multi
|
382
|
-
# return the array directly as typhoeus will handle it as expected
|
383
|
-
param
|
384
|
-
else
|
385
|
-
fail "unknown collection format: #{collection_format.inspect}"
|
386
|
-
end
|
387
|
-
end
|
388
|
-
end
|
389
|
-
end
|