cloudmersive-convert-api-client 2.1.9 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -7
  3. data/docs/DocumentEditingEditSession.md +9 -0
  4. data/docs/DocumentTransformEditSession.md +9 -0
  5. data/docs/DocxTableSingleTableFill.md +10 -0
  6. data/docs/DocxTableTableFillMultiRequest.md +10 -0
  7. data/docs/DocxTableTableFillRequest.md +12 -0
  8. data/docs/DocxTableTableFillTableCell.md +9 -0
  9. data/docs/DocxTableTableFillTableRow.md +8 -0
  10. data/docs/EditDocumentApi.md +58 -3
  11. data/docs/TransformDocumentApi.md +237 -6
  12. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +56 -2
  13. data/lib/cloudmersive-convert-api-client/api/transform_document_api.rb +235 -4
  14. data/lib/cloudmersive-convert-api-client/models/document_editing_edit_session.rb +196 -0
  15. data/lib/cloudmersive-convert-api-client/models/document_transform_edit_session.rb +196 -0
  16. data/lib/cloudmersive-convert-api-client/models/docx_table_single_table_fill.rb +208 -0
  17. data/lib/cloudmersive-convert-api-client/models/docx_table_table_fill_multi_request.rb +223 -0
  18. data/lib/cloudmersive-convert-api-client/models/docx_table_table_fill_request.rb +243 -0
  19. data/lib/cloudmersive-convert-api-client/models/docx_table_table_fill_table_cell.rb +196 -0
  20. data/lib/cloudmersive-convert-api-client/models/docx_table_table_fill_table_row.rb +188 -0
  21. data/lib/cloudmersive-convert-api-client/version.rb +1 -1
  22. data/lib/cloudmersive-convert-api-client.rb +7 -0
  23. data/spec/api/edit_document_api_spec.rb +13 -1
  24. data/spec/api/transform_document_api_spec.rb +54 -2
  25. data/spec/models/document_editing_edit_session_spec.rb +47 -0
  26. data/spec/models/document_transform_edit_session_spec.rb +47 -0
  27. data/spec/models/docx_table_single_table_fill_spec.rb +53 -0
  28. data/spec/models/docx_table_table_fill_multi_request_spec.rb +53 -0
  29. data/spec/models/docx_table_table_fill_request_spec.rb +65 -0
  30. data/spec/models/docx_table_table_fill_table_cell_spec.rb +47 -0
  31. data/spec/models/docx_table_table_fill_table_row_spec.rb +41 -0
  32. metadata +23 -2
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.14
11
11
  =end
12
12
 
13
13
  module CloudmersiveConvertApiClient
14
- VERSION = '2.1.9'
14
+ VERSION = '2.2.3'
15
15
  end
@@ -55,6 +55,8 @@ require 'cloudmersive-convert-api-client/models/delete_docx_table_row_response'
55
55
  require 'cloudmersive-convert-api-client/models/detect_line_endings_response'
56
56
  require 'cloudmersive-convert-api-client/models/disable_shared_workbook_request'
57
57
  require 'cloudmersive-convert-api-client/models/disable_shared_workbook_response'
58
+ require 'cloudmersive-convert-api-client/models/document_editing_edit_session'
59
+ require 'cloudmersive-convert-api-client/models/document_transform_edit_session'
58
60
  require 'cloudmersive-convert-api-client/models/document_validation_error'
59
61
  require 'cloudmersive-convert-api-client/models/document_validation_result'
60
62
  require 'cloudmersive-convert-api-client/models/docx_body'
@@ -83,6 +85,11 @@ require 'cloudmersive-convert-api-client/models/docx_style'
83
85
  require 'cloudmersive-convert-api-client/models/docx_table'
84
86
  require 'cloudmersive-convert-api-client/models/docx_table_cell'
85
87
  require 'cloudmersive-convert-api-client/models/docx_table_row'
88
+ require 'cloudmersive-convert-api-client/models/docx_table_single_table_fill'
89
+ require 'cloudmersive-convert-api-client/models/docx_table_table_fill_multi_request'
90
+ require 'cloudmersive-convert-api-client/models/docx_table_table_fill_request'
91
+ require 'cloudmersive-convert-api-client/models/docx_table_table_fill_table_cell'
92
+ require 'cloudmersive-convert-api-client/models/docx_table_table_fill_table_row'
86
93
  require 'cloudmersive-convert-api-client/models/docx_template_application_request'
87
94
  require 'cloudmersive-convert-api-client/models/docx_template_operation'
88
95
  require 'cloudmersive-convert-api-client/models/docx_text'
@@ -405,7 +405,7 @@ describe 'EditDocumentApi' do
405
405
  end
406
406
 
407
407
  # unit tests for edit_document_docx_replace_multi
408
- # Replace multiple strings in Word DOCX document
408
+ # Replace multiple strings in Word DOCX document, return result
409
409
  # Replace all instances of multiple strings in an Office Word Document (docx)
410
410
  # @param req_config Document string replacement configuration input
411
411
  # @param [Hash] opts the optional parameters
@@ -416,6 +416,18 @@ describe 'EditDocumentApi' do
416
416
  end
417
417
  end
418
418
 
419
+ # unit tests for edit_document_docx_replace_multi_edit_session
420
+ # Replace multiple strings in Word DOCX document, return edit session
421
+ # Replace all instances of multiple strings in an Office Word Document (docx). Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times. Call the Finish Editing API to retrieve the final document once editing is complete.
422
+ # @param req_config Document string replacement configuration input
423
+ # @param [Hash] opts the optional parameters
424
+ # @return [DocumentEditingEditSession]
425
+ describe 'edit_document_docx_replace_multi_edit_session test' do
426
+ it 'should work' do
427
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
428
+ end
429
+ end
430
+
419
431
  # unit tests for edit_document_docx_replace_paragraph
