mindee 3.7.1 → 3.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/cli.js +1 -1
- package/src/client.d.ts +1 -1
- package/src/client.js +2 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## v3.7.2 - 2023-04-04
|
|
4
|
+
### Fixes
|
|
5
|
+
* :bug: export DocumentClient class for easier 3rd party integration
|
|
6
|
+
* :bug: only display the job info when CLI parse-queued is processing
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
## v3.7.1 - 2023-03-31
|
|
4
10
|
### Fixes
|
|
5
11
|
* :bug: make sure all documents are exported properly
|
package/package.json
CHANGED
package/src/cli.js
CHANGED
package/src/client.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface PredictOptions {
|
|
|
40
40
|
*/
|
|
41
41
|
pageOptions?: PageOptions;
|
|
42
42
|
}
|
|
43
|
-
declare class DocumentClient {
|
|
43
|
+
export declare class DocumentClient {
|
|
44
44
|
docConfigs: DocConfigs;
|
|
45
45
|
inputSource?: InputSource;
|
|
46
46
|
constructor(docConfigs: DocConfigs, inputSource?: InputSource);
|
package/src/client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Client = void 0;
|
|
3
|
+
exports.Client = exports.DocumentClient = void 0;
|
|
4
4
|
const inputs_1 = require("./inputs");
|
|
5
5
|
const api_1 = require("./api");
|
|
6
6
|
const documents_1 = require("./documents");
|
|
@@ -96,6 +96,7 @@ class DocumentClient {
|
|
|
96
96
|
return docConfig;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
+
exports.DocumentClient = DocumentClient;
|
|
99
100
|
/**
|
|
100
101
|
* Mindee Client
|
|
101
102
|
*/
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { CustomV1, Document, FinancialDocumentV0, FinancialDocumentV1, InvoiceV3, InvoiceV4, InvoiceSplitterV1, PassportV1, ReceiptV3, ReceiptV4, CropperV1, ShippingContainerV1, MindeeVisionV1, fr, us, eu, } from "./documents";
|
|
2
|
-
export { Client, ClientOptions, CustomConfigParams, PredictOptions, } from "./client";
|
|
2
|
+
export { Client, ClientOptions, CustomConfigParams, DocumentClient, PredictOptions, } from "./client";
|
|
3
3
|
export { ResponseSig, Response, AsyncPredictResponse } from "./api";
|
|
4
4
|
export { InputSource, PageOptionsOperation } from "./inputs";
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PageOptionsOperation = exports.InputSource = exports.AsyncPredictResponse = exports.Response = exports.Client = exports.eu = exports.us = exports.fr = exports.MindeeVisionV1 = exports.ShippingContainerV1 = exports.CropperV1 = exports.ReceiptV4 = exports.ReceiptV3 = exports.PassportV1 = exports.InvoiceSplitterV1 = exports.InvoiceV4 = exports.InvoiceV3 = exports.FinancialDocumentV1 = exports.FinancialDocumentV0 = exports.Document = exports.CustomV1 = void 0;
|
|
3
|
+
exports.PageOptionsOperation = exports.InputSource = exports.AsyncPredictResponse = exports.Response = exports.DocumentClient = exports.Client = exports.eu = exports.us = exports.fr = exports.MindeeVisionV1 = exports.ShippingContainerV1 = exports.CropperV1 = exports.ReceiptV4 = exports.ReceiptV3 = exports.PassportV1 = exports.InvoiceSplitterV1 = exports.InvoiceV4 = exports.InvoiceV3 = exports.FinancialDocumentV1 = exports.FinancialDocumentV0 = exports.Document = exports.CustomV1 = void 0;
|
|
4
4
|
var documents_1 = require("./documents");
|
|
5
5
|
Object.defineProperty(exports, "CustomV1", { enumerable: true, get: function () { return documents_1.CustomV1; } });
|
|
6
6
|
Object.defineProperty(exports, "Document", { enumerable: true, get: function () { return documents_1.Document; } });
|
|
@@ -20,6 +20,7 @@ Object.defineProperty(exports, "us", { enumerable: true, get: function () { retu
|
|
|
20
20
|
Object.defineProperty(exports, "eu", { enumerable: true, get: function () { return documents_1.eu; } });
|
|
21
21
|
var client_1 = require("./client");
|
|
22
22
|
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return client_1.Client; } });
|
|
23
|
+
Object.defineProperty(exports, "DocumentClient", { enumerable: true, get: function () { return client_1.DocumentClient; } });
|
|
23
24
|
var api_1 = require("./api");
|
|
24
25
|
Object.defineProperty(exports, "Response", { enumerable: true, get: function () { return api_1.Response; } });
|
|
25
26
|
Object.defineProperty(exports, "AsyncPredictResponse", { enumerable: true, get: function () { return api_1.AsyncPredictResponse; } });
|