@etainabl/nodejs-sdk 1.3.64 → 1.3.66
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/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -421,6 +421,7 @@ interface InvoiceValidationResults<IDType = ObjectId | string> {
|
|
|
421
421
|
interface InvoiceValidation<IDType = ObjectId | string> {
|
|
422
422
|
_id: IDType;
|
|
423
423
|
status: 'pending' | 'passed' | 'warning' | 'failed' | 'error';
|
|
424
|
+
originalStatus: 'pending' | 'passed' | 'warning' | 'failed' | 'error';
|
|
424
425
|
results: InvoiceValidationResults<IDType>[];
|
|
425
426
|
invoiceCaptureId: IDType;
|
|
426
427
|
invoiceResults: InvoiceValidationInvoice[];
|
|
@@ -717,9 +718,12 @@ interface InvoiceCapture<IDType = ObjectId | string> {
|
|
|
717
718
|
textractExpiry?: Date;
|
|
718
719
|
status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
|
|
719
720
|
extractType?: 'parser-edi' | 'textract';
|
|
720
|
-
metrics
|
|
721
|
-
|
|
722
|
-
|
|
721
|
+
metrics?: {
|
|
722
|
+
captureStartTime?: Date;
|
|
723
|
+
captureEndTime?: Date;
|
|
724
|
+
textractStartTime?: Date;
|
|
725
|
+
textractEndTime?: Date;
|
|
726
|
+
pageCount?: number;
|
|
723
727
|
};
|
|
724
728
|
results?: any;
|
|
725
729
|
metadata?: InvoiceCaptureMetadata;
|
package/dist/index.d.ts
CHANGED
|
@@ -421,6 +421,7 @@ interface InvoiceValidationResults<IDType = ObjectId | string> {
|
|
|
421
421
|
interface InvoiceValidation<IDType = ObjectId | string> {
|
|
422
422
|
_id: IDType;
|
|
423
423
|
status: 'pending' | 'passed' | 'warning' | 'failed' | 'error';
|
|
424
|
+
originalStatus: 'pending' | 'passed' | 'warning' | 'failed' | 'error';
|
|
424
425
|
results: InvoiceValidationResults<IDType>[];
|
|
425
426
|
invoiceCaptureId: IDType;
|
|
426
427
|
invoiceResults: InvoiceValidationInvoice[];
|
|
@@ -717,9 +718,12 @@ interface InvoiceCapture<IDType = ObjectId | string> {
|
|
|
717
718
|
textractExpiry?: Date;
|
|
718
719
|
status: 'pending' | 'uploading' | 'uploaded' | 'extracting' | 'extracted' | 'capturing' | 'captured' | 'failed';
|
|
719
720
|
extractType?: 'parser-edi' | 'textract';
|
|
720
|
-
metrics
|
|
721
|
-
|
|
722
|
-
|
|
721
|
+
metrics?: {
|
|
722
|
+
captureStartTime?: Date;
|
|
723
|
+
captureEndTime?: Date;
|
|
724
|
+
textractStartTime?: Date;
|
|
725
|
+
textractEndTime?: Date;
|
|
726
|
+
pageCount?: number;
|
|
723
727
|
};
|
|
724
728
|
results?: any;
|
|
725
729
|
metadata?: InvoiceCaptureMetadata;
|