420
432
  # Replace matching paragraphs in a Word DOCX document
421
433
  # 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.
@@ -33,7 +33,7 @@ describe 'TransformDocumentApi' do
33
33
  end
34
34
 
35
35
  # unit tests for transform_document_docx_replace
36
- # Replace string in Word DOCX document
36
+ # Replace string in Word DOCX document, return result
37
37
  # Replace all instances of a string in an Office Word Document (docx)
38
38
  # @param match_string String to search for and match against, to be replaced
39
39
  # @param replace_string String to replace the matched values with
@@ -48,8 +48,60 @@ describe 'TransformDocumentApi' do
48
48
  end
49
49
  end
50
50
 
51
+ # unit tests for transform_document_docx_replace_edit_session
52
+ # Replace string in Word DOCX document, return edit session
53
+ # Replace all instances of a string in an Office Word Document (docx). Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times. Call the Finish Editing API to retrieve the final document once editing is complete.
54
+ # @param match_string String to search for and match against, to be replaced
55
+ # @param replace_string String to replace the matched values with
56
+ # @param [Hash] opts the optional parameters
57
+ # @option opts [File] :input_file Optional: Input file to perform the operation on.
58
+ # @option opts [String] :input_file_url Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API (part of EditDocumentApi) to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
59
+ # @option opts [BOOLEAN] :match_case Optional: True if the case should be matched, false for case insensitive match. Default is false.
60
+ # @return [DocumentTransformEditSession]
61
+ describe 'transform_document_docx_replace_edit_session test' do
62
+ it 'should work' do
63
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
64
+ end
65
+ end
66
+
67
+ # unit tests for transform_document_docx_table_fill_in
68
+ # Fill in data in a table in a Word DOCX document, return result
69
+ # Replace placeholder rows ina table in an Office Word Document (docx) using one or more templates
70
+ # @param request
71
+ # @param [Hash] opts the optional parameters
72
+ # @return [String]
73
+ describe 'transform_document_docx_table_fill_in test' do
74
+ it 'should work' do
75
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
76
+ end
77
+ end
78
+
79
+ # unit tests for transform_document_docx_table_fill_in_edit_session
80
+ # Fill in data in a table in a Word DOCX document, return edit session
81
+ # Replace placeholder rows ina table in an Office Word Document (docx) using one or more templates. Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times. Call the Finish Editing API to retrieve the final document once editing is complete.
82
+ # @param request
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [DocumentTransformEditSession]
85
+ describe 'transform_document_docx_table_fill_in_edit_session test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
91
+ # unit tests for transform_document_docx_table_fill_in_multi
92
+ # Fill in data in multiple tables in a Word DOCX document, return result
93
+ # Replace placeholder rows in multiple tables in an Office Word Document (docx) using one or more templates
94
+ # @param request
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [Object]
97
+ describe 'transform_document_docx_table_fill_in_multi test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
51
103
  # unit tests for transform_document_pptx_replace
52
- # Replace string in PowerPoint PPTX presentation
104
+ # Replace string in PowerPoint PPTX presentation, return result
53
105
  # Replace all instances of a string in an Office PowerPoint Document (pptx)
54
106
  # @param match_string String to search for and match against, to be replaced
55
107
  # @param replace_string String to replace the matched values with
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::DocumentEditingEditSession
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DocumentEditingEditSession' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::DocumentEditingEditSession.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DocumentEditingEditSession' do
31
+ it 'should create an instance of DocumentEditingEditSession' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocumentEditingEditSession)
33
+ end
34
+ end
35
+ describe 'test attribute "successful"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "edit_session_url"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::DocumentTransformEditSession
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DocumentTransformEditSession' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::DocumentTransformEditSession.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DocumentTransformEditSession' do
31
+ it 'should create an instance of DocumentTransformEditSession' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocumentTransformEditSession)
33
+ end
34
+ end
35
+ describe 'test attribute "successful"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "edit_session_url"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::DocxTableSingleTableFill
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DocxTableSingleTableFill' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::DocxTableSingleTableFill.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DocxTableSingleTableFill' do
31
+ it 'should create an instance of DocxTableSingleTableFill' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxTableSingleTableFill)
33
+ end
34
+ end
35
+ describe 'test attribute "table_start_tag"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "table_end_tag"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "data_to_fill_in"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::DocxTableTableFillMultiRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DocxTableTableFillMultiRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::DocxTableTableFillMultiRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DocxTableTableFillMultiRequest' do
31
+ it 'should create an instance of DocxTableTableFillMultiRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxTableTableFillMultiRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file_url"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "input_file_data"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "tables_to_fill"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::DocxTableTableFillRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DocxTableTableFillRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::DocxTableTableFillRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DocxTableTableFillRequest' do
31
+ it 'should create an instance of DocxTableTableFillRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxTableTableFillRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file_url"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "input_file_data"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "table_start_tag"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "table_end_tag"' 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
+
59
+ describe 'test attribute "data_to_fill_in"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::DocxTableTableFillTableCell
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DocxTableTableFillTableCell' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::DocxTableTableFillTableCell.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DocxTableTableFillTableCell' do
31
+ it 'should create an instance of DocxTableTableFillTableCell' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxTableTableFillTableCell)
33
+ end
34
+ end
35
+ describe 'test attribute "target_tag"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "replacement_value"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end