mindee 5.9.0 → 5.10.0
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.
- package/CHANGELOG.md +6 -0
- package/package.json +12 -13
- package/src/geometry/bbox.d.ts +18 -6
- package/src/geometry/bbox.js +6 -2
- package/src/geometry/boundingBox.d.ts +3 -1
- package/src/geometry/boundingBox.js +3 -1
- package/src/geometry/boundingBoxUtils.d.ts +4 -4
- package/src/geometry/boundingBoxUtils.js +7 -7
- package/src/geometry/minMax.d.ts +9 -3
- package/src/geometry/point.d.ts +3 -1
- package/src/geometry/polygon.d.ts +3 -1
- package/src/geometry/polygon.js +3 -1
- package/src/http/apiCore.js +1 -1
- package/src/http/baseSettings.d.ts +15 -5
- package/src/http/baseSettings.js +4 -2
- package/src/http/dispatcher.js +4 -2
- package/src/image/extractedImage.d.ts +13 -5
- package/src/image/extractedImage.js +3 -3
- package/src/image/extractedImages.d.ts +3 -1
- package/src/image/extractedImages.js +3 -1
- package/src/image/imageCompressor.d.ts +1 -0
- package/src/image/imageCompressor.js +2 -2
- package/src/image/imageExtractor.d.ts +1 -1
- package/src/image/imageExtractor.js +12 -12
- package/src/input/base64Input.d.ts +9 -3
- package/src/input/base64Input.js +9 -3
- package/src/input/bufferInput.d.ts +7 -2
- package/src/input/bufferInput.js +6 -2
- package/src/input/bytesInput.d.ts +10 -3
- package/src/input/bytesInput.js +10 -3
- package/src/input/inputSource.d.ts +4 -2
- package/src/input/inputSource.js +3 -2
- package/src/input/localInputSource.d.ts +19 -6
- package/src/input/localInputSource.js +12 -5
- package/src/input/pageOptions.d.ts +9 -3
- package/src/input/pageOptions.js +6 -2
- package/src/input/pathInput.d.ts +12 -4
- package/src/input/pathInput.js +11 -5
- package/src/input/streamInput.d.ts +14 -5
- package/src/input/streamInput.js +13 -4
- package/src/input/urlInput.d.ts +19 -7
- package/src/input/urlInput.js +20 -12
- package/src/parsing/baseLocalResponse.d.ts +7 -3
- package/src/parsing/baseLocalResponse.js +15 -11
- package/src/parsing/stringDict.d.ts +3 -1
- package/src/pdf/extractedPdf.d.ts +16 -6
- package/src/pdf/extractedPdf.js +5 -3
- package/src/pdf/extractedPdfs.d.ts +3 -1
- package/src/pdf/extractedPdfs.js +3 -1
- package/src/pdf/pdfCompressor.js +14 -14
- package/src/pdf/pdfExtractor.js +1 -1
- package/src/pdf/pdfOperation.d.ts +9 -3
- package/src/pdf/pdfOperation.js +14 -14
- package/src/pdf/pdfUtils.js +1 -1
- package/src/v1/cli.js +1 -1
- package/src/v1/client.d.ts +42 -14
- package/src/v1/client.js +8 -8
- package/src/v1/extraction/invoiceSplitterExtractor/extractedInvoiceSplitterImage.d.ts +6 -2
- package/src/v1/extraction/invoiceSplitterExtractor/invoiceSplitterExtractor.js +4 -4
- package/src/v1/extraction/multiReceiptsExtractor/extractedMultiReceiptImage.d.ts +6 -2
- package/src/v1/extraction/multiReceiptsExtractor/multiReceiptsExtractor.js +2 -2
- package/src/v1/http/apiSettingsV1.d.ts +15 -5
- package/src/v1/http/apiSettingsV1.js +12 -4
- package/src/v1/http/baseEndpoint.d.ts +6 -2
- package/src/v1/http/endpoint.d.ts +9 -3
- package/src/v1/http/endpoint.js +1 -1
- package/src/v1/http/errors.d.ts +9 -3
- package/src/v1/http/errors.js +6 -2
- package/src/v1/http/httpParams.d.ts +36 -12
- package/src/v1/http/workflowEndpoint.js +1 -1
- package/src/v1/parsing/common/apiRequest.d.ts +15 -5
- package/src/v1/parsing/common/apiResponse.d.ts +6 -2
- package/src/v1/parsing/common/asyncPredictResponse.d.ts +21 -7
- package/src/v1/parsing/common/document.d.ts +18 -6
- package/src/v1/parsing/common/document.js +2 -2
- package/src/v1/parsing/common/execution.d.ts +39 -13
- package/src/v1/parsing/common/executionFile.d.ts +6 -2
- package/src/v1/parsing/common/executionPriority.d.ts +12 -4
- package/src/v1/parsing/common/executionPriority.js +12 -4
- package/src/v1/parsing/common/extras/cropperExtra.d.ts +7 -3
- package/src/v1/parsing/common/extras/cropperExtra.js +6 -3
- package/src/v1/parsing/common/extras/extras.d.ts +9 -3
- package/src/v1/parsing/common/extras/extras.js +6 -2
- package/src/v1/parsing/common/extras/fullTextOcrExtra.d.ts +9 -3
- package/src/v1/parsing/common/extras/fullTextOcrExtra.js +3 -1
- package/src/v1/parsing/common/extras/ragExtra.d.ts +3 -1
- package/src/v1/parsing/common/extras/ragExtra.js +3 -1
- package/src/v1/parsing/common/feedback/feedbackResponse.d.ts +3 -1
- package/src/v1/parsing/common/feedback/feedbackResponse.js +0 -1
- package/src/v1/parsing/common/inference.d.ts +24 -8
- package/src/v1/parsing/common/inference.js +6 -2
- package/src/v1/parsing/common/mvisionV1.d.ts +3 -1
- package/src/v1/parsing/common/mvisionV1.js +3 -1
- package/src/v1/parsing/common/ocr.d.ts +3 -1
- package/src/v1/parsing/common/ocrPage.d.ts +6 -2
- package/src/v1/parsing/common/ocrPage.js +6 -2
- package/src/v1/parsing/common/orientation.d.ts +6 -2
- package/src/v1/parsing/common/page.d.ts +12 -4
- package/src/v1/parsing/common/predictResponse.d.ts +3 -1
- package/src/v1/parsing/common/prediction.d.ts +3 -1
- package/src/v1/parsing/common/prediction.js +3 -1
- package/src/v1/parsing/generated/generatedList.d.ts +6 -2
- package/src/v1/parsing/generated/generatedObject.d.ts +25 -9
- package/src/v1/parsing/generated/generatedObject.js +13 -7
- package/src/v1/parsing/localResponse.d.ts +3 -1
- package/src/v1/parsing/localResponse.js +3 -1
- package/src/v1/parsing/standard/addressField.d.ts +24 -8
- package/src/v1/parsing/standard/amount.d.ts +3 -1
- package/src/v1/parsing/standard/amount.js +3 -1
- package/src/v1/parsing/standard/base.d.ts +27 -9
- package/src/v1/parsing/standard/base.js +6 -2
- package/src/v1/parsing/standard/boolean.d.ts +3 -1
- package/src/v1/parsing/standard/classification.d.ts +6 -2
- package/src/v1/parsing/standard/companyRegistration.d.ts +9 -3
- package/src/v1/parsing/standard/companyRegistration.js +3 -1
- package/src/v1/parsing/standard/date.d.ts +12 -4
- package/src/v1/parsing/standard/date.js +3 -1
- package/src/v1/parsing/standard/field.d.ts +7 -5
- package/src/v1/parsing/standard/field.js +4 -4
- package/src/v1/parsing/standard/locale.d.ts +15 -5
- package/src/v1/parsing/standard/paymentDetails.d.ts +15 -5
- package/src/v1/parsing/standard/position.d.ts +15 -5
- package/src/v1/parsing/standard/tax.d.ts +18 -6
- package/src/v1/parsing/standard/tax.js +15 -5
- package/src/v1/parsing/standard/text.d.ts +6 -2
- package/src/v1/parsing/standard/word.d.ts +9 -3
- package/src/v1/parsing/standard/word.js +3 -1
- package/src/v1/product/barcodeReader/barcodeReaderV1.d.ts +12 -4
- package/src/v1/product/barcodeReader/barcodeReaderV1.js +9 -3
- package/src/v1/product/barcodeReader/barcodeReaderV1Document.d.ts +6 -2
- package/src/v1/product/barcodeReader/barcodeReaderV1Document.js +6 -2
- package/src/v1/product/cropper/cropperV1.d.ts +12 -4
- package/src/v1/product/cropper/cropperV1.js +9 -3
- package/src/v1/product/cropper/cropperV1Page.d.ts +3 -1
- package/src/v1/product/cropper/cropperV1Page.js +3 -1
- package/src/v1/product/driverLicense/driverLicenseV1.d.ts +12 -4
- package/src/v1/product/driverLicense/driverLicenseV1.js +9 -3
- package/src/v1/product/driverLicense/driverLicenseV1Document.d.ts +39 -13
- package/src/v1/product/financialDocument/financialDocumentV1.d.ts +12 -4
- package/src/v1/product/financialDocument/financialDocumentV1.js +9 -3
- package/src/v1/product/financialDocument/financialDocumentV1Document.d.ts +96 -32
- package/src/v1/product/financialDocument/financialDocumentV1Document.js +15 -5
- package/src/v1/product/financialDocument/financialDocumentV1LineItem.d.ts +30 -10
- package/src/v1/product/financialDocument/financialDocumentV1LineItem.js +3 -1
- package/src/v1/product/fr/bankAccountDetails/bankAccountDetailsV1.d.ts +12 -4
- package/src/v1/product/fr/bankAccountDetails/bankAccountDetailsV1.js +9 -3
- package/src/v1/product/fr/bankAccountDetails/bankAccountDetailsV1Document.d.ts +9 -3
- package/src/v1/product/fr/bankAccountDetails/bankAccountDetailsV2.d.ts +12 -4
- package/src/v1/product/fr/bankAccountDetails/bankAccountDetailsV2.js +9 -3
- package/src/v1/product/fr/bankAccountDetails/bankAccountDetailsV2Bban.d.ts +18 -6
- package/src/v1/product/fr/bankAccountDetails/bankAccountDetailsV2Bban.js +3 -1
- package/src/v1/product/fr/bankAccountDetails/bankAccountDetailsV2Document.d.ts +12 -4
- package/src/v1/product/fr/carteGrise/carteGriseV1.d.ts +12 -4
- package/src/v1/product/fr/carteGrise/carteGriseV1.js +9 -3
- package/src/v1/product/fr/carteGrise/carteGriseV1Document.d.ts +123 -41
- package/src/v1/product/fr/idCard/idCardV2.d.ts +12 -4
- package/src/v1/product/fr/idCard/idCardV2.js +9 -3
- package/src/v1/product/fr/idCard/idCardV2Document.d.ts +45 -15
- package/src/v1/product/fr/idCard/idCardV2Document.js +3 -1
- package/src/v1/product/fr/idCard/idCardV2Page.d.ts +6 -2
- package/src/v1/product/generated/generatedV1.d.ts +12 -4
- package/src/v1/product/generated/generatedV1.js +9 -3
- package/src/v1/product/generated/generatedV1Prediction.d.ts +6 -2
- package/src/v1/product/generated/generatedV1Prediction.js +3 -1
- package/src/v1/product/internationalId/internationalIdV2.d.ts +12 -4
- package/src/v1/product/internationalId/internationalIdV2.js +9 -3
- package/src/v1/product/internationalId/internationalIdV2Document.d.ts +51 -17
- package/src/v1/product/internationalId/internationalIdV2Document.js +6 -2
- package/src/v1/product/invoice/invoiceV4.d.ts +12 -4
- package/src/v1/product/invoice/invoiceV4.js +9 -3
- package/src/v1/product/invoice/invoiceV4Document.d.ts +87 -29
- package/src/v1/product/invoice/invoiceV4Document.js +15 -5
- package/src/v1/product/invoice/invoiceV4LineItem.d.ts +30 -10
- package/src/v1/product/invoice/invoiceV4LineItem.js +3 -1
- package/src/v1/product/invoiceSplitter/invoiceSplitterV1.d.ts +12 -4
- package/src/v1/product/invoiceSplitter/invoiceSplitterV1.js +9 -3
- package/src/v1/product/invoiceSplitter/invoiceSplitterV1Document.d.ts +3 -1
- package/src/v1/product/invoiceSplitter/invoiceSplitterV1Document.js +3 -1
- package/src/v1/product/invoiceSplitter/invoiceSplitterV1InvoicePageGroup.d.ts +9 -3
- package/src/v1/product/invoiceSplitter/invoiceSplitterV1InvoicePageGroup.js +3 -1
- package/src/v1/product/multiReceiptsDetector/multiReceiptsDetectorV1.d.ts +12 -4
- package/src/v1/product/multiReceiptsDetector/multiReceiptsDetectorV1.js +9 -3
- package/src/v1/product/multiReceiptsDetector/multiReceiptsDetectorV1Document.d.ts +3 -1
- package/src/v1/product/multiReceiptsDetector/multiReceiptsDetectorV1Document.js +3 -1
- package/src/v1/product/passport/passportV1.d.ts +12 -4
- package/src/v1/product/passport/passportV1.js +9 -3
- package/src/v1/product/passport/passportV1Document.d.ts +33 -11
- package/src/v1/product/passport/passportV1Document.js +3 -1
- package/src/v1/product/receipt/receiptV5.d.ts +12 -4
- package/src/v1/product/receipt/receiptV5.js +9 -3
- package/src/v1/product/receipt/receiptV5Document.d.ts +51 -17
- package/src/v1/product/receipt/receiptV5Document.js +6 -2
- package/src/v1/product/receipt/receiptV5LineItem.d.ts +18 -6
- package/src/v1/product/receipt/receiptV5LineItem.js +3 -1
- package/src/v1/product/resume/resumeV1.d.ts +12 -4
- package/src/v1/product/resume/resumeV1.js +9 -3
- package/src/v1/product/resume/resumeV1Certificate.d.ts +18 -6
- package/src/v1/product/resume/resumeV1Certificate.js +3 -1
- package/src/v1/product/resume/resumeV1Document.d.ts +51 -17
- package/src/v1/product/resume/resumeV1Document.js +27 -9
- package/src/v1/product/resume/resumeV1Education.d.ts +27 -9
- package/src/v1/product/resume/resumeV1Education.js +3 -1
- package/src/v1/product/resume/resumeV1Language.d.ts +12 -4
- package/src/v1/product/resume/resumeV1Language.js +3 -1
- package/src/v1/product/resume/resumeV1ProfessionalExperience.d.ts +33 -11
- package/src/v1/product/resume/resumeV1ProfessionalExperience.js +3 -1
- package/src/v1/product/resume/resumeV1SocialNetworksUrl.d.ts +12 -4
- package/src/v1/product/resume/resumeV1SocialNetworksUrl.js +3 -1
- package/src/v1/product/us/bankCheck/bankCheckV1.d.ts +12 -4
- package/src/v1/product/us/bankCheck/bankCheckV1.js +9 -3
- package/src/v1/product/us/bankCheck/bankCheckV1Document.d.ts +18 -6
- package/src/v1/product/us/bankCheck/bankCheckV1Document.js +3 -1
- package/src/v1/product/us/bankCheck/bankCheckV1Page.d.ts +6 -2
- package/src/v1/product/us/bankCheck/bankCheckV1Page.js +3 -1
- package/src/v2/cli.js +1 -1
- package/src/v2/client.d.ts +9 -3
- package/src/v2/clientOptions/pollingOptions.d.ts +30 -10
- package/src/v2/clientOptions/pollingOptions.js +6 -2
- package/src/v2/http/mindeeApiV2.d.ts +1 -1
- package/src/v2/http/mindeeApiV2.js +1 -1
- package/src/v2/parsing/error/errorDetails.d.ts +3 -1
- package/src/v2/parsing/inference/baseInference.d.ts +6 -2
- package/src/v2/parsing/inference/baseInference.js +6 -2
- package/src/v2/parsing/inference/field/baseField.d.ts +9 -3
- package/src/v2/parsing/inference/field/fieldConfidence.d.ts +12 -4
- package/src/v2/parsing/inference/field/fieldConfidence.js +12 -4
- package/src/v2/parsing/inference/field/fieldLocation.d.ts +9 -3
- package/src/v2/parsing/inference/field/fieldLocation.js +3 -1
- package/src/v2/parsing/inference/field/inferenceFields.d.ts +6 -2
- package/src/v2/parsing/inference/field/inferenceFields.js +3 -1
- package/src/v2/parsing/inference/field/listField.d.ts +6 -2
- package/src/v2/parsing/inference/field/listField.js +6 -2
- package/src/v2/parsing/inference/field/objectField.d.ts +6 -2
- package/src/v2/parsing/inference/field/objectField.js +3 -1
- package/src/v2/parsing/inference/field/ragMetadata.d.ts +3 -1
- package/src/v2/parsing/inference/field/ragMetadata.js +3 -1
- package/src/v2/parsing/inference/field/rawText.d.ts +6 -2
- package/src/v2/parsing/inference/field/rawText.js +6 -2
- package/src/v2/parsing/inference/field/simpleField.d.ts +6 -2
- package/src/v2/parsing/inference/field/simpleField.js +8 -4
- package/src/v2/parsing/inference/inferenceFile.d.ts +6 -2
- package/src/v2/parsing/inference/inferenceFile.js +6 -2
- package/src/v2/parsing/inference/inferenceModel.d.ts +6 -2
- package/src/v2/parsing/inference/inferenceModel.js +6 -2
- package/src/v2/product/classification/classification.d.ts +9 -3
- package/src/v2/product/classification/classification.js +9 -3
- package/src/v2/product/classification/classificationClassifier.d.ts +6 -2
- package/src/v2/product/classification/classificationClassifier.js +6 -2
- package/src/v2/product/classification/classificationInference.d.ts +6 -2
- package/src/v2/product/classification/classificationInference.js +6 -2
- package/src/v2/product/classification/classificationResponse.d.ts +3 -1
- package/src/v2/product/classification/classificationResponse.js +3 -1
- package/src/v2/product/classification/classificationResult.d.ts +6 -2
- package/src/v2/product/classification/classificationResult.js +6 -2
- package/src/v2/product/crop/crop.d.ts +9 -3
- package/src/v2/product/crop/crop.js +9 -3
- package/src/v2/product/crop/cropInference.d.ts +6 -2
- package/src/v2/product/crop/cropInference.js +6 -2
- package/src/v2/product/crop/cropItem.d.ts +6 -2
- package/src/v2/product/crop/cropItem.js +6 -2
- package/src/v2/product/crop/cropResponse.d.ts +3 -1
- package/src/v2/product/crop/cropResponse.js +3 -1
- package/src/v2/product/crop/cropResult.d.ts +6 -2
- package/src/v2/product/crop/cropResult.js +6 -2
- package/src/v2/product/extraction/dataSchemaActiveOption.d.ts +3 -1
- package/src/v2/product/extraction/dataSchemaActiveOption.js +3 -1
- package/src/v2/product/extraction/extraction.d.ts +18 -6
- package/src/v2/product/extraction/extraction.js +18 -6
- package/src/v2/product/extraction/extractionActiveOptions.d.ts +6 -2
- package/src/v2/product/extraction/extractionActiveOptions.js +6 -2
- package/src/v2/product/extraction/extractionInference.d.ts +6 -2
- package/src/v2/product/extraction/extractionInference.js +6 -2
- package/src/v2/product/extraction/extractionResponse.d.ts +3 -1
- package/src/v2/product/extraction/extractionResponse.js +3 -1
- package/src/v2/product/extraction/extractionResult.d.ts +6 -2
- package/src/v2/product/extraction/extractionResult.js +6 -2
- package/src/v2/product/extraction/params/dataSchema.d.ts +12 -4
- package/src/v2/product/extraction/params/dataSchema.js +6 -2
- package/src/v2/product/extraction/params/dataSchemaField.d.ts +39 -13
- package/src/v2/product/extraction/params/dataSchemaField.js +9 -3
- package/src/v2/product/extraction/params/dataSchemaReplace.d.ts +12 -4
- package/src/v2/product/extraction/params/dataSchemaReplace.js +6 -2
- package/src/v2/product/extraction/params/extractionParameters.js +3 -3
- package/src/v2/product/extraction/ragDocuments/annotatedListField.d.ts +3 -1
- package/src/v2/product/extraction/ragDocuments/annotatedListField.js +3 -1
- package/src/v2/product/extraction/ragDocuments/params/ragDocumentAnnotationParameters.js +1 -1
- package/src/v2/product/ocr/ocr.d.ts +9 -3
- package/src/v2/product/ocr/ocr.js +9 -3
- package/src/v2/product/ocr/ocrInference.d.ts +6 -2
- package/src/v2/product/ocr/ocrInference.js +6 -2
- package/src/v2/product/ocr/ocrPage.d.ts +6 -2
- package/src/v2/product/ocr/ocrPage.js +6 -2
- package/src/v2/product/ocr/ocrResponse.d.ts +3 -1
- package/src/v2/product/ocr/ocrResponse.js +3 -1
- package/src/v2/product/ocr/ocrResult.d.ts +3 -1
- package/src/v2/product/ocr/ocrResult.js +3 -1
- package/src/v2/product/ocr/ocrWord.d.ts +6 -2
- package/src/v2/product/ocr/ocrWord.js +6 -2
- package/src/v2/product/split/split.d.ts +9 -3
- package/src/v2/product/split/split.js +9 -3
- package/src/v2/product/split/splitInference.d.ts +6 -2
- package/src/v2/product/split/splitInference.js +6 -2
- package/src/v2/product/split/splitRange.d.ts +3 -1
- package/src/v2/product/split/splitRange.js +3 -1
- package/src/v2/product/split/splitResponse.d.ts +3 -1
- package/src/v2/product/split/splitResponse.js +3 -1
- package/src/v2/product/split/splitResult.d.ts +3 -1
- package/src/v2/product/split/splitResult.js +3 -1
- package/src/v2/search/baseSearch.d.ts +9 -3
- package/src/v2/search/baseSearch.js +9 -3
- package/src/v2/search/models/modelSearch.d.ts +9 -3
- package/src/v2/search/models/modelSearch.js +9 -3
- package/src/v2/search/models/modelSearchParameters.d.ts +3 -1
- package/src/v2/search/models/modelSearchParameters.js +3 -1
- package/src/v2/search/ragDocuments/ragDocumentSearch.d.ts +9 -3
- package/src/v2/search/ragDocuments/ragDocumentSearch.js +9 -3
- package/src/v2/search/ragDocuments/ragDocumentSearchParameters.d.ts +3 -1
- package/src/v2/search/ragDocuments/ragDocumentSearchParameters.js +3 -1
|
@@ -4,27 +4,49 @@ import { DateField, StringField } from "../../parsing/standard/index.js";
|
|
|
4
4
|
* Passport API version 1.1 document data.
|
|
5
5
|
*/
|
|
6
6
|
export declare class PassportV1Document implements Prediction {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* The date of birth of the passport holder.
|
|
9
|
+
*/
|
|
8
10
|
birthDate: DateField;
|
|
9
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* The place of birth of the passport holder.
|
|
13
|
+
*/
|
|
10
14
|
birthPlace: StringField;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* The country's 3 letter code (ISO 3166-1 alpha-3).
|
|
17
|
+
*/
|
|
12
18
|
country: StringField;
|
|
13
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* The expiry date of the passport.
|
|
21
|
+
*/
|
|
14
22
|
expiryDate: DateField;
|
|
15
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* The gender of the passport holder.
|
|
25
|
+
*/
|
|
16
26
|
gender: StringField;
|
|
17
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* The given name(s) of the passport holder.
|
|
29
|
+
*/
|
|
18
30
|
givenNames: StringField[];
|
|
19
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The passport's identification number.
|
|
33
|
+
*/
|
|
20
34
|
idNumber: StringField;
|
|
21
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* The date the passport was issued.
|
|
37
|
+
*/
|
|
22
38
|
issuanceDate: DateField;
|
|
23
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Machine Readable Zone, first line
|
|
41
|
+
*/
|
|
24
42
|
mrz1: StringField;
|
|
25
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Machine Readable Zone, second line
|
|
45
|
+
*/
|
|
26
46
|
mrz2: StringField;
|
|
27
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* The surname of the passport holder.
|
|
49
|
+
*/
|
|
28
50
|
surname: StringField;
|
|
29
51
|
constructor(rawPrediction: StringDict, pageId?: number);
|
|
30
52
|
/**
|
|
@@ -5,7 +5,9 @@ import { DateField, StringField } from "../../parsing/standard/index.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export class PassportV1Document {
|
|
7
7
|
constructor(rawPrediction, pageId) {
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The given name(s) of the passport holder.
|
|
10
|
+
*/
|
|
9
11
|
this.givenNames = [];
|
|
10
12
|
this.birthDate = new DateField({
|
|
11
13
|
prediction: rawPrediction["birth_date"],
|
|
@@ -4,13 +4,21 @@ import { ReceiptV5Document } from "./receiptV5Document.js";
|
|
|
4
4
|
* Receipt API version 5 inference prediction.
|
|
5
5
|
*/
|
|
6
6
|
export declare class ReceiptV5 extends Inference {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* The endpoint's name.
|
|
9
|
+
*/
|
|
8
10
|
endpointName: string;
|
|
9
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* The endpoint's version.
|
|
13
|
+
*/
|
|
10
14
|
endpointVersion: string;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* The document-level prediction.
|
|
17
|
+
*/
|
|
12
18
|
prediction: ReceiptV5Document;
|
|
13
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* The document's pages.
|
|
21
|
+
*/
|
|
14
22
|
pages: Page<ReceiptV5Document>[];
|
|
15
23
|
constructor(rawPrediction: StringDict);
|
|
16
24
|
}
|
|
@@ -6,11 +6,17 @@ import { ReceiptV5Document } from "./receiptV5Document.js";
|
|
|
6
6
|
export class ReceiptV5 extends Inference {
|
|
7
7
|
constructor(rawPrediction) {
|
|
8
8
|
super(rawPrediction);
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* The endpoint's name.
|
|
11
|
+
*/
|
|
10
12
|
this.endpointName = "expense_receipts";
|
|
11
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The endpoint's version.
|
|
15
|
+
*/
|
|
12
16
|
this.endpointVersion = "5";
|
|
13
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The document's pages.
|
|
19
|
+
*/
|
|
14
20
|
this.pages = [];
|
|
15
21
|
this.prediction = new ReceiptV5Document(rawPrediction["prediction"]);
|
|
16
22
|
rawPrediction["pages"].forEach((page) => {
|
|
@@ -5,39 +5,73 @@ import { AmountField, ClassificationField, CompanyRegistrationField, DateField,
|
|
|
5
5
|
* Receipt API version 5.4 document data.
|
|
6
6
|
*/
|
|
7
7
|
export declare class ReceiptV5Document implements Prediction {
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The purchase category of the receipt.
|
|
10
|
+
*/
|
|
9
11
|
category: ClassificationField;
|
|
10
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* The date the purchase was made.
|
|
14
|
+
*/
|
|
11
15
|
date: DateField;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* The type of receipt: EXPENSE RECEIPT or CREDIT CARD RECEIPT.
|
|
18
|
+
*/
|
|
13
19
|
documentType: ClassificationField;
|
|
14
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* List of all line items on the receipt.
|
|
22
|
+
*/
|
|
15
23
|
lineItems: ReceiptV5LineItem[];
|
|
16
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* The locale of the document.
|
|
26
|
+
*/
|
|
17
27
|
locale: LocaleField;
|
|
18
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* The receipt number or identifier.
|
|
30
|
+
*/
|
|
19
31
|
receiptNumber: StringField;
|
|
20
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* The purchase subcategory of the receipt for transport and food.
|
|
34
|
+
*/
|
|
21
35
|
subcategory: ClassificationField;
|
|
22
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* The address of the supplier or merchant.
|
|
38
|
+
*/
|
|
23
39
|
supplierAddress: StringField;
|
|
24
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* List of company registration numbers associated to the supplier.
|
|
42
|
+
*/
|
|
25
43
|
supplierCompanyRegistrations: CompanyRegistrationField[];
|
|
26
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* The name of the supplier or merchant.
|
|
46
|
+
*/
|
|
27
47
|
supplierName: StringField;
|
|
28
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* The phone number of the supplier or merchant.
|
|
50
|
+
*/
|
|
29
51
|
supplierPhoneNumber: StringField;
|
|
30
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* The list of taxes present on the receipt.
|
|
54
|
+
*/
|
|
31
55
|
taxes: Taxes;
|
|
32
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* The time the purchase was made.
|
|
58
|
+
*/
|
|
33
59
|
time: StringField;
|
|
34
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* The total amount of tip and gratuity.
|
|
62
|
+
*/
|
|
35
63
|
tip: AmountField;
|
|
36
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* The total amount paid: includes taxes, discounts, fees, tips, and gratuity.
|
|
66
|
+
*/
|
|
37
67
|
totalAmount: AmountField;
|
|
38
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* The net amount paid: does not include taxes, fees, and discounts.
|
|
70
|
+
*/
|
|
39
71
|
totalNet: AmountField;
|
|
40
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* The sum of all taxes.
|
|
74
|
+
*/
|
|
41
75
|
totalTax: AmountField;
|
|
42
76
|
constructor(rawPrediction: StringDict, pageId?: number);
|
|
43
77
|
/**
|
|
@@ -6,9 +6,13 @@ import { AmountField, ClassificationField, CompanyRegistrationField, DateField,
|
|
|
6
6
|
*/
|
|
7
7
|
export class ReceiptV5Document {
|
|
8
8
|
constructor(rawPrediction, pageId) {
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* List of all line items on the receipt.
|
|
11
|
+
*/
|
|
10
12
|
this.lineItems = [];
|
|
11
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* List of company registration numbers associated to the supplier.
|
|
15
|
+
*/
|
|
12
16
|
this.supplierCompanyRegistrations = [];
|
|
13
17
|
this.category = new ClassificationField({
|
|
14
18
|
prediction: rawPrediction["category"],
|
|
@@ -5,17 +5,29 @@ import { Polygon } from "../../../geometry/index.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class ReceiptV5LineItem {
|
|
7
7
|
#private;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The item description.
|
|
10
|
+
*/
|
|
9
11
|
description: string | null;
|
|
10
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* The item quantity.
|
|
14
|
+
*/
|
|
11
15
|
quantity: number | null;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* The item total amount.
|
|
18
|
+
*/
|
|
13
19
|
totalAmount: number | null;
|
|
14
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The item unit price.
|
|
22
|
+
*/
|
|
15
23
|
unitPrice: number | null;
|
|
16
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Confidence score
|
|
26
|
+
*/
|
|
17
27
|
confidence: number;
|
|
18
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* The document page on which the information was found.
|
|
30
|
+
*/
|
|
19
31
|
pageId: number;
|
|
20
32
|
/**
|
|
21
33
|
* Contains the relative vertices coordinates (points) of a polygon containing
|
|
@@ -12,7 +12,9 @@ import { Polygon } from "../../../geometry/index.js";
|
|
|
12
12
|
export class ReceiptV5LineItem {
|
|
13
13
|
constructor({ prediction = {} }) {
|
|
14
14
|
_ReceiptV5LineItem_instances.add(this);
|
|
15
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Confidence score
|
|
17
|
+
*/
|
|
16
18
|
this.confidence = 0.0;
|
|
17
19
|
/**
|
|
18
20
|
* Contains the relative vertices coordinates (points) of a polygon containing
|
|
@@ -4,13 +4,21 @@ import { ResumeV1Document } from "./resumeV1Document.js";
|
|
|
4
4
|
* Resume API version 1 inference prediction.
|
|
5
5
|
*/
|
|
6
6
|
export declare class ResumeV1 extends Inference {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* The endpoint's name.
|
|
9
|
+
*/
|
|
8
10
|
endpointName: string;
|
|
9
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* The endpoint's version.
|
|
13
|
+
*/
|
|
10
14
|
endpointVersion: string;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* The document-level prediction.
|
|
17
|
+
*/
|
|
12
18
|
prediction: ResumeV1Document;
|
|
13
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* The document's pages.
|
|
21
|
+
*/
|
|
14
22
|
pages: Page<ResumeV1Document>[];
|
|
15
23
|
constructor(rawPrediction: StringDict);
|
|
16
24
|
}
|
|
@@ -6,11 +6,17 @@ import { ResumeV1Document } from "./resumeV1Document.js";
|
|
|
6
6
|
export class ResumeV1 extends Inference {
|
|
7
7
|
constructor(rawPrediction) {
|
|
8
8
|
super(rawPrediction);
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* The endpoint's name.
|
|
11
|
+
*/
|
|
10
12
|
this.endpointName = "resume";
|
|
11
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The endpoint's version.
|
|
15
|
+
*/
|
|
12
16
|
this.endpointVersion = "1";
|
|
13
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The document's pages.
|
|
19
|
+
*/
|
|
14
20
|
this.pages = [];
|
|
15
21
|
this.prediction = new ResumeV1Document(rawPrediction["prediction"]);
|
|
16
22
|
rawPrediction["pages"].forEach((page) => {
|
|
@@ -5,17 +5,29 @@ import { Polygon } from "../../../geometry/index.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class ResumeV1Certificate {
|
|
7
7
|
#private;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The grade obtained for the certificate.
|
|
10
|
+
*/
|
|
9
11
|
grade: string | null;
|
|
10
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* The name of certification.
|
|
14
|
+
*/
|
|
11
15
|
name: string | null;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* The organization or institution that issued the certificate.
|
|
18
|
+
*/
|
|
13
19
|
provider: string | null;
|
|
14
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The year when a certificate was issued or received.
|
|
22
|
+
*/
|
|
15
23
|
year: string | null;
|
|
16
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Confidence score
|
|
26
|
+
*/
|
|
17
27
|
confidence: number;
|
|
18
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* The document page on which the information was found.
|
|
30
|
+
*/
|
|
19
31
|
pageId: number;
|
|
20
32
|
/**
|
|
21
33
|
* Contains the relative vertices coordinates (points) of a polygon containing
|
|
@@ -12,7 +12,9 @@ import { Polygon } from "../../../geometry/index.js";
|
|
|
12
12
|
export class ResumeV1Certificate {
|
|
13
13
|
constructor({ prediction = {} }) {
|
|
14
14
|
_ResumeV1Certificate_instances.add(this);
|
|
15
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Confidence score
|
|
17
|
+
*/
|
|
16
18
|
this.confidence = 0.0;
|
|
17
19
|
/**
|
|
18
20
|
* Contains the relative vertices coordinates (points) of a polygon containing
|
|
@@ -9,39 +9,73 @@ import { ClassificationField, StringField } from "../../parsing/standard/index.j
|
|
|
9
9
|
* Resume API version 1.2 document data.
|
|
10
10
|
*/
|
|
11
11
|
export declare class ResumeV1Document implements Prediction {
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* The location information of the candidate, including city, state, and country.
|
|
14
|
+
*/
|
|
13
15
|
address: StringField;
|
|
14
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* The list of certificates obtained by the candidate.
|
|
18
|
+
*/
|
|
15
19
|
certificates: ResumeV1Certificate[];
|
|
16
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The ISO 639 code of the language in which the document is written.
|
|
22
|
+
*/
|
|
17
23
|
documentLanguage: StringField;
|
|
18
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* The type of the document sent.
|
|
26
|
+
*/
|
|
19
27
|
documentType: ClassificationField;
|
|
20
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* The list of the candidate's educational background.
|
|
30
|
+
*/
|
|
21
31
|
education: ResumeV1Education[];
|
|
22
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* The email address of the candidate.
|
|
34
|
+
*/
|
|
23
35
|
emailAddress: StringField;
|
|
24
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* The candidate's first or given names.
|
|
38
|
+
*/
|
|
25
39
|
givenNames: StringField[];
|
|
26
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* The list of the candidate's technical abilities and knowledge.
|
|
42
|
+
*/
|
|
27
43
|
hardSkills: StringField[];
|
|
28
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* The position that the candidate is applying for.
|
|
46
|
+
*/
|
|
29
47
|
jobApplied: StringField;
|
|
30
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* The list of languages that the candidate is proficient in.
|
|
50
|
+
*/
|
|
31
51
|
languages: ResumeV1Language[];
|
|
32
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* The ISO 3166 code for the country of citizenship of the candidate.
|
|
54
|
+
*/
|
|
33
55
|
nationality: StringField;
|
|
34
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* The phone number of the candidate.
|
|
58
|
+
*/
|
|
35
59
|
phoneNumber: StringField;
|
|
36
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* The candidate's current profession.
|
|
62
|
+
*/
|
|
37
63
|
profession: StringField;
|
|
38
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* The list of the candidate's professional experiences.
|
|
66
|
+
*/
|
|
39
67
|
professionalExperiences: ResumeV1ProfessionalExperience[];
|
|
40
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* The list of social network profiles of the candidate.
|
|
70
|
+
*/
|
|
41
71
|
socialNetworksUrls: ResumeV1SocialNetworksUrl[];
|
|
42
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* The list of the candidate's interpersonal and communication abilities.
|
|
74
|
+
*/
|
|
43
75
|
softSkills: StringField[];
|
|
44
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* The candidate's last names.
|
|
78
|
+
*/
|
|
45
79
|
surnames: StringField[];
|
|
46
80
|
constructor(rawPrediction: StringDict, pageId?: number);
|
|
47
81
|
/**
|
|
@@ -10,23 +10,41 @@ import { ClassificationField, StringField } from "../../parsing/standard/index.j
|
|
|
10
10
|
*/
|
|
11
11
|
export class ResumeV1Document {
|
|
12
12
|
constructor(rawPrediction, pageId) {
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The list of certificates obtained by the candidate.
|
|
15
|
+
*/
|
|
14
16
|
this.certificates = [];
|
|
15
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The list of the candidate's educational background.
|
|
19
|
+
*/
|
|
16
20
|
this.education = [];
|
|
17
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* The candidate's first or given names.
|
|
23
|
+
*/
|
|
18
24
|
this.givenNames = [];
|
|
19
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* The list of the candidate's technical abilities and knowledge.
|
|
27
|
+
*/
|
|
20
28
|
this.hardSkills = [];
|
|
21
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* The list of languages that the candidate is proficient in.
|
|
31
|
+
*/
|
|
22
32
|
this.languages = [];
|
|
23
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* The list of the candidate's professional experiences.
|
|
35
|
+
*/
|
|
24
36
|
this.professionalExperiences = [];
|
|
25
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* The list of social network profiles of the candidate.
|
|
39
|
+
*/
|
|
26
40
|
this.socialNetworksUrls = [];
|
|
27
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* The list of the candidate's interpersonal and communication abilities.
|
|
43
|
+
*/
|
|
28
44
|
this.softSkills = [];
|
|
29
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* The candidate's last names.
|
|
47
|
+
*/
|
|
30
48
|
this.surnames = [];
|
|
31
49
|
this.address = new StringField({
|
|
32
50
|
prediction: rawPrediction["address"],
|
|
@@ -5,23 +5,41 @@ import { Polygon } from "../../../geometry/index.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class ResumeV1Education {
|
|
7
7
|
#private;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The area of study or specialization.
|
|
10
|
+
*/
|
|
9
11
|
degreeDomain: string | null;
|
|
10
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* The type of degree obtained, such as Bachelor's, Master's, or Doctorate.
|
|
14
|
+
*/
|
|
11
15
|
degreeType: string | null;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* The month when the education program or course was completed.
|
|
18
|
+
*/
|
|
13
19
|
endMonth: string | null;
|
|
14
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The year when the education program or course was completed.
|
|
22
|
+
*/
|
|
15
23
|
endYear: string | null;
|
|
16
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* The name of the school.
|
|
26
|
+
*/
|
|
17
27
|
school: string | null;
|
|
18
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* The month when the education program or course began.
|
|
30
|
+
*/
|
|
19
31
|
startMonth: string | null;
|
|
20
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* The year when the education program or course began.
|
|
34
|
+
*/
|
|
21
35
|
startYear: string | null;
|
|
22
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Confidence score
|
|
38
|
+
*/
|
|
23
39
|
confidence: number;
|
|
24
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* The document page on which the information was found.
|
|
42
|
+
*/
|
|
25
43
|
pageId: number;
|
|
26
44
|
/**
|
|
27
45
|
* Contains the relative vertices coordinates (points) of a polygon containing
|
|
@@ -12,7 +12,9 @@ import { Polygon } from "../../../geometry/index.js";
|
|
|
12
12
|
export class ResumeV1Education {
|
|
13
13
|
constructor({ prediction = {} }) {
|
|
14
14
|
_ResumeV1Education_instances.add(this);
|
|
15
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Confidence score
|
|
17
|
+
*/
|
|
16
18
|
this.confidence = 0.0;
|
|
17
19
|
/**
|
|
18
20
|
* Contains the relative vertices coordinates (points) of a polygon containing
|
|
@@ -5,13 +5,21 @@ import { Polygon } from "../../../geometry/index.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class ResumeV1Language {
|
|
7
7
|
#private;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The language's ISO 639 code.
|
|
10
|
+
*/
|
|
9
11
|
language: string | null;
|
|
10
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* The candidate's level for the language.
|
|
14
|
+
*/
|
|
11
15
|
level: string | null;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Confidence score
|
|
18
|
+
*/
|
|
13
19
|
confidence: number;
|
|
14
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The document page on which the information was found.
|
|
22
|
+
*/
|
|
15
23
|
pageId: number;
|
|
16
24
|
/**
|
|
17
25
|
* Contains the relative vertices coordinates (points) of a polygon containing
|
|
@@ -12,7 +12,9 @@ import { Polygon } from "../../../geometry/index.js";
|
|
|
12
12
|
export class ResumeV1Language {
|
|
13
13
|
constructor({ prediction = {} }) {
|
|
14
14
|
_ResumeV1Language_instances.add(this);
|
|
15
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Confidence score
|
|
17
|
+
*/
|
|
16
18
|
this.confidence = 0.0;
|
|
17
19
|
/**
|
|
18
20
|
* Contains the relative vertices coordinates (points) of a polygon containing
|