cloudmersive-convert-api-client 1.7.3 → 1.7.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +45 -5
  3. data/docs/AutodetectToThumbnailsResult.md +9 -0
  4. data/docs/ConvertDataApi.md +6 -2
  5. data/docs/ConvertDocumentApi.md +794 -84
  6. data/docs/CsvCollection.md +10 -0
  7. data/docs/CsvFileResult.md +9 -0
  8. data/docs/DocumentValidationResult.md +1 -0
  9. data/docs/DocxParagraph.md +1 -1
  10. data/docs/DocxRun.md +1 -1
  11. data/docs/DocxText.md +1 -1
  12. data/docs/DocxToPngResult.md +9 -0
  13. data/docs/EditDocumentApi.md +110 -0
  14. data/docs/EmlAttachment.md +9 -0
  15. data/docs/EmlToHtmlResult.md +16 -0
  16. data/docs/FindDocxParagraphRequest.md +11 -0
  17. data/docs/FindDocxParagraphResponse.md +10 -0
  18. data/docs/GetFileTypeIconResult.md +10 -0
  19. data/docs/MsgAttachment.md +9 -0
  20. data/docs/MsgToHtmlResult.md +16 -0
  21. data/docs/PptxToPngResult.md +9 -0
  22. data/docs/ReplaceDocxParagraphRequest.md +12 -0
  23. data/docs/ReplaceDocxParagraphResponse.md +9 -0
  24. data/docs/Thumbnail.md +9 -0
  25. data/docs/ValidateDocumentApi.md +386 -1
  26. data/docs/XlsxToPngResult.md +9 -0
  27. data/docs/ZipArchiveApi.md +144 -5
  28. data/docs/ZipEncryptionAdvancedRequest.md +10 -0
  29. data/lib/cloudmersive-convert-api-client.rb +17 -0
  30. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +3 -0
  31. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +722 -6
  32. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +110 -0
  33. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +394 -2
  34. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +160 -6
  35. data/lib/cloudmersive-convert-api-client/models/autodetect_to_thumbnails_result.rb +201 -0
  36. data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +211 -0
  37. data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +215 -0
  38. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +11 -1
  39. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +1 -1
  40. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +1 -1
  41. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +1 -1
  42. data/lib/cloudmersive-convert-api-client/models/docx_to_png_result.rb +201 -0
  43. data/lib/cloudmersive-convert-api-client/models/eml_attachment.rb +215 -0
  44. data/lib/cloudmersive-convert-api-client/models/eml_to_html_result.rb +271 -0
  45. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +235 -0
  46. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +211 -0
  47. data/lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb +225 -0
  48. data/lib/cloudmersive-convert-api-client/models/msg_attachment.rb +215 -0
  49. data/lib/cloudmersive-convert-api-client/models/msg_to_html_result.rb +271 -0
  50. data/lib/cloudmersive-convert-api-client/models/pptx_to_png_result.rb +201 -0
  51. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +245 -0
  52. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +199 -0
  53. data/lib/cloudmersive-convert-api-client/models/thumbnail.rb +215 -0
  54. data/lib/cloudmersive-convert-api-client/models/xlsx_to_png_result.rb +201 -0
  55. data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +225 -0
  56. data/lib/cloudmersive-convert-api-client/version.rb +1 -1
  57. data/spec/api/convert_data_api_spec.rb +1 -0
  58. data/spec/api/convert_document_api_spec.rb +163 -3
  59. data/spec/api/edit_document_api_spec.rb +24 -0
  60. data/spec/api/validate_document_api_spec.rb +85 -1
  61. data/spec/api/zip_archive_api_spec.rb +36 -1
  62. data/spec/models/autodetect_to_thumbnails_result_spec.rb +48 -0
  63. data/spec/models/csv_collection_spec.rb +54 -0
  64. data/spec/models/csv_file_result_spec.rb +48 -0
  65. data/spec/models/document_validation_result_spec.rb +6 -0
  66. data/spec/models/docx_to_png_result_spec.rb +48 -0
  67. data/spec/models/eml_attachment_spec.rb +48 -0
  68. data/spec/models/eml_to_html_result_spec.rb +90 -0
  69. data/spec/models/find_docx_paragraph_request_spec.rb +60 -0
  70. data/spec/models/find_docx_paragraph_response_spec.rb +54 -0
  71. data/spec/models/get_file_type_icon_result_spec.rb +54 -0
  72. data/spec/models/msg_attachment_spec.rb +48 -0
  73. data/spec/models/msg_to_html_result_spec.rb +90 -0
  74. data/spec/models/pptx_to_png_result_spec.rb +48 -0
  75. data/spec/models/replace_docx_paragraph_request_spec.rb +66 -0
  76. data/spec/models/replace_docx_paragraph_response_spec.rb +48 -0
  77. data/spec/models/thumbnail_spec.rb +48 -0
  78. data/spec/models/xlsx_to_png_result_spec.rb +48 -0
  79. data/spec/models/zip_encryption_advanced_request_spec.rb +54 -0
  80. metadata +53 -2
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.3.1
11
11
  =end
