Socket
Socket
Sign inDemoInstall

mindee

Package Overview
Dependencies
Maintainers
7
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mindee - npm Package Compare versions

Comparing version 4.8.2 to 4.9.0

src/product/eu/driverLicense/driverLicenseV1.d.ts

9

CHANGELOG.md
# CHANGELOG
## v4.9.0 - 2024-02-21
### Changes
* :sparkles: add support for resume V1
* :sparkles: add support for International ID v2
* :sparkles: add support for EU Driver License V1
### Fixes
:memo: misc doc fixes
## v4.8.2 - 2024-02-09

@@ -4,0 +13,0 @@ ### Changes

2

package.json
{
"name": "mindee",
"version": "4.8.2",
"version": "4.9.0",
"description": "Mindee Client Library for Node.js",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -150,3 +150,5 @@ [![License: MIT](https://img.shields.io/github/license/mindee/mindee-api-nodejs)](https://opensource.org/licenses/MIT) [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mindee/mindee-api-nodejs/test.yml)](https://github.com/mindee/mindee-api-nodejs) [![NPM Version](https://img.shields.io/npm/v/mindee)](https://www.npmjs.com/package/mindee) [![Downloads](https://img.shields.io/npm/dm/mindee)](https://www.npmjs.com/package/mindee)

* [Node.js Invoice OCR](https://developers.mindee.com/docs/nodejs-invoice-ocr)
* [Node.js International Id OCR](https://developers.mindee.com/docs/nodejs-international-id-ocr)
* [Node.js Receipt OCR](https://developers.mindee.com/docs/nodejs-receipt-ocr)
* [Node.js Resume OCR](https://developers.mindee.com/docs/nodejs-resume-ocr)
* [Node.js Financial Document OCR](https://developers.mindee.com/docs/nodejs-financial-document-ocr)

@@ -156,2 +158,3 @@ * [Node.js Passport OCR](https://developers.mindee.com/docs/nodejs-passport-ocr)

* [Node.js EU License Plate OCR](https://developers.mindee.com/docs/nodejs-eu-license-plates-ocr)
* [Node.js EU Driver License OCR](https://developers.mindee.com/docs/nodejs-eu-driver-license-ocr)
* [Node.js FR Bank Account Detail OCR](https://developers.mindee.com/docs/nodejs-fr-bank-account-details-ocr)

@@ -161,4 +164,4 @@ * [Node.js FR Carte Vitale OCR](https://developers.mindee.com/docs/nodejs-fr-carte-vitale-ocr)

* [Node.js US Bank Check OCR](https://developers.mindee.com/docs/nodejs-us-bank-checks-ocr)
* [Node.js US W9 OCR](https://developers.mindee.com/docs/nodejs-us-driver-license-ocr)
* [Node.js US Driver License OCR](https://developers.mindee.com/docs/nodejs-us-w9-ocr)
* [Node.js US W9 OCR](https://developers.mindee.com/docs/nodejs-us-w9-ocr)
* [Node.js US Driver License OCR](https://developers.mindee.com/docs/nodejs-us-driver-license-ocr)
* [Node.js Barcode Reader API](https://developers.mindee.com/docs/nodejs-barcode-reader-api)

@@ -177,2 +180,2 @@ * [Node.js Cropper API](https://developers.mindee.com/docs/nodejs-cropper-api)

## Questions?
[Join our Slack](https://join.slack.com/t/mindee-community/shared_invite/zt-1jv6nawjq-FDgFcF2T5CmMmRpl9LLptw)
[Join our Slack](https://join.slack.com/t/mindee-community/shared_invite/zt-2d0ds7dtz-DPAF81ZqTy20chsYpQBW5g)

@@ -72,2 +72,12 @@ "use strict";

[
"international-id",
{
displayName: "International Id",
docClass: product.InternationalIdV2,
allWords: false,
async: true,
sync: false,
},
],
[
"invoice",

@@ -103,2 +113,12 @@ {

[
"resume",
{
displayName: "Resume",
docClass: product.ResumeV1,
allWords: false,
async: true,
sync: false,
},
],
[
"passport",

@@ -164,2 +184,12 @@ {

[
"eu-driver-license",
{
displayName: "EU Driver License",
docClass: product.eu.DriverLicenseV1,
allWords: false,
async: false,
sync: true,
},
],
[
"us-bank-check",

@@ -174,2 +204,12 @@ {

],
[
"us-driver-license",
{
displayName: "US Driver License",
docClass: product.us.DriverLicenseV1,
allWords: false,
async: false,
sync: true,
},
],
]);

@@ -176,0 +216,0 @@ //

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new barcodeReaderV1Document_1.BarcodeReaderV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(barcodeReaderV1Document_1.BarcodeReaderV1Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(barcodeReaderV1Document_1.BarcodeReaderV1Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.BarcodeReaderV1 = BarcodeReaderV1;

@@ -20,5 +20,10 @@ "use strict";

this.prediction = new cropperV1Document_1.CropperV1Document();
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(cropperV1Page_1.CropperV1Page, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(cropperV1Page_1.CropperV1Page, page, page["id"], page["orientation"]));
}
});
}
}
exports.CropperV1 = CropperV1;
export { LicensePlateV1 } from "./licensePlate/licensePlateV1";
export { DriverLicenseV1 } from "./driverLicense/driverLicenseV1";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LicensePlateV1 = void 0;
exports.DriverLicenseV1 = exports.LicensePlateV1 = void 0;
var licensePlateV1_1 = require("./licensePlate/licensePlateV1");
Object.defineProperty(exports, "LicensePlateV1", { enumerable: true, get: function () { return licensePlateV1_1.LicensePlateV1; } });
var driverLicenseV1_1 = require("./driverLicense/driverLicenseV1");
Object.defineProperty(exports, "DriverLicenseV1", { enumerable: true, get: function () { return driverLicenseV1_1.DriverLicenseV1; } });
export * as licensePlate from "./licensePlate/internal";
export * as driverLicense from "./driverLicense/internal";

@@ -26,3 +26,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.licensePlate = void 0;
exports.driverLicense = exports.licensePlate = void 0;
exports.licensePlate = __importStar(require("./licensePlate/internal"));
exports.driverLicense = __importStar(require("./driverLicense/internal"));

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new licensePlateV1Document_1.LicensePlateV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(licensePlateV1Document_1.LicensePlateV1Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(licensePlateV1Document_1.LicensePlateV1Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.LicensePlateV1 = LicensePlateV1;

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new financialDocumentV1Document_1.FinancialDocumentV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(financialDocumentV1Document_1.FinancialDocumentV1Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(financialDocumentV1Document_1.FinancialDocumentV1Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.FinancialDocumentV1 = FinancialDocumentV1;

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new bankAccountDetailsV1Document_1.BankAccountDetailsV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(bankAccountDetailsV1Document_1.BankAccountDetailsV1Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(bankAccountDetailsV1Document_1.BankAccountDetailsV1Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.BankAccountDetailsV1 = BankAccountDetailsV1;

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new bankAccountDetailsV2Document_1.BankAccountDetailsV2Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(bankAccountDetailsV2Document_1.BankAccountDetailsV2Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(bankAccountDetailsV2Document_1.BankAccountDetailsV2Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.BankAccountDetailsV2 = BankAccountDetailsV2;

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new carteGriseV1Document_1.CarteGriseV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(carteGriseV1Document_1.CarteGriseV1Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(carteGriseV1Document_1.CarteGriseV1Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.CarteGriseV1 = CarteGriseV1;

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new carteVitaleV1Document_1.CarteVitaleV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(carteVitaleV1Document_1.CarteVitaleV1Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(carteVitaleV1Document_1.CarteVitaleV1Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.CarteVitaleV1 = CarteVitaleV1;

@@ -20,5 +20,10 @@ "use strict";

this.prediction = new idCardV1Document_1.IdCardV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(idCardV1Page_1.IdCardV1Page, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(idCardV1Page_1.IdCardV1Page, page, page["id"], page["orientation"]));
}
});
}
}
exports.IdCardV1 = IdCardV1;

@@ -20,5 +20,10 @@ "use strict";

this.prediction = new idCardV2Document_1.IdCardV2Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(idCardV2Page_1.IdCardV2Page, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(idCardV2Page_1.IdCardV2Page, page, page["id"], page["orientation"]));
}
});
}
}
exports.IdCardV2 = IdCardV2;

@@ -6,2 +6,4 @@ export { BarcodeReaderV1 } from "./barcodeReader/barcodeReaderV1";

export { InvoiceV4 } from "./invoice/invoiceV4";
export { InternationalIdV1 } from "./internationalId/internationalIdV1";
export { InternationalIdV2 } from "./internationalId/internationalIdV2";
export { InvoiceSplitterV1 } from "./invoiceSplitter/invoiceSplitterV1";

@@ -14,4 +16,5 @@ export { GeneratedV1 } from "./generated/generatedV1";

export { ReceiptV5 } from "./receipt/receiptV5";
export { ResumeV1 } from "./resume/resumeV1";
export * as eu from "./eu";
export * as fr from "./fr";
export * as us from "./us";

@@ -26,3 +26,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.us = exports.fr = exports.eu = exports.ReceiptV5 = exports.ReceiptV4 = exports.ProofOfAddressV1 = exports.PassportV1 = exports.MultiReceiptsDetectorV1 = exports.GeneratedV1 = exports.InvoiceSplitterV1 = exports.InvoiceV4 = exports.FinancialDocumentV1 = exports.CustomV1 = exports.CropperV1 = exports.BarcodeReaderV1 = void 0;
exports.us = exports.fr = exports.eu = exports.ResumeV1 = exports.ReceiptV5 = exports.ReceiptV4 = exports.ProofOfAddressV1 = exports.PassportV1 = exports.MultiReceiptsDetectorV1 = exports.GeneratedV1 = exports.InvoiceSplitterV1 = exports.InternationalIdV2 = exports.InternationalIdV1 = exports.InvoiceV4 = exports.FinancialDocumentV1 = exports.CustomV1 = exports.CropperV1 = exports.BarcodeReaderV1 = void 0;
var barcodeReaderV1_1 = require("./barcodeReader/barcodeReaderV1");

@@ -38,2 +38,6 @@ Object.defineProperty(exports, "BarcodeReaderV1", { enumerable: true, get: function () { return barcodeReaderV1_1.BarcodeReaderV1; } });

Object.defineProperty(exports, "InvoiceV4", { enumerable: true, get: function () { return invoiceV4_1.InvoiceV4; } });
var internationalIdV1_1 = require("./internationalId/internationalIdV1");
Object.defineProperty(exports, "InternationalIdV1", { enumerable: true, get: function () { return internationalIdV1_1.InternationalIdV1; } });
var internationalIdV2_1 = require("./internationalId/internationalIdV2");
Object.defineProperty(exports, "InternationalIdV2", { enumerable: true, get: function () { return internationalIdV2_1.InternationalIdV2; } });
var invoiceSplitterV1_1 = require("./invoiceSplitter/invoiceSplitterV1");

@@ -53,4 +57,6 @@ Object.defineProperty(exports, "InvoiceSplitterV1", { enumerable: true, get: function () { return invoiceSplitterV1_1.InvoiceSplitterV1; } });

Object.defineProperty(exports, "ReceiptV5", { enumerable: true, get: function () { return receiptV5_1.ReceiptV5; } });
var resumeV1_1 = require("./resume/resumeV1");
Object.defineProperty(exports, "ResumeV1", { enumerable: true, get: function () { return resumeV1_1.ResumeV1; } });
exports.eu = __importStar(require("./eu"));
exports.fr = __importStar(require("./fr"));
exports.us = __importStar(require("./us"));

@@ -8,2 +8,3 @@ export * as barcodeReader from "./barcodeReader/internal";

export * as fr from "./fr/internal";
export * as internationalId from "./internationalId/internal";
export * as invoice from "./invoice/internal";

@@ -15,2 +16,3 @@ export * as invoiceSplitter from "./invoiceSplitter/internal";

export * as receipt from "./receipt/internal";
export * as resume from "./resume/internal";
export * as us from "./us/internal";

@@ -26,3 +26,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.us = exports.receipt = exports.proofOfAddress = exports.passport = exports.multiReceiptsDetector = exports.invoiceSplitter = exports.invoice = exports.fr = exports.financialDocument = exports.eu = exports.generated = exports.custom = exports.cropper = exports.barcodeReader = void 0;
exports.us = exports.resume = exports.receipt = exports.proofOfAddress = exports.passport = exports.multiReceiptsDetector = exports.invoiceSplitter = exports.invoice = exports.internationalId = exports.fr = exports.financialDocument = exports.eu = exports.generated = exports.custom = exports.cropper = exports.barcodeReader = void 0;
exports.barcodeReader = __importStar(require("./barcodeReader/internal"));

@@ -35,2 +35,3 @@ exports.cropper = __importStar(require("./cropper/internal"));

exports.fr = __importStar(require("./fr/internal"));
exports.internationalId = __importStar(require("./internationalId/internal"));
exports.invoice = __importStar(require("./invoice/internal"));

@@ -42,2 +43,3 @@ exports.invoiceSplitter = __importStar(require("./invoiceSplitter/internal"));

exports.receipt = __importStar(require("./receipt/internal"));
exports.resume = __importStar(require("./resume/internal"));
exports.us = __importStar(require("./us/internal"));

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new invoiceV4Document_1.InvoiceV4Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(invoiceV4Document_1.InvoiceV4Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(invoiceV4Document_1.InvoiceV4Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.InvoiceV4 = InvoiceV4;

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new multiReceiptsDetectorV1Document_1.MultiReceiptsDetectorV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(multiReceiptsDetectorV1Document_1.MultiReceiptsDetectorV1Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(multiReceiptsDetectorV1Document_1.MultiReceiptsDetectorV1Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.MultiReceiptsDetectorV1 = MultiReceiptsDetectorV1;

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new passportV1Document_1.PassportV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(passportV1Document_1.PassportV1Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(passportV1Document_1.PassportV1Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.PassportV1 = PassportV1;

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new proofOfAddressV1Document_1.ProofOfAddressV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(proofOfAddressV1Document_1.ProofOfAddressV1Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(proofOfAddressV1Document_1.ProofOfAddressV1Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.ProofOfAddressV1 = ProofOfAddressV1;

@@ -19,5 +19,10 @@ "use strict";

this.prediction = new receiptV5Document_1.ReceiptV5Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(receiptV5Document_1.ReceiptV5Document, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(receiptV5Document_1.ReceiptV5Document, page, page["id"], page["orientation"]));
}
});
}
}
exports.ReceiptV5 = ReceiptV5;

@@ -20,5 +20,10 @@ "use strict";

this.prediction = new bankCheckV1Document_1.BankCheckV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(bankCheckV1Page_1.BankCheckV1Page, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(bankCheckV1Page_1.BankCheckV1Page, page, page["id"], page["orientation"]));
}
});
}
}
exports.BankCheckV1 = BankCheckV1;

@@ -20,5 +20,10 @@ "use strict";

this.prediction = new driverLicenseV1Document_1.DriverLicenseV1Document(rawPrediction["prediction"]);
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(driverLicenseV1Page_1.DriverLicenseV1Page, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(driverLicenseV1Page_1.DriverLicenseV1Page, page, page["id"], page["orientation"]));
}
});
}
}
exports.DriverLicenseV1 = DriverLicenseV1;

@@ -20,5 +20,10 @@ "use strict";

this.prediction = new w9V1Document_1.W9V1Document();
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(w9V1Page_1.W9V1Page, page, page["id"], page["orientation"]));
rawPrediction["pages"].forEach((page) => {
if (page.prediction !== undefined && page.prediction !== null &&
Object.keys(page.prediction).length > 0) {
this.pages.push(new common_1.Page(w9V1Page_1.W9V1Page, page, page["id"], page["orientation"]));
}
});
}
}
exports.W9V1 = W9V1;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc