mindee 4.0.0 → 4.1.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/bin/cli_products.rb +172 -0
- data/bin/mindee.rb +6 -121
- data/docs/advanced_file_operations.md +7 -9
- data/docs/code_samples/invoice_splitter_v1_async.txt +2 -1
- data/docs/code_samples/{license_plates_v1.txt → us_mail_v2_async.txt} +1 -1
- data/docs/code_samples/workflow_execution.txt +28 -0
- data/docs/getting_started.md +1 -1
- data/docs/global_products/barcode_reader_v1.md +1 -1
- data/docs/global_products/bill_of_lading_v1.md +1 -1
- data/docs/global_products/business_card_v1.md +1 -1
- data/docs/global_products/cropper_v1.md +1 -1
- data/docs/global_products/delivery_notes_v1.md +2 -2
- data/docs/global_products/driver_license_v1.md +1 -1
- data/docs/global_products/expense_receipts_v5.md +26 -25
- data/docs/global_products/financial_document_v1.md +34 -33
- data/docs/global_products/international_id_v2.md +7 -7
- data/docs/global_products/invoice_splitter_v1.md +53 -33
- data/docs/global_products/invoices_v4.md +19 -19
- data/docs/global_products/multi_receipts_detector_v1.md +1 -1
- data/docs/global_products/nutrition_facts_v1.md +1 -1
- data/docs/global_products/passport_v1.md +1 -1
- data/docs/global_products/resume_v1.md +4 -4
- data/docs/global_products/universal.md +1 -1
- data/docs/global_products.md +1 -1
- data/docs/loading_a_document.md +87 -73
- data/docs/localized_products/bank_account_details_v2.md +1 -1
- data/docs/localized_products/bank_check_v1.md +1 -1
- data/docs/localized_products/bank_statement_fr_v2.md +1 -1
- data/docs/localized_products/carte_grise_v1.md +1 -1
- data/docs/localized_products/energy_bill_fra_v1.md +11 -3
- data/docs/localized_products/french_healthcard_v1.md +1 -1
- data/docs/localized_products/idcard_fr_v2.md +6 -6
- data/docs/localized_products/ind_passport_v1.md +5 -5
- data/docs/localized_products/payslip_fra_v3.md +1 -1
- data/docs/localized_products/us_healthcare_cards_v1.md +2 -2
- data/docs/localized_products/us_mail_v3.md +1 -1
- data/docs/localized_products/us_w9_v1.md +1 -1
- data/docs/localized_products.md +1 -1
- data/lib/mindee/client.rb +6 -8
- data/lib/mindee/geometry/polygon.rb +1 -1
- data/lib/mindee/http/workflow_endpoint.rb +23 -23
- data/lib/mindee/pdf/pdf_extractor.rb +3 -3
- data/lib/mindee/product/delivery_note/delivery_note_v1_document.rb +1 -1
- data/lib/mindee/product/delivery_note/delivery_note_v1_page.rb +1 -1
- data/lib/mindee/product/financial_document/financial_document_v1_document.rb +15 -14
- data/lib/mindee/product/financial_document/financial_document_v1_line_item.rb +1 -1
- data/lib/mindee/product/financial_document/financial_document_v1_line_items.rb +1 -1
- data/lib/mindee/product/fr/energy_bill/energy_bill_v1_document.rb +5 -1
- data/lib/mindee/product/fr/energy_bill/energy_bill_v1_energy_usage.rb +18 -0
- data/lib/mindee/product/fr/energy_bill/energy_bill_v1_energy_usages.rb +4 -0
- data/lib/mindee/product/fr/energy_bill/energy_bill_v1_meter_detail.rb +2 -2
- data/lib/mindee/product/fr/energy_bill/energy_bill_v1_page.rb +1 -1
- data/lib/mindee/product/invoice/invoice_v4_document.rb +14 -14
- data/lib/mindee/product/invoice/invoice_v4_line_item.rb +2 -2
- data/lib/mindee/product/invoice/invoice_v4_line_items.rb +1 -1
- data/lib/mindee/product/invoice_splitter/invoice_splitter_v1.rb +2 -2
- data/lib/mindee/product/invoice_splitter/invoice_splitter_v1_document.rb +38 -42
- data/lib/mindee/product/invoice_splitter/invoice_splitter_v1_invoice_page_group.rb +55 -0
- data/lib/mindee/product/invoice_splitter/invoice_splitter_v1_invoice_page_groups.rb +48 -0
- data/lib/mindee/product/invoice_splitter/invoice_splitter_v1_page.rb +9 -5
- data/lib/mindee/product/receipt/receipt_v5_document.rb +8 -8
- data/lib/mindee/product/receipt/receipt_v5_line_item.rb +1 -1
- data/lib/mindee/product/receipt/receipt_v5_line_items.rb +1 -1
- data/lib/mindee/product/us/healthcare_card/healthcare_card_v1_document.rb +1 -1
- data/lib/mindee/product/us/healthcare_card/healthcare_card_v1_page.rb +1 -1
- data/lib/mindee/product/{eu/license_plate/license_plate_v1.rb → us/us_mail/us_mail_v2.rb} +13 -13
- data/lib/mindee/product/us/us_mail/us_mail_v2_document.rb +105 -0
- data/lib/mindee/product/{eu/license_plate/license_plate_v1_page.rb → us/us_mail/us_mail_v2_page.rb} +8 -8
- data/lib/mindee/product/us/us_mail/us_mail_v2_recipient_address.rb +105 -0
- data/lib/mindee/product/us/us_mail/us_mail_v2_recipient_addresses.rb +63 -0
- data/lib/mindee/product/us/us_mail/us_mail_v2_sender_address.rb +66 -0
- data/lib/mindee/product.rb +5 -5
- data/lib/mindee/version.rb +1 -1
- data/mindee.gemspec +11 -11
- data/sig/custom/net_http.rbs +5 -0
- data/sig/mindee/client.rbs +1 -0
- data/sig/mindee/http/workflow_endpoint.rbs +8 -2
- data/sig/mindee/pdf/pdf_extractor.rbs +1 -1
- data/sig/mindee/product/bill_of_lading/bill_of_lading_v1_carrier_items.rbs +1 -1
- data/sig/mindee/product/financial_document/financial_document_v1_line_items.rbs +1 -1
- data/sig/mindee/product/fr/bank_statement/bank_statement_v2_transactions.rbs +1 -1
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_energy_usage.rbs +2 -0
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_energy_usages.rbs +1 -1
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_subscriptions.rbs +1 -1
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_taxes_and_contributions.rbs +1 -1
- data/sig/mindee/product/fr/payslip/payslip_v2_salary_details.rbs +1 -1
- data/sig/mindee/product/fr/payslip/payslip_v3_paid_time_offs.rbs +1 -1
- data/sig/mindee/product/fr/payslip/payslip_v3_salary_details.rbs +1 -1
- data/sig/mindee/product/invoice/invoice_v4_line_items.rbs +1 -1
- data/sig/mindee/product/invoice_splitter/invoice_splitter_v1.rbs +1 -4
- data/sig/mindee/product/invoice_splitter/invoice_splitter_v1_document.rbs +5 -9
- data/sig/mindee/product/invoice_splitter/invoice_splitter_v1_invoice_page_group.rbs +14 -0
- data/sig/mindee/product/invoice_splitter/invoice_splitter_v1_invoice_page_groups.rbs +13 -0
- data/sig/mindee/product/invoice_splitter/invoice_splitter_v1_page.rbs +2 -0
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_nutrients.rbs +1 -1
- data/sig/mindee/product/receipt/receipt_v5_line_items.rbs +1 -1
- data/sig/mindee/product/resume/resume_v1_certificates.rbs +1 -1
- data/sig/mindee/product/resume/resume_v1_educations.rbs +1 -1
- data/sig/mindee/product/resume/resume_v1_languages.rbs +1 -1
- data/sig/mindee/product/resume/resume_v1_professional_experiences.rbs +1 -1
- data/sig/mindee/product/resume/resume_v1_social_networks_urls.rbs +1 -1
- data/sig/mindee/product/us/healthcare_card/healthcare_card_v1_copays.rbs +1 -1
- data/sig/mindee/product/us/us_mail/us_mail_v2.rbs +13 -0
- data/sig/mindee/product/us/us_mail/us_mail_v2_document.rbs +20 -0
- data/sig/mindee/product/{eu/license_plate/license_plate_v1_page.rbs → us/us_mail/us_mail_v2_page.rbs} +5 -5
- data/sig/mindee/product/us/us_mail/us_mail_v2_recipient_address.rbs +22 -0
- data/sig/mindee/product/us/us_mail/us_mail_v2_recipient_addresses.rbs +15 -0
- data/sig/mindee/product/us/us_mail/us_mail_v2_sender_address.rbs +18 -0
- data/sig/mindee/product/us/us_mail/us_mail_v3_recipient_addresses.rbs +1 -1
- metadata +39 -28
- data/docs/localized_products/license_plates_v1.md +0 -112
- data/lib/mindee/product/eu/license_plate/license_plate_v1_document.rb +0 -37
- data/sig/mindee/product/eu/license_plate/license_plate_v1.rbs +0 -13
- data/sig/mindee/product/eu/license_plate/license_plate_v1_document.rbs +0 -15
data/mindee.gemspec
CHANGED
@@ -21,23 +21,23 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
22
22
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(.github|spec|features)/}) }
|
23
23
|
end
|
24
|
-
spec.bindir
|
25
|
-
spec.executables
|
24
|
+
spec.bindir = 'bin'
|
25
|
+
spec.executables = Dir['bin/*'].map { |f| File.basename(f) }.reject { |f| f == 'cli_products.rb' }
|
26
26
|
spec.require_paths = ['lib']
|
27
27
|
|
28
28
|
spec.required_ruby_version = Gem::Requirement.new('>= 3.0')
|
29
29
|
|
30
|
-
spec.add_dependency 'base64', '~> 0.1
|
31
|
-
spec.add_dependency 'marcel', '~> 1.0
|
30
|
+
spec.add_dependency 'base64', '~> 0.1'
|
31
|
+
spec.add_dependency 'marcel', '~> 1.0'
|
32
32
|
spec.add_dependency 'mini_magick', '>= 4', '< 6'
|
33
|
-
spec.add_dependency 'origamindee', '~> 4.0
|
34
|
-
spec.add_dependency 'pdf-reader', '~> 2.
|
33
|
+
spec.add_dependency 'origamindee', '~> 4.0'
|
34
|
+
spec.add_dependency 'pdf-reader', '~> 2.14'
|
35
35
|
|
36
36
|
spec.add_development_dependency 'prism', '~> 1.3'
|
37
|
-
spec.add_development_dependency 'rake', '~> 13.2
|
37
|
+
spec.add_development_dependency 'rake', '~> 13.2'
|
38
38
|
spec.add_development_dependency 'rbs', '~> 3.6'
|
39
|
-
spec.add_development_dependency 'rspec', '~> 3.13
|
40
|
-
spec.add_development_dependency 'rubocop', '~> 1.70
|
41
|
-
spec.add_development_dependency 'steep', '~> 1.7
|
42
|
-
spec.add_development_dependency 'yard', '~> 0.9
|
39
|
+
spec.add_development_dependency 'rspec', '~> 3.13'
|
40
|
+
spec.add_development_dependency 'rubocop', '~> 1.70'
|
41
|
+
spec.add_development_dependency 'steep', '~> 1.7'
|
42
|
+
spec.add_development_dependency 'yard', '~> 0.9'
|
43
43
|
end
|
data/sig/custom/net_http.rbs
CHANGED
data/sig/mindee/client.rbs
CHANGED
@@ -3,11 +3,17 @@ module Mindee
|
|
3
3
|
module HTTP
|
4
4
|
class WorkflowEndpoint
|
5
5
|
def api_key: -> String
|
6
|
+
|
6
7
|
def request_timeout: -> Integer
|
8
|
+
|
7
9
|
def url: -> String
|
10
|
+
|
8
11
|
def initialize: (untyped, ?api_key: String) -> String
|
9
|
-
|
10
|
-
def
|
12
|
+
|
13
|
+
def execute_workflow: (Input::Source::LocalInputSource | Input::Source::URLInputSource, WorkflowOptions) -> [untyped, untyped]
|
14
|
+
|
15
|
+
def workflow_execution_req_post: (Input::Source::LocalInputSource | Input::Source::URLInputSource, WorkflowOptions) -> Net::HTTPResponse?
|
16
|
+
|
11
17
|
def check_api_key: -> nil
|
12
18
|
end
|
13
19
|
end
|
@@ -7,7 +7,7 @@ module Mindee
|
|
7
7
|
def page_count: -> untyped
|
8
8
|
def cut_pages: (Array[untyped]) -> untyped
|
9
9
|
def extract_sub_documents: (Array[untyped]) -> Array[untyped]
|
10
|
-
def extract_invoices: (untyped, ?strict:
|
10
|
+
def extract_invoices: (untyped, ?strict: bool) -> Array[untyped]
|
11
11
|
def source_pdf: -> StringIO
|
12
12
|
def filename: -> untyped
|
13
13
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module BillOfLading
|
6
|
-
class BillOfLadingV1CarrierItems < Array[
|
6
|
+
class BillOfLadingV1CarrierItems < Array[BillOfLadingV1CarrierItem]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module FinancialDocument
|
6
|
-
class FinancialDocumentV1LineItems < Array[
|
6
|
+
class FinancialDocumentV1LineItems < Array[FinancialDocumentV1LineItem]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module FR
|
6
6
|
module BankStatement
|
7
|
-
class BankStatementV2Transactions < Array[
|
7
|
+
class BankStatementV2Transactions < Array[BankStatementV2Transaction]
|
8
8
|
def initialize: (Array[untyped], Integer?) -> void
|
9
9
|
def self.line_items_separator: (String) -> String
|
10
10
|
def to_s: -> String
|
@@ -4,11 +4,13 @@ module Mindee
|
|
4
4
|
module EnergyBill
|
5
5
|
class EnergyBillV1EnergyUsage < Parsing::Standard::FeatureField
|
6
6
|
def initialize: (Hash[Symbol | String, untyped], Integer?) -> void
|
7
|
+
def consumption: -> Float
|
7
8
|
def description: -> String
|
8
9
|
def end_date: -> String
|
9
10
|
def start_date: -> String
|
10
11
|
def tax_rate: -> Float
|
11
12
|
def total: -> Float
|
13
|
+
def unit: -> String
|
12
14
|
def unit_price: -> Float
|
13
15
|
def printable_values: -> Hash[Symbol | String, untyped]
|
14
16
|
def table_printable_values: -> Hash[Symbol | String, untyped]
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module FR
|
6
6
|
module EnergyBill
|
7
|
-
class EnergyBillV1EnergyUsages < Array[
|
7
|
+
class EnergyBillV1EnergyUsages < Array[EnergyBillV1EnergyUsage]
|
8
8
|
def initialize: (Array[untyped], Integer?) -> void
|
9
9
|
def self.line_items_separator: (String) -> String
|
10
10
|
def to_s: -> String
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module FR
|
6
6
|
module EnergyBill
|
7
|
-
class EnergyBillV1Subscriptions < Array[
|
7
|
+
class EnergyBillV1Subscriptions < Array[EnergyBillV1Subscription]
|
8
8
|
def initialize: (Array[untyped], Integer?) -> void
|
9
9
|
def self.line_items_separator: (String) -> String
|
10
10
|
def to_s: -> String
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module FR
|
6
6
|
module EnergyBill
|
7
|
-
class EnergyBillV1TaxesAndContributions < Array[
|
7
|
+
class EnergyBillV1TaxesAndContributions < Array[EnergyBillV1TaxesAndContribution]
|
8
8
|
def initialize: (Array[untyped], Integer?) -> void
|
9
9
|
def self.line_items_separator: (String) -> String
|
10
10
|
def to_s: -> String
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module FR
|
6
6
|
module Payslip
|
7
|
-
class PayslipV2SalaryDetails < Array[
|
7
|
+
class PayslipV2SalaryDetails < Array[PayslipV2SalaryDetail]
|
8
8
|
def initialize: (Array[untyped], Integer?) -> void
|
9
9
|
def self.line_items_separator: (String) -> String
|
10
10
|
def to_s: -> String
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module FR
|
6
6
|
module Payslip
|
7
|
-
class PayslipV3PaidTimeOffs < Array[
|
7
|
+
class PayslipV3PaidTimeOffs < Array[PayslipV3PaidTimeOff]
|
8
8
|
def initialize: (Array[untyped], Integer?) -> void
|
9
9
|
def self.line_items_separator: (String) -> String
|
10
10
|
def to_s: -> String
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module FR
|
6
6
|
module Payslip
|
7
|
-
class PayslipV3SalaryDetails < Array[
|
7
|
+
class PayslipV3SalaryDetails < Array[PayslipV3SalaryDetail]
|
8
8
|
def initialize: (Array[untyped], Integer?) -> void
|
9
9
|
def self.line_items_separator: (String) -> String
|
10
10
|
def to_s: -> String
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module Invoice
|
6
|
-
class InvoiceV4LineItems < Array[
|
6
|
+
class InvoiceV4LineItems < Array[InvoiceV4LineItem]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -1,13 +1,10 @@
|
|
1
1
|
# lib/mindee/product/invoice_splitter/invoice_splitter_v1.rb
|
2
|
+
|
2
3
|
module Mindee
|
3
4
|
module Product
|
4
5
|
module InvoiceSplitter
|
5
6
|
class InvoiceSplitterV1 < Parsing::Common::Inference
|
6
7
|
def initialize: (Hash[Symbol | String, untyped]) -> void
|
7
|
-
def endpoint_name: -> String
|
8
|
-
def endpoint_version: -> String
|
9
|
-
def has_async: -> bool
|
10
|
-
def has_sync: -> bool
|
11
8
|
end
|
12
9
|
end
|
13
10
|
end
|
@@ -1,17 +1,13 @@
|
|
1
1
|
# lib/mindee/product/invoice_splitter/invoice_splitter_v1_document.rb
|
2
|
+
|
2
3
|
module Mindee
|
3
4
|
module Product
|
4
5
|
module InvoiceSplitter
|
5
|
-
class InvoiceSplitterV1PageGroup
|
6
|
-
def page_indexes: -> Array[Integer]
|
7
|
-
def confidence: -> Float?
|
8
|
-
def initialize: (Hash[Symbol | String, untyped]) -> void
|
9
|
-
def to_s: -> String
|
10
|
-
end
|
11
6
|
class InvoiceSplitterV1Document < Parsing::Common::Prediction
|
12
|
-
def
|
13
|
-
def
|
14
|
-
def
|
7
|
+
def initialize: (Hash[Symbol | String, untyped], Integer?) -> void
|
8
|
+
def invoice_page_groups: -> (Product::InvoiceSplitter::InvoiceSplitterV1InvoicePageGroups)
|
9
|
+
def invoice_page_groups_separator: (String) -> String
|
10
|
+
def invoice_page_groups_to_s: -> String
|
15
11
|
def to_s: -> String
|
16
12
|
end
|
17
13
|
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Mindee
|
2
|
+
module Product
|
3
|
+
module InvoiceSplitter
|
4
|
+
class InvoiceSplitterV1InvoicePageGroup < Parsing::Standard::FeatureField
|
5
|
+
def initialize: (Hash[Symbol | String, untyped], Integer?) -> void
|
6
|
+
def page_indexes: -> Array[Integer]
|
7
|
+
def printable_values: -> Hash[Symbol | String, untyped]
|
8
|
+
def table_printable_values: -> Hash[Symbol | String, untyped]
|
9
|
+
def to_table_line: -> String
|
10
|
+
def to_s: -> String
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Mindee
|
4
|
+
module Product
|
5
|
+
module InvoiceSplitter
|
6
|
+
class InvoiceSplitterV1InvoicePageGroups < Array[InvoiceSplitterV1InvoicePageGroup]
|
7
|
+
def initialize: (Array[untyped], Integer?) -> void
|
8
|
+
def self.line_items_separator: (String) -> String
|
9
|
+
def to_s: -> String
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -1,4 +1,5 @@
|
|
1
1
|
# lib/mindee/product/invoice_splitter/invoice_splitter_v1_page.rb
|
2
|
+
|
2
3
|
module Mindee
|
3
4
|
module Product
|
4
5
|
module InvoiceSplitter
|
@@ -6,6 +7,7 @@ module Mindee
|
|
6
7
|
def initialize: (Hash[Symbol | String, untyped]) -> void
|
7
8
|
end
|
8
9
|
class InvoiceSplitterV1PagePrediction < InvoiceSplitterV1Document
|
10
|
+
def initialize: (Hash[Symbol | String, untyped], Integer?) -> void
|
9
11
|
def to_s: -> String
|
10
12
|
end
|
11
13
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module NutritionFactsLabel
|
6
|
-
class NutritionFactsLabelV1Nutrients < Array[
|
6
|
+
class NutritionFactsLabelV1Nutrients < Array[NutritionFactsLabelV1Nutrient]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module Receipt
|
6
|
-
class ReceiptV5LineItems < Array[
|
6
|
+
class ReceiptV5LineItems < Array[ReceiptV5LineItem]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module Resume
|
6
|
-
class ResumeV1Certificates < Array[
|
6
|
+
class ResumeV1Certificates < Array[ResumeV1Certificate]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module Resume
|
6
|
-
class ResumeV1Educations < Array[
|
6
|
+
class ResumeV1Educations < Array[ResumeV1Education]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module Resume
|
6
|
-
class ResumeV1Languages < Array[
|
6
|
+
class ResumeV1Languages < Array[ResumeV1Language]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module Resume
|
6
|
-
class ResumeV1ProfessionalExperiences < Array[
|
6
|
+
class ResumeV1ProfessionalExperiences < Array[ResumeV1ProfessionalExperience]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
5
|
module Resume
|
6
|
-
class ResumeV1SocialNetworksUrls < Array[
|
6
|
+
class ResumeV1SocialNetworksUrls < Array[ResumeV1SocialNetworksUrl]
|
7
7
|
def initialize: (Array[untyped], Integer?) -> void
|
8
8
|
def self.line_items_separator: (String) -> String
|
9
9
|
def to_s: -> String
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module US
|
6
6
|
module HealthcareCard
|
7
|
-
class HealthcareCardV1Copays < Array[
|
7
|
+
class HealthcareCardV1Copays < Array[HealthcareCardV1Copay]
|
8
8
|
def initialize: (Array[untyped], Integer?) -> void
|
9
9
|
def self.line_items_separator: (String) -> String
|
10
10
|
def to_s: -> String
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# lib/mindee/product/../us_mail/us_mail_v2_document.rb
|
2
|
+
|
3
|
+
module Mindee
|
4
|
+
module Product
|
5
|
+
module US
|
6
|
+
module UsMail
|
7
|
+
class UsMailV2Document < Parsing::Common::Prediction
|
8
|
+
def initialize: (Hash[Symbol | String, untyped], Integer?) -> void
|
9
|
+
def recipient_addresses: -> (Product::US::UsMail::UsMailV2RecipientAddresses)
|
10
|
+
def recipient_names: -> (Array[Parsing::Standard::StringField])
|
11
|
+
def sender_address: -> (Product::US::UsMail::UsMailV2SenderAddress)
|
12
|
+
def sender_name: -> (Parsing::Standard::StringField)
|
13
|
+
def recipient_addresses_separator: (String) -> String
|
14
|
+
def recipient_addresses_to_s: -> String
|
15
|
+
def to_s: -> String
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -1,13 +1,13 @@
|
|
1
|
-
# lib/mindee/product/../
|
1
|
+
# lib/mindee/product/../us_mail/us_mail_v2_page.rb
|
2
2
|
|
3
3
|
module Mindee
|
4
4
|
module Product
|
5
|
-
module
|
6
|
-
module
|
7
|
-
class
|
5
|
+
module US
|
6
|
+
module UsMail
|
7
|
+
class UsMailV2Page < Parsing::Common::Page
|
8
8
|
def initialize: (Hash[Symbol | String, untyped]) -> void
|
9
9
|
end
|
10
|
-
class
|
10
|
+
class UsMailV2PagePrediction < UsMailV2Document
|
11
11
|
def initialize: (Hash[Symbol | String, untyped], Integer?) -> void
|
12
12
|
def to_s: -> String
|
13
13
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Mindee
|
2
|
+
module Product
|
3
|
+
module US
|
4
|
+
module UsMail
|
5
|
+
class UsMailV2RecipientAddress < Parsing::Standard::FeatureField
|
6
|
+
def initialize: (Hash[Symbol | String, untyped], Integer?) -> void
|
7
|
+
def city: -> String
|
8
|
+
def complete: -> String
|
9
|
+
def is_address_change: -> bool
|
10
|
+
def postal_code: -> String
|
11
|
+
def private_mailbox_number: -> String
|
12
|
+
def state: -> String
|
13
|
+
def street: -> String
|
14
|
+
def printable_values: -> Hash[Symbol | String, untyped]
|
15
|
+
def table_printable_values: -> Hash[Symbol | String, untyped]
|
16
|
+
def to_table_line: -> String
|
17
|
+
def to_s: -> String
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Mindee
|
4
|
+
module Product
|
5
|
+
module US
|
6
|
+
module UsMail
|
7
|
+
class UsMailV2RecipientAddresses < Array[UsMailV2RecipientAddress]
|
8
|
+
def initialize: (Array[untyped], Integer?) -> void
|
9
|
+
def self.line_items_separator: (String) -> String
|
10
|
+
def to_s: -> String
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Mindee
|
2
|
+
module Product
|
3
|
+
module US
|
4
|
+
module UsMail
|
5
|
+
class UsMailV2SenderAddress < Parsing::Standard::FeatureField
|
6
|
+
def initialize: (Hash[Symbol | String, untyped], Integer?) -> void
|
7
|
+
def city: -> String
|
8
|
+
def complete: -> String
|
9
|
+
def postal_code: -> String
|
10
|
+
def state: -> String
|
11
|
+
def street: -> String
|
12
|
+
def printable_values: -> Hash[Symbol | String, untyped]
|
13
|
+
def to_s: -> String
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module US
|
6
6
|
module UsMail
|
7
|
-
class UsMailV3RecipientAddresses < Array[
|
7
|
+
class UsMailV3RecipientAddresses < Array[UsMailV3RecipientAddress]
|
8
8
|
def initialize: (Array[untyped], Integer?) -> void
|
9
9
|
def self.line_items_separator: (String) -> String
|
10
10
|
def to_s: -> String
|