@etainabl/nodejs-sdk 1.3.8 → 1.3.9
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
|
@@ -534,15 +534,19 @@ interface InvoiceCaptureMetadata {
|
|
|
534
534
|
}
|
|
535
535
|
interface InvoiceCapture<IDType = ObjectId | string> {
|
|
536
536
|
_id: IDType;
|
|
537
|
-
jobId?: string | null;
|
|
538
537
|
startTime?: Date;
|
|
539
538
|
endTime?: Date | null;
|
|
540
539
|
s3Key: string;
|
|
540
|
+
batchId: string;
|
|
541
|
+
textractJobId?: string;
|
|
542
|
+
textractJobStatus?: string;
|
|
543
|
+
status: 'pending' | 'uploading' | 'uploaded' | 'textracting' | 'textracted' | 'capturing' | 'captured' | 'failed';
|
|
541
544
|
metrics: {
|
|
542
545
|
startTime: Date;
|
|
543
|
-
endTime
|
|
546
|
+
endTime?: Date;
|
|
544
547
|
};
|
|
545
|
-
|
|
548
|
+
results?: any;
|
|
549
|
+
metadata?: InvoiceCaptureMetadata;
|
|
546
550
|
uploadFileName?: string | null;
|
|
547
551
|
companyId: string;
|
|
548
552
|
userSub: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -534,15 +534,19 @@ interface InvoiceCaptureMetadata {
|
|
|
534
534
|
}
|
|
535
535
|
interface InvoiceCapture<IDType = ObjectId | string> {
|
|
536
536
|
_id: IDType;
|
|
537
|
-
jobId?: string | null;
|
|
538
537
|
startTime?: Date;
|
|
539
538
|
endTime?: Date | null;
|
|
540
539
|
s3Key: string;
|
|
540
|
+
batchId: string;
|
|
541
|
+
textractJobId?: string;
|
|
542
|
+
textractJobStatus?: string;
|
|
543
|
+
status: 'pending' | 'uploading' | 'uploaded' | 'textracting' | 'textracted' | 'capturing' | 'captured' | 'failed';
|
|
541
544
|
metrics: {
|
|
542
545
|
startTime: Date;
|
|
543
|
-
endTime
|
|
546
|
+
endTime?: Date;
|
|
544
547
|
};
|
|
545
|
-
|
|
548
|
+
results?: any;
|
|
549
|
+
metadata?: InvoiceCaptureMetadata;
|
|
546
550
|
uploadFileName?: string | null;
|
|
547
551
|
companyId: string;
|
|
548
552
|
userSub: string;
|