12
12
 
13
13
  module CloudmersiveConvertApiClient
14
- VERSION = "1.7.3"
14
+ VERSION = "1.7.8"
15
15
  end
@@ -37,6 +37,7 @@ describe 'ConvertDataApi' do
37
37
  # Convert a CSV file to a JSON object array
38
38
  # @param input_file Input file to perform the operation on.
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [BOOLEAN] :column_names_from_first_row Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure.
40
41
  # @return [Object]
41
42
  describe 'convert_data_csv_to_json test' do
42
43
  it "should work" do
@@ -68,6 +68,37 @@ describe 'ConvertDocumentApi' do
68
68
  end
69
69
  end
70
70
 
71
+ # unit tests for convert_document_autodetect_to_thumbnail
72
+ # Convert File to Thumbnail Image
73
+ # Automatically detect file type and convert it to a PNG thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats.
74
+ # @param input_file Input file to perform the operation on.
75
+ # @param [Hash] opts the optional parameters
76
+ # @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
77
+ # @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
78
+ # @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
79
+ # @return [String]
80
+ describe 'convert_document_autodetect_to_thumbnail test' do
81
+ it "should work" do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ # unit tests for convert_document_autodetect_to_thumbnails_advanced
87
+ # Convert File to Thumbnail Image Object
88
+ # Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats.
89
+ # @param input_file Input file to perform the operation on.
90
+ # @param [Hash] opts the optional parameters
91
+ # @option opts [Integer] :pages Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.
92
+ # @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
93
+ # @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
94
+ # @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
95
+ # @return [AutodetectToThumbnailsResult]
96
+ describe 'convert_document_autodetect_to_thumbnails_advanced test' do
97
+ it "should work" do
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
101
+
71
102
  # unit tests for convert_document_autodetect_to_txt
72
103
  # Convert Document to Text (txt)
73
104
  # Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files. For spreadsheets, all worksheets will be included. If you wish to exclude certain pages, worksheets, slides, etc. use the Split document API first, or the delete pages/slides/worksheet APIs first to adjust the document to the target state prior to converting to text.
@@ -141,6 +172,18 @@ describe 'ConvertDocumentApi' do
141
172
  end
142
173
  end
143
174
 
175
+ # unit tests for convert_document_docx_to_png
176
+ # Convert DOCX document to PNG image array
177
+ # Converts an Office Word Document (DOCX) file to an array of PNG images, one for each page.
178
+ # @param input_file Input file to perform the operation on.
179
+ # @param [Hash] opts the optional parameters
180
+ # @return [DocxToPngResult]
181
+ describe 'convert_document_docx_to_png test' do
182
+ it "should work" do
183
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
184
+ end
185
+ end
186
+
144
187
  # unit tests for convert_document_docx_to_txt
145
188
  # Convert Word DOCX Document to Text (txt)
146
189
  # Convert Office Word Documents (docx) to text
@@ -154,6 +197,59 @@ describe 'ConvertDocumentApi' do
154
197
  end
155
198
  end
156
199
 
