cloudmersive-convert-api-client 1.5.2 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -5
  3. data/docs/DeleteDocxTableRowRequest.md +11 -0
  4. data/docs/DeleteDocxTableRowResponse.md +9 -0
  5. data/docs/EditDocumentApi.md +223 -3
  6. data/docs/GetDocxTableByIndexRequest.md +10 -0
  7. data/docs/GetDocxTableByIndexResponse.md +9 -0
  8. data/docs/GetDocxTableRowRequest.md +11 -0
  9. data/docs/GetDocxTableRowResponse.md +9 -0
  10. data/docs/PdfMetadata.md +1 -0
  11. data/docs/UpdateDocxTableRowRequest.md +12 -0
  12. data/docs/UpdateDocxTableRowResponse.md +9 -0
  13. data/lib/cloudmersive-convert-api-client.rb +8 -0
  14. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +222 -2
  15. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +235 -0
  16. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +199 -0
  17. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +225 -0
  18. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +199 -0
  19. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +235 -0
  20. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +199 -0
  21. data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +14 -4
  22. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +245 -0
  23. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +199 -0
  24. data/lib/cloudmersive-convert-api-client/version.rb +1 -1
  25. data/spec/api/edit_document_api_spec.rb +49 -1
  26. data/spec/models/delete_docx_table_row_request_spec.rb +60 -0
  27. data/spec/models/delete_docx_table_row_response_spec.rb +48 -0
  28. data/spec/models/get_docx_table_by_index_request_spec.rb +54 -0
  29. data/spec/models/get_docx_table_by_index_response_spec.rb +48 -0
  30. data/spec/models/get_docx_table_row_request_spec.rb +60 -0
  31. data/spec/models/get_docx_table_row_response_spec.rb +48 -0
  32. data/spec/models/pdf_metadata_spec.rb +6 -0
  33. data/spec/models/update_docx_table_row_request_spec.rb +66 -0
  34. data/spec/models/update_docx_table_row_response_spec.rb +48 -0
  35. metadata +26 -2
@@ -68,6 +68,18 @@ describe 'EditDocumentApi' do
68
68
  end
69
69
  end
70
70
 
71
+ # unit tests for edit_document_docx_delete_table_row
72
+ # Deletes a table row in an existing table in a Word DOCX document
73
+ # Deletes an existing table row in a Word DOCX Document and returns the result.
74
+ # @param req_config Document input request
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [DeleteDocxTableRowResponse]
77
+ describe 'edit_document_docx_delete_table_row 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
+
71
83
  # unit tests for edit_document_docx_get_headers_and_footers
72
84
  # Get content of a footer from a Word DOCX document
73
85
  # Returns the footer content from a Word Document (DOCX) format file
@@ -116,8 +128,32 @@ describe 'EditDocumentApi' do
116
128
  end
117
129
  end
118
130
 
131
+ # unit tests for edit_document_docx_get_table_by_index
132
+ # Get a specific table by index in a Word DOCX document
133
+ # Returns the specific table object by its 0-based index in an Office Word Document (DOCX)
134
+ # @param req_config Document input request
135
+ # @param [Hash] opts the optional parameters
136
+ # @return [GetDocxTableByIndexResponse]
137
+ describe 'edit_document_docx_get_table_by_index test' do
138
+ it "should work" do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ # unit tests for edit_document_docx_get_table_row
144
+ # Gets the contents of an existing table row in an existing table in a Word DOCX document
145
+ # Gets the contents of an existing table row in a Word DOCX Document and returns the result.
146
+ # @param req_config Document input request
147
+ # @param [Hash] opts the optional parameters
148
+ # @return [GetDocxTableRowResponse]
149
+ describe 'edit_document_docx_get_table_row test' do
150
+ it "should work" do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
119
155
  # unit tests for edit_document_docx_get_tables
120
- # Get tables in Word DOCX document
156
+ # Get all tables in Word DOCX document
121
157
  # Returns all the table objects in an Office Word Document (docx)
122
158
  # @param req_config Document input request
123
159
  # @param [Hash] opts the optional parameters
@@ -260,6 +296,18 @@ describe 'EditDocumentApi' do
260
296
  end
261
297
  end
262
298
 
299
+ # unit tests for edit_document_docx_update_table_row
300
+ # Update, set contents of a table row in an existing table in a Word DOCX document
301
+ # Sets the contents of a table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
302
+ # @param req_config Document input request
303
+ # @param [Hash] opts the optional parameters
304
+ # @return [UpdateDocxTableRowResponse]
305
+ describe 'edit_document_docx_update_table_row test' do
306
+ it "should work" do
307
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
308
+ end
309
+ end
310
+
263
311
  # unit tests for edit_document_finish_editing
264
312
  # Download result from document editing
265
313
  # Once done editing a document, download the result. Begin editing a document by calling begin-editing, then perform operations, then call finish-editing to get the result.
@@ -0,0 +1,60 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::DeleteDocxTableRowRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DeleteDocxTableRowRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::DeleteDocxTableRowRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DeleteDocxTableRowRequest' do
31
+ it 'should create an instance of DeleteDocxTableRowRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DeleteDocxTableRowRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file_bytes"' 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_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
+ describe 'test attribute "table_path"' 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_row_row_index"' 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
+ end
60
+
@@ -0,0 +1,48 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::DeleteDocxTableRowResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DeleteDocxTableRowResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::DeleteDocxTableRowResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DeleteDocxTableRowResponse' do
31
+ it 'should create an instance of DeleteDocxTableRowResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DeleteDocxTableRowResponse)
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 "edited_document_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
48
+
@@ -0,0 +1,54 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::GetDocxTableByIndexRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'GetDocxTableByIndexRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::GetDocxTableByIndexRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of GetDocxTableByIndexRequest' do
31
+ it 'should create an instance of GetDocxTableByIndexRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::GetDocxTableByIndexRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file_bytes"' 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_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
+ describe 'test attribute "table_index"' 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
54
+
@@ -0,0 +1,48 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::GetDocxTableByIndexResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'GetDocxTableByIndexResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::GetDocxTableByIndexResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of GetDocxTableByIndexResponse' do
31
+ it 'should create an instance of GetDocxTableByIndexResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::GetDocxTableByIndexResponse)
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 "table"' 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
48
+
@@ -0,0 +1,60 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::GetDocxTableRowRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'GetDocxTableRowRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::GetDocxTableRowRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of GetDocxTableRowRequest' do
31
+ it 'should create an instance of GetDocxTableRowRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::GetDocxTableRowRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file_bytes"' 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_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
+ describe 'test attribute "table_path"' 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_row_row_index"' 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
+ end
60
+
@@ -0,0 +1,48 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::GetDocxTableRowResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'GetDocxTableRowResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::GetDocxTableRowResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of GetDocxTableRowResponse' do
31
+ it 'should create an instance of GetDocxTableRowResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::GetDocxTableRowResponse)
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 "row_result"' 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
48
+
@@ -80,5 +80,11 @@ describe 'PdfMetadata' do
80
80
  end
81
81
  end
82
82
 
83
+ describe 'test attribute "page_count"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
83
89
  end
84
90
 
@@ -0,0 +1,66 @@
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 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::UpdateDocxTableRowRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'UpdateDocxTableRowRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::UpdateDocxTableRowRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of UpdateDocxTableRowRequest' do
31
+ it 'should create an instance of UpdateDocxTableRowRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::UpdateDocxTableRowRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file_bytes"' 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_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
+ describe 'test attribute "row_to_update"' 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_row_row_index"' 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 "existing_table_path"' 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
66
+