mindee 4.6.0 → 4.7.0.pre.rc1
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 +12 -0
- data/README.md +21 -222
- data/docs/code_samples/default_v2.txt +28 -0
- data/lib/mindee/client.rb +11 -30
- data/lib/mindee/client_v2.rb +109 -0
- data/lib/mindee/errors/mindee_http_error_v2.rb +26 -0
- data/lib/mindee/errors.rb +1 -0
- data/lib/mindee/geometry/point.rb +2 -2
- data/lib/mindee/geometry/quadrilateral.rb +4 -4
- data/lib/mindee/geometry/utils.rb +1 -0
- data/lib/mindee/http/api_settings_v2.rb +61 -0
- data/lib/mindee/http/endpoint.rb +12 -6
- data/lib/mindee/http/http_error_handler.rb +17 -4
- data/lib/mindee/http/mindee_api_v2.rb +148 -0
- data/lib/mindee/http/response_validation.rb +20 -1
- data/lib/mindee/http/workflow_endpoint.rb +2 -2
- data/lib/mindee/http.rb +2 -0
- data/lib/mindee/image/extracted_image.rb +1 -1
- data/lib/mindee/image/image_extractor.rb +10 -10
- data/lib/mindee/input/inference_parameters.rb +116 -0
- data/lib/mindee/input/local_response.rb +10 -1
- data/lib/mindee/input/polling_options.rb +26 -0
- data/lib/mindee/input/sources/base64_input_source.rb +2 -2
- data/lib/mindee/input/sources/local_input_source.rb +19 -12
- data/lib/mindee/input.rb +2 -0
- data/lib/mindee/page_options.rb +24 -0
- data/lib/mindee/parsing/common/api_request.rb +2 -2
- data/lib/mindee/parsing/common/api_response.rb +4 -0
- data/lib/mindee/parsing/common/execution.rb +1 -1
- data/lib/mindee/parsing/common/extras/extras.rb +2 -2
- data/lib/mindee/parsing/common/extras/rag_extra.rb +2 -0
- data/lib/mindee/parsing/common/ocr/ocr.rb +4 -6
- data/lib/mindee/parsing/common/orientation.rb +2 -2
- data/lib/mindee/parsing/common/product.rb +6 -1
- data/lib/mindee/parsing/standard/amount_field.rb +2 -2
- data/lib/mindee/parsing/standard/feature_field.rb +1 -1
- data/lib/mindee/parsing/standard/tax_field.rb +1 -1
- data/lib/mindee/parsing/universal/universal_list_field.rb +2 -2
- data/lib/mindee/parsing/universal/universal_object_field.rb +6 -3
- data/lib/mindee/parsing/v2/common_response.rb +18 -0
- data/lib/mindee/parsing/v2/error_response.rb +36 -0
- data/lib/mindee/parsing/v2/field/base_field.rb +60 -0
- data/lib/mindee/parsing/v2/field/field_confidence.rb +91 -0
- data/lib/mindee/parsing/v2/field/field_location.rb +36 -0
- data/lib/mindee/parsing/v2/field/inference_fields.rb +96 -0
- data/lib/mindee/parsing/v2/field/list_field.rb +88 -0
- data/lib/mindee/parsing/v2/field/object_field.rb +102 -0
- data/lib/mindee/parsing/v2/field/simple_field.rb +56 -0
- data/lib/mindee/parsing/v2/field.rb +9 -0
- data/lib/mindee/parsing/v2/inference.rb +50 -0
- data/lib/mindee/parsing/v2/inference_file.rb +38 -0
- data/lib/mindee/parsing/v2/inference_model.rb +18 -0
- data/lib/mindee/parsing/v2/inference_response.rb +30 -0
- data/lib/mindee/parsing/v2/inference_result.rb +49 -0
- data/lib/mindee/parsing/v2/inference_result_options.rb +21 -0
- data/lib/mindee/parsing/v2/job.rb +86 -0
- data/lib/mindee/parsing/v2/job_response.rb +30 -0
- data/lib/mindee/parsing/v2/job_webhook.rb +60 -0
- data/lib/mindee/parsing/v2/raw_text.rb +21 -0
- data/lib/mindee/parsing/v2.rb +15 -0
- data/lib/mindee/pdf/extracted_pdf.rb +5 -3
- data/lib/mindee/pdf/pdf_extractor.rb +11 -7
- data/lib/mindee/pdf/pdf_processor.rb +6 -6
- data/lib/mindee/pdf/pdf_tools.rb +4 -2
- data/lib/mindee/product/universal/universal_prediction.rb +4 -4
- data/lib/mindee/version.rb +2 -2
- data/lib/mindee.rb +6 -0
- data/mindee.gemspec +1 -1
- data/sig/custom/mini_magick.rbs +14 -7
- data/sig/custom/net_http.rbs +4 -4
- data/sig/custom/origami.rbs +9 -4
- data/sig/mindee/client.rbs +14 -19
- data/sig/mindee/client_v2.rbs +17 -0
- data/sig/mindee/errors/mindee_http_error.rbs +6 -5
- data/sig/mindee/errors/mindee_http_error_v2.rbs +12 -0
- data/sig/mindee/errors/mindee_input_error.rbs +3 -2
- data/sig/mindee/geometry/min_max.rbs +4 -3
- data/sig/mindee/geometry/point.rbs +5 -6
- data/sig/mindee/geometry/polygon.rbs +3 -3
- data/sig/mindee/geometry/quadrilateral.rbs +5 -8
- data/sig/mindee/geometry/utils.rbs +8 -8
- data/sig/mindee/http/api_settings_v2.rbs +23 -0
- data/sig/mindee/http/endpoint.rbs +12 -11
- data/sig/mindee/http/http_error_handler.rbs +8 -3
- data/sig/mindee/http/mindee_api_v2.rbs +18 -0
- data/sig/mindee/http/response_validation.rbs +1 -0
- data/sig/mindee/http/workflow_endpoint.rbs +1 -1
- data/sig/mindee/image/extracted_image.rbs +2 -2
- data/sig/mindee/image/image_compressor.rbs +1 -1
- data/sig/mindee/image/image_extractor.rbs +5 -5
- data/sig/mindee/image/image_utils.rbs +10 -10
- data/sig/mindee/input/inference_parameters.rbs +30 -0
- data/sig/mindee/input/local_response.rbs +6 -5
- data/sig/mindee/input/polling_options.rbs +12 -0
- data/sig/mindee/input/sources/base64_input_source.rbs +1 -1
- data/sig/mindee/input/sources/local_input_source.rbs +10 -7
- data/sig/mindee/input/sources/url_input_source.rbs +1 -1
- data/sig/mindee/logging/logger.rbs +2 -0
- data/sig/mindee/page_options.rbs +11 -0
- data/sig/mindee/parsing/common/api_request.rbs +6 -6
- data/sig/mindee/parsing/common/api_response.rbs +2 -2
- data/sig/mindee/parsing/common/document.rbs +10 -10
- data/sig/mindee/parsing/common/execution.rbs +15 -14
- data/sig/mindee/parsing/common/execution_file.rbs +3 -3
- data/sig/mindee/parsing/common/extras/cropper_extra.rbs +3 -2
- data/sig/mindee/parsing/common/extras/extras.rbs +6 -5
- data/sig/mindee/parsing/common/extras/full_text_ocr_extra.rbs +2 -1
- data/sig/mindee/parsing/common/inference.rbs +16 -9
- data/sig/mindee/parsing/common/job.rbs +2 -2
- data/sig/mindee/parsing/common/ocr/mvision_v1.rbs +2 -2
- data/sig/mindee/parsing/common/ocr/ocr.rbs +22 -20
- data/sig/mindee/parsing/common/orientation.rbs +4 -3
- data/sig/mindee/parsing/common/page.rbs +6 -5
- data/sig/mindee/parsing/common/product.rbs +4 -4
- data/sig/mindee/parsing/common/workflow_response.rbs +8 -4
- data/sig/mindee/parsing/standard/abstract_field.rbs +1 -1
- data/sig/mindee/parsing/standard/address_field.rbs +1 -1
- data/sig/mindee/parsing/standard/amount_field.rbs +6 -4
- data/sig/mindee/parsing/standard/base_field.rbs +1 -1
- data/sig/mindee/parsing/standard/boolean_field.rbs +1 -1
- data/sig/mindee/parsing/standard/company_registration_field.rbs +3 -2
- data/sig/mindee/parsing/standard/date_field.rbs +6 -6
- data/sig/mindee/parsing/standard/locale_field.rbs +1 -1
- data/sig/mindee/parsing/standard/payment_details_field.rbs +7 -6
- data/sig/mindee/parsing/standard/position_field.rbs +2 -2
- data/sig/mindee/parsing/standard/string_field.rbs +1 -1
- data/sig/mindee/parsing/standard/tax_field.rbs +8 -7
- data/sig/mindee/parsing/universal/universal_list_field.rbs +4 -5
- data/sig/mindee/parsing/universal/universal_object_field.rbs +17 -11
- data/sig/mindee/parsing/v2/common_response.rbs +11 -0
- data/sig/mindee/parsing/v2/error_response.rbs +16 -0
- data/sig/mindee/parsing/v2/field/base_field.rbs +17 -0
- data/sig/mindee/parsing/v2/field/field_confidence.rbs +27 -0
- data/sig/mindee/parsing/v2/field/field_location.rbs +16 -0
- data/sig/mindee/parsing/v2/field/inference_fields.rbs +19 -0
- data/sig/mindee/parsing/v2/field/list_field.rbs +22 -0
- data/sig/mindee/parsing/v2/field/object_field.rbs +21 -0
- data/sig/mindee/parsing/v2/field/simple_field.rbs +16 -0
- data/sig/mindee/parsing/v2/inference.rbs +16 -0
- data/sig/mindee/parsing/v2/inference_file.rbs +15 -0
- data/sig/mindee/parsing/v2/inference_model.rbs +11 -0
- data/sig/mindee/parsing/v2/inference_response.rbs +12 -0
- data/sig/mindee/parsing/v2/inference_result.rbs +13 -0
- data/sig/mindee/parsing/v2/inference_result_options.rbs +11 -0
- data/sig/mindee/parsing/v2/job.rbs +22 -0
- data/sig/mindee/parsing/v2/job_response.rbs +12 -0
- data/sig/mindee/parsing/v2/job_webhook.rbs +17 -0
- data/sig/mindee/parsing/v2/raw_text.rbs +12 -0
- data/sig/mindee/pdf/extracted_pdf.rbs +6 -6
- data/sig/mindee/pdf/pdf_compressor.rbs +4 -4
- data/sig/mindee/pdf/pdf_extractor.rbs +8 -7
- data/sig/mindee/pdf/pdf_processor.rbs +4 -4
- data/sig/mindee/pdf/pdf_tools.rbs +22 -16
- data/sig/mindee/product/barcode_reader/barcode_reader_v1.rbs +1 -1
- data/sig/mindee/product/barcode_reader/barcode_reader_v1_document.rbs +1 -1
- data/sig/mindee/product/barcode_reader/barcode_reader_v1_page.rbs +2 -2
- data/sig/mindee/product/bill_of_lading/bill_of_lading_v1.rbs +1 -1
- data/sig/mindee/product/bill_of_lading/bill_of_lading_v1_carrier.rbs +2 -2
- data/sig/mindee/product/bill_of_lading/bill_of_lading_v1_carrier_item.rbs +3 -3
- data/sig/mindee/product/bill_of_lading/bill_of_lading_v1_consignee.rbs +2 -2
- data/sig/mindee/product/bill_of_lading/bill_of_lading_v1_document.rbs +1 -1
- data/sig/mindee/product/bill_of_lading/bill_of_lading_v1_notify_party.rbs +2 -2
- data/sig/mindee/product/bill_of_lading/bill_of_lading_v1_page.rbs +2 -2
- data/sig/mindee/product/bill_of_lading/bill_of_lading_v1_shipper.rbs +2 -2
- data/sig/mindee/product/business_card/business_card_v1.rbs +1 -1
- data/sig/mindee/product/business_card/business_card_v1_document.rbs +1 -1
- data/sig/mindee/product/business_card/business_card_v1_page.rbs +2 -2
- data/sig/mindee/product/cropper/cropper_v1.rbs +1 -1
- data/sig/mindee/product/cropper/cropper_v1_document.rbs +1 -1
- data/sig/mindee/product/cropper/cropper_v1_page.rbs +2 -2
- data/sig/mindee/product/delivery_note/delivery_note_v1.rbs +1 -1
- data/sig/mindee/product/delivery_note/delivery_note_v1_document.rbs +1 -1
- data/sig/mindee/product/delivery_note/delivery_note_v1_page.rbs +2 -2
- data/sig/mindee/product/driver_license/driver_license_v1.rbs +1 -1
- data/sig/mindee/product/driver_license/driver_license_v1_document.rbs +1 -1
- data/sig/mindee/product/driver_license/driver_license_v1_page.rbs +2 -2
- data/sig/mindee/product/financial_document/financial_document_v1.rbs +1 -1
- data/sig/mindee/product/financial_document/financial_document_v1_document.rbs +1 -1
- data/sig/mindee/product/financial_document/financial_document_v1_line_item.rbs +3 -3
- data/sig/mindee/product/financial_document/financial_document_v1_page.rbs +2 -2
- data/sig/mindee/product/fr/bank_account_details/bank_account_details_v1.rbs +1 -1
- data/sig/mindee/product/fr/bank_account_details/bank_account_details_v1_document.rbs +1 -1
- data/sig/mindee/product/fr/bank_account_details/bank_account_details_v1_page.rbs +2 -2
- data/sig/mindee/product/fr/bank_account_details/bank_account_details_v2.rbs +1 -1
- data/sig/mindee/product/fr/bank_account_details/bank_account_details_v2_bban.rbs +2 -2
- data/sig/mindee/product/fr/bank_account_details/bank_account_details_v2_document.rbs +1 -1
- data/sig/mindee/product/fr/bank_account_details/bank_account_details_v2_page.rbs +2 -2
- data/sig/mindee/product/fr/bank_statement/bank_statement_v2.rbs +1 -1
- data/sig/mindee/product/fr/bank_statement/bank_statement_v2_document.rbs +1 -1
- data/sig/mindee/product/fr/bank_statement/bank_statement_v2_page.rbs +2 -2
- data/sig/mindee/product/fr/bank_statement/bank_statement_v2_transaction.rbs +3 -3
- data/sig/mindee/product/fr/carte_grise/carte_grise_v1.rbs +1 -1
- data/sig/mindee/product/fr/carte_grise/carte_grise_v1_document.rbs +1 -1
- data/sig/mindee/product/fr/carte_grise/carte_grise_v1_page.rbs +2 -2
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1.rbs +1 -1
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_document.rbs +1 -1
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_energy_consumer.rbs +2 -2
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_energy_supplier.rbs +2 -2
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_energy_usage.rbs +3 -3
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_meter_detail.rbs +2 -2
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_page.rbs +2 -2
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_subscription.rbs +3 -3
- data/sig/mindee/product/fr/energy_bill/energy_bill_v1_taxes_and_contribution.rbs +3 -3
- data/sig/mindee/product/fr/health_card/health_card_v1.rbs +1 -1
- data/sig/mindee/product/fr/health_card/health_card_v1_document.rbs +1 -1
- data/sig/mindee/product/fr/health_card/health_card_v1_page.rbs +2 -2
- data/sig/mindee/product/fr/id_card/id_card_v1.rbs +1 -1
- data/sig/mindee/product/fr/id_card/id_card_v1_document.rbs +1 -1
- data/sig/mindee/product/fr/id_card/id_card_v1_page.rbs +2 -2
- data/sig/mindee/product/fr/id_card/id_card_v2.rbs +1 -1
- data/sig/mindee/product/fr/id_card/id_card_v2_document.rbs +1 -1
- data/sig/mindee/product/fr/id_card/id_card_v2_page.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v2.rbs +1 -1
- data/sig/mindee/product/fr/payslip/payslip_v2_bank_account_detail.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v2_document.rbs +1 -1
- data/sig/mindee/product/fr/payslip/payslip_v2_employee.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v2_employer.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v2_employment.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v2_page.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v2_pay_detail.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v2_pay_period.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v2_pto.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v2_salary_detail.rbs +3 -3
- data/sig/mindee/product/fr/payslip/payslip_v3.rbs +1 -1
- data/sig/mindee/product/fr/payslip/payslip_v3_bank_account_detail.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v3_document.rbs +1 -1
- data/sig/mindee/product/fr/payslip/payslip_v3_employee.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v3_employer.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v3_employment.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v3_page.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v3_paid_time_off.rbs +3 -3
- data/sig/mindee/product/fr/payslip/payslip_v3_pay_detail.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v3_pay_period.rbs +2 -2
- data/sig/mindee/product/fr/payslip/payslip_v3_salary_detail.rbs +3 -3
- data/sig/mindee/product/ind/indian_passport/indian_passport_v1.rbs +1 -1
- data/sig/mindee/product/ind/indian_passport/indian_passport_v1_document.rbs +1 -1
- data/sig/mindee/product/ind/indian_passport/indian_passport_v1_page.rbs +2 -2
- data/sig/mindee/product/international_id/international_id_v2.rbs +1 -1
- data/sig/mindee/product/international_id/international_id_v2_document.rbs +1 -1
- data/sig/mindee/product/international_id/international_id_v2_page.rbs +2 -2
- data/sig/mindee/product/invoice/invoice_v4.rbs +1 -1
- data/sig/mindee/product/invoice/invoice_v4_document.rbs +1 -1
- data/sig/mindee/product/invoice/invoice_v4_line_item.rbs +3 -3
- data/sig/mindee/product/invoice/invoice_v4_page.rbs +2 -2
- data/sig/mindee/product/invoice_splitter/invoice_splitter_v1.rbs +1 -1
- data/sig/mindee/product/invoice_splitter/invoice_splitter_v1_document.rbs +1 -1
- data/sig/mindee/product/invoice_splitter/invoice_splitter_v1_invoice_page_group.rbs +3 -3
- data/sig/mindee/product/invoice_splitter/invoice_splitter_v1_page.rbs +2 -2
- data/sig/mindee/product/multi_receipts_detector/multi_receipts_detector_v1.rbs +1 -1
- data/sig/mindee/product/multi_receipts_detector/multi_receipts_detector_v1_document.rbs +1 -1
- data/sig/mindee/product/multi_receipts_detector/multi_receipts_detector_v1_page.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1.rbs +1 -1
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_added_sugar.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_calorie.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_cholesterol.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_dietary_fiber.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_document.rbs +1 -1
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_nutrient.rbs +3 -3
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_page.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_protein.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_saturated_fat.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_serving_size.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_sodium.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_total_carbohydrate.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_total_fat.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_total_sugar.rbs +2 -2
- data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_trans_fat.rbs +2 -2
- data/sig/mindee/product/passport/passport_v1.rbs +1 -1
- data/sig/mindee/product/passport/passport_v1_document.rbs +1 -1
- data/sig/mindee/product/passport/passport_v1_page.rbs +2 -2
- data/sig/mindee/product/receipt/receipt_v5.rbs +1 -1
- data/sig/mindee/product/receipt/receipt_v5_document.rbs +1 -1
- data/sig/mindee/product/receipt/receipt_v5_line_item.rbs +3 -3
- data/sig/mindee/product/receipt/receipt_v5_page.rbs +2 -2
- data/sig/mindee/product/resume/resume_v1.rbs +1 -1
- data/sig/mindee/product/resume/resume_v1_certificate.rbs +3 -3
- data/sig/mindee/product/resume/resume_v1_document.rbs +1 -1
- data/sig/mindee/product/resume/resume_v1_education.rbs +3 -3
- data/sig/mindee/product/resume/resume_v1_language.rbs +3 -3
- data/sig/mindee/product/resume/resume_v1_page.rbs +2 -2
- data/sig/mindee/product/resume/resume_v1_professional_experience.rbs +3 -3
- data/sig/mindee/product/resume/resume_v1_social_networks_url.rbs +3 -3
- data/sig/mindee/product/universal/universal.rbs +5 -5
- data/sig/mindee/product/universal/universal_document.rbs +1 -1
- data/sig/mindee/product/universal/universal_page.rbs +2 -2
- data/sig/mindee/product/universal/universal_prediction.rbs +5 -5
- data/sig/mindee/product/us/bank_check/bank_check_v1.rbs +1 -1
- data/sig/mindee/product/us/bank_check/bank_check_v1_document.rbs +1 -1
- data/sig/mindee/product/us/bank_check/bank_check_v1_page.rbs +2 -2
- data/sig/mindee/product/us/healthcare_card/healthcare_card_v1.rbs +1 -1
- data/sig/mindee/product/us/healthcare_card/healthcare_card_v1_copay.rbs +3 -3
- data/sig/mindee/product/us/healthcare_card/healthcare_card_v1_document.rbs +1 -1
- data/sig/mindee/product/us/healthcare_card/healthcare_card_v1_page.rbs +2 -2
- data/sig/mindee/product/us/us_mail/us_mail_v2.rbs +1 -1
- data/sig/mindee/product/us/us_mail/us_mail_v2_document.rbs +1 -1
- data/sig/mindee/product/us/us_mail/us_mail_v2_page.rbs +2 -2
- data/sig/mindee/product/us/us_mail/us_mail_v2_recipient_address.rbs +3 -3
- data/sig/mindee/product/us/us_mail/us_mail_v2_sender_address.rbs +2 -2
- data/sig/mindee/product/us/us_mail/us_mail_v3.rbs +1 -1
- data/sig/mindee/product/us/us_mail/us_mail_v3_document.rbs +1 -1
- data/sig/mindee/product/us/us_mail/us_mail_v3_page.rbs +2 -2
- data/sig/mindee/product/us/us_mail/us_mail_v3_recipient_address.rbs +3 -3
- data/sig/mindee/product/us/us_mail/us_mail_v3_sender_address.rbs +2 -2
- data/sig/mindee/product/us/w9/w9_v1.rbs +1 -1
- data/sig/mindee/product/us/w9/w9_v1_document.rbs +1 -1
- data/sig/mindee/product/us/w9/w9_v1_page.rbs +2 -2
- data/sig/mindee/version.rbs +2 -2
- metadata +61 -6
@@ -4,10 +4,10 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module MultiReceiptsDetector
|
6
6
|
class MultiReceiptsDetectorV1Page < Parsing::Common::Page
|
7
|
-
def initialize: (Hash[
|
7
|
+
def initialize: (Hash[String | Symbol, untyped]) -> void
|
8
8
|
end
|
9
9
|
class MultiReceiptsDetectorV1PagePrediction < MultiReceiptsDetectorV1Document
|
10
|
-
def initialize: (Hash[
|
10
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
11
11
|
def to_s: -> String
|
12
12
|
end
|
13
13
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1AddedSugar < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1Calorie < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1Cholesterol < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1DietaryFiber < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module NutritionFactsLabel
|
6
6
|
class NutritionFactsLabelV1Document < Parsing::Common::Prediction
|
7
|
-
def initialize: (Hash[
|
7
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
8
8
|
def added_sugars: -> (Product::NutritionFactsLabel::NutritionFactsLabelV1AddedSugar)
|
9
9
|
def calories: -> (Product::NutritionFactsLabel::NutritionFactsLabelV1Calorie)
|
10
10
|
def cholesterol: -> (Product::NutritionFactsLabel::NutritionFactsLabelV1Cholesterol)
|
@@ -2,14 +2,14 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1Nutrient < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def name: -> String
|
8
8
|
def per_100g: -> Float
|
9
9
|
def per_serving: -> Float
|
10
10
|
def unit: -> String
|
11
|
-
def printable_values: -> Hash[
|
12
|
-
def table_printable_values: -> Hash[
|
11
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
12
|
+
def table_printable_values: -> Hash[String | Symbol, untyped]
|
13
13
|
def to_table_line: -> String
|
14
14
|
def to_s: -> String
|
15
15
|
end
|
@@ -4,10 +4,10 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module NutritionFactsLabel
|
6
6
|
class NutritionFactsLabelV1Page < Parsing::Common::Page
|
7
|
-
def initialize: (Hash[
|
7
|
+
def initialize: (Hash[String | Symbol, untyped]) -> void
|
8
8
|
end
|
9
9
|
class NutritionFactsLabelV1PagePrediction < NutritionFactsLabelV1Document
|
10
|
-
def initialize: (Hash[
|
10
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
11
11
|
def to_s: -> String
|
12
12
|
end
|
13
13
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1Protein < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1SaturatedFat < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -2,10 +2,10 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1ServingSize < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def amount: -> Float
|
7
7
|
def unit: -> String
|
8
|
-
def printable_values: -> Hash[
|
8
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
9
9
|
def to_s: -> String
|
10
10
|
end
|
11
11
|
end
|
@@ -2,12 +2,12 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1Sodium < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
9
|
def unit: -> String
|
10
|
-
def printable_values: -> Hash[
|
10
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
11
11
|
def to_s: -> String
|
12
12
|
end
|
13
13
|
end
|
data/sig/mindee/product/nutrition_facts_label/nutrition_facts_label_v1_total_carbohydrate.rbs
CHANGED
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1TotalCarbohydrate < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1TotalFat < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1TotalSugar < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module NutritionFactsLabel
|
4
4
|
class NutritionFactsLabelV1TransFat < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def daily_value: -> Float
|
7
7
|
def per_100g: -> Float
|
8
8
|
def per_serving: -> Float
|
9
|
-
def printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module Passport
|
6
6
|
class PassportV1Document < Parsing::Common::Prediction
|
7
|
-
def initialize: (Hash[
|
7
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
8
8
|
def birth_date: -> (Parsing::Standard::DateField)
|
9
9
|
def birth_place: -> (Parsing::Standard::StringField)
|
10
10
|
def country: -> (Parsing::Standard::StringField)
|
@@ -4,10 +4,10 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module Passport
|
6
6
|
class PassportV1Page < Parsing::Common::Page
|
7
|
-
def initialize: (Hash[
|
7
|
+
def initialize: (Hash[String | Symbol, untyped]) -> void
|
8
8
|
end
|
9
9
|
class PassportV1PagePrediction < PassportV1Document
|
10
|
-
def initialize: (Hash[
|
10
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
11
11
|
def to_s: -> String
|
12
12
|
end
|
13
13
|
end
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module Receipt
|
6
6
|
class ReceiptV5Document < Parsing::Common::Prediction
|
7
|
-
def initialize: (Hash[
|
7
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
8
8
|
def category: -> (Parsing::Standard::ClassificationField)
|
9
9
|
def date: -> (Parsing::Standard::DateField)
|
10
10
|
def document_type: -> (Parsing::Standard::ClassificationField)
|
@@ -2,13 +2,13 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module Receipt
|
4
4
|
class ReceiptV5LineItem < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def description: -> String
|
7
7
|
def quantity: -> Float
|
8
8
|
def total_amount: -> Float
|
9
9
|
def unit_price: -> Float
|
10
|
-
def printable_values: -> Hash[
|
11
|
-
def table_printable_values: -> Hash[
|
10
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
11
|
+
def table_printable_values: -> Hash[String | Symbol, untyped]
|
12
12
|
def to_table_line: -> String
|
13
13
|
def to_s: -> String
|
14
14
|
end
|
@@ -4,10 +4,10 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module Receipt
|
6
6
|
class ReceiptV5Page < Parsing::Common::Page
|
7
|
-
def initialize: (Hash[
|
7
|
+
def initialize: (Hash[String | Symbol, untyped]) -> void
|
8
8
|
end
|
9
9
|
class ReceiptV5PagePrediction < ReceiptV5Document
|
10
|
-
def initialize: (Hash[
|
10
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
11
11
|
def to_s: -> String
|
12
12
|
end
|
13
13
|
end
|
@@ -2,13 +2,13 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module Resume
|
4
4
|
class ResumeV1Certificate < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def grade: -> String
|
7
7
|
def name: -> String
|
8
8
|
def provider: -> String
|
9
9
|
def year: -> String
|
10
|
-
def printable_values: -> Hash[
|
11
|
-
def table_printable_values: -> Hash[
|
10
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
11
|
+
def table_printable_values: -> Hash[String | Symbol, untyped]
|
12
12
|
def to_table_line: -> String
|
13
13
|
def to_s: -> String
|
14
14
|
end
|
@@ -4,7 +4,7 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module Resume
|
6
6
|
class ResumeV1Document < Parsing::Common::Prediction
|
7
|
-
def initialize: (Hash[
|
7
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
8
8
|
def address: -> (Parsing::Standard::StringField)
|
9
9
|
def certificates: -> (Product::Resume::ResumeV1Certificates)
|
10
10
|
def document_language: -> (Parsing::Standard::StringField)
|
@@ -2,7 +2,7 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module Resume
|
4
4
|
class ResumeV1Education < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def degree_domain: -> String
|
7
7
|
def degree_type: -> String
|
8
8
|
def end_month: -> String
|
@@ -10,8 +10,8 @@ module Mindee
|
|
10
10
|
def school: -> String
|
11
11
|
def start_month: -> String
|
12
12
|
def start_year: -> String
|
13
|
-
def printable_values: -> Hash[
|
14
|
-
def table_printable_values: -> Hash[
|
13
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
14
|
+
def table_printable_values: -> Hash[String | Symbol, untyped]
|
15
15
|
def to_table_line: -> String
|
16
16
|
def to_s: -> String
|
17
17
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module Resume
|
4
4
|
class ResumeV1Language < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def language: -> String
|
7
7
|
def level: -> String
|
8
|
-
def printable_values: -> Hash[
|
9
|
-
def table_printable_values: -> Hash[
|
8
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
9
|
+
def table_printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_table_line: -> String
|
11
11
|
def to_s: -> String
|
12
12
|
end
|
@@ -4,10 +4,10 @@ module Mindee
|
|
4
4
|
module Product
|
5
5
|
module Resume
|
6
6
|
class ResumeV1Page < Parsing::Common::Page
|
7
|
-
def initialize: (Hash[
|
7
|
+
def initialize: (Hash[String | Symbol, untyped]) -> void
|
8
8
|
end
|
9
9
|
class ResumeV1PagePrediction < ResumeV1Document
|
10
|
-
def initialize: (Hash[
|
10
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
11
11
|
def to_s: -> String
|
12
12
|
end
|
13
13
|
end
|
@@ -2,7 +2,7 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module Resume
|
4
4
|
class ResumeV1ProfessionalExperience < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def contract_type: -> String
|
7
7
|
def department: -> String
|
8
8
|
def description: -> String
|
@@ -12,8 +12,8 @@ module Mindee
|
|
12
12
|
def role: -> String
|
13
13
|
def start_month: -> String
|
14
14
|
def start_year: -> String
|
15
|
-
def printable_values: -> Hash[
|
16
|
-
def table_printable_values: -> Hash[
|
15
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
16
|
+
def table_printable_values: -> Hash[String | Symbol, untyped]
|
17
17
|
def to_table_line: -> String
|
18
18
|
def to_s: -> String
|
19
19
|
end
|
@@ -2,11 +2,11 @@ module Mindee
|
|
2
2
|
module Product
|
3
3
|
module Resume
|
4
4
|
class ResumeV1SocialNetworksUrl < Parsing::Standard::FeatureField
|
5
|
-
def initialize: (Hash[
|
5
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
6
6
|
def name: -> String
|
7
7
|
def url: -> String
|
8
|
-
def printable_values: -> Hash[
|
9
|
-
def table_printable_values: -> Hash[
|
8
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
9
|
+
def table_printable_values: -> Hash[String | Symbol, untyped]
|
10
10
|
def to_table_line: -> String
|
11
11
|
def to_s: -> String
|
12
12
|
end
|
@@ -3,11 +3,11 @@ module Mindee
|
|
3
3
|
module Product
|
4
4
|
module Universal
|
5
5
|
class Universal < Parsing::Common::Inference
|
6
|
-
def initialize: (untyped) ->
|
7
|
-
def endpoint_name: ->
|
8
|
-
def endpoint_version: ->
|
9
|
-
def has_async: ->
|
10
|
-
def has_sync: ->
|
6
|
+
def initialize: (Hash[String | Symbol, untyped]) -> void
|
7
|
+
def endpoint_name: -> String
|
8
|
+
def endpoint_version: -> String
|
9
|
+
def has_async: -> bool
|
10
|
+
def has_sync: -> bool
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
@@ -3,10 +3,10 @@ module Mindee
|
|
3
3
|
module Product
|
4
4
|
module Universal
|
5
5
|
class UniversalPage < Parsing::Common::Page
|
6
|
-
def initialize: (Hash[
|
6
|
+
def initialize: (Hash[String | Symbol, untyped]) -> void
|
7
7
|
end
|
8
8
|
class UniversalPagePrediction < UniversalPrediction
|
9
|
-
def initialize: (Hash[
|
9
|
+
def initialize: (Hash[String | Symbol, untyped], ?nil) -> void
|
10
10
|
def to_s: -> String
|
11
11
|
end
|
12
12
|
end
|
@@ -3,15 +3,15 @@ module Mindee
|
|
3
3
|
module Product
|
4
4
|
module Universal
|
5
5
|
class UniversalPrediction < Parsing::Common::Prediction
|
6
|
-
def fields: -> Hash[
|
6
|
+
def fields: -> Hash[String | Symbol, untyped]
|
7
7
|
def initialize: (untyped?) -> void
|
8
8
|
def to_s: -> String
|
9
9
|
def generate_field_string: (String, Parsing::Universal::UniversalListField, Regexp) -> String
|
10
|
-
def generate_list_field_string: (String, Hash[
|
10
|
+
def generate_list_field_string: (String, Hash[String | Symbol, untyped], Regexp) -> String
|
11
11
|
def generate_sub_value_string: (String, Parsing::Universal::UniversalListField, Regexp) -> String
|
12
|
-
def single_fields: -> Hash[
|
13
|
-
def list_fields: -> Hash[
|
14
|
-
def object_fields: -> Hash[
|
12
|
+
def single_fields: -> Hash[String | Symbol, untyped]
|
13
|
+
def list_fields: -> Hash[String | Symbol, Parsing::Universal::UniversalListField]
|
14
|
+
def object_fields: -> Hash[String | Symbol, untyped]
|
15
15
|
def list_field_names: -> Array[untyped]
|
16
16
|
end
|
17
17
|
end
|
@@ -5,7 +5,7 @@ module Mindee
|
|
5
5
|
module US
|
6
6
|
module BankCheck
|
7
7
|
class BankCheckV1Document < Parsing::Common::Prediction
|
8
|
-
def initialize: (Hash[
|
8
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
9
9
|
def account_number: -> (Parsing::Standard::StringField)
|
10
10
|
def amount: -> (Parsing::Standard::AmountField)
|
11
11
|
def check_number: -> (Parsing::Standard::StringField)
|
@@ -5,10 +5,10 @@ module Mindee
|
|
5
5
|
module US
|
6
6
|
module BankCheck
|
7
7
|
class BankCheckV1Page < Parsing::Common::Page
|
8
|
-
def initialize: (Hash[
|
8
|
+
def initialize: (Hash[String | Symbol, untyped]) -> void
|
9
9
|
end
|
10
10
|
class BankCheckV1PagePrediction < BankCheckV1Document
|
11
|
-
def initialize: (Hash[
|
11
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
12
12
|
def check_position: -> Parsing::Standard::PositionField
|
13
13
|
def signatures_positions: -> Array[Parsing::Standard::PositionField]
|
14
14
|
def to_s: -> String
|
@@ -3,11 +3,11 @@ module Mindee
|
|
3
3
|
module US
|
4
4
|
module HealthcareCard
|
5
5
|
class HealthcareCardV1Copay < Parsing::Standard::FeatureField
|
6
|
-
def initialize: (Hash[
|
6
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
7
7
|
def service_fees: -> Float
|
8
8
|
def service_name: -> String
|
9
|
-
def printable_values: -> Hash[
|
10
|
-
def table_printable_values: -> Hash[
|
9
|
+
def printable_values: -> Hash[String | Symbol, untyped]
|
10
|
+
def table_printable_values: -> Hash[String | Symbol, untyped]
|
11
11
|
def to_table_line: -> String
|
12
12
|
def to_s: -> String
|
13
13
|
end
|
@@ -5,7 +5,7 @@ module Mindee
|
|
5
5
|
module US
|
6
6
|
module HealthcareCard
|
7
7
|
class HealthcareCardV1Document < Parsing::Common::Prediction
|
8
|
-
def initialize: (Hash[
|
8
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
9
9
|
def company_name: -> (Parsing::Standard::StringField)
|
10
10
|
def copays: -> (Product::US::HealthcareCard::HealthcareCardV1Copays)
|
11
11
|
def dependents: -> (Array[Parsing::Standard::StringField])
|
@@ -5,10 +5,10 @@ module Mindee
|
|
5
5
|
module US
|
6
6
|
module HealthcareCard
|
7
7
|
class HealthcareCardV1Page < Parsing::Common::Page
|
8
|
-
def initialize: (Hash[
|
8
|
+
def initialize: (Hash[String | Symbol, untyped]) -> void
|
9
9
|
end
|
10
10
|
class HealthcareCardV1PagePrediction < HealthcareCardV1Document
|
11
|
-
def initialize: (Hash[
|
11
|
+
def initialize: (Hash[String | Symbol, untyped], Integer?) -> void
|
12
12
|
def to_s: -> String
|
13
13
|
end
|
14
14
|
end
|