cloudmersive-documentai-api-client 2.2.0 → 2.2.1

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 (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -10
  3. data/cloudmersive-documentai-api-client.gemspec +3 -3
  4. data/docs/AdvancedExtractClassificationRequest.md +3 -0
  5. data/docs/AdvancedExtractFieldsRequest.md +3 -0
  6. data/docs/AnalyzeApi.md +58 -2
  7. data/docs/DocumentAdvancedClassificationResult.md +1 -0
  8. data/docs/DocumentPolicyRequest.md +1 -0
  9. data/docs/DocumentQuestionAnswerItem.md +11 -0
  10. data/docs/DocumentQuestionAnswersResult.md +10 -0
  11. data/docs/DocumentQuestionBoolean.md +9 -0
  12. data/docs/DocumentQuestionChoiceItem.md +9 -0
  13. data/docs/DocumentQuestionFreeResponse.md +9 -0
  14. data/docs/DocumentQuestionMultipleChoice.md +10 -0
  15. data/docs/DocumentQuestionsRequest.md +12 -0
  16. data/docs/ExtractApi.md +76 -14
  17. data/docs/ExtractFieldsAdvancedResponse.md +10 -0
  18. data/docs/FieldAdvancedValue.md +9 -0
  19. data/docs/FieldValue.md +2 -1
  20. data/docs/RunBatchJobApi.md +9 -9
  21. data/docs/SplitDocumentResponse.md +9 -0
  22. data/docs/SubDocument.md +11 -0
  23. data/lib/cloudmersive-documentai-api-client/api/analyze_api.rb +54 -4
  24. data/lib/cloudmersive-documentai-api-client/api/extract_api.rb +85 -25
  25. data/lib/cloudmersive-documentai-api-client/api/run_batch_job_api.rb +14 -14
  26. data/lib/cloudmersive-documentai-api-client/api_client.rb +2 -2
  27. data/lib/cloudmersive-documentai-api-client/api_error.rb +2 -2
  28. data/lib/cloudmersive-documentai-api-client/configuration.rb +3 -3
  29. data/lib/cloudmersive-documentai-api-client/models/advanced_extract_classification_request.rb +36 -6
  30. data/lib/cloudmersive-documentai-api-client/models/advanced_extract_fields_request.rb +36 -6
  31. data/lib/cloudmersive-documentai-api-client/models/document_advanced_classification_result.rb +16 -6
  32. data/lib/cloudmersive-documentai-api-client/models/document_categories.rb +2 -2
  33. data/lib/cloudmersive-documentai-api-client/models/document_classification_result.rb +2 -2
  34. data/lib/cloudmersive-documentai-api-client/models/document_policy_request.rb +16 -6
  35. data/lib/cloudmersive-documentai-api-client/models/document_policy_result.rb +2 -2
  36. data/lib/cloudmersive-documentai-api-client/models/document_question_answer_item.rb +216 -0
  37. data/lib/cloudmersive-documentai-api-client/models/document_question_answers_result.rb +207 -0
  38. data/lib/cloudmersive-documentai-api-client/models/document_question_boolean.rb +196 -0
  39. data/lib/cloudmersive-documentai-api-client/models/document_question_choice_item.rb +196 -0
  40. data/lib/cloudmersive-documentai-api-client/models/document_question_free_response.rb +196 -0
  41. data/lib/cloudmersive-documentai-api-client/models/document_question_multiple_choice.rb +208 -0
  42. data/lib/cloudmersive-documentai-api-client/models/document_questions_request.rb +246 -0
  43. data/lib/cloudmersive-documentai-api-client/models/extract_barcodes_ai_response.rb +2 -2
  44. data/lib/cloudmersive-documentai-api-client/models/extract_document_batch_job_result.rb +2 -2
  45. data/lib/cloudmersive-documentai-api-client/models/extract_document_job_status_result.rb +2 -2
  46. data/lib/cloudmersive-documentai-api-client/models/extract_fields_advanced_response.rb +208 -0
  47. data/lib/cloudmersive-documentai-api-client/models/extract_fields_and_tables_response.rb +2 -2
  48. data/lib/cloudmersive-documentai-api-client/models/extract_fields_response.rb +2 -2
  49. data/lib/cloudmersive-documentai-api-client/models/extract_tables_response.rb +2 -2
  50. data/lib/cloudmersive-documentai-api-client/models/extract_text_response.rb +2 -2
  51. data/lib/cloudmersive-documentai-api-client/models/extracted_barcode_item.rb +2 -2
  52. data/lib/cloudmersive-documentai-api-client/models/extracted_text_page.rb +2 -2
  53. data/lib/cloudmersive-documentai-api-client/models/field_advanced_value.rb +196 -0
  54. data/lib/cloudmersive-documentai-api-client/models/field_to_extract.rb +2 -2
  55. data/lib/cloudmersive-documentai-api-client/models/field_value.rb +19 -7
  56. data/lib/cloudmersive-documentai-api-client/models/policy_rule.rb +2 -2
  57. data/lib/cloudmersive-documentai-api-client/models/policy_rule_violation.rb +2 -2
  58. data/lib/cloudmersive-documentai-api-client/models/split_document_response.rb +198 -0
  59. data/lib/cloudmersive-documentai-api-client/models/sub_document.rb +231 -0
  60. data/lib/cloudmersive-documentai-api-client/models/summarize_document_response.rb +2 -2
  61. data/lib/cloudmersive-documentai-api-client/models/table_result.rb +2 -2
  62. data/lib/cloudmersive-documentai-api-client/models/table_result_cell.rb +2 -2
  63. data/lib/cloudmersive-documentai-api-client/models/table_result_row.rb +2 -2
  64. data/lib/cloudmersive-documentai-api-client/version.rb +3 -3
  65. data/lib/cloudmersive-documentai-api-client.rb +13 -2
  66. data/spec/api/analyze_api_spec.rb +15 -3
  67. data/spec/api/extract_api_spec.rb +28 -13
  68. data/spec/api/run_batch_job_api_spec.rb +8 -8
  69. data/spec/api_client_spec.rb +2 -2
  70. data/spec/configuration_spec.rb +5 -5
  71. data/spec/models/advanced_extract_classification_request_spec.rb +20 -2
  72. data/spec/models/advanced_extract_fields_request_spec.rb +20 -2
  73. data/spec/models/document_advanced_classification_result_spec.rb +8 -2
  74. data/spec/models/document_categories_spec.rb +2 -2
  75. data/spec/models/document_classification_result_spec.rb +2 -2
  76. data/spec/models/document_policy_request_spec.rb +8 -2
  77. data/spec/models/document_policy_result_spec.rb +2 -2
  78. data/spec/models/document_question_answer_item_spec.rb +59 -0
  79. data/spec/models/document_question_answers_result_spec.rb +53 -0
  80. data/spec/models/document_question_boolean_spec.rb +47 -0
  81. data/spec/models/document_question_choice_item_spec.rb +47 -0
  82. data/spec/models/document_question_free_response_spec.rb +47 -0
  83. data/spec/models/document_question_multiple_choice_spec.rb +53 -0
  84. data/spec/models/document_questions_request_spec.rb +65 -0
  85. data/spec/models/extract_barcodes_ai_response_spec.rb +2 -2
  86. data/spec/models/extract_document_batch_job_result_spec.rb +2 -2
  87. data/spec/models/extract_document_job_status_result_spec.rb +2 -2
  88. data/spec/models/extract_fields_advanced_response_spec.rb +53 -0
  89. data/spec/models/extract_fields_and_tables_response_spec.rb +2 -2
  90. data/spec/models/extract_fields_response_spec.rb +2 -2
  91. data/spec/models/extract_tables_response_spec.rb +2 -2
  92. data/spec/models/extract_text_response_spec.rb +2 -2
  93. data/spec/models/extracted_barcode_item_spec.rb +2 -2
  94. data/spec/models/extracted_text_page_spec.rb +2 -2
  95. data/spec/models/field_advanced_value_spec.rb +47 -0
  96. data/spec/models/field_to_extract_spec.rb +2 -2
  97. data/spec/models/field_value_spec.rb +8 -2
  98. data/spec/models/policy_rule_spec.rb +2 -2
  99. data/spec/models/policy_rule_violation_spec.rb +2 -2
  100. data/spec/models/split_document_response_spec.rb +47 -0
  101. data/spec/models/sub_document_spec.rb +59 -0
  102. data/spec/models/summarize_document_response_spec.rb +2 -2
  103. data/spec/models/table_result_cell_spec.rb +2 -2
  104. data/spec/models/table_result_row_spec.rb +2 -2
  105. data/spec/models/table_result_spec.rb +2 -2
  106. data/spec/spec_helper.rb +2 -2
  107. metadata +36 -3
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Document AI API
3
+
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudmersive.com
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 CloudmersiveDocumentaiApiClient::DocumentQuestionFreeResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DocumentQuestionFreeResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveDocumentaiApiClient::DocumentQuestionFreeResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DocumentQuestionFreeResponse' do
31
+ it 'should create an instance of DocumentQuestionFreeResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveDocumentaiApiClient::DocumentQuestionFreeResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "question_id"' 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 "question_text"' 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
+ #Document AI API
3
+
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudmersive.com
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 CloudmersiveDocumentaiApiClient::DocumentQuestionMultipleChoice
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DocumentQuestionMultipleChoice' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveDocumentaiApiClient::DocumentQuestionMultipleChoice.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DocumentQuestionMultipleChoice' do
31
+ it 'should create an instance of DocumentQuestionMultipleChoice' do
32
+ expect(@instance).to be_instance_of(CloudmersiveDocumentaiApiClient::DocumentQuestionMultipleChoice)
33
+ end
34
+ end
35
+ describe 'test attribute "question_id"' 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 "question_text"' 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 "response_choices"' 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
+ #Document AI API
3
+
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudmersive.com
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 CloudmersiveDocumentaiApiClient::DocumentQuestionsRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DocumentQuestionsRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveDocumentaiApiClient::DocumentQuestionsRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DocumentQuestionsRequest' do
31
+ it 'should create an instance of DocumentQuestionsRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveDocumentaiApiClient::DocumentQuestionsRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file"' 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 "questions_yes_no"' 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 "questions_multiple_choice"' 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 "questions_free_response"' 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 "recognition_mode"' 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
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #Document AI API
3
+
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudmersive.com
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 CloudmersiveDocumentaiApiClient::ExtractFieldsAdvancedResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ExtractFieldsAdvancedResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveDocumentaiApiClient::ExtractFieldsAdvancedResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ExtractFieldsAdvancedResponse' do
31
+ it 'should create an instance of ExtractFieldsAdvancedResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveDocumentaiApiClient::ExtractFieldsAdvancedResponse)
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 "results"' 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 "confidence_score"' 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
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Document AI API
3
+
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudmersive.com
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 CloudmersiveDocumentaiApiClient::FieldAdvancedValue
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'FieldAdvancedValue' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveDocumentaiApiClient::FieldAdvancedValue.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FieldAdvancedValue' do
31
+ it 'should create an instance of FieldAdvancedValue' do
32
+ expect(@instance).to be_instance_of(CloudmersiveDocumentaiApiClient::FieldAdvancedValue)
33
+ end
34
+ end
35
+ describe 'test attribute "field_name"' 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 "field_string_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
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -44,4 +44,10 @@ describe 'FieldValue' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "additional_field_string_values"' 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
+
47
53
  end
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Document AI API
3
+
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudmersive.com
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 CloudmersiveDocumentaiApiClient::SplitDocumentResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SplitDocumentResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveDocumentaiApiClient::SplitDocumentResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SplitDocumentResponse' do
31
+ it 'should create an instance of SplitDocumentResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveDocumentaiApiClient::SplitDocumentResponse)
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 "sub_documents"' 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,59 @@
1
+ =begin
2
+ #Document AI API
3
+
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudmersive.com
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 CloudmersiveDocumentaiApiClient::SubDocument
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SubDocument' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveDocumentaiApiClient::SubDocument.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SubDocument' do
31
+ it 'should create an instance of SubDocument' do
32
+ expect(@instance).to be_instance_of(CloudmersiveDocumentaiApiClient::SubDocument)
33
+ end
34
+ end
35
+ describe 'test attribute "start_page"' 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 "end_page"' 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 "document_description"' 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 "file_bytes"' 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
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10
 
data/spec/spec_helper.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Document AI API
3
3
 
4
- #Use next-generation AI to extract data, fields, insights and text from documents. Instantly.
4
+ #Extract structured data including named fields, tables, barcodes, classifications, and summaries from common document formats, scanned documents, and photos of documents using AI. Also supports handwriting and low quality photos and scans, as well as digital document input. Supports a wide range of languages, and is able to analyze and infer semantic structure from the visual layout for documents.
5
5
 
6
6
  OpenAPI spec version: v1
7
-
7
+ Contact: support@cloudmersive.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.14
10
10