200
+ # unit tests for convert_document_eml_to_html
201
+ # Convert Email EML file to HTML string
202
+ # Convert Outlook Email EML file to HTML string and attachments. Supports images if they are base 64 inline.
203
+ # @param input_file Input file to perform the operation on.
204
+ # @param [Hash] opts the optional parameters
205
+ # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
206
+ # @option opts [BOOLEAN] :include_attachments Optional; If false, the response object will not include any attachment files from the input file. Default is true.
207
+ # @return [EmlToHtmlResult]
208
+ describe 'convert_document_eml_to_html test' do
209
+ it "should work" do
210
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
211
+ end
212
+ end
213
+
214
+ # unit tests for convert_document_eml_to_pdf
215
+ # Convert Email EML file to PDF document
216
+ # Convert Outlook Email EML file to PDF document. Supports images if they are base 64 inline.
217
+ # @param input_file Input file to perform the operation on.
218
+ # @param [Hash] opts the optional parameters
219
+ # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
220
+ # @return [String]
221
+ describe 'convert_document_eml_to_pdf test' do
222
+ it "should work" do
223
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
224
+ end
225
+ end
226
+
227
+ # unit tests for convert_document_get_file_type_icon
228
+ # Get PNG icon file for the file extension
229
+ # Returns a PNG icon for the given file format extension as a file for download. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.
230
+ # @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
231
+ # @param [Hash] opts the optional parameters
232
+ # @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio.
233
+ # @return [String]
234
+ describe 'convert_document_get_file_type_icon test' do
235
+ it "should work" do
236
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
237
+ end
238
+ end
239
+
240
+ # unit tests for convert_document_get_file_type_icon_advanced
241
+ # Get PNG icon byte array for the file extension
242
+ # Returns a PNG icon for the given file format extension directly as a byte array. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.
243
+ # @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
244
+ # @param [Hash] opts the optional parameters
245
+ # @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio.
246
+ # @return [GetFileTypeIconResult]
247
+ describe 'convert_document_get_file_type_icon_advanced test' do
248
+ it "should work" do
249
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
250
+ end
251
+ end
252
+
157
253
  # unit tests for convert_document_html_to_pdf
158
254
  # Convert HTML document file to PDF Document
159
255
  # Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to PDF. To use external files such as images, use an absolute URL to the file.
@@ -190,6 +286,33 @@ describe 'ConvertDocumentApi' do
190
286
  end
191
287
  end
192
288
 
289
+ # unit tests for convert_document_msg_to_html
290
+ # Convert Email MSG file to HTML string
291
+ # Convert Outlook Email MSG file to HTML string and attachments. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.
292
+ # @param input_file Input file to perform the operation on.
293
+ # @param [Hash] opts the optional parameters
294
+ # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the MSG. Other information such as subject will still be given as properties in the response object. Default is false.
295
+ # @option opts [BOOLEAN] :include_attachments Optional; If false, the response object will not include any attachment files from the input file. Default is true.
296
+ # @return [MsgToHtmlResult]
297
+ describe 'convert_document_msg_to_html test' do
298
+ it "should work" do
299
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
300
+ end
301
+ end
302
+
303
+ # unit tests for convert_document_msg_to_pdf
304
+ # Convert Email MSG file to PDF document
305
+ # Convert Outlook Email MSG file to PDF document. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.
306
+ # @param input_file Input file to perform the operation on.
307
+ # @param [Hash] opts the optional parameters
308
+ # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
309
+ # @return [String]
310
+ describe 'convert_document_msg_to_pdf test' do
311
+ it "should work" do
312
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
313
+ end
314
+ end
315
+
193
316
  # unit tests for convert_document_pdf_to_docx
194
317
  # Convert PDF to Word DOCX Document
195
318
  # Convert standard PDF to Office Word Documents (docx). Converts a PDF at high fidelity into Word format, where it can be easily edited and processed.
@@ -320,6 +443,18 @@ describe 'ConvertDocumentApi' do
320
443
  end
321
444
  end
322
445
 
446
+ # unit tests for convert_document_pptx_to_png
447
+ # Convert PowerPoint PPTX to PNG image array
448
+ # Converts a PowerPoint Presentation (PPTX) file to an array of PNG images, one for each page.
449
+ # @param input_file Input file to perform the operation on.
450
+ # @param [Hash] opts the optional parameters
451
+ # @return [PptxToPngResult]
452
+ describe 'convert_document_pptx_to_png test' do
453
+ it "should work" do
454
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
455
+ end
456
+ end
457
+
323
458
  # unit tests for convert_document_pptx_to_txt
