Comparing version 4.1.1 to 4.2.0
# CHANGELOG | ||
## v4.2.0 - 2023-09-15 | ||
### Changes | ||
* :sparkles: add support for W9 V1 | ||
* :sparkles: add support for Barcode Reader V11 | ||
* :sparkles: add support for Multi Receipt Detector V1 | ||
* :sparkles: add support for FR Id Card V2 | ||
* :sparkles: add support for OTS Cropper V1 | ||
* :memo: update documentation | ||
### Fixes | ||
* :bug: fix missing position field display issues | ||
* :bug: fix issues with asynchronous timeouts crashing in some instances | ||
## v4.1.1 - 2023-09-04 | ||
@@ -4,0 +18,0 @@ ### Changes |
{ | ||
"name": "mindee", | ||
"version": "4.1.1", | ||
"version": "4.2.0", | ||
"description": "Mindee Client Library for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -158,5 +158,8 @@ [![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 US Bank Check OCR](https://developers.mindee.com/docs/nodejs-us-bank-checks-ocr) | ||
* [Node.js US Driver License OCR](https://developers.mindee.com/docs/nodejs-us-driver-license-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 Barcode Reader API](https://developers.mindee.com/docs/nodejs-barcode-reader-api) | ||
* [Node.js Cropper API](https://developers.mindee.com/docs/nodejs-cropper-api) | ||
* [Node.js Invoice Splitter API](https://developers.mindee.com/docs/nodejs-invoice-splitter-api) | ||
* [Node.js Multi Receipts Detector API](https://developers.mindee.com/docs/nodejs-multi-receipts-detector-api) | ||
@@ -163,0 +166,0 @@ You can also take a look at the **[Reference Documentation](https://mindee.github.io/mindee-api-nodejs/)**. |
@@ -125,10 +125,4 @@ "use strict"; | ||
maxRetries: 10, | ||
initialTimerOptions: { | ||
ref: false, | ||
signal: undefined, | ||
}, | ||
recurringTimerOptions: { | ||
ref: false, | ||
signal: undefined, | ||
}, | ||
initialTimerOptions: undefined, | ||
recurringTimerOptions: undefined, | ||
}) { | ||
@@ -135,0 +129,0 @@ __classPrivateFieldGet(this, _Client_instances, "m", _Client_validateAsyncParams).call(this, asyncParams); |
@@ -49,3 +49,3 @@ import { MindeeError } from "../errors"; | ||
/** | ||
* Usually contains TooManyRequests errors. | ||
* Usually corresponds to TooManyRequests errors. | ||
* Arises whenever too many calls to the API are made in quick succession. | ||
@@ -52,0 +52,0 @@ */ |
@@ -171,3 +171,3 @@ "use strict"; | ||
/** | ||
* Usually contains TooManyRequests errors. | ||
* Usually corresponds to TooManyRequests errors. | ||
* Arises whenever too many calls to the API are made in quick succession. | ||
@@ -199,5 +199,5 @@ */ | ||
super(httpError, url, code); | ||
this.name = "MindeeHttp500Error"; | ||
this.name = "MindeeHttp504Error"; | ||
} | ||
} | ||
exports.MindeeHttp504Error = MindeeHttp504Error; |
@@ -31,4 +31,3 @@ "use strict"; | ||
========== | ||
${this.prediction.toString() || ""} | ||
${this.prediction.toString().length === 0 ? "" : this.prediction.toString() + "\n"} | ||
Page Predictions | ||
@@ -35,0 +34,0 @@ ================ |
@@ -19,4 +19,4 @@ import { StringDict } from "../common"; | ||
* @param {Object} prediction - Prediction object from HTTP response | ||
* @param {String} valueKey - Key to use in the prediction dict | ||
* @param {Boolean} reconstructed - Is the object reconstructed (not extracted by the API) | ||
* @param valueKey - Key to use in the prediction dict | ||
* @param reconstructed - Is the object reconstructed (not extracted by the API) | ||
*/ | ||
@@ -23,0 +23,0 @@ constructor({ prediction, valueKey, reconstructed, pageId, }: BaseFieldConstructor); |
@@ -10,4 +10,4 @@ "use strict"; | ||
* @param {Object} prediction - Prediction object from HTTP response | ||
* @param {String} valueKey - Key to use in the prediction dict | ||
* @param {Boolean} reconstructed - Is the object reconstructed (not extracted by the API) | ||
* @param valueKey - Key to use in the prediction dict | ||
* @param reconstructed - Is the object reconstructed (not extracted by the API) | ||
*/ | ||
@@ -14,0 +14,0 @@ constructor({ prediction = {}, valueKey = "value", reconstructed = false, pageId = undefined, }) { |
@@ -27,14 +27,14 @@ import { BaseField } from "./base"; | ||
/** | ||
* @param {Object} prediction - Prediction object from HTTP response | ||
* @param {String} valueKey - Key to use in the prediction dict | ||
* @param {Boolean} reconstructed - Does the object is reconstructed (not extracted by the API) | ||
* @param {Integer} pageId - Page ID for multi-page document | ||
* @param {Array<String>} extraFields - Extra fields to get from the prediction and to set as attribute of the Field | ||
* @param prediction - Prediction object from HTTP response | ||
* @param valueKey - Key to use in the prediction dict | ||
* @param reconstructed - Does the object is reconstructed (not extracted by the API) | ||
* @param pageId - Page ID for multi-page document | ||
* @param extraFields - Extra fields to get from the prediction and to set as attribute of the Field | ||
*/ | ||
constructor({ prediction, valueKey, reconstructed, pageId, }: FieldConstructor); | ||
/** | ||
@param {Field[]} array1 - first Array of Fields | ||
@param {Field[]} array2 - second Array of Fields | ||
@param {String} attr - Attribute to compare | ||
@returns {Boolean} - true if all elements in array1 exist in array2 and vice-versa, false otherwise | ||
@param array1 first Array of Fields | ||
@param array2 second Array of Fields | ||
@param attr Attribute to compare | ||
@returns true if all elements in array1 exist in array2 and vice-versa, false otherwise | ||
*/ | ||
@@ -44,5 +44,5 @@ static compareArrays(array1: Field[], array2: Field[], attr?: string): boolean; | ||
* @param {Field[]} array - Array of Fields | ||
* @returns {Number} product of all the fields probaility | ||
* @returns {Number} product of all the fields probability | ||
*/ | ||
static arrayConfidence(array: Field[]): number; | ||
} |
@@ -11,7 +11,7 @@ "use strict"; | ||
/** | ||
* @param {Object} prediction - Prediction object from HTTP response | ||
* @param {String} valueKey - Key to use in the prediction dict | ||
* @param {Boolean} reconstructed - Does the object is reconstructed (not extracted by the API) | ||
* @param {Integer} pageId - Page ID for multi-page document | ||
* @param {Array<String>} extraFields - Extra fields to get from the prediction and to set as attribute of the Field | ||
* @param prediction - Prediction object from HTTP response | ||
* @param valueKey - Key to use in the prediction dict | ||
* @param reconstructed - Does the object is reconstructed (not extracted by the API) | ||
* @param pageId - Page ID for multi-page document | ||
* @param extraFields - Extra fields to get from the prediction and to set as attribute of the Field | ||
*/ | ||
@@ -32,6 +32,6 @@ constructor({ prediction = {}, valueKey = "value", reconstructed = false, pageId, }) { | ||
/** | ||
@param {Field[]} array1 - first Array of Fields | ||
@param {Field[]} array2 - second Array of Fields | ||
@param {String} attr - Attribute to compare | ||
@returns {Boolean} - true if all elements in array1 exist in array2 and vice-versa, false otherwise | ||
@param array1 first Array of Fields | ||
@param array2 second Array of Fields | ||
@param attr Attribute to compare | ||
@returns true if all elements in array1 exist in array2 and vice-versa, false otherwise | ||
*/ | ||
@@ -51,3 +51,3 @@ static compareArrays(array1, array2, attr = "value") { | ||
* @param {Field[]} array - Array of Fields | ||
* @returns {Number} product of all the fields probaility | ||
* @returns {Number} product of all the fields probability | ||
*/ | ||
@@ -54,0 +54,0 @@ static arrayConfidence(array) { |
@@ -19,5 +19,16 @@ "use strict"; | ||
toString() { | ||
return `Polygon with ${this.polygon.length} points.`; | ||
if (this.polygon && this.polygon.length > 0) | ||
return `Polygon with ${this.polygon.length} points.`; | ||
if (this.boundingBox && this.boundingBox.length > 0) { | ||
return `Polygon with ${this.boundingBox.length} points.`; | ||
} | ||
if (this.rectangle && this.rectangle.length > 0) { | ||
return `Polygon with ${this.rectangle.length} points.`; | ||
} | ||
if (this.quadrangle && this.quadrangle.length > 0) { | ||
return `Polygon with ${this.quadrangle.length} points.`; | ||
} | ||
return ""; | ||
} | ||
} | ||
exports.PositionField = PositionField; |
@@ -1,5 +0,6 @@ | ||
import { Inference, Page, StringDict } from "../../parsing/common"; | ||
import { Inference, StringDict, Page } from "../../parsing/common"; | ||
import { CropperV1Document } from "./cropperV1Document"; | ||
import { CropperV1Page } from "./cropperV1Page"; | ||
/** | ||
* Inference prediction for Cropper API, version 1. | ||
* Inference prediction for Cropper, API version 1. | ||
*/ | ||
@@ -14,4 +15,4 @@ export declare class CropperV1 extends Inference { | ||
/** The document's pages. */ | ||
pages: Page<CropperV1Document>[]; | ||
pages: Page<CropperV1Page>[]; | ||
constructor(rawPrediction: StringDict); | ||
} |
@@ -6,4 +6,5 @@ "use strict"; | ||
const cropperV1Document_1 = require("./cropperV1Document"); | ||
const cropperV1Page_1 = require("./cropperV1Page"); | ||
/** | ||
* Inference prediction for Cropper API, version 1. | ||
* Inference prediction for Cropper, API version 1. | ||
*/ | ||
@@ -19,6 +20,6 @@ class CropperV1 extends common_1.Inference { | ||
this.pages = []; | ||
this.prediction = new cropperV1Document_1.CropperV1Document(rawPrediction["prediction"]); | ||
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(cropperV1Document_1.CropperV1Document, page, page["id"], page["orientation"])); | ||
this.prediction = new cropperV1Document_1.CropperV1Document(); | ||
this.pages = rawPrediction["pages"].map((page) => new common_1.Page(cropperV1Page_1.CropperV1Page, page, page["id"], page["orientation"])); | ||
} | ||
} | ||
exports.CropperV1 = CropperV1; |
@@ -1,10 +0,6 @@ | ||
import { Prediction, StringDict } from "../../parsing/common"; | ||
import { PositionField } from "../../parsing/standard"; | ||
import { Prediction } from "../../parsing/common"; | ||
/** | ||
* Document data for Cropper API, version 1. | ||
* Document data for Cropper, API version 1. | ||
*/ | ||
export declare class CropperV1Document implements Prediction { | ||
/** A list of cropped positions. */ | ||
cropping: PositionField[]; | ||
constructor(rawPrediction: StringDict, pageId?: number); | ||
/** | ||
@@ -11,0 +7,0 @@ * Default string representation. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CropperV1Document = void 0; | ||
const summaryHelper_1 = require("../../parsing/common/summaryHelper"); | ||
const standard_1 = require("../../parsing/standard"); | ||
/** | ||
* Document data for Cropper API, version 1. | ||
* Document data for Cropper, API version 1. | ||
*/ | ||
class CropperV1Document { | ||
constructor(rawPrediction, pageId) { | ||
/** A list of cropped positions. */ | ||
this.cropping = []; | ||
rawPrediction["cropping"] && | ||
rawPrediction["cropping"].forEach((crop) => { | ||
this.cropping.push(new standard_1.PositionField({ | ||
prediction: crop, | ||
pageId: pageId, | ||
})); | ||
}); | ||
} | ||
/** | ||
@@ -25,9 +12,5 @@ * Default string representation. | ||
toString() { | ||
const cropping = this.cropping | ||
.map((crop) => crop.toString()) | ||
.join("\n "); | ||
const outStr = `:Cropping: ${cropping}`.trim(); | ||
return (0, summaryHelper_1.cleanOutString)(outStr); | ||
return ""; | ||
} | ||
} | ||
exports.CropperV1Document = CropperV1Document; |
export { CropperV1 } from "./cropperV1"; | ||
export { CropperV1Document } from "./cropperV1Document"; | ||
export { CropperV1Page } from "./cropperV1Page"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CropperV1Document = exports.CropperV1 = void 0; | ||
exports.CropperV1Page = exports.CropperV1Document = exports.CropperV1 = void 0; | ||
var cropperV1_1 = require("./cropperV1"); | ||
@@ -8,1 +8,3 @@ Object.defineProperty(exports, "CropperV1", { enumerable: true, get: function () { return cropperV1_1.CropperV1; } }); | ||
Object.defineProperty(exports, "CropperV1Document", { enumerable: true, get: function () { return cropperV1Document_1.CropperV1Document; } }); | ||
var cropperV1Page_1 = require("./cropperV1Page"); | ||
Object.defineProperty(exports, "CropperV1Page", { enumerable: true, get: function () { return cropperV1Page_1.CropperV1Page; } }); |
@@ -35,3 +35,3 @@ "use strict"; | ||
toString() { | ||
const givenNames = this.givenNames.join("\n "); | ||
const givenNames = this.givenNames.join("\n "); | ||
const outStr = `:Given Name(s): ${givenNames} | ||
@@ -38,0 +38,0 @@ :Surname: ${this.surname} |
@@ -59,3 +59,3 @@ "use strict"; | ||
toString() { | ||
const givenNames = this.givenNames.join("\n "); | ||
const givenNames = this.givenNames.join("\n "); | ||
const outStr = `:Identity Number: ${this.idNumber} | ||
@@ -62,0 +62,0 @@ :Given Name(s): ${givenNames} |
export { IdCardV1 } from "./idCardV1"; | ||
export { IdCardV2 } from "./idCardV2"; | ||
export { IdCardV1Document } from "./idCardV1Document"; | ||
export { IdCardV1Page } from "./idCardV1Page"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.IdCardV1Page = exports.IdCardV1Document = exports.IdCardV1 = void 0; | ||
exports.IdCardV1Page = exports.IdCardV1Document = exports.IdCardV2 = exports.IdCardV1 = void 0; | ||
var idCardV1_1 = require("./idCardV1"); | ||
Object.defineProperty(exports, "IdCardV1", { enumerable: true, get: function () { return idCardV1_1.IdCardV1; } }); | ||
var idCardV2_1 = require("./idCardV2"); | ||
Object.defineProperty(exports, "IdCardV2", { enumerable: true, get: function () { return idCardV2_1.IdCardV2; } }); | ||
var idCardV1Document_1 = require("./idCardV1Document"); | ||
@@ -7,0 +9,0 @@ Object.defineProperty(exports, "IdCardV1Document", { enumerable: true, get: function () { return idCardV1Document_1.IdCardV1Document; } }); |
export { IdCardV1 } from "./idCard/idCardV1"; | ||
export { IdCardV2 } from "./idCard/idCardV2"; | ||
export { BankAccountDetailsV1 } from "./bankAccountDetails/bankAccountDetailsV1"; | ||
export { BankAccountDetailsV2 } from "./bankAccountDetails/bankAccountDetailsV2"; | ||
export { CarteVitaleV1 } from "./carteVitale/carteVitaleV1"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CarteVitaleV1 = exports.BankAccountDetailsV2 = exports.BankAccountDetailsV1 = exports.IdCardV1 = void 0; | ||
exports.CarteVitaleV1 = exports.BankAccountDetailsV2 = exports.BankAccountDetailsV1 = exports.IdCardV2 = exports.IdCardV1 = void 0; | ||
var idCardV1_1 = require("./idCard/idCardV1"); | ||
Object.defineProperty(exports, "IdCardV1", { enumerable: true, get: function () { return idCardV1_1.IdCardV1; } }); | ||
var idCardV2_1 = require("./idCard/idCardV2"); | ||
Object.defineProperty(exports, "IdCardV2", { enumerable: true, get: function () { return idCardV2_1.IdCardV2; } }); | ||
var bankAccountDetailsV1_1 = require("./bankAccountDetails/bankAccountDetailsV1"); | ||
@@ -7,0 +9,0 @@ Object.defineProperty(exports, "BankAccountDetailsV1", { enumerable: true, get: function () { return bankAccountDetailsV1_1.BankAccountDetailsV1; } }); |
@@ -0,12 +1,14 @@ | ||
export { BarcodeReaderV1 } from "./barcodeReader/barcodeReaderV1"; | ||
export { CropperV1 } from "./cropper/cropperV1"; | ||
export { CustomV1 } from "./custom/customV1"; | ||
export { FinancialDocumentV1 } from "./financialDocument/financialDocumentV1"; | ||
export { InvoiceV4 } from "./invoice/invoiceV4"; | ||
export { InvoiceSplitterV1 } from "./invoiceSplitter/invoiceSplitterV1"; | ||
export { MultiReceiptsDetectorV1 } from "./multiReceiptsDetector/multiReceiptsDetectorV1"; | ||
export { PassportV1 } from "./passport/passportV1"; | ||
export { ProofOfAddressV1 } from "./proofOfAddress/proofOfAddressV1"; | ||
export { ReceiptV4 } from "./receipt/receiptV4"; | ||
export { ReceiptV5 } from "./receipt/receiptV5"; | ||
export { PassportV1 } from "./passport/passportV1"; | ||
export { FinancialDocumentV1 } from "./financialDocument/financialDocumentV1"; | ||
export { CustomV1 } from "./custom/customV1"; | ||
export { CropperV1 } from "./cropper/cropperV1"; | ||
export { ProofOfAddressV1 } from "./proofOfAddress/proofOfAddressV1"; | ||
export * as eu from "./eu"; | ||
export * as fr from "./fr"; | ||
export * as us from "./us"; | ||
export * as eu from "./eu"; |
@@ -26,3 +26,11 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.eu = exports.us = exports.fr = exports.ProofOfAddressV1 = exports.CropperV1 = exports.CustomV1 = exports.FinancialDocumentV1 = exports.PassportV1 = exports.ReceiptV5 = exports.ReceiptV4 = exports.InvoiceSplitterV1 = exports.InvoiceV4 = void 0; | ||
exports.us = exports.fr = exports.eu = exports.ReceiptV5 = exports.ReceiptV4 = exports.ProofOfAddressV1 = exports.PassportV1 = exports.MultiReceiptsDetectorV1 = exports.InvoiceSplitterV1 = exports.InvoiceV4 = exports.FinancialDocumentV1 = exports.CustomV1 = exports.CropperV1 = exports.BarcodeReaderV1 = void 0; | ||
var barcodeReaderV1_1 = require("./barcodeReader/barcodeReaderV1"); | ||
Object.defineProperty(exports, "BarcodeReaderV1", { enumerable: true, get: function () { return barcodeReaderV1_1.BarcodeReaderV1; } }); | ||
var cropperV1_1 = require("./cropper/cropperV1"); | ||
Object.defineProperty(exports, "CropperV1", { enumerable: true, get: function () { return cropperV1_1.CropperV1; } }); | ||
var customV1_1 = require("./custom/customV1"); | ||
Object.defineProperty(exports, "CustomV1", { enumerable: true, get: function () { return customV1_1.CustomV1; } }); | ||
var financialDocumentV1_1 = require("./financialDocument/financialDocumentV1"); | ||
Object.defineProperty(exports, "FinancialDocumentV1", { enumerable: true, get: function () { return financialDocumentV1_1.FinancialDocumentV1; } }); | ||
var invoiceV4_1 = require("./invoice/invoiceV4"); | ||
@@ -32,2 +40,8 @@ Object.defineProperty(exports, "InvoiceV4", { enumerable: true, get: function () { return invoiceV4_1.InvoiceV4; } }); | ||
Object.defineProperty(exports, "InvoiceSplitterV1", { enumerable: true, get: function () { return invoiceSplitterV1_1.InvoiceSplitterV1; } }); | ||
var multiReceiptsDetectorV1_1 = require("./multiReceiptsDetector/multiReceiptsDetectorV1"); | ||
Object.defineProperty(exports, "MultiReceiptsDetectorV1", { enumerable: true, get: function () { return multiReceiptsDetectorV1_1.MultiReceiptsDetectorV1; } }); | ||
var passportV1_1 = require("./passport/passportV1"); | ||
Object.defineProperty(exports, "PassportV1", { enumerable: true, get: function () { return passportV1_1.PassportV1; } }); | ||
var proofOfAddressV1_1 = require("./proofOfAddress/proofOfAddressV1"); | ||
Object.defineProperty(exports, "ProofOfAddressV1", { enumerable: true, get: function () { return proofOfAddressV1_1.ProofOfAddressV1; } }); | ||
var receiptV4_1 = require("./receipt/receiptV4"); | ||
@@ -37,14 +51,4 @@ Object.defineProperty(exports, "ReceiptV4", { enumerable: true, get: function () { return receiptV4_1.ReceiptV4; } }); | ||
Object.defineProperty(exports, "ReceiptV5", { enumerable: true, get: function () { return receiptV5_1.ReceiptV5; } }); | ||
var passportV1_1 = require("./passport/passportV1"); | ||
Object.defineProperty(exports, "PassportV1", { enumerable: true, get: function () { return passportV1_1.PassportV1; } }); | ||
var financialDocumentV1_1 = require("./financialDocument/financialDocumentV1"); | ||
Object.defineProperty(exports, "FinancialDocumentV1", { enumerable: true, get: function () { return financialDocumentV1_1.FinancialDocumentV1; } }); | ||
var customV1_1 = require("./custom/customV1"); | ||
Object.defineProperty(exports, "CustomV1", { enumerable: true, get: function () { return customV1_1.CustomV1; } }); | ||
var cropperV1_1 = require("./cropper/cropperV1"); | ||
Object.defineProperty(exports, "CropperV1", { enumerable: true, get: function () { return cropperV1_1.CropperV1; } }); | ||
var proofOfAddressV1_1 = require("./proofOfAddress/proofOfAddressV1"); | ||
Object.defineProperty(exports, "ProofOfAddressV1", { enumerable: true, get: function () { return proofOfAddressV1_1.ProofOfAddressV1; } }); | ||
exports.eu = __importStar(require("./eu")); | ||
exports.fr = __importStar(require("./fr")); | ||
exports.us = __importStar(require("./us")); | ||
exports.eu = __importStar(require("./eu")); |
@@ -0,1 +1,2 @@ | ||
export * as barcodeReader from "./barcodeReader/internal"; | ||
export * as cropper from "./cropper/internal"; | ||
@@ -8,2 +9,3 @@ export * as custom from "./custom/internal"; | ||
export * as invoiceSplitter from "./invoiceSplitter/internal"; | ||
export * as multiReceiptsDetector from "./multiReceiptsDetector/internal"; | ||
export * as passport from "./passport/internal"; | ||
@@ -10,0 +12,0 @@ export * as proofOfAddress from "./proofOfAddress/internal"; |
@@ -26,3 +26,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.us = exports.receipt = exports.proofOfAddress = exports.passport = exports.invoiceSplitter = exports.invoice = exports.fr = exports.financialDocument = exports.eu = exports.custom = exports.cropper = void 0; | ||
exports.us = exports.receipt = exports.proofOfAddress = exports.passport = exports.multiReceiptsDetector = exports.invoiceSplitter = exports.invoice = exports.fr = exports.financialDocument = exports.eu = exports.custom = exports.cropper = exports.barcodeReader = void 0; | ||
exports.barcodeReader = __importStar(require("./barcodeReader/internal")); | ||
exports.cropper = __importStar(require("./cropper/internal")); | ||
@@ -35,2 +36,3 @@ exports.custom = __importStar(require("./custom/internal")); | ||
exports.invoiceSplitter = __importStar(require("./invoiceSplitter/internal")); | ||
exports.multiReceiptsDetector = __importStar(require("./multiReceiptsDetector/internal")); | ||
exports.passport = __importStar(require("./passport/internal")); | ||
@@ -37,0 +39,0 @@ exports.proofOfAddress = __importStar(require("./proofOfAddress/internal")); |
@@ -63,3 +63,3 @@ "use strict"; | ||
toString() { | ||
const givenNames = this.givenNames.join("\n "); | ||
const givenNames = this.givenNames.join("\n "); | ||
const outStr = `:Country Code: ${this.country} | ||
@@ -66,0 +66,0 @@ :ID Number: ${this.idNumber} |
@@ -60,4 +60,4 @@ "use strict"; | ||
toString() { | ||
const issuerCompanyRegistration = this.issuerCompanyRegistration.join("\n "); | ||
const recipientCompanyRegistration = this.recipientCompanyRegistration.join("\n "); | ||
const issuerCompanyRegistration = this.issuerCompanyRegistration.join("\n "); | ||
const recipientCompanyRegistration = this.recipientCompanyRegistration.join("\n "); | ||
const dates = this.dates.join("\n "); | ||
@@ -64,0 +64,0 @@ const outStr = `:Locale: ${this.locale} |
@@ -25,3 +25,3 @@ "use strict"; | ||
toString() { | ||
const signaturesPositions = this.signaturesPositions.join("\n "); | ||
const signaturesPositions = this.signaturesPositions.join("\n "); | ||
let outStr = `:Check Position: ${this.checkPosition} | ||
@@ -28,0 +28,0 @@ :Signature Positions: ${signaturesPositions}`.trimEnd(); |
export { BankCheckV1 } from "./bankCheck/bankCheckV1"; | ||
export { DriverLicenseV1 } from "./driverLicense/driverLicenseV1"; | ||
export { W9V1 } from "./w9/w9V1"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DriverLicenseV1 = exports.BankCheckV1 = void 0; | ||
exports.W9V1 = exports.DriverLicenseV1 = exports.BankCheckV1 = void 0; | ||
var bankCheckV1_1 = require("./bankCheck/bankCheckV1"); | ||
@@ -8,1 +8,3 @@ Object.defineProperty(exports, "BankCheckV1", { enumerable: true, get: function () { return bankCheckV1_1.BankCheckV1; } }); | ||
Object.defineProperty(exports, "DriverLicenseV1", { enumerable: true, get: function () { return driverLicenseV1_1.DriverLicenseV1; } }); | ||
var w9V1_1 = require("./w9/w9V1"); | ||
Object.defineProperty(exports, "W9V1", { enumerable: true, get: function () { return w9V1_1.W9V1; } }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
366651
282
8575
174