324
459
  # Convert PowerPoint PPTX Presentation to Text (txt)
325
460
  # Convert Office PowerPoint Documents (pptx) to standard Text
@@ -369,11 +504,11 @@ describe 'ConvertDocumentApi' do
369
504
  end
370
505
 
371
506
  # unit tests for convert_document_xlsx_to_csv
372
- # Convert Excel XLSX Spreadsheet to CSV
373
- # Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format. Supports both XLSX and XLSB file Excel formats.
507
+ # Convert Excel XLSX Spreadsheet to CSV, Single Worksheet
508
+ # Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format. Supports both XLSX and XLSB file Excel formats. If the input file contains multiple worksheets, the first one is used. If you wish to convert all of the worksheets (not just the first one), be sure to use the xlsx/to/csv/multi API.
374
509
  # @param input_file Input file to perform the operation on.
375
510
  # @param [Hash] opts the optional parameters
376
- # @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8 and UTF-32. Default is UTF-32.
511
+ # @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
377
512
  # @return [String]
378
513
  describe 'convert_document_xlsx_to_csv test' do
379
514
  it "should work" do
@@ -381,6 +516,19 @@ describe 'ConvertDocumentApi' do
381
516
  end
382
517
  end
383
518
 
519
+ # unit tests for convert_document_xlsx_to_csv_multi
520
+ # Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets
521
+ # Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format, with support for multiple worksheets. Supports both XLSX and XLSB file Excel formats. Returns multiple CSV files, one for each worksheet (tab) in the spreadsheet.
522
+ # @param input_file Input file to perform the operation on.
523
+ # @param [Hash] opts the optional parameters
524
+ # @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
525
+ # @return [CsvCollection]
526
+ describe 'convert_document_xlsx_to_csv_multi test' do
527
+ it "should work" do
528
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
529
+ end
530
+ end
531
+
384
532
  # unit tests for convert_document_xlsx_to_pdf
385
533
  # Convert Excel XLSX Spreadsheet to PDF
386
534
  # Convert Office Excel Workbooks (XLSX) to standard PDF. Converts all worksheets in the workbook to PDF. Supports both XLSX and XLSB Excel file formats.
@@ -393,6 +541,18 @@ describe 'ConvertDocumentApi' do
393
541
  end
394
542
  end
395
543
 
544
+ # unit tests for convert_document_xlsx_to_png
545
+ # Convert Excel XLSX spreadsheet to PNG image array
546
+ # Converts an Excel Spreadsheet (XLSX) file to an array of PNG images, one for each page.
547
+ # @param input_file Input file to perform the operation on.
548
+ # @param [Hash] opts the optional parameters
549
+ # @return [XlsxToPngResult]
550
+ describe 'convert_document_xlsx_to_png test' do
551
+ it "should work" do
552
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
553
+ end
554
+ end
555
+
396
556
  # unit tests for convert_document_xlsx_to_txt
397
557
  # Convert Excel XLSX Spreadsheet to Text (txt)
398
558
  # Convert Office Excel Workbooks (XLSX) to standard Text. Converts all worksheets in the workbook to Text. Supports both XLSX and XLSB file formats. When a spreadsheet contains multiple worksheets, will export all of the text from all of the worksheets. If you wish to export the text from only one worksheet, try using the Split XLSX API to split the spreadsheet into multiple worksheet files, and then run XLSX to Text on the individual worksheet file that you need to extract the text from.
@@ -104,6 +104,18 @@ describe 'EditDocumentApi' do
104
104
  end
105
105
  end
106
106
 
107
+ # unit tests for edit_document_docx_find_paragraph
108
+ # Find matching paragraphs in a Word DOCX document
109
+ # Returns the paragraphs defined in the Word Document (DOCX) format file that match the input criteria
110
+ # @param req_config Document input request
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [FindDocxParagraphResponse]
113
+ describe 'edit_document_docx_find_paragraph test' do
114
+ it "should work" do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
107
119
  # unit tests for edit_document_docx_get_comments
108
120
  # Get comments from a Word DOCX document as a flat list
109
121
  # Returns the comments and review annotations stored in the Word Document (DOCX) format file as a flattened list (not as a hierarchy of comments and replies).
@@ -320,6 +332,18 @@ describe 'EditDocumentApi' do
320
332
  end
321
333
  end
322
334
 
335
+ # unit tests for edit_document_docx_replace_paragraph
336
+ # Replace matching paragraphs in a Word DOCX document
337
+ # Returns the edited Word Document (DOCX) format file with the matching paragraphs replaced as requested. Replace a paragraph with another object such as an image. Useful for performing templating operations.
338
+ # @param req_config Document input request
339
+ # @param [Hash] opts the optional parameters
340
+ # @return [ReplaceDocxParagraphResponse]
341
+ describe 'edit_document_docx_replace_paragraph test' do
342
+ it "should work" do
343
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
344
+ end
345
+ end
346
+
323
347
  # unit tests for edit_document_docx_set_footer
324
348
  # Set the footer in a Word DOCX document
325
349
  # Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
@@ -44,6 +44,18 @@ describe 'ValidateDocumentApi' do
44
44
  end
45
45
  end
46
46
 
47
+ # unit tests for validate_document_csv_validation
48
+ # Validate a CSV file document (CSV)
49
+ # Validate a CSV file document (CSV); if the document is not valid, identifies the errors in the document
50
+ # @param input_file Input file to perform the operation on.
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [DocumentValidationResult]
53
+ describe 'validate_document_csv_validation test' do
54
+ it "should work" do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
47
59
  # unit tests for validate_document_docx_validation
48
60
  # Validate a Word document (DOCX)
49
61
  # Validate a Word document (DOCX); if the document is not valid, identifies the errors in the document
@@ -56,6 +68,18 @@ describe 'ValidateDocumentApi' do
56
68
  end
57
69
  end
58
70
 
71
+ # unit tests for validate_document_eml_validation
72
+ # Validate if an EML file is executable
73
+ # Validate if an input file is an EML email file; if the document is not valid
74
+ # @param input_file Input file to perform the operation on.
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [DocumentValidationResult]
77
+ describe 'validate_document_eml_validation test' do
78
+ it "should work" do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
59
83
  # unit tests for validate_document_executable_validation
60
84
  # Validate if a file is executable
61
85
  # Validate if an input file is a binary executable file; if the document is not valid
@@ -68,6 +92,18 @@ describe 'ValidateDocumentApi' do
68
92
  end
69
93
  end
70
94
 
95
+ # unit tests for validate_document_g_zip_validation
96
+ # Validate a GZip Archive file (gzip or gz)
97
+ # Validate a GZip archive file (GZIP or GZ)
98
+ # @param input_file Input file to perform the operation on.
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [DocumentValidationResult]
101
+ describe 'validate_document_g_zip_validation test' do
102
+ it "should work" do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
71
107
  # unit tests for validate_document_json_validation
72
108
  # Validate a JSON file
73
109
  # Validate a JSON (JavaScript Object Notation) document file; if the document is not valid, identifies the errors in the document
@@ -80,9 +116,21 @@ describe 'ValidateDocumentApi' do
80
116
  end
81
117
  end
82
118
 
119
+ # unit tests for validate_document_msg_validation
120
+ # Validate if an MSG file is executable
121
+ # Validate if an input file is an MSG email file; if the document is not valid
122
+ # @param input_file Input file to perform the operation on.
123
+ # @param [Hash] opts the optional parameters
124
+ # @return [DocumentValidationResult]
125
+ describe 'validate_document_msg_validation test' do
126
+ it "should work" do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
83
131
  # unit tests for validate_document_pdf_validation
84
132
  # Validate a PDF document file
85
- # Validate a PDF document; if the document is not valid, identifies the errors in the document
133
+ # Validate a PDF document; if the document is not valid, identifies the errors in the document. Also checks if the PDF is password protected.
86
134
  # @param input_file Input file to perform the operation on.
87
135
  # @param [Hash] opts the optional parameters
88
136
  # @return [DocumentValidationResult]
@@ -104,6 +152,30 @@ describe 'ValidateDocumentApi' do
104
152
  end
105
153
  end
106
154
 
155
+ # unit tests for validate_document_rar_validation
156
+ # Validate a RAR Archive file (RAR)
157
+ # Validate a RAR archive file (RAR)
158
+ # @param input_file Input file to perform the operation on.
159
+ # @param [Hash] opts the optional parameters
160
+ # @return [DocumentValidationResult]
161
+ describe 'validate_document_rar_validation test' do
162
+ it "should work" do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ # unit tests for validate_document_tar_validation
168
+ # Validate a TAR Tarball Archive file (TAR)
169
+ # Validate a TAR tarball archive file (TAR)
170
+ # @param input_file Input file to perform the operation on.
171
+ # @param [Hash] opts the optional parameters
172
+ # @return [DocumentValidationResult]
173
+ describe 'validate_document_tar_validation test' do
174
+ it "should work" do
175
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
+ end
177
+ end
178
+
107
179
  # unit tests for validate_document_xlsx_validation
108
180
  # Validate a Excel document (XLSX)
109
181
  # Validate a Excel document (XLSX); if the document is not valid, identifies the errors in the document
@@ -128,4 +200,16 @@ describe 'ValidateDocumentApi' do
128
200
  end
129
201
  end
130
202
 
203
+ # unit tests for validate_document_zip_validation
204
+ # Validate a Zip Archive file (zip)
205
+ # Validate a Zip archive file (ZIP)
206
+ # @param input_file Input file to perform the operation on.
207
+ # @param [Hash] opts the optional parameters
208
+ # @return [DocumentValidationResult]
209
+ describe 'validate_document_zip_validation test' do
210
+ it "should work" do
211
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ end
213
+ end
214
+
131
215
  end
@@ -35,8 +35,18 @@ describe 'ZipArchiveApi' do
35
35
  # unit tests for zip_archive_zip_create
36
36
  # Compress files to create a new zip archive
37
37
  # Create a new zip archive by compressing input files.
38
+ # @param input_file1 First input file to perform the operation on.
38
39
  # @param [Hash] opts the optional parameters
39
- # @return [Object]
40
+ # @option opts [File] :input_file2 Second input file to perform the operation on.
41
+ # @option opts [File] :input_file3 Third input file to perform the operation on.
42
+ # @option opts [File] :input_file4 Fourth input file to perform the operation on.
43
+ # @option opts [File] :input_file5 Fifth input file to perform the operation on.
44
+ # @option opts [File] :input_file6 Sixth input file to perform the operation on.
45
+ # @option opts [File] :input_file7 Seventh input file to perform the operation on.
46
+ # @option opts [File] :input_file8 Eighth input file to perform the operation on.
47
+ # @option opts [File] :input_file9 Ninth input file to perform the operation on.
48
+ # @option opts [File] :input_file10 Tenth input file to perform the operation on.
49
+ # @return [String]
40
50
  describe 'zip_archive_zip_create test' do
41
51
  it "should work" do
42
52
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -55,6 +65,31 @@ describe 'ZipArchiveApi' do
55
65
  end
56
66
  end
57
67
 
68
+ # unit tests for zip_archive_zip_decrypt
69
+ # Decrypt and remove password protection on a zip file
70
+ # Decrypts and removes password protection from an encrypted zip file with the specified password
71
+ # @param input_file Input file to perform the operation on.
72
+ # @param zip_password Required; Password for the input archive
73
+ # @param [Hash] opts the optional parameters
74
+ # @return [Object]
75
+ describe 'zip_archive_zip_decrypt test' do
76
+ it "should work" do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ # unit tests for zip_archive_zip_encrypt_advanced
82
+ # Encrypt and password protect a zip file
83
+ # Encrypts and password protects an existing zip file with the specified password and encryption algorithm
84
+ # @param encryption_request Encryption request
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [Object]
87
+ describe 'zip_archive_zip_encrypt_advanced test' do
88
+ it "should work" do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
58
93
  # unit tests for zip_archive_zip_extract
59
94
  # Extract, decompress files and folders from a zip archive
60
95
  # Extracts a zip archive by decompressing files, and folders.